Eviles 179 Report post Posted June 14, 2018 Hello guys! I'm been trying to summon a wave of monsters on a map using a loop, but the following error on title appears on a box after the monsters are summoned. After the error appears i'm unable to move on map and error keep appearing even if i click on ok... any idea how to solve that? Thanks! function map_copy_run_mapname(map_copy) local Survivor = GetMapActivePlayer(map_copy) local Hour,Minute,Second = GetOsTime() if Minute == 1 then if monster_wave01 == 0 then local xLow,yLow = 80,480 local xHigh,yHigh = 138,535 local mobNum = 30 for i = 1, mobNum do local Monster = CreateChaEx(1324, math.random(xLow,xHigh) * 100, math.random(yLow,yHigh) * 100, 90, 60, map_copy) SetChaLifeTime(Monster, 299000) end monster_wave01 = monster_wave01 + 1 monster_waveNum = monster_waveNum + 1 end end end Quote Share this post Link to post Share on other sites
SoundX 14 Report post Posted June 15, 2018 Hello Satan, sorry I don't know the answer, but I tried the loop with small variation in one of my maps and could not reproduce this error, it worked correct. So maybe some other part of code triggers this error? Quote Share this post Link to post Share on other sites
Eviles 179 Report post Posted June 15, 2018 I see, maybe it could be a error on gameserver. I'll see what can do about that, thanks. Quote Share this post Link to post Share on other sites