Raised This Month: $ Target: $400
 0% 

Few Vault Questions...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BioHazardousWaste
Senior Member
Join Date: Apr 2005
Location: Ontario, Canada =)
Old 04-18-2005 , 18:48   Few Vault Questions...
Reply With Quote #1

1) everything is a string right?
2) set_vaultxdata (key, UserExp[id]); or set_vaultxdata (key[], UserExp[id]);?
3)what if i don't know how long a string is? Will get_vaultxdata(Alliance, PlayerAlliance[id], 99) (assume it returns "Zionist") be "Zionist" or will it be "Zionist (92 spaces) "?

And feel free to post any other usefull info on the topc Thanx

EDIT:
And one none vault question lol

Is it a good idea to have a function carried out every second, or will it cause a lot of non registered shots and such? What is a good limit.. i'm thinking of something like this:

Code:
for (new i=0; i<=32;i++) {    secs=secs+1;    client_print (id, /*bleh, i forget the var i want here lol*/ "%i seconds elapsed", secs); }
__________________
"What then is truth? Truths are illusions which we have forgotten are illusions - they are metaphors that have become worn out... this (truth) is the duty to lie according to a fixed convention.

-Friedrich Nietzsche
BioHazardousWaste is offline
Send a message via MSN to BioHazardousWaste
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 04-18-2005 , 20:27  
Reply With Quote #2

That is my VaultX. You should ask me directly, or post in the module thread.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
BioHazardousWaste
Senior Member
Join Date: Apr 2005
Location: Ontario, Canada =)
Old 04-18-2005 , 20:38  
Reply With Quote #3

sorry dude, i took it out anyways, cuz i couldn't get it to work . But I meant it in general, didn't realize there was a huge difference.
__________________
"What then is truth? Truths are illusions which we have forgotten are illusions - they are metaphors that have become worn out... this (truth) is the duty to lie according to a fixed convention.

-Friedrich Nietzsche
BioHazardousWaste is offline
Send a message via MSN to BioHazardousWaste
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 04-18-2005 , 21:33  
Reply With Quote #4

For the record, if you use 99 and the string is only 5 characters, the rest of the characters are NULL characters or something, not spaces. It won't matter, basically.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 04-18-2005 , 22:16  
Reply With Quote #5

VaultX is easy to use. Just set the file you want to save to, then use it like normal vault.

Use trim to eliminate blank spaces.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode