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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Davos
Adept


Joined: 30 Jan 2003
Posts: 228
Location: USA

PostPosted: Thu Nov 17, 2005 4:14 am   

using () in dbvar %val field
 
Im using #ADDKEY to store a var in the %val field of a dbvar with the value of (123456), it stores but once the dbvar is saved it automaticly strips the () from the list.

The work around ive found for this is to readd the () around the number when you need that specific value... But I cant find a way to test and see if the %val is a 6 digit number. In my case any %val that is a 6 digit number as listed above would need () around it, but if it had any letter in it or was longer than 6 digits it would not. Id really like to find a way to just be able to store the number with the () in the %val field but if thats not possible ill settle for a way to test the %val field to see if it fits my parameters of a 6 digit number. thanks
_________________
The Seaworthy
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Thu Nov 17, 2005 3:59 pm   
 
Davos, as an FYI the aard gear isnt always 6#'s. Some times, from us old timers there isnt even a #

Code:
Item                           Serial    Lvl Location/Carrier Area
-----------------------------  --------  --- ---------------- -----------------
The Amulet of Aardwolf          (41004)    1 Vitae*           The Stronghold of
Aardwolf Breastplate of magic           *112 Vitae            The Stronghold of
_________________
http://www.Aardwolf.com
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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