Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
yes but only for defaults channels, i want return channel names because i want to recognize customs channels, like "if channel == "name" then dosomething(cid) end"
but with "id" is better, like my advanced checkpoint system...
use something like:
local speed == 220
function onAdvance(cid, skill, oldLevel, newLevel)
if(skill == SKILL__LEVEL and getPlayerGroupId(cid) < 4) then
doChangeSpeed(cid, speed - getCreatureBaseSpeed(cid))
end
return true
end
do something like this:
function onLogin(cid)
doChangeSpeed(cid, delta)
return true
end
and for level advance
function onAdvance(cid, skill, oldLevel, newLevel)
if skill == SKILL__LEVEL then
doChangeSpeed(cid, delta)
end
return true
end...
Hello to all! :D well some time ago i want to make a system to get magic level and some other functions with the ever forgotten soul points in tibia, but i ever find a limit: no function to trigger the system :/... so i decide to read the sourcers and do the function by myself :D and here is the...
because every newby can delete easy the sign of Cyko and post the the script in another site owning the credits
with that method is not so easy for newbys, steal the credits :D
- - - Updated - - -
here a lua request: a function to recognize the day of week example:
Day of week...
idk, but when you use SKILL__EXPERIENCE at skill in onAdvance, not show you current gained experience with any parameter, with oldLevel and newLevel, ever show the experience needed for next level, with this patch you can return the current gained experience, for many purposes like add bonus...
This is a small patch to give a better use of parameters in "onAdvance" creature event with "SKILL__EXPERIENCE", take a look:
if you use a script like this:
function onAdvance(cid, skill, oldLevel, newLevel)
if(skill == SKILL__EXPERIENCE) then
doPlayerSendTextMessage(cid...
this script is usefull, but for better usage i need a c++ code for new creature event like: onSoulChange(cid, soul), with this i can do a better system