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

Help I got Error With Spells!!!

Moataz Hero

Titania.Sytes.Net
Joined
Jan 1, 2010
Messages
417
Reaction score
11
Location
Wars Land!
Hello Everyone In Otland
I've Got Error With The Most Of My Spells
like that
[08/06/2011 20:47:41] [Error - Spell Interface]
[08/06/2011 20:47:41] In a timer event called from:
[08/06/2011 20:47:41] data/spells/scripts/wizardbeam.lua:onCastSpell
[08/06/2011 20:47:41] Description:
[08/06/2011 20:47:41] (luaDoCombat) Creature not found
its just 1 of many erros like all spells got that error when players died
that massage comes when player died and he was using spell
that massage spamming 3 time or more in server.exe
so i hope some one help me if someone helped me I'll rep +++
Waiting For Answer :)
 
Well, it clearly says Creature not found. Means you try to call doCombat on cid that's no longer available (logged out, died, whatever). You're probably using addEvent function in your script, so my suggestion is to add check using function isPlayer before calling doCombat inside of addEvent.
 

Similar threads

Back
Top