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

Anti Paralyze Ring!

Sweddy

Well-Known Member
Joined
Feb 14, 2009
Messages
2,907
Reaction score
93
Location
Sweden
Requesting An Anti Paralyze Ring! So peoples Wont Get paralyzed!

Im Using TFS 0.3.6!

<attribute key="suppressparalyze" value="1"/>

Didnt work, it just removes the paralyze status form status place in client but does not remove the paralyze itself!

Please Help :)
 
Donno maybe like this !make the ring give storage and onthink check for storage as
LUA:
local storage =
function onThink(cid)
for_, cid in ipairs(getPlayersOnline()) do
  if getPlayerstorageValue(cid,storage) > 0 and getCreatureCondition(cid,CONDITION_PARALYZE) then
doRemoveCondition(cid, CONDITION_PARALYZE)
end
end
return true
end
 
Still, player might sometimes be slowed down until he finishes the step. onThink is only executed like every 500 ms?
 
ye but it is like the anti one in bots :), i think you should put that storage in paralyze .lua to prevent it from work, as for monster the script will remove paralyze but maybe the player will be paralyzed for a small time -as Cyko said - untill he complete his current step
 
Last edited:
Maybe if you edit sources and in paralyze part (spells and monster paralyze) you add line (only example)
getPlayerSlotItem(cid, 9) == ITEMID then
return false
end
That would work if you make it right :)
 
Back
Top