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

Ingame Lagg, but not from Dedicated?? [REP+]

dianagirl

Member
Joined
Jul 28, 2009
Messages
429
Reaction score
14
Location
Germany
Hello all :(
i got a problem in my ot :S
The ot got ingame Laggs but the dedicated dont laggs, i mean if i enter with winscp or putty w/e it dont laggs, and i asked the seller fromt he Dedicated
is Sered.net , and they told me they looked in the dedicated and it dont laggs, and now i think
its maybe a Script?

Screenshot, if i kill a monster or a player, then it takes 1-2 sec that it goes down to a corpse:(

r0phzo.png

##########
# Rep for help#
##########


Thanks for every help!
 
I checked my creature script, and login.lua
in login.lua. There was that scirpt with if u die it comes O W N E D !
i think its cuz that cuz i removed now it dont laggs :S

But i will wait until 10 min and look what player say.
And if it dont laggs u get repp.!
 
This script work 100%
preparedeath.lua
Lua:
local function sendLetter(p)
local pos = p.pos
local letter = p.letter
doSendAnimatedText(pos, letter, TEXTCOLOR_RED)
end

function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
local letters = {"!", "D", "E", "N", "W", "O"}
for i = 1, #letters do
addEvent(sendLetter, i * 150, {pos = getCreaturePosition(cid), letter = letters[i]})
end
return true
end
XML:
        <event type="preparedeath" name="onPrepareDeath" event="script" value="preparedeath.lua"/>

Register in login.lua
Lua:
        registerCreatureEvent(cid, "onPrepareDeath")
 
Still laggs until i removed that script :(
look in putty if i write free -m
I got like 6000~ free memory-.-


----------total------ used-----free------shared----buffers-- cached
Mem: 7964---- 1514-----6450 ------- 0 0 ------ 0
-/+ buffers/cache: 1514 6450
Swap: 0 0 0:( Can you tell me what to do now please ?
 
Back
Top