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

change exhaust settings

-vG

New Member
Joined
Oct 18, 2018
Messages
39
Solutions
1
Reaction score
4
Location
Brazil
I am using a source from tfs 0.3.7
I'm trying to fix the time of exhaustion of the following items

to log in the player takes time to attack
When going up and down stairs it also takes to drop spells

I changed the stairhopDelay but it only changed to go up and down and not time to drop the spells
 
you could try these functions
on login/stairs add this setPlayerStorageValue(cid, exhausted_storagevalue, os.time() + exhausted_seconds)
and on creaturescripts add a onthink function with

if isPlayer(cid) then
if (os.time() > getPlayerStorageValue(cid, exhausted_storagevalue)) then
exhausted condition.
end
end
 
So I guess these are standard escape like it was in the real tibia wanted dimiuir or take them out
 
So I guess these are standard escape like it was in the real tibia wanted dimiuir or take them out
it is okay to delay stairhop and login because those functions can be used to break the game, so you can path them with storages. storages are love~~`\\^^//

good luck
 
Back
Top