• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Question regarding Player Storage ID Values.

Yodot

Active Member
Joined
Dec 10, 2007
Messages
179
Reaction score
25
Hi guys,

I'm currently working on a new ot and I'm wondering if there is going to be any problem with me using low player storage ids with it. I want to start my range at around 2000, so eg, getPlayerStorageValue(cid,2001), setPlayerStorageValue(cid,2010,5). Will using these low values interfere with the operation of the OT in general? I'm using TFS 0.2.11pl2.

Thank you very much for your time.

Cheers.
 
I dont think it wont be if you only going to have it as storagevalue. but if you enter the same action/unique id in two places in the action.xml then it wont work. so check there before.
 
Depends if you plan on using the quests.lua script (UID on Chest).

You can always just use 20000 or something for the uid, it goes up to 65535 or something iirc
 
Back
Top