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

Windows creaturescript (Login error)

Zoriax_

Owner|Antarctica Ots
Joined
Feb 15, 2008
Messages
745
Reaction score
23
Location
Norway
Code:
[06/02/2015 23:53:40] [Error - CreatureScript Interface]
[06/02/2015 23:53:40] data/creaturescripts/scripts/login.lua:onLogin
[06/02/2015 23:53:40] Description:
[06/02/2015 23:53:40] data/lib/function.lua:401: attempt to call global 'getCreatureCondition' (a nil value)
[06/02/2015 23:53:40] stack traceback:
[06/02/2015 23:53:40]     data/lib/function.lua:401: in function 'isPlayerGhost'
[06/02/2015 23:53:40]     data/creaturescripts/scripts/login.lua:36: in function <data/creaturescripts/scripts/login.lua:6>
[06/02/2015 23:53:40] Eric has logged out.

Using server: cryingdamson 0.3.6 (8.60) V8.2
 
Probable some bug in the libs, you can try the default lib folder or remove it from login.lua.
Change this.
Code:
if(not isPlayerGhost(cid)) then
     doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
end
To this.
Code:
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
 
Back
Top