Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
hadar
Apprentice


Joined: 30 Aug 2009
Posts: 198
Location: my apt, in california

PostPosted: Fri Nov 27, 2009 1:24 pm   

Db records
 
would anyone know why when i try to put my var db in this order

Code:
duration=7250|Nomarbu=6450|Noweb=8650|Noteleport=8850|Nodirt=6050|Identify=5750|Bravery=9450|Fasthunt=8750|Novorpal=9050|Statcost=14350|Uncurse=11700


cmud changes it to

Code:
duration=7250|Noteleport=8850|Nodirt=6050|Novorpal=9050|Uncurse=11700|Noweb=8650|Fasthunt=8750|Nomarbu=6450|Bravery=9450|Identify=5750|Statcost=14350
_________________
if you build it they will come, assuming that they have not already come to build it
Aardwolf Bootcamp
My youtube channel
Reply with quote
DanteX
Apprentice


Joined: 13 Aug 2007
Posts: 166

PostPosted: Fri Nov 27, 2009 2:04 pm   
 
CMUD uses hash tables to store database variables. This means that it's faster, but they get stored in random orders. So you basically need to have another variable to store the order. I used a string list.
Reply with quote
DanteX
Apprentice


Joined: 13 Aug 2007
Posts: 166

PostPosted: Fri Nov 27, 2009 2:06 pm   
 
Check this out:

http://forums.zuggsoft.com/forums/viewtopic.php?p=151692
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net