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

Windows Removing missions!

droox

New Member
Joined
Jun 26, 2013
Messages
47
Reaction score
0
Hello everybody. I'm sorry for bad English. I am Brazilian and not quite mastered the language!
I have a problem and sought help in other forums and could not return!
The problem is as follows:
I have a TFS Global Server 1.0 and it is with all missions. Example of the gates of yalahar who are not working to pass. I looked for UniqueId in movemments.xml more have not.
Would anyone help me?
Thank You Very Much!
 
What kind of action do people have to do? If it's walking on it then it's in movements. What exactly is not working, doesn't it do something it should or is it doing something wrong?
If you can't find it with uniqueid, you can also look for actionid or itemid, it needs to be 1 of those 3 if the script is added.
 
It is not to walk on it! is click! when you click teleport to the other side, however, need to finish the quest "In servise of Yalahar" and I wanted to take it!
 
Man, this is the mechanism look:

11:06 You see a mechanism.
ItemID: [9531], UniqueId: [3096].
Position: [X: 32729] [Y: 31199] [Z: 5].

In the actions.xml do not have the UniqueID



Help me!
 
Things registerd in actions and movements can be in an "array", ex:
Code:
fromid="1000" toid="10005"
It will then use that script for ids that are from 1000, 1005, ex. 1003.

Search for "309" insted.
 
Heeeeeeey Guy, tanks so much!

I found this!
local mechanisms = {
[3091] = {pos = {x = 32744, y = 31161, z = 5}, value = 21}, -- Alchemist
[3092] = {pos = {x = 32744, y = 31164, z = 5}, value = 21},
[3093] = {pos = {x = 32833, y = 31269, z = 5}, value = 24}, -- Trade
[3094] = {pos = {x = 32833, y = 31266, z = 5}, value = 24},
[3095] = {pos = {x = 32729, y = 31200, z = 5}, value = 29}, -- Arena
[3096] = {pos = {x = 32734, y = 31200, z = 5}, value = 29},
[3097] = {pos = {x = 32776, y = 31141, z = 5}, value = 35}, -- Cemetery
[3098] = {pos = {x = 32776, y = 31145, z = 5}, value = 35},
[3099] = {pos = {x = 32874, y = 31202, z = 5}, value = 41}, -- Sunken
[3100] = {pos = {x = 32869, y = 31202, z = 5}, value = 41},
[3101] = {pos = {x = 32856, y = 31251, z = 5}, value = 45}, -- Factory
[3102] = {pos = {x = 32854, y = 31248, z = 5}, value = 45}
}

local mechanisms2 = {
[9235] = {pos = {x = 32773, y = 31116, z = 7}},
[9236] = {pos = {x = 32780, y = 31115, z = 7}}
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
local player = Player(cid)
if(mechanisms[item.uid]) then
if(player:getStorageValue(30) >= mechanisms[item.uid].value) then
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
player:teleportTo(mechanisms[item.uid].pos)
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
else
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "The gate mechanism won't move. You probably have to find a way around until you figure out how to operate the gate.")
end
elseif(mechanisms2[item.uid]) then
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
player:teleportTo(mechanisms2[item.uid].pos)
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
end
return true
end

what i want to del missions?
 
Back
Top