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

Gate of Expertise..

halloboss123

New Member
Joined
May 29, 2013
Messages
17
Reaction score
0
Hey ,

i need Help with Gate of Expertise...
I dont know what i can edit in the ActionID at the "Gate of Expertise" for LEVEL 400.000 :/
What i must edit there at RME or did anyone got a Script?
Please help me its important!
 
You can make an extra lua script for level doors higher then 65535.
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)

	if getPlayerLevel(cid) >= 400000 then
		doTransformItem(item.uid, item.itemid + 1)
		doTeleportThing(cid, toPosition)
	else
		doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You need to be level 400000.")
	end
	return true
end
 
You can make an extra lua script for level doors higher then 65535.
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)

	if getPlayerLevel(cid) >= 400000 then
		doTransformItem(item.uid, item.itemid + 1)
		doTeleportThing(cid, toPosition)
	else
		doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You need to be level 400000.")
	end
	return true
end

I must pot it in Actions, or?
Can you post the Script at .xml too? Just played Tibia since 2years later and now i dont know anymore.. :S
 
You can add an unique id to the door, then add it with that uniqueid in actions.xml
Example:
XML:
<action uniqueid="6000" event="script" value="other/highleveldoor.lua"/>
 
Back
Top