|
hadar Apprentice
Joined: 30 Aug 2009 Posts: 198 Location: my apt, in california
|
Posted: 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
|
|
|
|
|
DanteX Apprentice
Joined: 13 Aug 2007 Posts: 166
|
Posted: 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.
|
|
|
|
DanteX Apprentice
Joined: 13 Aug 2007 Posts: 166
|
|
|
|
|
|