Hi All,
After many a year away from the pol scene, i've been pulled back in
However a lot has changed since i last touched pol, a task i've been assigned requires me to use gumps, now back in the day i used raw gump code.
I'm wondering what is best practice these days with gumps?
Any responses will be greatly welcomed.
Damnation
Gumps. Best practice?
Moderator: POL Developer
Re: Gumps. Best practice?
What I know of, creating gumps using arrays are the best way:
http://docs.polserver.com/pol099/guides ... file=gumps
http://docs.polserver.com/pol099/guides ... file=gumps
Re: Gumps. Best practice?
Well how lazy am i? i must admit i didn't even look at the docs, i downloaded a copy but hadn't touch them.
*smacks hand*
Thanks for that, its good to know that the same system i once used is still there and best practice. it'll make jumping back into all this an easier process.
thanks for the response!
*smacks hand*
Thanks for that, its good to know that the same system i once used is still there and best practice. it'll make jumping back into all this an easier process.
thanks for the response!
- Damien White
- Journeyman Poster
- Posts: 68
- Joined: Tue Aug 18, 2009 6:34 pm
- Location: Canada
Re: Gumps. Best practice?
Thanks, i've grabbed that and the file to export for pol.
Re: Gumps. Best practice?
Nowadays, using gumps is quite easy. Try using the "GF" ones, this helped me a lot =P
Take a look at the pkg/utils/gumps/include, some things are expliained out there (if you use the distro =P)
Take a look at the pkg/utils/gumps/include, some things are expliained out there (if you use the distro =P)
Re: Gumps. Best practice?
Yeah, the GF include file Austin created surerly is handy and easy for beginners. But it demands more of POL. Creating gumps using arrays is the best way what I heard of, and therefore is the suggested one
Re: Gumps. Best practice?
i'd rather do the array version as that's the version i learned to use years ago, so it shouldn't be difficult to pick up again.
Thanks for the suggest though!
Thanks for the suggest though!
Re: Gumps. Best practice?
It really demmands more of POL?
So i should learn the array way =p
Its not that different, is it?
So i should learn the array way =p
Its not that different, is it?
Re: Gumps. Best practice?
not too different, but if my memory serves me right, it gets sent directly to the client. as the client actually reads that format.
BUT i could be wrong, i just have a faint memory of packet logging and seeing the raw gump data.
BUT i could be wrong, i just have a faint memory of packet logging and seeing the raw gump data.
Re: Gumps. Best practice?
To be honest the best way to learn is to look at the exemple given in the distro097 in utils/gumps ... So you can learn all methods for buttons, text, tile and everything.. It took me 1 week to create a multi options gumps with divisions and all...