• 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!

TFS 1.X+ The Hidden City of Beregar Quest

Kownikuzyt

Member
Joined
Feb 11, 2020
Messages
170
Solutions
1
Reaction score
8
Hello, I have a problem with the task "The Hidden City of Beregar Quest" exactly on the crack visible in the photo
obrazek
used pick pick. We are brought downstairs. Only it doesn't move anywhere.
 
Last edited:
Solution
Just add this in your pick script and change action id/position and OFC add the action id to the crack.
Lua:
if target.actionid == xxxx then
player:teleportTo(Position(x, y, z))
end
@M0ustafa
Thank you for directing, if someone has the same problem, I enclose the code:


Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(itemEx.actionid == 50090) then
        local tmp = getThingPos(cid)
        doTeleportThing(cid, {x=32566, y=31338, z=10})
        doSendMagicEffect(tmp, CONST_ME_TELEPORT)
        doSendMagicEffect({x=32566, y=31338, z=10}, CONST_ME_TELEPORT)
        return onUsePick(player, item, fromPosition, target, toPosition, isHotkey)
    end

    return false
end
Just add this in your pick script and change action id/position and OFC add the action id to the crack.
Lua:
if target.actionid == xxxx then
player:teleportTo(Position(x, y, z))
end
 
I suppose you are using otservbr (please always provide as much information as you can, we can't guess anything)

@Evil Puncker

Sorry, I found the server on the disk and decided to take care of some active tasks and the console.

From what I recall, the server was downloaded from tibiaservers.net.
It is on TFS 1.1 engine, trying to repair it, but the server is too broken.
 
Just add this in your pick script and change action id/position and OFC add the action id to the crack.
Lua:
if target.actionid == xxxx then
player:teleportTo(Position(x, y, z))
end
@M0ustafa
Thank you for directing, if someone has the same problem, I enclose the code:


Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(itemEx.actionid == 50090) then
        local tmp = getThingPos(cid)
        doTeleportThing(cid, {x=32566, y=31338, z=10})
        doSendMagicEffect(tmp, CONST_ME_TELEPORT)
        doSendMagicEffect({x=32566, y=31338, z=10}, CONST_ME_TELEPORT)
        return onUsePick(player, item, fromPosition, target, toPosition, isHotkey)
    end

    return false
end
 
Solution
Back
Top