Page 1 of 1
Gumps. Best practice?
Posted: Fri Nov 27, 2009 2:28 am
by Damnation
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
Re: Gumps. Best practice?
Posted: Sat Nov 28, 2009 12:57 am
by Damien.
What I know of, creating gumps using arrays are the best way:
http://docs.polserver.com/pol099/guides ... file=gumps 
Re: Gumps. Best practice?
Posted: Sun Nov 29, 2009 1:16 am
by Damnation
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!
Re: Gumps. Best practice?
Posted: Mon Nov 30, 2009 5:12 pm
by Damien White
You might also try ...
http://www.gumpstudio.com/
I think the last release was version 1.8 R3.
Re: Gumps. Best practice?
Posted: Tue Dec 01, 2009 2:02 am
by Damnation
Thanks, i've grabbed that and the file to export for pol.
Re: Gumps. Best practice?
Posted: Wed Dec 02, 2009 2:48 am
by Pachacuti
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)
Re: Gumps. Best practice?
Posted: Wed Dec 02, 2009 6:56 am
by Damien.
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?
Posted: Wed Dec 02, 2009 7:11 am
by Damnation
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!
Re: Gumps. Best practice?
Posted: Wed Dec 02, 2009 7:40 am
by Pachacuti
It really demmands more of POL?
So i should learn the array way =p
Its not that different, is it?
Re: Gumps. Best practice?
Posted: Wed Dec 02, 2009 8:06 am
by Damnation
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.
Re: Gumps. Best practice?
Posted: Wed Dec 02, 2009 12:45 pm
by *Edwards
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...