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

Lua Error on getting experience

alexandre freda

New Member
Joined
Jan 3, 2017
Messages
6
Reaction score
1
When a player kills a monster, the console shows the following errror:

Lua Script Error: [Event Interface]
data/events/scripts/player.lua:player@onGainExperience
data/events/scripts/player.lua:168: attempt to perform arithmetic on a nil value

stack traceback:
[C]: in function '__sub'
data/events/scripts/player.lua:168: in function 'useStamina'
data/events/scripts/player.lua:204: in function <data/events/scripts/pla
yer.lua:187>​

And the player gets the experience as normal rate, even if the rate is 100x on config.lua or stages.xml
 
we need your script if you want help
you can't just say something doesn't work and expect someone to know what you're talking about with zero context
 
Back
Top