Max pages in gump

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

Moderator: POL Developer

Post Reply
mr bubbles
Grandmaster Poster
Posts: 120
Joined: Thu Jan 18, 2007 2:34 am

Max pages in gump

Post by mr bubbles »

I think i remember seeing a post about this, but cant find it.

Anyway, what's the max pages a gump can have before spitting out an error?
tartaros
New User
Posts: 28
Joined: Tue Mar 27, 2007 6:30 am
Contact:

Post by tartaros »

I don't think it will ever spit an error, it's more like so that once a gump (with or without pages) reaches certain size (size as in the volume of all it's data), the client will crash... and I guess the critical size is different on different client versions, but in general the newer client the better stability...
mr bubbles
Grandmaster Poster
Posts: 120
Joined: Thu Jan 18, 2007 2:34 am

Post by mr bubbles »

Doesn't crash, but i guess its just too big like u say :p

gives the error "Error text is ->Buffer length exceeded"
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post by Pierce »

If i remember it right, the maximum gump size is around 32 kB.
With a little trick you can display larger values.
For example we have a gump that has 53 pages. Simple only sent the data for the first 5 pages and build a text entry field inside the gump where you enter a page number, e.g. 46. Then resend the gump with the data of page 46-50.
Post Reply