• 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!

Poi Shortcut script

Majeski20

New Member
Joined
Apr 21, 2008
Messages
602
Reaction score
4
Location
Sweden
Hello! :)

I'm fixing my ot and i need a "shortcut" script for poi. I want so i can just walk on all thrones and when thats
done you can enter the "final" door to get your reward.

Can anyone fix that :)?

Thanks! rep++
 
Check actions.xml for poireward.lua (or eventually name), for me it's in actions/scripts/quests/poirewards.lua

poirewards.lua
Code:
if getPlayerStorageValue(cid,10544) == -1 then

RME -> right click on door -> actionid -> 10544 :)
 
Check actions.xml for poireward.lua (or eventually name), for me it's in actions/scripts/quests/poirewards.lua

poirewards.lua
Code:
if getPlayerStorageValue(cid,10544) == -1 then

RME -> right click on door -> actionid -> 10544 :)

don't use -1, use <= 0.
If you normally use 0 as a "1" value you should use < 0 instead.

But if you use == -1, there might be problems if your server think this is a real value, and not something that doesn't exist.
Better be safe than gambling the scripts around "guessing" it will be safe in future.
 
Back
Top