• 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 Advanced OnAdvance: The Best OnAdvance

I dont know exactly on a high rates ot
Its the price to pay :p
 
It does not work for me. Using NaxedOt 6.5. I made all by your tips. Just nothing happens.
o.o naxedot is tfs 0.3? should work if follow the tutorial from a to z
 
I had followed your tutorial from a to z, I've cleared all scripts which contains any notes about advanceds and replace with your code. At least when I grow up skills and kill the proces with ots the skills are saved up with no problems, but there is not any animation when you advance in skills or level up, the script does not give me full hp when I level up etc.
Also the script does not print any errors what is a little strange.
 
??? pm me ur msn
 
It's nice but AFAIK without changing:

<event type="advance" name="advance" script="advanced.lua"/>

to

<event type="advance" name="advanced" script="advanced.lua"/>

it won't work :)
 
Ty but
PHP:
function onAdvance(cid, skill, oldlevel, newlevel)
    if skill == SKILL__LEVEL then
        doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
        doCreatureAddMana(cid, getCreatureMaxMana(cid) - getCreatureMana(cid))
    end
Rox

PHP:
local p = getPlayerPosition(cid)
local positions = {
        [1] = { pos= {x=p.x+1,y=p.y,z=p.z}, delay = 100, delay2 = 900},
        [2] = { pos= {x=p.x+1,y=p.y+1,z=p.z}, delay = 200, delay2 = 980},
        [3] = { pos= {x=p.x,y=p.y+1,z=p.z}, delay = 300, delay2 = 1060},
        [4] = { pos= {x=p.x-1,y=p.y+1,z=p.z}, delay = 400, delay2 = 1140},
        [5] = { pos= {x=p.x-1,y=p.y,z=p.z}, delay = 500, delay2 = 1220},
        [6] = { pos= {x=p.x-1,y=p.y-1,z=p.z}, delay = 600, delay2 = 1300},
        [7] = { pos= {x=p.x,y=p.y-1,z=p.z}, delay = 700, delay2 = 1380},
        [8] = { pos= {x=p.x+1,y=p.y-1,z=p.z}, delay = 800, delay2 = 1460} }
Doesnt xD
 
w not? :(
what roxes is the effect
 
Woah, After Nsanee correct it starts work, and it's really nice system. I will use that. Thanks for all Cyb3rmastr and Nsanee.
 
someone can please add a 10 minute exhaust per player of when they last skilled up so it doesnt lag big ot's
 
Good work.

Code:
doSendAnimatedText(p, CONFIG[skill][1] .. "["..newlevel.."]", math.random(CONST_ME_LAST))

Hmmm... const_me_last atm. is equal to 68 but we have up to 215 colors ;)
 
Back
Top