Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugins by xlr8or (Moderator: Freelander)More than 255 unique maps
Pages: [1]   Go Down
  Print  
Author Topic: More than 255 unique maps  (Read 746 times) Bookmark and Share
Newbie
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD
Posts: 6
Offline Offline
« on: January 27, 2011, 11:51:16 PM »

On our Cod UO server, we've been running all sorts of maps (its and old game afterall).  Turns out, we've run more than 255 different maps.  And while some have worked and some haven't, b3 has dutifully kept track of all of them.  In the mysql table  xlr_mapstats, the unique map id is a tinyint, and can only go up to 255.  So I've been tracking down this error when trying to save map stats wherein it can't increase the number of rows in that table unless its changed to a smallint.   Easy enough to do.

My question though, is there anything else from the code perspect that I would need to change if I altered the table and changed the xlr_mapstats.id from tinyint to smallint?
Logged

B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #1 on: January 29, 2011, 10:33:20 AM »

doubt it. Back up your database just in case though.
Logged

Tags: xlrstats  mapstats 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal