Th3 F4ll3n
New Member
- Joined
- Aug 22, 2012
- Messages
- 18
- Reaction score
- 1
now i had the same problem as azzkaban, my sv crush :s What i do?
Last edited:
when the new monster?
I've been having some problems with my computer and honestly, I haven't been feeling like doing it at the moment, I've formatted my computer about 2/3 weeks ago and I haven't touched anything OT-related since..
When/If I get the feeling of doing something again, this will be what I'll do, but right now, I just don't feel it..
It seems to be a bug with some versions of TFS, never really figured out why, and I'm not active anymore, so.. :/
I'm using the private SVN 0.3.7 for Tibia 9.81
Thats whats coming up after like 30 seconds of attacking and like 20+ illus. It starts with those 3 errors then after a few seconds the whole console gets spammed by it and thats when the server crashes.
What to do?
- - - Updated - - -
This happened again after we just hit him once. then waited with 1 illu and it crashed anyways
function onStatsChange(cid, attacker, type, combat, value)
if(type == STATSCHANGE_HEALTHLOSS) then
local clone = doCreateMonster("Pisces Clone", getCreaturePosition(cid))
if isCreature(clone) then
setCreatureMaxHealth(clone, value)
doCreatureAddHealth(clone, value)
doCreatureSetStorage(clone, 2222, cid)
end
end
return true
end
Probably that's because there is no enough space to create another clone.
Fix:
Lua:function onStatsChange(cid, attacker, type, combat, value) if(type == STATSCHANGE_HEALTHLOSS) then local clone = doCreateMonster("Pisces Clone", getCreaturePosition(cid)) if isCreature(clone) then setCreatureMaxHealth(clone, value) doCreatureAddHealth(clone, value) doCreatureSetStorage(clone, 2222, cid) end end return true end
function onStatsChange(cid, attacker, type, combat, value)
if(type == STATSCHANGE_HEALTHLOSS) then
if (isPlayer(attacker) and exhaustion.make(attacker, 12345, 5)) or not isPlayer(attacker) then
local clone = doCreateMonster("Pisces Clone", getCreaturePosition(cid))
if isCreature(clone) then
setCreatureMaxHealth(clone, value)
doCreatureAddHealth(clone, value)
doCreatureSetStorage(clone, 2222, cid)
end
end
end
return true
end