What's with quests, when you move back to Main you can't get your quests again? That should be right so.There's another question on rooking a character to be solved: quests.
I don't remember if you loose your quest items, storages, etc... once you get rooked.What's with quests, when you move back to Main you can't get your quests again? That should be right so.
[code=lua]local freetemple = {
tp_pos = {x = 1000, y = 1000, z = 7}
}
if isPlayer(cid) then
if not isPremium(cid) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You've been teleported due to the end of your Premium Account.")
doTeleportThing(cid, freetemple.tp_pos, true)
end
return true
end
local freetemple = {
tp_pos = {x = 1000, y = 1000, z = 7}
}
if isPlayer(cid) then
if not isPremium(cid) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You've been teleported due to the end of your Premium Account.")
doPlayerSetTown(cid, *replaceherewiththetownID*)
doTeleportThing(cid, freetemple.tp_pos, true)
end
return true
end
Nice one!Hello Elpulpo!
For this you just need a .lua script under your creaturescripts to check when you login.
Name as you wish!
[/CODE]Code:[code=lua]local freetemple = { tp_pos = {x = 1000, y = 1000, z = 7} } if isPlayer(cid) then if not isPremium(cid) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You've been teleported due to the end of your Premium Account.") doTeleportThing(cid, freetemple.tp_pos, true) end return true end
Remembering I'm not a good lua scripter.Nice one!
In RL Tibia you get teleported to Thais in case you are a premium citizen, and teleport to your free town temple in other cases.
local freetemple = {x = 32369, y = 32241, z = 7}
local Player = Actor.create(cid)
if isPlayer(cid) then
if not isPremium(cid) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You've been teleported due to the end of your Premium Account.")
doPlayerSetTown(cid, *replaceherewiththetownID*)
Player:Teleport(freetemple)
end
return true
end
https://github.com/TwistedScorpio/OTHire/wiki/How-to-use-RME-for-this-OTServerHey guys i have a big problem. I have RPG OTS with custom items and custom map. Its base on distribution yurots edited but its time to change distribution so i download othire and compile on my vps. I cant load my map i dont know why. Its screen from console, i tried copy my items.otb from my rme editor to engine but its not work. My map is created for 7.6 version i RME 2.2 . I have items from 8.6 tibia. In my old distrubtion all work ,but on othire i have problems. Please help me. I spend 3 days , 5 hours everyday to fix this and i dont have any idea what to do. Srry for my english. James
With my items.otb
https://scr.hu/1xnw/yikag
Whit items.otb from othire
http://scr.hu/1xnw/dwxku
Use itemeditor ver. 0.3.1. Those red sqrs are missing item ids in .otbwhen i copy other items.otb to engine othire , server give error cant load items.otb
I tested it again, I really do not have that issue, just hits through windows, not walls.. And I haven't touched those parts of the source