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

CreatureEvent Skills & magic level stages

how can you sit magiclevel rates depents on vocations?

I would like to do this as well, is there a simple way to fix this? Like a vocation check and then different rates for each vocation id?

Also I noticed that if a player is wearing eq that gives them + skills it affects their rate. This doesn't happen with ml, is there any way to fix it?
 
Last edited:
I know it's an old thread but is there anyone that can help with this?
 
hey guys help me scripts are not working

[19:38:49.486] [Error - LuaInterface::loadFile] data/creaturescripts/scripts/skillstageslogin.lua:13: unexpected symbol near '┬'
[19:38:49.490] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/skillstageslogin.lua)
[19:38:49.493] data/creaturescripts/scripts/skillstageslogin.lua:13: unexpected symbol near '┬'
[19:38:49.497] [Error - LuaInterface::loadFile] data/creaturescripts/scripts/skillstagesadvance.lua:13: unexpected symbol near '┬'
[19:38:49.500] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/skillstagesadvance.lua)
[19:38:49.502] data/creaturescripts/scripts/skillstagesadvance.lua:13: unexpected symbol near '┬'
[19:38:49.507] [Error - LuaInterface::loadFile] data/globalevents/scripts/staminaquest.lua:136: unexpected symbol near '┬'
[19:38:49.511] [Warning - Event::loadScript] Cannot load script (data/globalevents/scripts/staminaquest.lua)
[19:38:49.515] data/globalevents/scripts/staminaquest.lua:136: unexpected symbol near '┬'
 
I have a problem. I put Magic Skill 100+ x 0.1 (don´t want people have more than 100 ML Skill rate). Everything is Ok at this point, but when I put an "upgrade magic level item" as Yalahari Mask, Magic level should go up to 102, but instead it get stucked in 100. If I want to have ML 102 I have to put off Yalahari Mask, login again and go to magic level 100, after this, put the mask. Is there a solution for this? I need that mg level rate stuck in 102 only if using Yalahari mask, and in 100 if not. I explain myself? Sorry my english.
 
I am getting this error


data/creaturescripts/scripts/skillstagesadvance.lua
data/creaturescripts/scripts/skillstagesadvance.lua:1: attempt to call global 'getDataDir' (a nil value)
stack traceback:
[C]: in function 'getDataDir'
data/creaturescripts/scripts/skillstagesadvance.lua:1: in main chunk
 
@Gesior.pl - I know, this post is very old, but how i can edit this script to only training room?
Possible use only when I step in ground and off when I step out?

Thanks for your reply.
 
Back
Top