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

[Request] Edit scripts to work on 0. 3.6.pl1

Onizuka

Member
Joined
Jul 5, 2008
Messages
2,291
Reaction score
14
The scripts are from tibia 8.10 and i need them to work on 8.54. :]
So if someone would be so kind editing them to work i'd really appreciate.


movements \/

1.
Code:
function onStepIn(cid, item, pos)
local demon1 = {x=828, y=1165, z=7}
local demon2 = {x=827, y=1165, z=7}
local ppos = getPlayerPosition(cid)
if item.actionid == 8881 then
doSummonCreature("Demon", demon1)
doSummonCreature("Demon", demon2)
doSendMagicEffect(ppos, 10)
end
end


2.
Code:
function onStepIn(cid, item, pos)

local npos = {x=831, y=1197, z=7} 

queststatus = getPlayerStorageValue(cid,8880)
  if queststatus == -1 or queststatus == 0 then
   doTeleportThing(cid,npos)
doPlayerSendTextMessage(cid, 22, 'First make the quest underground.')
end
end

Action scripts: \/

3.
Code:
function onUse(cid, item, frompos, item2, topos)
local npos = {x=829, y=1193, z=6, stackpos=255}
if item.actionid == 8882 then
   doPlayerSendTextMessage(cid,22,"Now you can pass the bridge.")
   doTeleportThing(cid,npos)
   setPlayerStorageValue(cid,8880,1)
end
end

4.
Code:
function onUse(cid, item, frompos, item2, topos)

npos = {x=829, y=1165, z=7, stackpos=255}

if item.actionid == 8880 then

doTeleportThing(cid,npos)
doSendMagicEffect(npos,10)

end

end



Rep+, and many thanks!

Regards.
 
LUA:
function onStepIn(cid, item, pos)
local demon1 = {x=828, y=1165, z=7}
local demon2 = {x=827, y=1165, z=7}
local ppos = getCreaturePosition(cid)
	if item.actionid == 8881 then
		doSummonCreature("Demon", demon1)
		doSummonCreature("Demon", demon2)
		doSendMagicEffect(ppos, 10)
	end
return true
end

LUA:
function onStepIn(cid, item, pos)
local npos = {x=831, y=1197, z=7} 
local queststatus = getPlayerStorageValue(cid,8880)
	if queststatus <= 0 then
		doTeleportThing(cid,npos)
		doPlayerSendTextMessage(cid, 22, 'First make the quest underground.')
	end
return true
end

LUA:
function onUse(cid, item, frompos, item2, topos)
local npos = {x=829, y=1193, z=6, stackpos=255}
	if item.actionid == 8882 then
		doPlayerSendTextMessage(cid,22,"Now you can pass the bridge.")
		doTeleportThing(cid,npos)
		setPlayerStorageValue(cid,8880,1)
	end
return true
end

LUA:
function onUse(cid, item, frompos, item2, topos)
local npos = {x=829, y=1165, z=7, stackpos=255}
	if item.actionid == 8880 then
		doTeleportThing(cid,npos)
		doSendMagicEffect(npos,10)
	end
return true
end
 
  1. Code:
    function onStepIn(cid, item, position, fromPosition)
    	doSummonCreature("Demon", {x=828, y=1165, z=7})
    	doSummonCreature("Demon", {x=827, y=1165, z=7})
    	doSendMagicEffect(position, CONST_ME_TELEPORT)
    end
  2. Code:
    function onStepIn(cid, item, position, fromPosition)
    	if getPlayerStorageValue(cid, 8880) < 1 then
    		doTeleportThing(cid, {x=831, y=1197, z=7})
    		doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "First make the quest underground.")
    	end
    end
  3. Code:
    function onUse(cid, item, fromPosition, itemEx, toPosition)
    	if getPlayerStorageValue(cid, 8880) < 1 then
    		doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Now you can pass the bridge.")
    		doTeleportThing(cid, {x=829, y=1193, z=6})
    		setPlayerStorageValue(cid, 8880, 1)
    		return true
    	end
    end
  4. Code:
    function onUse(cid, item, fromPosition, itemEx, toPosition)
    	doTeleportThing(cid, {x=829, y=1165, z=7})
    	doSendMagicEffect({x=829, y=1165, z=7}, CONST_ME_TELEPORT)
    	return true
    end
You probably registered them wrong, as there's nothing to prevent them from working on "8.54" too.
 
Thanks both.


Regards.

Also i was wondering about a script, when you use a chest you'll be given 2 addons for specific outfit. ?

Any ideas?

Cheers.
 
Back
Top