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

Pits of Inferno

Raggarn

New Member
Joined
Mar 30, 2009
Messages
177
Reaction score
0
Do anybody feeling for scripting
the Pits Of Inferno Quest

All of it.

This is for my server "Forera" that will be launched in like 1-2 weeks.
/Contact me for the script or if you want to be a part of the project.
 
Its about 30 scripts, 10 of them are quite hard, 5 of this are really long. I dont think that anybody will give it to you unless you pay. I have all of the map, scripts and monsters from global tibia but i wont release it, becouse i was working on them few weeks.

@TIP

Do it by yourself.
 
None of them are hard to make or long. I have scripted FULL 100% Pits of Inferno in about six hours. But I agree, no one will give it for you for free :/
 
tronys

data/movements/movements.xml

PHP:
    <!-- Pits Of Inferno -->
    <movevent type="StepIn" actionid="56486" event="script" value="trony.lua" />
    <movevent type="StepIn" actionid="56487" event="script" value="trony.lua" />
    <movevent type="StepIn" actionid="56488" event="script" value="trony.lua" />
    <movevent type="StepIn" actionid="56489" event="script" value="trony.lua" />
    <movevent type="StepIn" actionid="56410" event="script" value="trony.lua" />
    <movevent type="StepIn" actionid="56411" event="script" value="trony.lua" />
    <movevent type="StepIn" actionid="56412" event="script" value="trony.lua" />

data/movements/scripts/trony.lua


Lua:
local CONFIG =   {
    [56486]={storage = 19551, seal = "Verminor"},
    [56487]={storage = 19552, seal = "Infernatil"},
    [56488]={storage = 19553, seal = "Tafariel"},
    [56489]={storage = 19554, seal = "Apocalypse"},
    [56410]={storage = 19555, seal = "Pumin"}, 
    [56411]={storage = 19556, seal = "Bazir"}, 
    [56412]={storage = 19557, seal = "Ashfalor"}         
                  }

function onStepIn(cid, item, position, fromPosition)
    if getPlayerStorageValue(cid, CONFIG[item.actionid].storage) == -1 then
        doPlayerSendTextMessage(cid, TALKTYPE_BROADCAST, "You have touched " .. CONFIG[item.actionid].seal .. "\'s throne and absorbed some of his sprit.")
        setPlayerStorageValue(cid, CONFIG[item.actionid].storage, 1) 
    else
        doPlayerSendTextMessage(cid, TALKTYPE_BROADCAST, "You already have touched " .. CONFIG[item.actionid].seal .. "\'s throne and absorbed some of his sprit.")
    end
  return TRUE
end


Seals

data/movements/movements.xml

PHP:
    <!-- Pits of Inferno Scripts - Road to Victory -->
    <movevent type="StepIn" actionid="56480" event="script" value="seals.lua" />
    <movevent type="StepIn" actionid="56481" event="script" value="seals.lua" />
    <movevent type="StepIn" actionid="56482" event="script" value="seals.lua" />
    <movevent type="StepIn" actionid="56483" event="script" value="seals.lua" />
    <movevent type="StepIn" actionid="56484" event="script" value="seals.lua" />
    <movevent type="StepIn" actionid="56485" event="script" value="seals.lua" />



data/movements/scripts/seals.lua

Lua:
local CONFIG =   {
    [56480]={storage = 19551, seal = "first"},
    [56481]={storage = 19552, seal = "second"},
    [56482]={storage = 19553, seal = "third"},
    [56483]={storage = 19554, seal = "fourth"},
    [56484]={storage = 19555, seal = "fifth"}, 
    [56485]={storage = 19556, seal = "sixth"}, 	
    [56486]={storage = 19557, seal = "seventh"}         
                 }

function onStepIn(cid, item, position, fromPosition)
    if getPlayerStorageValue(cid, CONFIG[item.actionid].storage) == -1 then
        doPlayerSendTextMessage(cid, TALKTYPE_BROADCAST, "You did not completed the " .. CONFIG[item.actionid].seal .. " seal")
        doTeleportThing(cid, fromPosition)
    end
  return TRUE
end


Items


data/actions/actions.xml

PHP:
    <action actionid="2453" script="quests/quests.lua"/>  -- arcane staff - poi -same actionid
    <action actionid="6528" script="quests/quests.lua"/>  -- avenger - poi - same actionid
    <action actionid="5803" script="quests/quests.lua"/>  -- arbalest - poi - same actionid
    <action actionid="2152" script="quests/quests.lua"/>  -- 100 platinum coins - poi
    <action actionid="6132" script="quests/quests.lua"/>  -- soft boots - poi
    <action actionid="2365" script="quests/quests.lua"/>  -- backpack of holding - poi
    <action actionid="5791" script="quests/quests.lua"/>  -- stuffed dragon - poi
    <action actionid="2361" script="quests/quests.lua"/>  -- frozen starlight - poi

data/actions/scripts/itemsPOI.lua

Lua:
local QUESTS =   
{
    [2453]={itemadd = 2453, count = 1, storage = 2453}, -- arcane staff - poi - same storage
    [6528]={itemadd = 6528, count = 1, storage = 2453}, -- avenger - poi - same storage
    [5803]={itemadd = 5803, count = 1, storage = 2453}, -- arbalest - poi - same storage
    [2152]={itemadd = 2152, count = 100, storage = 2152}, -- 100 platinum coins - poi
    [6132]={itemadd = 6132, count = 1, storage = 6132}, -- soft boots - poi
    [2365]={itemadd = 2365, count = 1, storage = 2365}, -- backpack of holding - poi
    [5791]={itemadd = 5791, count = 1, storage = 5791}, -- stuffed dragon - poi
    [2361]={itemadd = 2361, count = 1, storage = 2361} -- frozen starlight - poi                        
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
    if getPlayerStorageValue(cid, QUESTS[item.actionid].storage) == -1 then
        if getPlayerFreeCap(cid) >= getItemWeightById(QUESTS[item.actionid].itemadd, QUESTS[item.actionid].count) then
            doPlayerSendTextMessage(cid,22,"You have found a " .. getItemNameById(QUESTS[item.actionid].itemadd) .. ".")
            doPlayerAddItem(cid, QUESTS[item.actionid].itemadd, QUESTS[item.actionid].count)
            setPlayerStorageValue(cid, QUESTS[item.actionid].storage, 1)
        else
            doPlayerSendTextMessage(cid, TALKTYPE_BROADCAST, "You don\'t have enough capacity, You need " .. getItemWeightById(QUESTS[item.actionid].itemadd, QUESTS[item.actionid].count) .. " oz cap free.")
        end
    else
        doPlayerSendTextMessage(cid,22,"It is empty.")
    end
    return TRUE
end


@BTW, its just the simple scripts [3 Method]...the other thing's [NPCS] so f*ucking bored :|
 
Last edited:
Back
Top