Page Index Toggle Pages: 1 Send TopicPrint
Sticky Topic free .vars-lines list (Read 6605 times)
rebus
New Member
*
Offline


yabb yabb yabb

Posts: 10
Location: Munich
Joined: Feb 26th, 2004
Gender: Male
free .vars-lines list
Aug 2nd, 2005 at 4:56am
Print Post  
All user-specific mod-data should be stored in the .vars-files, correct?

So it would be great to have a list in which we can see which lines are used by other mods.
Lets add something like that maybe here as important topic. So anybody who wants to write a mod can see which lines a free.

rebus
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: free .vars-lines list
Reply #1 - Aug 2nd, 2005 at 2:59pm
Print Post  
good idea Smiley

Suggestion for mod writers: add a mod-specific prefix to all lines. Keep the prefix small to save space, but also big enough to be unique for your mod.

Lines added by Extended Profiles mod:

ext_0
ext_1
ext_2
ext_...

depending on how many fields you added.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: free .vars-lines list
Reply #2 - Oct 9th, 2005 at 5:31pm
Print Post  
Just a matter of agreement how to mark mod vars.
I could think of the first three letters of your id here so in my case it could look like:
spi_userlenght
spi_shoesize
spi_weight

etc...

Or just give every coder a three letter id for variables Wink
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: free .vars-lines list
Reply #3 - Oct 10th, 2005 at 11:18am
Print Post  
Hi

Here my .vars-line .... that i use for the comming soon "Who is Where" Mod ....

Who is Where:

hidedirectmessage

lg XTC
« Last Edit: Oct 11th, 2005 at 5:59am by ..:X.T.C:.. »  

Back to top
WWW  
IP Logged
 
AK108
God Member
*****
Offline



Posts: 942
Joined: Oct 1st, 2003
Gender: Male
Re: free .vars-lines list
Reply #4 - Oct 10th, 2005 at 7:19pm
Print Post  
Not really a _real_ .vars line, but here it is anyway.

Board Index User Cache
userwasloadedfromcache - a special variable that allows my BIUC mod to check if a user was loaded from the cache file. It's not actually stored in the .vars file. If this is true, then only the minimal amount of data was loaded for the user.
  

For my mods, check out my public notes.

You might be interested in my projects, or my forum, the Flying Kirby Pub.
Back to top
WWWAIM  
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: free .vars-lines list
Reply #5 - May 11th, 2006 at 2:14pm
Print Post  
Hi

Two .vars-lines .... use by "ChatIRC" Mod ....

irc_nick
irc_pass


lg XTC
  

Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: free .vars-lines list
Reply #6 - May 11th, 2006 at 8:55pm
Print Post  
Sofar so good as it seems to work without conflicts.... darn I love this community for it's cooperation Wink
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint