• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Commands?

Nashalito

New Member
Joined
May 21, 2009
Messages
273
Reaction score
0
Hello , i have maked a gm on my server but in Data> xml> there is no commands. I have putted a commands and restarted the server but it doesnt work to do like /a 3. I am using Tibia 8,54 ot 0,3,6

What do i have to do?
please i need really help
 
Hello , i have maked a gm on my server but in Data> xml> there is no commands. I have putted a commands and restarted the server but it doesnt work to do like /a 3. I am using Tibia 8,54 ot 0,3,6

What do i have to do?
please i need really help

There is not supposed to be commands in Data > XML.

Commands are located in the Talkactions folder. Here, i'll send you some that work =)

View attachment talkactions.zip

Rep++ if this helped you =)
 
Ty but i have got a more problem look here.

[06/04/2010 00:18:57] [Error - Action Interface]
[06/04/2010 00:18:57] data/actions/scripts/quests/ambolt.lua
[06/04/2010 00:18:57] Description:
[06/04/2010 00:18:58] (internalGetPlayerInfo) Player not found when requesting player info #6

local pvoc = getPlayerVocation(cid)
local ppos = {x=3800,y=3124,z=7}
local stpos = {x=3799,y=3125,z=7}
local mcpos = {x=3801,y=3125,z=7}

function onUse(cid, item, frompos, item2, topos)
if item.uid == 37654 then -- change ***
if getCreaturePosition(cid) == ppos and getThingfromPos(stpos).itemid == 2350 and getThingfromPos(mcpos).itemid == 8980 then -- change * into swordtil id and ** into mexica cabilar id
setPlayerStorageValue(cid,37654,1)-- change **** into storagevalue
doRemoveItem(getThingfromPos(stpos).uid,1)
doRemoveItem(getThingfromPos(mcpos).uid,1)
if pvoc == 1 or pvoc == 2 or pvoc == 3 or pvoc == 5 or pvoc == 6 or pvoc == 7 then
doPlayerAddItem(cid, 1988) -- change *** into exp scroll id
elseif pvoc == 4 or pvoc == 8 then
doPlayerAddItem(cid, 1988) -- change *** into ring id
end
end
end
end
 
Code:
local ppos = {x=3800,y=3124,z=7}
local stpos = {x=3799,y=3125,z=7}
local mcpos = {x=3801,y=3125,z=7}

function onUse(cid, item, fromPosition, itemEx, toPosition)
	local k, v = getTileItemById(stpos, 2350).uid, getTileItemById(mcpos, 8980).uid
	if doComparePositions(getThingPos(cid), ppos) and k > 0 and v > 0 then
		setPlayerStorageValue(cid, 37654, 1)
		doRemoveItem(k, 1)
		doRemoveItem(v, 1)
		return doPlayerAddItem(cid, 1988)
	end
end
 
Back
Top