• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Monster Get Experience Percent

CollapserMemory

New Member
Joined
Dec 4, 2014
Messages
66
Reaction score
1
I need a monster of a percent level, regardless of the level of the player instance, I kill the monster at level 100 and earn 300% of experience that is 3 levels and the same with any other level
 
xml should be fine. Just add the 'cid' to the onlogin as above and it should work.
It will now be difficult to discover the error. Nothing appears on the TFS more after killing the monster Server Closes

getCreatureName(target) -- is it the function?
 
Last edited by a moderator:
I don't know if getCreatureName exists or not, but if it didn't I think it would error in the console, calling it a nil value. I don't know what would cause it to shutdown like that. Hopefully someone with more experience in 0.3 can assist, because without errors, I haven't got a clue.
 
I don't know if getCreatureName exists or not, but if it didn't I think it would error in the console, calling it a nil value. I don't know what would cause it to shutdown like that. Hopefully someone with more experience in 0.3 can assist, because without errors, I haven't got a clue.
I looked at the script (though not quite understand) it seems that the error is in this line -> getCreatureName if (target): lower () == monsters : lower () then <- or else - > if not isMonster (target) then
return true
end
if not isPlayer (cid) then <-
 
possibly. I don't know if either of those functions exist in 0.3

the function should look like this:
function onKill(cid, target, lastHit)
could be related to the issue.
 
Last edited by a moderator:
Back
Top