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!
tibia 12 require special login.php file, without it you can't connect to server
https://github.com/slawkens/myaac
https://github.com/opentibiabr/myaac-tibia12-login
sript "opening"..
0: on use check storage timer, return if timer>os.time()
1: get item from position
2: transfor item (give this na tem as parameter to item:transform)
3: call addevent, time to execute 12h, function "transform"/item:transform(id)
4: set storage - os.time()+12h,
Try this, written from memory
function onThink(interval)
if math.random(10) == 1 then
Game.createNpc("NPC Name", Position(150, 150, 7), false, true)
end
return true
end
Npc price set default border color, market price can change it if we set some option
0/undefined: No frame and white text;
1 - 999: Grey
1,000 - 9,999: Green
10,000 - 99,999: Blue
100,000 - 999,999: Purple
1,000,000+: Yellow
It is different because the first version confidently edits the otbi file and the xml file and the second version only the otbi file, the xml file has different attributes than the otbi file
How this work: throw item/bp with items on ground with special actionId(specified inside script), script will check if item exist in table, if exits will get gold assigned to this item, remove that item and add gold to player, does not remove items/bp that cannot be sold(bp and items stay on...
https://github.com/opentibiabr/otservbr-global/blob/develop/src/luascript.cpp
player:setMaxMana(maxMana)
creature:setMaxHealth(maxHealth)
Unfortunately, there is no ability to set skills/mlvl using lua
@Evil Puncker solution probaby is best solution, combination of talkaction and db.query will...