PenUltima Online

It is currently Sat Aug 30, 2008 7:06 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Max pages in gump
PostPosted: Tue Apr 24, 2007 3:33 pm 
Offline

Joined: Thu Jan 18, 2007 2:34 am
Posts: 91
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?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 24, 2007 11:50 pm 
Offline

Joined: Tue Mar 27, 2007 6:30 am
Posts: 24
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...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 25, 2007 1:01 am 
Offline

Joined: Thu Jan 18, 2007 2:34 am
Posts: 91
Doesn't crash, but i guess its just too big like u say :p

gives the error "Error text is ->Buffer length exceeded"


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 25, 2007 5:17 am 
Offline

Joined: Thu Feb 02, 2006 8:33 am
Posts: 273
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl