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!
local t, storage = {
{200, 30} --- edit 30 for how many points.
}, 256
function onAdvance(cid, skill, oldLevel, newLevel)
if skill ~= SKILL__LEVEL then
return true
end
for i = 1, #t do
local v = t[i]
if newLevel >= v[1] and getStorage(storage) < i then
db.executeQuery('UPDATE accounts SET premium_points=premium_points+'.. v[2] ..' WHERE id=' .. getPlayerAccountId(cid))
doSetStorage(storage, i)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Congratulations! You have advanced to level ' .. v[1] .. ' and you have earned '.. v[2] ..' Premium Points!')
doBroadcastMessage('Congratulations! ' .. getCreatureName(cid) .. ' advenced to ' .. v[1] .. 'lvl and got ' .. v[2] .. ' ptz to sms shop.')
break
end
end
return true
end
You can block it using config.lua in your OT's main folder.
If you mean you want to block account 1/1 from login in via website, then just go to your DB and change password of account 1 to a different one, or even delete it (the whole account) if you wish to.
local t, storage = {
{200, 30} --- edit 30 for how many points.
}, 256
function onAdvance(cid, skill, oldLevel, newLevel)
if skill ~= SKILL__LEVEL then
return true
end
for i = 1, #t do
local v = t[i]
if newLevel >= v[1] and getStorage(storage) < i then
db.executeQuery('UPDATE accounts SET premium_points=premium_points+'.. v[2] ..' WHERE id=' .. getPlayerAccountId(cid))
doSetStorage(storage, i)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Congratulations! You have advanced to level ' .. v[1] .. ' and you have earned '.. v[2] ..' Premium Points!')
doBroadcastMessage('Congratulations! ' .. getCreatureName(cid) .. ' advenced to ' .. v[1] .. 'lvl and got ' .. v[2] .. ' ptz to sms shop.')
break
end
end
return true
end
lol, you know spam for crazy? i never say.. i created script , thread finish what talking? o.o
Please shut up - created cykotitan don't know why talk idiot xd i never say i created.. he need script i taken
why don't go spam other thread for you bored? xd i dont talk more with you.. not wasted mi time
@Cronox
but i want block account manager but no for create character
i wand block account manager for he can't in the web with 1/1
perdon no ablo bien ingles :s quiero blockearlo para que no pueda entrar en la pagina con 1/1 cuenta 1 pass 1 pero
no lo quiero eliminar quiero que ayga pagina y puedan acerse el char por el tibia tambien como este ot
otra cosa en tu ots hay muchas casas con bug y los flash legs tambien se consiguen en bug la verdaad no se donde pero muchos tienen y dicen que hay bug y que no se que el chiste es k al remover todos se me fueron los mios :S
Es por que tu tienes sha1 seguramente en la config de encruption y cuando se crea el account se hace encryption plain
lo que tienes que hacer es ir ala database.. y eliminar la cuenta de 1/1 y volver a crearla y adentro metes el acc manager para que se cree con sha1 como el resto y funcione