Hello Peapols... How us see i realy like to script for 0.2.5 i think this is a most stable server and i will try to wake Up this distro becouse almost everyone is using only 0.3.5... thoose scripts i made realy realy hard i sreached it anywere but nah nothing so open the function list for 0.2.5 and start writing and the resultats is pretty good after 2 Days~ Work i made inquisition like real tibia for 0.2.5 !
P.s. Im Newbie...
Lets Start !
Action Xml:
Ushurielwall.lua
Zugoroshwall.lua
Madarethwall.lua
Latrivanwall.lua
Annihilonwall.lua
Hellgorakwall.lua
INQchest.lua
I hope us like it and mayby rep++ my job
P.s. Im Newbie...
Lets Start !
Action Xml:
Code:
<!-- INQ -->
<action uniqueid="1307" script="inq\inqchest.lua" />
<action uniqueid="1301" script="inq\inqchest.lua" />
<action uniqueid="1302" script="inq\inqchest.lua" />
<action uniqueid="1303" script="inq\inqchest.lua" />
<action uniqueid="1304" script="inq\inqchest.lua" />
<action uniqueid="1305" script="inq\inqchest.lua" />
<action uniqueid="1306" script="inq\inqchest.lua" />
<action uniqueid="1308" script="inq\inqchest.lua" />
<action uniqueid="1300" script="inq\inqchest.lua" />
<action uniqueid="12613" script="inq\ushurielwall.lua" />
<action uniqueid="12614" script="inq\zuguroshwall.lua" />
<action uniqueid="12615" script="inq\Madarethwall.lua" />
<action uniqueid="12616" script="inq\Latrivanwall.lua" />
<action uniqueid="12617" script="inq\Annihilonwall.lua" />
<action uniqueid="12618" script="inq\Hellgorakwall.lua" />
Ushurielwall.lua
Lua:
-- Scripted By Apsivaflines
function onUse(cid, item, frompos, item2, topos)
local switchUniqueID = 12613 -- uniqueID of switch
local switchID = 1945
local switch2ID = 1946
local itemID = 5527
local itempos = {x=1097, y=1216, z=12, stackpos=1}
local wallpos = {x=1097, y=1213, z=12, stackpos=1}
local playername = getPlayerName(cid)
local getitem = getThingfromPos(itempos)
local wallchk = getThingfromPos(wallpos)
if item.uid == switchUniqueID and item.itemid == switchID and getitem.itemid == itemID and wallchk.itemid == 1026 then
doSendMagicEffect(itempos,10)
doSendMagicEffect(wallchk,10)
doRemoveItem(getitem.uid,1)
doRemoveItem(wallchk.uid,1)
doTransformItem(item.uid,item.itemid+1)
addEvent(onTimer5, 2*60*1000)
elseif item.uid == switchUniqueID and item.itemid == switch2ID then
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"You need to place the corpse of the slain demon lord.")
end
return 1
end
function onTimer5()
wallnewpos = {x=1097, y=1213, z=12}
doCreateItem(1026,1,wallnewpos)
end
Zugoroshwall.lua
Lua:
-- Scripted By Apsivaflines
function onUse(cid, item, frompos, item2, topos)
local switchUniqueID = 12614 -- uniqueID of switch
local switchID = 1945
local switch2ID = 1946
local itemID = 5527
local itempos = {x=1149, y=1215, z=12, stackpos=1}
local wallpos = {x=1149, y=1212, z=12, stackpos=1}
local playername = getPlayerName(cid)
local getitem = getThingfromPos(itempos)
local wallchk = getThingfromPos(wallpos)
if item.uid == switchUniqueID and item.itemid == switchID and getitem.itemid == itemID and wallchk.itemid == 1026 then
doSendMagicEffect(itempos,10)
doSendMagicEffect(wallchk,10)
doRemoveItem(getitem.uid,1)
doRemoveItem(wallchk.uid,1)
doTransformItem(item.uid,item.itemid+1)
addEvent(onTimer5, 2*60*1000)
elseif item.uid == switchUniqueID and item.itemid == switch2ID then
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"You need to place the corpse of the slain demon lord.")
end
return 1
end
function onTimer5()
wallnewpos = {x=1149, y=1212, z=12}
doCreateItem(1026,1,wallnewpos)
end
Madarethwall.lua
Lua:
-- Scripted By Apsivaflines
function onUse(cid, item, frompos, item2, topos)
local switchUniqueID = 12615 -- uniqueID of switch
local switchID = 1945
local switch2ID = 1946
local itemID = 5527
local itempos = {x=1110, y=1240, z=12, stackpos=1}
local wallpos = {x=1113, y=1240, z=12, stackpos=1}
local playername = getPlayerName(cid)
local getitem = getThingfromPos(itempos)
local wallchk = getThingfromPos(wallpos)
if item.uid == switchUniqueID and item.itemid == switchID and getitem.itemid == itemID and wallchk.itemid == 1025 then
doSendMagicEffect(itempos,10)
doSendMagicEffect(wallchk,10)
doRemoveItem(getitem.uid,1)
doRemoveItem(wallchk.uid,1)
doTransformItem(item.uid,item.itemid+1)
addEvent(onTimer5, 2*60*1000)
elseif item.uid == switchUniqueID and item.itemid == switch2ID then
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"You need to place the corpse of the slain demon lord.")
end
return 1
end
function onTimer5()
wallnewpos = {x=1113, y=1240, z=12}
doCreateItem(1025,1,wallnewpos)
end
Latrivanwall.lua
Lua:
-- Scripted By Apsivaflines
function onUse(cid, item, frompos, item2, topos)
local switchUniqueID = 12616 -- uniqueID of switch
local switchID = 1945
local switch2ID = 1946
local itemID = 5527
local itempos = {x=1145, y=1244, z=12, stackpos=1}
local wallpos = {x=1148, y=1244, z=12, stackpos=1}
local playername = getPlayerName(cid)
local getitem = getThingfromPos(itempos)
local wallchk = getThingfromPos(wallpos)
if item.uid == switchUniqueID and item.itemid == switchID and getitem.itemid == itemID and wallchk.itemid == 1025 then
doSendMagicEffect(itempos,10)
doSendMagicEffect(wallchk,10)
doRemoveItem(getitem.uid,1)
doRemoveItem(wallchk.uid,1)
doTransformItem(item.uid,item.itemid+1)
addEvent(onTimer5, 2*60*1000)
elseif item.uid == switchUniqueID and item.itemid == switch2ID then
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"You need to place the corpse of the slain demon lord.")
end
return 1
end
function onTimer5()
wallnewpos = {x=1148, y=1244, z=12}
doCreateItem(1025,1,wallnewpos)
end
Annihilonwall.lua
Lua:
-- Scripted By Apsivaflines
function onUse(cid, item, frompos, item2, topos)
local switchUniqueID = 12617 -- uniqueID of switch
local switchID = 1945
local switch2ID = 1946
local itemID = 5527
local itempos = {x=1185, y=1198, z=12, stackpos=1}
local wallpos = {x=1188, y=1198, z=12, stackpos=1}
local playername = getPlayerName(cid)
local getitem = getThingfromPos(itempos)
local wallchk = getThingfromPos(wallpos)
if item.uid == switchUniqueID and item.itemid == switchID and getitem.itemid == itemID and wallchk.itemid == 1025 then
doSendMagicEffect(itempos,10)
doSendMagicEffect(wallchk,10)
doRemoveItem(getitem.uid,1)
doRemoveItem(wallchk.uid,1)
doTransformItem(item.uid,item.itemid+1)
addEvent(onTimer5, 2*60*1000)
elseif item.uid == switchUniqueID and item.itemid == switch2ID then
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"You need to place the corpse of the slain demon lord.")
end
return 1
end
function onTimer5()
wallnewpos = {x=1188, y=1198, z=12}
doCreateItem(1025,1,wallnewpos)
end
Hellgorakwall.lua
Lua:
-- Scripted By Apsivaflines
function onUse(cid, item, frompos, item2, topos)
local switchUniqueID = 12618 -- uniqueID of switch
local switchID = 1945
local switch2ID = 1946
local itemID = 5527
local itempos = {x=1190, y=1240, z=12, stackpos=1}
local wallpos = {x=1193, y=1240, z=12, stackpos=1}
local playername = getPlayerName(cid)
local getitem = getThingfromPos(itempos)
local wallchk = getThingfromPos(wallpos)
if item.uid == switchUniqueID and item.itemid == switchID and getitem.itemid == itemID and wallchk.itemid == 1025 then
doSendMagicEffect(itempos,10)
doSendMagicEffect(wallchk,10)
doRemoveItem(getitem.uid,1)
doRemoveItem(wallchk.uid,1)
doTransformItem(item.uid,item.itemid+1)
addEvent(onTimer5, 2*60*1000)
elseif item.uid == switchUniqueID and item.itemid == switch2ID then
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"You need to place the corpse of the slain demon lord.")
end
return 1
end
function onTimer5()
wallnewpos = {x=1193, y=1240, z=12}
doCreateItem(1025,1,wallnewpos)
end
INQchest.lua
Lua:
-- Inquisition chests
function onUse(cid, item, frompos, item2, topos)
if item.uid == 1307 then
queststatus = getPlayerStorageValue(cid,8560)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Emerald Sword.")
doPlayerAddItem(cid,8930,1)
setPlayerStorageValue(cid,8560,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 1301 then
queststatus = getPlayerStorageValue(cid,8560)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Spellbook of dark Mysteries.")
doPlayerAddItem(cid,8918,1)
setPlayerStorageValue(cid,8560,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 1304 then
queststatus = getPlayerStorageValue(cid,8560)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Master Archer's Armor.")
doPlayerAddItem(cid,8888,1)
setPlayerStorageValue(cid,8560,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 1300 then
queststatus = getPlayerStorageValue(cid,8560)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Robe of the Underworld")
doPlayerAddItem(cid,8890,1)
setPlayerStorageValue(cid,8560,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 1302 then
queststatus = getPlayerStorageValue(cid,8560)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Fireborn Giant Armor.")
doPlayerAddItem(cid,8881,1)
setPlayerStorageValue(cid,8560,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 1306 then
queststatus = getPlayerStorageValue(cid,8560)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Obsidian Truncheon.")
doPlayerAddItem(cid,8928,1)
setPlayerStorageValue(cid,8560,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 1303 then
queststatus = getPlayerStorageValue(cid,8560)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Royal Crossbow.")
doPlayerAddItem(cid,8851,1)
setPlayerStorageValue(cid,8560,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 1308 then
queststatus = getPlayerStorageValue(cid,8560)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Warsinger Bow.")
doPlayerAddItem(cid,8854,1)
setPlayerStorageValue(cid,8560,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 1305 then
queststatus = getPlayerStorageValue(cid,8560)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Hellforged axe")
doPlayerAddItem(cid,8924,1)
setPlayerStorageValue(cid,8560,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
else
return 0
end
return 1
end
I hope us like it and mayby rep++ my job