Gumps. Best practice?

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
Damnation
New User
Posts: 5
Joined: Wed Nov 11, 2009 2:48 am

Gumps. Best practice?

Post 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
Damien.
Journeyman Poster
Posts: 63
Joined: Thu Feb 08, 2007 11:14 am
Location: Sweden

Re: Gumps. Best practice?

Post by Damien. »

What I know of, creating gumps using arrays are the best way:
http://docs.polserver.com/pol099/guides ... file=gumps :D
Damnation
New User
Posts: 5
Joined: Wed Nov 11, 2009 2:48 am

Re: Gumps. Best practice?

Post 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!
User avatar
Damien White
Journeyman Poster
Posts: 68
Joined: Tue Aug 18, 2009 6:34 pm
Location: Canada

Re: Gumps. Best practice?

Post by Damien White »

You might also try ...
http://www.gumpstudio.com/
I think the last release was version 1.8 R3.
Damnation
New User
Posts: 5
Joined: Wed Nov 11, 2009 2:48 am

Re: Gumps. Best practice?

Post by Damnation »

Thanks, i've grabbed that and the file to export for pol.
Pachacuti
Apprentice Poster
Posts: 51
Joined: Fri Jun 12, 2009 8:57 am

Re: Gumps. Best practice?

Post 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)
Damien.
Journeyman Poster
Posts: 63
Joined: Thu Feb 08, 2007 11:14 am
Location: Sweden

Re: Gumps. Best practice?

Post 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 :)
Damnation
New User
Posts: 5
Joined: Wed Nov 11, 2009 2:48 am

Re: Gumps. Best practice?

Post 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!
Pachacuti
Apprentice Poster
Posts: 51
Joined: Fri Jun 12, 2009 8:57 am

Re: Gumps. Best practice?

Post by Pachacuti »

It really demmands more of POL?

So i should learn the array way =p

Its not that different, is it?
Damnation
New User
Posts: 5
Joined: Wed Nov 11, 2009 2:48 am

Re: Gumps. Best practice?

Post 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.
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada

Re: Gumps. Best practice?

Post 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...
Post Reply