Ir para conteúdo
  • Cadastre-se

Scripting Problema com porta da ilha inicial


Posts Recomendados

Boa noite, estou enfrentando um probleminha no meu otserver.

 

O mesmo é TFS 1.0, está na versão 11.46.

 

A ilha inicial, quando o player upa e vai no andar de baixo abrir a porta correspondendo a sua vocação, na de druid da a seguinte mensagem: The door seems to be sealed against unwanted intruders.

 

Observei pelo char adm que das 4 portas ela é a unica que não tem actionID, não sei se pode ser esse problema.

 

Segue meu action.xml e meu doors.lua

 

action.xml

Spoiler

<?xml version="1.0" encoding="UTF-8"?>
<actions>
    <!--Snowball war -->
    <action actionid="7900" script="other/snowballaction.lua" />

    <!--bomberman -->
    <action actionid="2229" script="other/bomberman_minigame_action.lua"/>

    <!-- Enchanted Florest -->
    <action uniqueid="5312" script="other/flag.lua" />
    
    <!-- Dawnport -->
        <action fromaid="2003" toaid="2011" script="other/dawnportdoors.lua" />
    
        <!-- World Coin's -->
    <action itemid="16101" script="other/premiumscroll.lua" />

    <action itemid="24774" script="other/premiumscroll.lua" />

    <!-- Casks and Kegs -->
    <action fromid="7634" toid="7636" script="other/caskkegs.lua"/>

    <!-- Imbuement Shrines -->
    <action fromid="27716" toid="27717" script="other/imbuement.lua" />
    <action fromid="27830" toid="27831" script="other/imbuement.lua" />
    <action fromid="27838" toid="27839" script="other/imbuement.lua" />

    <!-- Store -->
    <action itemid="26347" script="other/fishtank.lua"/>
    <action fromid="26094" toid="26097" script="other/transform.lua"/>
    <action fromid="26090" toid="26093" script="other/transform.lua"/>
    <action fromid="26098" toid="26099" script="other/transform.lua"/>
    <action fromid="26100" toid="26101" script="other/transform.lua"/>
    <action fromid="26107" toid="26108" script="other/transform.lua"/>
    <action fromid="26141" toid="26142" script="other/transform.lua"/>
    <action fromid="26364" toid="26365" script="other/transform.lua"/><!-- dog house-->
    <action itemid="26353" script="other/transform.lua"/><!-- dog house-->
    <action fromid="27088" toid="27089" script="other/transform.lua"/>
    <action fromid="27090" toid="27091" script="other/transform.lua"/>
    <action fromid="25392" toid="25393" script="other/carpets.lua"/>
    <action fromid="26192" toid="26193" script="other/carpets.lua"/>
    <action itemid="26087" script="other/carpets.lua"/> <!-- yalaha carpet-->
    <action itemid="26109" script="other/carpets.lua"/> <!-- yalaha carpet-->
    <action itemid="26088" script="other/carpets.lua"/> <!-- white fur -->
    <action itemid="26110" script="other/carpets.lua"/> <!-- white fur -->
    <action itemid="26089" script="other/carpets.lua"/> <!-- bamboo mat -->
    <action itemid="26111" script="other/carpets.lua"/> <!-- bamboo mat -->
    <action itemid="26366" script="other/carpets.lua"/> <!-- azure carpet -->
    <action itemid="26372" script="other/carpets.lua"/> <!-- azure carpet -->
    <action itemid="26363" script="other/carpets.lua"/> <!-- crimson carpet -->
    <action itemid="26371" script="other/carpets.lua"/> <!-- crimson carpet -->
    <action itemid="26367" script="other/carpets.lua"/> <!-- emerald carpet -->
    <action itemid="26373" script="other/carpets.lua"/> <!-- emerald carpet -->
    <action itemid="26368" script="other/carpets.lua"/> <!-- light parquet -->
    <action itemid="26374" script="other/carpets.lua"/> <!-- light parquet -->
    <action itemid="26369" script="other/carpets.lua"/> <!-- dark parquet -->
    <action itemid="26375" script="other/carpets.lua"/> <!-- dark parquet -->
    <action itemid="26370" script="other/carpets.lua"/> <!-- marble floor -->
    <action itemid="26376" script="other/carpets.lua"/> <!-- marble floor -->
    <action itemid="27072" script="other/carpets.lua"/> <!-- flowery carpet -->
    <action itemid="27080" script="other/carpets.lua"/> <!-- flowery carpet -->
    <action itemid="27073" script="other/carpets.lua"/> <!-- Colourful Carpet -->
    <action itemid="27081" script="other/carpets.lua"/> <!-- Colourful Carpet -->
    <action itemid="27074" script="other/carpets.lua"/> <!-- striped carpet -->
    <action itemid="27082" script="other/carpets.lua"/> <!-- striped carpet -->
    <action itemid="27075" script="other/carpets.lua"/> <!-- fur carpet -->
    <action itemid="27083" script="other/carpets.lua"/> <!-- fur carpet -->
    <action itemid="27076" script="other/carpets.lua"/> <!-- diamond carpet -->
    <action itemid="27084" script="other/carpets.lua"/> <!-- diamond carpet -->
    <action itemid="27077" script="other/carpets.lua"/> <!-- patterned carpet -->
    <action itemid="27085" script="other/carpets.lua"/> <!-- patterned carpet -->
    <action itemid="27078" script="other/carpets.lua"/> <!-- night sky carpet -->
    <action itemid="27086" script="other/carpets.lua"/> <!-- night sky carpet -->
    <action itemid="27079" script="other/carpets.lua"/> <!-- star carpet -->
    <action itemid="27087" script="other/carpets.lua"/> <!-- star carpet -->

    <!-- Items actions -->
    <action itemid="24324" script="other/sweetheart.lua" />

    <!-- Lower Roshamuul Quest -->
    <action itemid="22387" script="roshamuul/mixture.lua" />
    <action itemid="22388" script="roshamuul/mixture.lua" />
    <action itemid="22459" script="roshamuul/chalk.lua" />
    <action itemid="22467" script="roshamuul/gravel.lua" />
    <action itemid="22503" script="roshamuul/mortar.lua" />
    <action itemid="22504" script="roshamuul/trough.lua" />
    <action fromaid="15150" toaid="15151" script="other/ctf.lua" />

    <!-- Arena Pvp -->
    <action actionid="61225" script="news/citywar.lua"/>
    <action itemid="24181" pos="32240;32179;8" script="arena/arena.lua"/>
    <action itemid="24173" pos="32271;32180;8" script="arena/arena1.lua"/>

    <!-- Lion's Rock -->
    <action itemid="23760" script="quests/lionrock.lua" />
    <action itemid="23835" script="quests/lionrock.lua" />
    <action itemid="10551" script="quests/lionrock.lua" />
    <action fromaid="41354" toaid="41357" script="quests/lionrock.lua" />
    <action actionid="41345" script="quests/lionrock.lua" />
    <action itemid="22614" script="other/beacon.lua"/>
    <action itemid="22615" script="other/beacon.lua"/>
    <action itemid="25420" script="other/feru.lua"/>
    <action itemid="24809" script="quests/cavera.lua"/>
    <action itemid="24810" script="quests/cavera1.lua"/>
    <action itemid="22535" script="other/ResonanceChamber.lua"/>
    <action actionid="12441" script="other/espelho.lua"/>
    <action itemid="15358" script="quests/ancora.lua"/>
    <action itemid="25524" script="quests/rookslayer.lua"/>

    <!-- Reward Chest System
    <action itemid="21584"  script="rewardchest.lua"/>-->
    <action actionid="61221" script="quests/dwarven.lua"/>
    <action itemid="25423" script="other/amulet.lua"/>
    <action actionid="37412" script="other/rew.lua"/>
    <action itemid="22542" script="other/string of mending.lua"/>
    <action itemid="7418" script="quests/lions.lua"/>
    <action itemid="7428" script="other/nailcase.lua"/>
    <action itemid="7449" script="other/golem.lua"/>
    <action itemid="11305" script="other/boar.lua"/>
    <action actionid="19075" script="other/pared.lua"/>
    <action itemid="25395" script="other/ovo.lua"/>
    <action itemid="21382" script="other/ovo.lua"/>

    <!-- Oramond -->
    <action itemid="23422" script="other/oramond_elevador.lua" />
    <action itemid="23429" script="other/oramond_elevador.lua" />
    <action fromaid="22840" toaid="22841" script="other/oramond_elevador.lua"/>
    <action itemid="23669" script="other/oramond_bueros.lua"/>
    <action itemid="23668" script="other/oramond_escadas.lua"/>
    <action itemid="22944" script="other/teleportwest2.lua"/>
    <action itemid="22949" script="other/teleportnorth2.lua"/>

    <!-- Custom Actions -->
    <action itemid="19192" script="other/skeleton.lua"/>
    <action itemid="22513" script="news/batebone.lua"/>
    <action itemid="12544" script="other/stamina_refuel.lua"/>
    <action itemid="11144" script="other/frag_remover.lua"/>
    <action actionid="14247" script="quests/rahemos.lua" />
    <action actionid="22829" script="other/portaY.lua" />
    <action actionid="12356" script="other/portaX.lua" />
    <action actionid="12359" script="other/portaY.lua" />
    <action actionid="19021" script="oramond/ora.lua"/>
    <action actionid="19022" script="oramond/ora1.lua"/>
    <action actionid="19024" script="oramond/ora2.lua"/>
    <action actionid="19074" script="other/placa.lua"/>
    <action actionid="19079" script="other/krailos.lua"/>
    <action actionid="19023" script="other/skeleton1.lua"/>

    <!-- Beggar Outfits Quest -->
    <action actionid="19900" script="quests/beggar outfit quest/StaffDoor.lua"/>

    <!-- Chayenne Realm Quest -->
    <action actionid="55021" script="quests/chayenne realm quest/lever.lua" />
    <action actionid="55023" script="quests/chayenne realm quest/reward.lua" />

    <!-- Oramond Quest -->
    <action uniqueid="12028" script="other/nibelor1.lua"/>
    <action uniqueid="12027" script="other/nibelor.lua"/>
    <action uniqueid="12025" script="other/inukaya.lua"/>
    <action uniqueid="12026" script="other/inukaya2.lua"/>
    <action uniqueid="9519" script="quests/oramond/ora.lua"/>
    <action uniqueid="9529" script="news/novo1.lua"/>
    <action uniqueid="9530" script="news/novo2.lua"/>
    <action uniqueid="9531" script="news/novo3.lua"/>
    <action uniqueid="9532" script="news/novo4.lua"/>
    <action uniqueid="9533" script="news/novo5.lua"/>
    <action uniqueid="9520" script="news/bb_quest.lua"/> <!-- Mazoran -->
    <action uniqueid="9521" script="news/bb_quest.lua"/> <!-- Razzagorn -->
    <action uniqueid="9522" script="news/bb_quest.lua"/> <!-- Plagirath -->
    <action uniqueid="9523" script="news/bb_quest.lua"/> <!-- Ferumbras Novo -->
    <action uniqueid="9524" script="news/bb_quest.lua"/> <!-- Ragiaz -->
    <action uniqueid="9525" script="news/bb_quest.lua"/> <!-- Zamulosh -->
    <action uniqueid="9526" script="news/bb_quest.lua"/> <!-- Tarbaz -->
    <action uniqueid="9527" script="news/bb_quest.lua"/> <!-- Shulgrax -->
    <action uniqueid="9528" script="news/bb_quest.lua"/> <!-- The Shatterer -->
    <action uniqueid="9511" script="quests/oramond/darkTrail.lua"/>
    <action itemid="23400" script="quests/oramond/gerador.lua"/>
    <action itemid="23401" script="quests/oramond/gerador.lua"/>
    <action itemid="23402" script="quests/oramond/gerador.lua"/>
    <action itemid="23403" script="quests/oramond/gerador.lua"/>

    <!-- Gray Island -->
    <action uniqueid="25610" script="gray island/jaul.lua" />
    <action uniqueid="25611" script="gray island/tanjis.lua" />
    <action uniqueid="25612" script="gray island/obujos.lua" />

    <!-- Roshamuul -->
    <action itemid="22604" script="prison/silver.lua"/>
    <action itemid="22605" script="prison/copper.lua"/>
    <action itemid="22606" script="prison/bronze.lua"/>
    <action itemid="22607" script="prison/golden.lua"/>
    <action itemid="22598" script="other/unrealized dream.lua"/>
    <action itemid="22726" script="other/ursagrodon.lua" />
    <action itemid="23574" script="other/glooth_bag.lua"/>

    <!-- Tinder Box Quest -->
    <action uniqueid="21137" script="quests/tinder box/tinderBoxQuest.lua" />
    <action itemid="22728" script="quests/tinder box/tinderBox.lua" />

    <!-- Rookgaard -->
    <action uniqueid="50081" script="rookgaard/rookgaard tutorial island/snakeHead.lua" />
    <action itemid="8599" script="rookgaard/rookgaard tutorial island/ladderReqCockroachLegs.lua" />
    <action itemid="8593" script="rookgaard/rookgaard tutorial island/cockroachDeadBody.lua" />
    <action itemid="8582" script="rookgaard/rookgaard tutorial island/branch.lua" />
    <action itemid="8583" script="rookgaard/rookgaard tutorial island/deadTreeBranch.lua" />
    <action uniqueid="50085" script="rookgaard/rookgaard tutorial island/zirellaDoor.lua" />
    <action actionid="50239" script="rookgaard/SewerLever.lua" />
    <action actionid="5637" script="rookgaard/katana_quest_lever.lua" />
    <action actionid="1002" script="rookgaard/katana_quest_door.lua" />
    <action actionid="5638" script="rookgaard/bearroom_quest_lever.lua" />
    <action actionid="5639" script="rookgaard/doublet_quest.lua" />
    <action actionid="5640" script="rookgaard/honeyflower_quest.lua" />
    <action actionid="5641" script="rookgaard/banana_quest.lua" />

    <!-- Oramond -->
    <action fromaid="50000" toaid="50001" script="oramond/lever.lua" />
    <action fromid="23475" toid="23478" script="oramond/totakeroots.lua" />

    <!-- Adventurer's Guild -->
    <action itemid="18559" script="adventurers guild/adventurers_stone.lua" />
    <action fromid="19598" toid="19599" script="adventurers guild/magicdoor.lua" />

    <!-- Thais Exhibition-->
    <action fromaid="50030" toaid="50056" script="other/thais_exhibition.lua" />

    <!-- Kazordoon -->
    <action fromaid="50136" toaid="50159" script="kazordoon/oreWagons.lua" />
    <action fromaid="50230" toaid="50233" script="kazordoon/oreWagons.lua" />
    <action fromaid="50011" toaid="50012" script="kazordoon/elevatorLever.lua" />
    <action actionid="50237" script="kazordoon/stone.lua" />
    <action actionid="50238" script="kazordoon/trapdoor.lua" />

    <!-- Addons -->
    <action fromid="18517" toid="18522" script="addons/addons.lua" />

    <!-- Afflicted Outfit -->
    <action fromid="13540" toid="13545" script="addons/afflictedoutfit.lua" />
    <action fromid="13925" toid="13926" script="addons/afflictedoutfit.lua" />

    <!-- Ghost Ship (Plate armor quest) -->
    <action actionid="5556" script="other/ghostship.lua" />

    <!-- Farmine -->
    <action fromaid="9118" toaid="9121" script="farmine/elevatorLever.lua" />
    <action fromaid="12141" toaid="12142" script="farmine/templeofequilibrium_vines.lua" />

    <!-- Enchanting -->
    <action fromid="2146" toid="2147" script="other/enchanting.lua" />
    <action fromid="2149" toid="2150" script="other/enchanting.lua" />
    <action itemid="2342" script="other/enchanting.lua" />
    <action fromid="7759" toid="7762" script="other/enchanting.lua" />
    <action itemid="24739" script="other/enchanting.lua" />

    <!-- Ceremonial ankh & Ornamented brooch -->
    <action itemid="12424" script="other/checkbless.lua" />
    <action itemid="6561" script="other/checkbless.lua" />
    <action fromid="11258" toid="11262" script="other/blessingCharms.lua" />

    <!-- Taming Items -->
    <action itemid="5907" script="other/taming.lua" />
    <action itemid="13247" script="other/taming.lua" />
    <action itemid="13291" script="other/taming.lua" />
    <action itemid="13292" script="other/tinlizzard.lua" />
    <action itemid="13293" script="other/taming.lua" />
    <action itemid="13294" script="other/taming.lua" />
    <action itemid="13295" script="other/taming.lua" />
    <action itemid="13298" script="other/taming.lua" />
    <action itemid="13305" script="other/taming.lua" />
    <action itemid="13307" script="other/taming.lua" />
    <action itemid="13498" script="other/taming.lua" />
    <action itemid="13508" script="other/taming.lua" />
    <action itemid="21452" script="other/taming.lua" />
    <action fromid="13535" toid="13539" script="other/taming.lua" />
    <action itemid="13938" script="other/uniwheel.lua"/>
    <action itemid="13939" script="other/taming.lua" />
    <action itemid="13941" script="other/cup of molten gold.lua" />
    <action fromid="15545" toid="15546" script="other/taming.lua" />
    <action fromid="18447" toid="18449" script="other/taming.lua" />
    <action itemid="18511" script="other/musicbox.lua" />
    <action itemid="18516" script="other/taming.lua" />
    <action itemid="20138" script="other/taming.lua" />
    <action itemid="22608" script="other/taming.lua" />
    <action itemid="23810" script="other/taming.lua" />
    <action itemid="23557" script="other/taming.lua" />
    <action itemid="24763" script="mounts/mounts.lua"/>
    <action itemid="26194" script="mounts/mounts.lua"/>
    <action itemid="26340" script="mounts/mounts.lua"/>
    <action itemid="26341" script="mounts/mounts.lua"/>

    <!-- insectoid cell -->
    <action actionid="61611" script="insectoid cell/insectoidcell.lua" />
    <action actionid="61612" script="insectoid cell/insectoidcell2.lua" />
    <action actionid="61613" script="insectoid cell/insectoidcell3.lua" />
    <action actionid="61614" script="insectoid cell/insectoidcell4.lua" />
    <action actionid="61615" script="insectoid cell/insectoidcell5.lua" />
    <action actionid="61616" script="insectoid cell/insectoidcell6.lua" />
    <action actionid="61617" script="insectoid cell/insectoidcell7.lua" />
    <action actionid="61618" script="insectoid cell/insectoidcell8.lua" />
    <action actionid="61619" script="insectoid cell/insectoidcell9.lua" />
    <action actionid="61620" script="insectoid cell/insectoidcell10.lua" />
    <action actionid="61621" script="insectoid cell/insectoidcell11.lua" />
    <action actionid="61622" script="insectoid cell/insectoidcell12.lua" />
    <action actionid="61623" script="insectoid cell/insectoidcell13.lua" />
    <action actionid="61624" script="insectoid cell/insectoidcell14.lua" />
    <action actionid="61625" script="insectoid cell/insectoidcell15.lua" />
    <action actionid="61626" script="insectoid cell/insectoidcell16.lua" />
    <action actionid="61627" script="insectoid cell/insectoidcell17.lua" />

    <!-- Offline Training -->
    <action fromid="18488" toid="18492" script="other/offlinetraining.lua" />
    <action itemid="12397" script="other/trainingbook.lua" />

    <!-- What a foolish Quest -->
    <action itemid="7478" script="quests/what a foolish/flask.lua" />
    <action itemid="7482" script="quests/what a foolish/crate.lua" />
    <action itemid="7485" script="quests/what a foolish/cushion.lua" />
    <action itemid="7486" script="quests/what a foolish/catbasket.lua" />
    <action itemid="7490" script="quests/what a foolish/contract.lua" />
    <action itemid="7500" script="quests/what a foolish/worncloth.lua" />
    <action itemid="7502" script="quests/what a foolish/disguise.lua" />
    <action itemid="8187" script="quests/what a foolish/watch.lua" />

    <!-- Hunter Outfits Quest -->
    <action fromid="6087" toid="6090" script="quests/hunter outfit/MusicSheet.lua" />
    <action actionid="33216" script="quests/hunter outfit/allHymnPianoTeleport.lua" />

    <!-- Draconia Quest -->
    <action fromaid="4249" toaid="4250" script="quests/draconia/walls.lua" />

    <!-- Sea of Light Quest -->
    <action itemid="10614" script="quests/sea of light/rareCrystal.lua" />
    <action itemid="10615" script="quests/sea of light/collectorCorpse.lua" />
    <action actionid="4225" script="quests/sea of light/iceCube.lua" />

    <!-- Father's Burden Quest -->
    <action fromid="12545" toid="12546" script="quests/fathers burden/corpse.lua" />

    <!-- Hot Cuisine Quest -->
    <action itemid="10006" script="quests/hotcuisine/cookbook.lua" />
    <action itemid="12497" script="quests/hotcuisine/cookbook1.lua" />

    <!-- The Queen of the Banshees Quest -->
    <action fromuid="50000" touid="50002" script="quests/the queen of the banshees/theFirstSeal.lua" />
    <action fromuid="50005" touid="50010" script="quests/the queen of the banshees/theSixthSeal.lua" />
    <action fromuid="50015" touid="50019" script="quests/the queen of the banshees/theThirdSeal.lua" />
    <action actionid="50021" script="quests/the queen of the banshees/lastDoor.lua" />

    <!-- Children of the Revolution -->
    <action uniqueid="3164" script="quests/children of the revolution/Mission3ZeeKillingFieldzzChest.lua" />
    <action itemid="10760"     script="quests/children of the revolution/Mission3ZeeKillingFieldzzPoisonWater.lua" />
    <action itemid="11106" script="quests/children of the revolution/Mission4ZzeWayofZztonezzLevers.lua" />
    <!-- <action itemid="11106"     script="quests/children of the revolution/Mission4ZzeWayofZztonezzGreaseOil.lua" />-->
    <action uniqueid="3170" script="quests/children of the revolution/ZalamonDoor.lua" />

    <!-- Wrath of the Emperor -->
    <action itemid="12284" script="quests/wrath of the emperor/Mission01Crate.lua" />
    <action fromuid="3171" touid="3174" script="quests/wrath of the emperor/Mission01Lights.lua" />
    <action itemid="12285" script="quests/wrath of the emperor/Mission02FirstContactRepairTeleport.lua" />
    <action fromid="12289" toid="12290" script="quests/wrath of the emperor/Mission02FirstContactRepairTeleport.lua" />
    <action itemid="12297" script="quests/wrath of the emperor/Mission02FirstContactRepairTeleport.lua" />
    <action itemid="12300" script="quests/wrath of the emperor/Mission02FirstContactRepairTeleport.lua" />
    <action itemid="12303" script="quests/wrath of the emperor/Mission02FirstContactRepairTeleport.lua" />
    <action itemid="12316" script="quests/wrath of the emperor/Mission03TheKeeper.lua" />
    <action itemid="12320" script="quests/wrath of the emperor/Mission03TheKeeper.lua" />
    <action uniqueid="12354" script="quests/wrath of the emperor/Mission04SacramentoftheSnakeSceptre.lua" />
    <action fromuid="3184" touid="3185" script="quests/wrath of the emperor/Mission08UninvitedGuestsLever.lua" />
    <action itemid="12328" script="quests/wrath of the emperor/Mission09TheSleepingDragonMixture.lua" />
    <action itemid="12318" script="quests/wrath of the emperor/Mission10AMessageofFreedomSceptre.lua" />
    <action uniqueid="3198" script="quests/wrath of the emperor/Mission11PaybackTimeLever.lua" />
    <action uniqueid="3200" script="quests/wrath of the emperor/Mission12JustRewards.lua" />

    <!-- Unnatural Selection -->
    <action uniqueid="12335" script="quests/unnatural selection/Mission5RayofLight.lua" />

    <!-- The New Frontier Quest -->
    <action uniqueid="3157" script="quests/the new frontier/arena.lua" />
    <action actionid="45440" script="quests/outfit.lua" />
    <action itemid="11100" script="quests/the new frontier/beaver.lua" />
    <action fromaid="8005" toaid="8006" script="quests/the new frontier/lever.lua" />
    <action fromuid="3153" touid="3154" script="quests/the new frontier/vine.lua" />
    <action uniqueid="3156" script="quests/the new frontier/retreat.lua" />

    <!-- The Outlaw Camp Quest -->
    <action uniqueid="3400" script="quests/the outlaw camp/oven.lua" />
    <action uniqueid="3401" script="quests/the outlaw camp/powerswitch.lua" />
    <action uniqueid="3402" script="quests/the outlaw camp/powerburn.lua" />

    <!-- The Ape City Quest -->
    <action actionid="12129" script="quests/theapecity/Mission9TheDeepestCatacombsLever.lua" />
    <action uniqueid="12131" script="quests/theapecity/Mission9TheDeepestCatacombsLever.lua" />
    <action itemid="4846" script="quests/theapecity/Mission9TheDeepestCatacombsSnakedestroyer.lua" />

    <!-- The Ancient Tombs Quest -->
    <action actionid="12107" script="quests/theancienttombs/OasisTombLeverDoor.lua" />
    <action actionid="12105" script="quests/theancienttombs/AncientRuinsTombInstruments.lua" />
    <action fromaid="50242" toaid="50244" script="quests/theancienttombs/activeTeleportSwitches.lua" />

    <!-- VAGAO HOUSE -->
    <action actionid="42150" script="vagao/vagao1.lua" />
    <action actionid="50109" script="vagao/vagao.lua" />
    <action fromaid="50245" toaid="50254" script="vagao/vagao.lua" />

    <!-- Black Knight -->
    <action actionid="50258" script="quests/bkquest.lua" />

    <!-- Gravedigger -->
    <action actionid="4630" script="quests/gravedigger/amforas.lua" />
    <action actionid="4631" script="quests/gravedigger/brain.lua" />
    <action itemid="21407" script="quests/gravedigger/bones.lua" />
    <action itemid="21245" script="quests/gravedigger/tincture.lua" />
    <action actionid="4636" script="quests/gravedigger/statue.lua" />
    <action itemid="21247" script="quests/gravedigger/chalk.lua" />
    <action itemid="21482" script="quests/gravedigger/key.lua" />
    <action itemid="21448" script="quests/gravedigger/candles.lua" />
    <action itemid="21248" script="quests/gravedigger/monks.lua" />
    <action itemid="21417" script="quests/gravedigger/blood.lua" />
    <action itemid="21449" script="quests/gravedigger/pyramids.lua" />
    <action fromaid="4663" toaid="4667" script="quests/gravedigger/pyramids2.lua" />
    <action itemid="21249" script="quests/gravedigger/pyramids2.lua" />
    <action actionid="4650" script="quests/gravedigger/palanca.lua" />
    <action itemid="21489" script="quests/gravedigger/key2.lua" />
    <action itemid="21464" script="quests/gravedigger/cape.lua" />
    <action actionid="4662" script="quests/gravedigger/scroll.lua" />
    <action actionid="4669" script="quests/gravedigger/estante.lua" />
    <action uniqueid="4663" script="quests/gravedigger/caixa.lua" />
    <action itemid="21251" script="quests/gravedigger/sacrifici.lua" />
    <action fromaid="4651" toaid="4653" script="quests/gravedigger/inscriptions.lua" />
    <action itemid="21446" script="quests/gravedigger/ashes.lua" />
    <action itemid="21406" script="quests/gravedigger/hallowed.lua" />
    <action itemid="21401" script="quests/gravedigger/tears.lua" />
    <action itemid="21402" script="quests/gravedigger/flask.lua" />

    <!-- Elemental Spheres -->
    <action uniqueid="9024" script="quests/elemental spheres/lever.lua" />
    <action fromid="7911" toid="7912" script="quests/elemental spheres/machine.lua" />
    <action fromid="7913" toid="7914" script="quests/elemental spheres/machine2.lua" />
    <action fromid="7915" toid="7916" script="quests/elemental spheres/machine.lua" />
    <action fromid="7917" toid="7918" script="quests/elemental spheres/machine2.lua" />
    <action fromid="8298" toid="8299" script="quests/elemental spheres/soils.lua" />
    <action fromid="8302" toid="8303" script="quests/elemental spheres/soils.lua" />
    <action fromuid="9025" touid="9028" script="quests/elemental spheres/OAELever.lua" />
    <action fromid="8304" toid="8306" script="quests/elemental spheres/soils2.lua" />
    <action itemid="8300" script="quests/elemental spheres/soils2.lua" />

    <!-- Demon Oak -->
    <action itemid="8293" script="quests/demon oak/demonOak.lua" />
    <action fromuid="9008" touid="9011" script="quests/demon oak/demonOakChest.lua" />
    <action uniqueid="9007" script="quests/demon oak/demonOakGravestone.lua" />

    <!-- Arena Quest-->
    <action actionid="13100" script="quests/svargrond arena/arena_door.lua" />
    <action actionid="26100" script="quests/svargrond arena/arena_door.lua" />
    <action actionid="27100" script="quests/svargrond arena/arena_door.lua" />
    <action actionid="28100" script="quests/svargrond arena/arena_door.lua" />

    <!-- Annihilator Quest -->
    <action actionid="2214" script="quests/annihilator/door.lua" />
    <action uniqueid="2208" script="quests/annihilator/lever.lua" />

    <!-- Barbarian Test Quest -->
    <action fromid="7174" toid="7176" script="quests/barbarian test/horn.lua" />
    <action fromid="7140" toid="7141" script="quests/barbarian test/horn.lua" />
    <action uniqueid="3110" script="quests/barbarian test/mead.lua" />

    <!-- Behemoth Quest -->
    <action uniqueid="2007" script="quests/behemoth/lever.lua" />

    <!-- Bigfoot Burden Quest -->
    <action uniqueid="3143" script="gnomebase/crystalWarzone1.lua"/>

    <action fromuid="3124" touid="3127" script="quests/bigfoot burden/music.lua" />
    <!-- <action uniqueid="3143" script="quests/bigfoot burden/warzones.lua" />-->
    <action fromuid="3147" touid="3150" script="quests/bigfoot burden/rewards.lua" />
    <action itemid="18213" script="quests/bigfoot burden/extractor.lua" />
    <action itemid="18219" script="quests/bigfoot burden/crystal.lua" />
    <action itemid="18220" script="quests/bigfoot burden/mushroom.lua" />
    <action itemid="18225" script="quests/bigfoot burden/shooting.lua" />
    <action itemid="18312" script="quests/bigfoot burden/matchmaker.lua" />
    <action itemid="18313" script="quests/bigfoot burden/package.lua" />
    <action fromid="18328" toid="18331" script="quests/bigfoot burden/spores.lua" />
    <action itemid="18336" script="quests/bigfoot burden/stone.lua" />
    <action itemid="18339" script="quests/bigfoot burden/pig.lua" />
    <action itemid="18343" script="quests/bigfoot burden/repair.lua" />

    <!-- Demon Helmet Quest -->
    <action uniqueid="2005" script="quests/demon helmet/lever.lua" />

    <!-- Dreamer Challenge Quest -->
    <action uniqueid="3041" script="quests/dreamer challenge/documentsLever.lua" /> <!-- done -->
    <action uniqueid="3042" script="quests/dreamer challenge/documentsLever1.lua" /> <!-- done -->
    <action uniqueid="3043" script="quests/dreamer challenge/documentsLever2.lua" /> <!-- done -->

    <action uniqueid="3045" script="quests/dreamer challenge/documentsLever3.lua" /> <!-- done -->
    <action uniqueid="3046" script="quests/dreamer challenge/documentsLever4.lua" /> <!-- done -->
    <action uniqueid="3047" script="quests/dreamer challenge/documentsLever5.lua" /> <!-- done -->

    <action fromid="7844" toid="7846" script="quests/dreamer challenge/documents.lua" />
    <action uniqueid="2004" script="quests/dreamer challenge/stoneTeleport.lua" />
    <action uniqueid="2272" script="quests/dreamer challenge/ticTac.lua" />
    <action actionid="8033" script="quests/dreamer challenge/ticTacTeleport.lua" />
    <action fromuid="2246" touid="2249" script="quests/dreamer challenge/walls.lua" />

    <!-- Druid Outfit Quest -->
    <action itemid="5938" script="quests/druid outfit/waterskin.lua" />

    <!-- Explorer Society Quest -->
    <action uniqueid="3152" script="other/flor.lua" />
    <action itemid="4869" script="quests/explorer society/botanist.lua" />
    <action itemid="4865" script="quests/explorer society/butterfly.lua" />
    <action uniqueid="3017" script="quests/explorer society/dragon.lua" />
    <action itemid="4856" script="quests/explorer society/icicle.lua" />
    <action itemid="7281" script="quests/explorer society/resonance.lua" />
    <action itemid="7242" script="quests/explorer society/stone.lua" />

    <!-- Green Djinn Quest -->
    <action actionid="5390" script="quests/green djinn/tear.lua" />

    <!-- Ice Islands Quest -->
    <action fromid="7243" toid="7244" script="quests/ice islands/anthill.lua" />
    <action itemid="7289" script="quests/ice islands/charm.lua" />
    <action itemid="7286" script="quests/ice islands/cure.lua" />
    <action itemid="7253" script="quests/ice islands/paint.lua" />
    <action itemid="2361" script="quests/ice islands/yakchal.lua" />

    <!-- In Service Of Yalahar Quest -->
    <action itemid="9737" script="quests/in service of yalahar/charm.lua" />
    <action itemid="9733" script="quests/in service of yalahar/formula.lua" />
    <action itemid="9741" script="quests/in service of yalahar/ghost.lua" />
    <action uniqueid="3086" script="quests/in service of yalahar/lastFight.lua" />
    <action fromid="9743" toid="9744" script="quests/in service of yalahar/matrix.lua" />
    <action fromuid="3091" touid="3102" script="quests/in service of yalahar/mechanism.lua" />
    <action fromuid="9235" touid="9236" script="quests/in service of yalahar/mechanism.lua" />
    <action fromuid="3081" touid="3082" script="quests/in service of yalahar/mrWestDoor.lua" />
    <action fromuid="3088" touid="3090" script="quests/in service of yalahar/reward.lua" />
    <action uniqueid="9031" script="quests/in service of yalahar/morikSummon.lua" />
    <action fromaid="23700" toaid="23701" script="quests/in service of yalahar/YalaharMachineWargolems.lua" />

    <!-- Inquisition Quest -->
    <action itemid="8753" script="quests/inquisition/mw.lua" />
    <action fromuid="1300" touid="1308" script="quests/inquisition/rewards.lua" />
    <action actionid="1004" script="quests/inquisition/ungreez.lua" />
    <action actionid="2002" script="quests/inquisition/vampireHunt.lua" />
    <action fromuid="9017" touid="9020" script="quests/inquisition/brotherLever.lua" />
    <action uniqueid="9021" script="quests/inquisition/rewardDoor.lua" />

    <!-- Koshei Amulet Quest -->
    <action itemid="8266" script="quests/koshei amulet/boss.lua" />
    <action uniqueid="3070" script="quests/koshei amulet/switch.lua" />

    <!-- Pits Of Inferno Quest -->
    <action actionid="8815" script="quests/pits of inferno/fountain.lua" />
    <action actionid="2022" script="quests/pits of inferno/goshnar.lua" />
    <action fromuid="2050" touid="2065" script="quests/pits of inferno/levers.lua" />
    <action uniqueid="1021" script="quests/pits of inferno/oil.lua" />
    <action uniqueid="3300" script="quests/pits of inferno/stoneLever.lua" />
    <action fromuid="2025" touid="2028" script="quests/pits of inferno/walls.lua" />
    <action fromuid="3301" touid="3302" script="quests/pits of inferno/ladderLevers.lua" />
    <action uniqueid="3304" script="quests/pits of inferno/trapLever.lua" />
    <action fromaid="39511" toaid="39512" script="quests/pits of inferno/bazirMirror.lua" />
    <action fromuid="50095" touid="50104" script="quests/pits of inferno/bazirWrongLevers.lua" />
    <action uniqueid="50105" script="quests/pits of inferno/bazirMazeLever.lua" />
    <action uniqueid="50106" script="quests/pits of inferno/fireThroneLever.lua" />
    <action actionid="50160" script="quests/pits of inferno/mazeStone.lua" />

    <!-- Postman Quest -->
    <action itemid="2330" script="quests/postman/package.lua" />
    <action itemid="2331" script="quests/postman/present.lua" />
    <action uniqueid="3118" script="quests/postman/corpo.lua" />

    <!-- The Hidden City of Beregar -->
    <action actionid="12606" script="quests/the hidden city of beregar/bargateLever.lua" />
    <action actionid="50128" script="quests/the hidden city of beregar/deeperMineWagon.lua" />
    <action fromaid="50098" toaid="50108" script="quests/the hidden city of beregar/oreWagon.lua" />
    <action actionid="50112" script="quests/the hidden city of beregar/gapWagon.lua" />
    <action actionid="50115" script="quests/the hidden city of beregar/tunnelWagon.lua" />
    <action actionid="50117" script="quests/the hidden city of beregar/coalWagon.lua" />
    <action fromuid="50108" touid="50111" script="quests/the hidden city of beregar/coalLevers.lua" />
    <action fromaid="50122" toaid="50125" script="quests/the hidden city of beregar/coalExitWagons.lua" />
    <action fromuid="50113" touid="50123" script="quests/the hidden city of beregar/wagonMazeLevers.lua" />
    <action uniqueid="50124" script="quests/the hidden city of beregar/wagonMazeExit.lua" />

    <action actionid="42139" script="other/escada.lua" />
    <!-- Thieves Guild Quest -->
    <action itemid="8693" script="quests/the thieves guild/dwarfDisguiseKit.lua" />
    <action itemid="8701" script="quests/the thieves guild/note.lua" />
    <action fromaid="12501" toaid="12502" script="quests/the thieves guild/climbingVine.lua" />
    <action itemid="8762" script="quests/the thieves guild/fishnappingKey.lua" />
    <action actionid="12505" script="quests/the thieves guild/fishnappingDoor.lua" />

    <!-- Secret Service Quest -->
    <action itemid="7700" script="quests/secret service/amazonDisguiseKit.lua" />
    <action itemid="7697" script="quests/secret service/ring.lua" />
    <action fromid="7960" toid="7962" script="quests/secret service/tools.lua" />
    <action itemid="7698" script="quests/secret service/rustBugs.lua" />
    <action actionid="12574" script="quests/secret service/lever.lua" />

    <!-- Sams Old Backpack Quest -->
    <action actionid="42535" script="quests/sam old backpack/door.lua" />

    <!-- Tibia Tales Quest -->
    <action itemid="7496" script="quests/tibia tales/UltimateBoozebeerBottle.lua" />
    <action itemid="8205" script="quests/tibia tales/exterminatorFlask.lua" />

    <!-- Their Masters Voice Quest -->
    <action itemid="13601" script="quests/theirmaster/slimeGobbler.lua" />

    <!-- Rottin Wood and the Married Men Quest -->
    <!-- <action itemid="13176" script="quests/rottin wood and the married men/capturedMerchant.lua" />-->
    <action itemid="13176" script="rottin wood quest/corpse.lua"/>

    <action actionid="42501" script="rottin wood quest/broken wall.lua" />
    <action actionid="42502" script="rottin wood quest/broken wall.lua" />
    <action actionid="42503" script="rottin wood quest/broken wall.lua" />
    <action actionid="42504" script="rottin wood quest/broken wall.lua" />
    <action actionid="42505" script="rottin wood quest/broken wall.lua" />

    <!-- Quests -->
    <action fromuid="9172" touid="9174" script="quests/warzone_rewards.lua" />
    <action uniqueid="9177" script="quests/iron_helmet.lua" />
    <action uniqueid="9192" script="quests/orcedron.lua" />
    <action uniqueid="1912" script="quests/desertdungeonquest.lua" />
    <action uniqueid="50023" script="quests/triangletowerlever.lua" />
    <action fromaid="50023" toaid="50024" script="quests/thaislighthouselever.lua" />
    <action actionid="50027" script="quests/hellgatelever.lua" />
    <action actionid="50129" script="quests/liferinglever.lua" />
    <action actionid="2000" script="quests/system.lua" />
    <action actionid="2016" script="quests/system.lua" />
    <action actionid="2215" script="quests/system.lua" />
    <action actionid="10544" script="quests/system.lua" />
    <action actionid="12374" script="quests/system.lua" />
    <action actionid="12513" script="quests/system.lua" />
    <action actionid="26300" script="quests/system.lua" />
    <action actionid="27300" script="quests/system.lua" />
    <action actionid="28300" script="quests/system.lua" />
    <action itemid="10523" script="other/deeperBanutaShortcut.lua" />
    <action actionid="50161" script="quests/calassaCombDoor.lua" />
    <action actionid="2001" script="quests/system2.lua" />

    <action itemid="4863" script="quests/ectoplasmContainer.lua" />
    <action itemid="7494" script="quests/holyWater.lua" />
    <action actionid="5632" script="quests/serpentineTowerTorch.lua" />
    <action actionid="5633" script="quests/serpentineTowerLever.lua" />
    <action actionid="4210" script="quests/senjaCastleLever.lua" />

    <!-- Tools -->
    <action itemid="13158" script="tools/present.lua" />
    <!-- <action itemid="2557" script="rottin wood quest/broken wall.lua"/>-->
    <action itemid="13173" script="rottin wood quest/trap.lua"/>
    <action itemid="8717" script="tools/lockPick.lua" />
    <action itemid="8613" script="tools/bricklayerKit.lua" />
    <action itemid="2557" script="tools/hammer.lua" />
    <action itemid="2558" script="tools/saw.lua" />
    <action itemid="5865" script="tools/juice squeezer.lua" />
    <action itemid="2416" script="tools/crowbar.lua" />
    <action itemid="2420" script="tools/machete.lua" />
    <action itemid="2565" script="tools/spoon.lua" />
    <action itemid="2566" script="tools/kitchenknife.lua" />
    <action itemid="2549" script="tools/rake.lua" />
    <action itemid="2550" script="tools/scythe.lua" />
    <action itemid="2580" script="tools/fishing.lua" allowfaruse="1" />
    <action itemid="10223" script="tools/fish2.lua" allowfaruse="1" />
    <action itemid="5710" script="tools/shovel.lua" />
    <action itemid="2554" script="tools/shovel.lua" />
    <action itemid="2120" script="tools/rope.lua" />
    <action itemid="7731" script="tools/rope.lua" />
    <action itemid="2553" script="tools/pick.lua" />
    <action itemid="5908" script="tools/skinning.lua" />
    <action itemid="5942" script="tools/skinning.lua" />
    <action itemid="9930" script="tools/rustremover.lua" />
    <action itemid="10511" script="tools/toolgear.lua" />
    <action itemid="10513" script="tools/toolgear.lua" />
    <action itemid="10515" script="tools/toolgear.lua" />
    <action itemid="10309" script="tools/noxiousclaw.lua" />
    <action itemid="2405" script="tools/sickle.lua" />

    <!-- Increase/Decrease ItemId -->
    <action itemid="1479" toid="1480" script="other/decayto.lua" />
    <action itemid="1480" toid="1479" script="other/decayto.lua" />
    <action itemid="1634" toid="1635" script="other/decayto.lua" />
    <action itemid="1635" toid="1634" script="other/decayto.lua" />
    <action itemid="1636" toid="1637" script="other/decayto.lua" />
    <action itemid="1637" toid="1636" script="other/decayto.lua" />
    <action itemid="1638" toid="1639" script="other/decayto.lua" />
    <action itemid="1639" toid="1638" script="other/decayto.lua" />
    <action itemid="1640" toid="1641" script="other/decayto.lua" />
    <action itemid="1641" toid="1640" script="other/decayto.lua" />
    <action itemid="1786" toid="1787" script="other/decayto.lua" />
    <action itemid="1787" toid="1786" script="other/decayto.lua" />
    <action itemid="1788" toid="1789" script="other/decayto.lua" />
    <action itemid="1789" toid="1788" script="other/decayto.lua" />
    <action itemid="1790" toid="1791" script="other/decayto.lua" />
    <action itemid="1791" toid="1790" script="other/decayto.lua" />
    <action itemid="1792" toid="1793" script="other/decayto.lua" />
    <action itemid="1793" toid="1792" script="other/decayto.lua" />
    <action itemid="1873" toid="1874" script="other/decayto.lua" />
    <action itemid="1874" toid="1873" script="other/decayto.lua" />
    <action itemid="1875" toid="1876" script="other/decayto.lua" />
    <action itemid="1876" toid="1875" script="other/decayto.lua" />
    <action itemid="1945" toid="1946" script="other/decayto.lua" />
    <action itemid="1946" toid="1945" script="other/decayto.lua" />
    <action itemid="2037" toid="2038" script="other/decayto.lua" />
    <action itemid="2038" toid="2037" script="other/decayto.lua" />
    <action itemid="2039" toid="2040" script="other/decayto.lua" />
    <action itemid="2040" toid="2039" script="other/decayto.lua" />
    <action itemid="2058" toid="2059" script="other/decayto.lua" />
    <action itemid="2059" toid="2058" script="other/decayto.lua" />
    <action itemid="2060" toid="2061" script="other/decayto.lua" />
    <action itemid="2061" toid="2060" script="other/decayto.lua" />
    <action itemid="2064" toid="2065" script="other/decayto.lua" />
    <action itemid="2065" toid="2064" script="other/decayto.lua" />
    <action itemid="2066" toid="2067" script="other/decayto.lua" />
    <action itemid="2067" toid="2066" script="other/decayto.lua" />
    <action itemid="2068" toid="2069" script="other/decayto.lua" />
    <action itemid="2069" toid="2068" script="other/decayto.lua" />
    <action itemid="2578" toid="2579" script="other/decayto.lua" />
    <action itemid="2096" toid="2097" script="other/decayto.lua" />
    <action itemid="2097" toid="2096" script="other/decayto.lua" />
    <action itemid="2162" toid="2163" script="other/decayto.lua" />
    <action itemid="2163" toid="2162" script="other/decayto.lua" />
    <action itemid="3697" toid="3698" script="other/decayto.lua" />
    <action itemid="3698" toid="3697" script="other/decayto.lua" />
    <action itemid="3743" toid="3744" script="other/decayto.lua" />
    <action itemid="3744" toid="3743" script="other/decayto.lua" />
    <action itemid="3947" toid="3948" script="other/decayto.lua" />
    <action itemid="3948" toid="3948" script="other/decayto.lua" />
    <action itemid="5812" toid="5813" script="other/decayto.lua" />
    <action itemid="5813" toid="5812" script="other/decayto.lua" />
    <action itemid="6489" toid="6490" script="other/decayto.lua" />
    <action itemid="6490" toid="6489" script="other/decayto.lua" />
    <action itemid="7058" toid="7059" script="other/decayto.lua" />
    <action itemid="7059" toid="7059" script="other/decayto.lua" />
    <action itemid="8684" toid="8685" script="other/decayto.lua" />
    <action itemid="8685" toid="8684" script="other/decayto.lua" />
    <action itemid="8686" toid="8687" script="other/decayto.lua" />
    <action itemid="8687" toid="8686" script="other/decayto.lua" />
    <action itemid="8688" toid="8689" script="other/decayto.lua" />
    <action itemid="8689" toid="8688" script="other/decayto.lua" />
    <action itemid="8690" toid="8691" script="other/decayto.lua" />
    <action itemid="8691" toid="8690" script="other/decayto.lua" />
    <action itemid="9575" toid="9576" script="other/decayto.lua" />
    <action itemid="9576" toid="9575" script="other/decayto.lua" />
    <action itemid="9577" toid="9578" script="other/decayto.lua" />
    <action itemid="9578" toid="9577" script="other/decayto.lua" />
    <action itemid="9579" toid="9580" script="other/decayto.lua" />
    <action itemid="9580" toid="9579" script="other/decayto.lua" />
    <action itemid="9581" toid="9582" script="other/decayto.lua" />
    <action itemid="9582" toid="9581" script="other/decayto.lua" />
    <action itemid="9747" toid="9748" script="other/decayto.lua" />
    <action itemid="9748" toid="9747" script="other/decayto.lua" />
    <action itemid="9749" toid="9750" script="other/decayto.lua" />
    <action itemid="9750" toid="9749" script="other/decayto.lua" />
    <action itemid="19691" toid="19692" script="other/decayto.lua" />
    <action itemid="19692" toid="19691" script="other/decayto.lua" />
    <action itemid="22868" toid="22869" script="other/decayto.lua" />
    <action itemid="22869" toid="22868" script="other/decayto.lua" />
    <action itemid="22870" toid="22871" script="other/decayto.lua" />
    <action itemid="22871" toid="22870" script="other/decayto.lua" />
    <action itemid="22872" toid="22873" script="other/decayto.lua" />
    <action itemid="22873" toid="22872" script="other/decayto.lua" />
    <action itemid="22874" toid="22875" script="other/decayto.lua" />
    <action itemid="22875" toid="22870" script="other/decayto.lua" />

    <!-- FOOD JEAN PERRI -->
    <action itemid="9992" script="other/food2.lua" />
    <action itemid="9993" script="other/food3.lua" />

    <!-- Food -->
    <action itemid="6507" script="other/presents.lua" />
    <action itemid="6508" script="other/presents.lua" />
    <action itemid="6509" script="other/presents.lua" />
    <action itemid="26191" script="other/food.lua" /> <!-- energy bar -->
    <action itemid="26201" script="other/food.lua" /> <!-- energy drink -->
    <action itemid="16014" script="other/food.lua" />
    <action itemid="22644" script="other/food.lua" />
    <action itemid="24843" script="other/food.lua" />
    <action itemid="2328" script="other/food.lua" />
    <action itemid="2362" script="other/food.lua" />
    <action fromid="2666" toid="2691" script="other/food.lua" />
    <action itemid="2696" script="other/food.lua" />
    <action fromid="2787" toid="2796" script="other/food.lua" />
    <action itemid="5097" script="other/food.lua" />
    <action itemid="6125" script="other/food.lua" />
    <action fromid="6278" toid="6279" script="other/food.lua" />
    <action fromid="6393" toid="6394" script="other/food.lua" />
    <action itemid="7966" script="other/food.lua" />
    <action itemid="6501" script="other/food.lua" />
    <action fromid="6541" toid="6545" script="other/food.lua" />
    <action itemid="6569" script="other/food.lua" />
    <action itemid="6574" script="other/food.lua" />
    <action fromid="7158" toid="7159" script="other/food.lua" />
    <action fromid="7372" toid="7377" script="other/food.lua" />
    <action fromid="7909" toid="7910" script="other/food.lua" />
    <action itemid="7963" script="other/food.lua" />
    <action itemid="8112" script="other/food.lua" />
    <action fromid="8838" toid="8845" script="other/food.lua" />
    <action itemid="8847" script="other/food.lua" />
    <action itemid="9005" script="other/food.lua" />
    <action itemid="9114" script="other/food.lua" />
    <action itemid="9996" script="other/food.lua" />
    <action itemid="10454" script="other/food.lua" />
    <action itemid="11246" script="other/food.lua" />
    <action itemid="11370" script="other/food.lua" />
    <action itemid="11429" script="other/food.lua" />
    <action fromid="12415" toid="12418" script="other/food.lua" />
    <action fromid="12637" toid="12639" script="other/food.lua" />
    <action itemid="13297" script="other/food.lua" />
    <action itemid="15405" script="other/food.lua" />
    <action fromid="15487" toid="15488" script="other/food.lua" />
    <action itemid="18305" script="other/food.lua" />
    <action itemid="18306" script="other/food.lua" />
    <action itemid="18397" script="other/food.lua" />
    <action itemid="19737" script="other/food.lua" />
    <action fromid="20100" toid="20101" script="other/food.lua" />
    <action itemid="23517" script="other/food.lua" />
    <action itemid="23516" script="other/food.lua" />
    <action itemid="23515" script="other/food.lua" />
    <action itemid="23514" script="other/food.lua" />
    <action itemid="24841" script="other/food.lua" />
    <action itemid="5678" script="other/food.lua" />
    <action itemid="9999" script="other/blessedsteak.lua" />

    <!-- Spellbooks -->
    <action itemid="2175" script="other/spellbook.lua" />
    <action fromid="8900" toid="8904" script="other/spellbook.lua" />
    <action itemid="8918" script="other/spellbook.lua" />
    <action itemid="12647" script="other/spellbook.lua" />
    <action itemid="16112" script="other/spellbook.lua" />
    <action itemid="18401" script="other/spellbook.lua" />
    <action fromid="22422" toid="22424" script="other/spellbook.lua" />

    <!-- Construction Kits / Beds -->
    <action fromid="3901" toid="3938" script="other/constructionkits.lua" />
    <action fromid="5086" toid="5088" script="other/constructionkits.lua" />
    <action itemid="6114" script="other/constructionkits.lua" />
    <action itemid="6115" script="other/constructionkits.lua" />
    <action itemid="6372" script="other/constructionkits.lua" />
    <action itemid="6373" script="other/constructionkits.lua" />
    <action itemid="8692" script="other/constructionkits.lua" />
    <action itemid="9974" script="other/constructionkits.lua" />
    <action itemid="11124" script="other/constructionkits.lua" />
    <action itemid="11126" script="other/constructionkits.lua" />
    <action itemid="11133" script="other/constructionkits.lua" />
    <action itemid="11205" script="other/constructionkits.lua" />
    <action itemid="14328" script="other/constructionkits.lua" />
    <action itemid="14329" script="other/constructionkits.lua" />
    <action itemid="16075" script="other/constructionkits.lua" />
    <action itemid="16099" script="other/constructionkits.lua" />
    <action itemid="20254" script="other/constructionkits.lua" />
    <action itemid="20255" script="other/constructionkits.lua" />
    <action itemid="20257" script="other/constructionkits.lua" />
    <action fromid="7904" toid="7907" script="other/bed_modification_kits.lua" />
    <action itemid="20252" script="other/bed_modification_kits.lua" />

    <!-- Gold -->
    <action itemid="2148" script="other/changegold.lua" />
    <action itemid="2152" script="other/changegold.lua" />
    <action itemid="2160" script="other/changegold.lua" />
    <action itemid="26378" script="other/goldconverter.lua" />
    <!-- Potions / Fluids -->
    <action fromid="2005" toid="2009" script="other/fluids.lua" />
    <action fromid="2011" toid="2015" script="other/fluids.lua" />
    <action itemid="2023" script="other/fluids.lua" />
    <action itemid="1775" script="other/fluids.lua" />
    <action fromid="2031" toid="2034" script="other/fluids.lua" />
    <action itemid="2562" script="other/fluids.lua" />
    <action fromid="2574" toid="2577" script="other/fluids.lua" />
    <action itemid="26031" script="other/potions.lua" />
    <action itemid="26030" script="other/potions.lua" />
    <action itemid="26029" script="other/potions.lua" />
    <action itemid="7588" script="other/potions.lua" />
    <action itemid="7589" script="other/potions.lua" />
    <action itemid="7590" script="other/potions.lua" />
    <action itemid="7591" script="other/potions.lua" />
    <action itemid="7618" script="other/potions.lua" />
    <action itemid="7620" script="other/potions.lua" />
    <action itemid="8472" script="other/potions.lua" />
    <action itemid="8473" script="other/potions.lua" />
    <action itemid="8474" script="other/potions.lua" />
    <action itemid="8704" script="other/potions.lua" />
    <action itemid="7439" script="other/strengthening_potions.lua" />
    <action itemid="7440" script="other/strengthening_potions.lua" />
    <action itemid="7443" script="other/strengthening_potions.lua" />

    <!-- Doors -->
    <action fromid="1209" toid="1214" script="other/doors.lua" />
    <action fromid="1219" toid="1262" script="other/doors.lua" />
    <action fromid="1539" toid="1542" script="other/doors.lua" />
    <action fromid="2086" toid="2092" script="other/doors.lua" />
    <action fromid="3535" toid="3552" script="other/doors.lua" />
    <action fromid="4913" toid="4918" script="other/doors.lua" />
    <action fromid="5082" toid="5085" script="other/doors.lua" />
    <action fromid="5098" toid="5145" script="other/doors.lua" />
    <action fromid="5278" toid="5295" script="other/doors.lua" />
    <action fromid="5515" toid="5518" script="other/doors.lua" />
    <action fromid="5732" toid="5737" script="other/doors.lua" />
    <action fromid="5745" toid="5749" script="other/doors.lua" />
    <action fromid="6192" toid="6209" script="other/doors.lua" />
    <action fromid="6249" toid="6266" script="other/doors.lua" />
    <action fromid="6795" toid="6802" script="other/doors.lua" />
    <action fromid="6891" toid="6908" script="other/doors.lua" />
    <action fromid="7033" toid="7050" script="other/doors.lua" />
    <action fromid="7054" toid="7057" script="other/doors.lua" />
    <action fromid="8541" toid="8558" script="other/doors.lua" />
    <action fromid="9165" toid="9184" script="other/doors.lua" />
    <action fromid="9267" toid="9284" script="other/doors.lua" />
    <action itemid="10032" script="other/doors.lua" />
    <action fromid="10268" toid="10285" script="other/doors.lua" />
    <action fromid="10468" toid="10486" script="other/doors.lua" />
    <action fromid="10775" toid="10777" script="other/doors.lua" />
    <action fromid="10780" toid="10786" script="other/doors.lua" />
    <action fromid="10789" toid="10792" script="other/doors.lua" />
    <action fromid="12092" toid="12105" script="other/doors.lua" />
    <action fromid="12188" toid="12190" script="other/doors.lua" />
    <action fromid="12193" toid="12199" script="other/doors.lua" />
    <action fromid="12202" toid="12205" script="other/doors.lua" />
    <action fromid="19840" toid="19857" script="other/doors.lua" />
    <action fromid="19980" toid="19997" script="other/doors.lua" />
    <action fromid="20273" toid="20290" script="other/doors.lua" />
    <action fromid="17235" toid="17238" script="other/doors.lua" />
    <action fromid="18208" toid="18209" script="other/doors.lua" />
    <action fromid="13020" toid="13023" script="other/doors.lua" />
    <action fromid="22814" toid="22831" script="other/doors.lua" />
    <action fromid="14755" toid="14760" script="other/hive_doors1.lua" />
    <action fromid="14767" toid="14771" script="other/hive_doors2.lua" />

    <!-- Other -->
    <action itemid="11339" script="other/claylump.lua" />
    <action itemid="3955" script="other/voodoo_doll.lua" />
    <action itemid="5468" script="other/firebug.lua" />
    <action itemid="5928" script="other/catchFish.lua" />
        <action itemid="25546" script="other/Shield os Destiny.lua"/>
    <action itemid="25545" script="other/Shield os Destiny2.lua"/>
    <action itemid="6578" script="other/partyhat.lua" />
    <action itemid="2114" script="other/piggybank.lua" />
    <action itemid="5957" script="other/lotteryticket.lua" />
    <action fromid="6570" toid="6571" script="other/surprisebag.lua" />
    <action itemid="6576" script="other/fireworksrocket.lua" />
    <action itemid="2036" script="other/watch.lua" />
    <action fromid="1728" toid="1731" script="other/watch.lua" />
    <action itemid="6572" script="other/partytrumpet.lua" />
    <action itemid="2785" script="other/blueberrybush.lua" />
    <action itemid="2579" script="other/trap.lua" />
    <action itemid="3957" script="other/corco.lua"/>

    <action fromid="2070" toid="2085" script="other/music.lua" />
    <action itemid="2332" script="other/music.lua" />
    <action itemid="2364" script="other/music.lua" />
    <action fromid="2367" toid="2374" script="other/music.lua" />
    <action fromid="3951" toid="3953" script="other/music.lua" />
    <action itemid="5786" script="other/music.lua" />
    <action itemid="13759" script="other/music.lua" />
    <action fromid="2041" toid="2042" script="other/decayto.lua" />
    <action fromid="2044" toid="2045" script="other/decayto.lua" />
    <action fromid="2047" toid="2048" script="other/decayto.lua" />
    <action fromid="2050" toid="2055" script="other/decayto.lua" />
    <action itemid="430" script="other/teleport.lua" />
    <action itemid="8580" script="other/teleport.lua" />
    <action itemid="1369" script="other/teleportdrawwell.lua" />
    <action itemid="1386" script="other/teleport.lua" />
    <action itemid="3678" script="other/teleport.lua" />
    <action itemid="5543" script="other/teleport.lua" />
    <action itemid="22845" script="other/teleport.lua" />
    <action itemid="22846" script="other/teleport.lua" />
    <action fromid="2376" toid="2404" script="other/destroy.lua" />
    <action fromid="2406" toid="2415" script="other/destroy.lua" />
    <action fromid="2417" toid="2419" script="other/destroy.lua" />
    <action fromid="2421" toid="2453" script="other/destroy.lua" />
    <action fromid="5792" toid="5797" script="other/dice.lua" />
    <action itemid="6558" script="other/concentrated_demonic_blood.lua" />
    <action itemid="6277" script="other/baking.lua" />
    <action itemid="5467" script="other/baking.lua" />
    <action itemid="8846" script="other/baking.lua" />
    <action fromid="2692" toid="2694" script="other/baking.lua" />
    <action fromid="6436" toid="6447" script="other/windows.lua" />
    <action fromid="6450" toid="6473" script="other/windows.lua" />
    <action fromid="6788" toid="6791" script="other/windows.lua" />
    <action fromid="7025" toid="7032" script="other/windows.lua" />
    <action fromid="10264" toid="10267" script="other/windows.lua" />
    <action fromid="10488" toid="10491" script="other/windows.lua" />
    <action itemid="7737" script="other/costumebags.lua" />
    <action itemid="7739" script="other/costumebags.lua" />
    <action itemid="9076" script="other/costumebags.lua" />
    <action itemid="20220" script="other/rafzanElevator.lua" />
    <action itemid="20224" script="other/rafzanElevator.lua" />
    <action itemid="18395" script="other/muckremover.lua" />
    <action fromaid="50006" toaid="50010" script="other/horestisjars.lua" />

    <!-- Market -->
    <action itemid="14405" function="market" />

    <!-- Dolls -->
    <action itemid="5080" script="other/dolls.lua" />
    <action itemid="5669" script="other/dolls.lua" />
    <action itemid="6388" script="other/dolls.lua" />
    <action itemid="6512" script="other/dolls.lua" />
    <action itemid="6566" script="other/dolls.lua" />
    <action itemid="8974" script="other/dolls.lua" />
    <action itemid="8977" script="other/dolls.lua" />
    <action itemid="8981" script="other/dolls.lua" />
    <action itemid="8982" script="other/dolls.lua" />

    <!-- Valuables -->
    <action itemid="13670" script="valuables/randomitems.lua" />
    <action itemid="15572" script="valuables/randomitems.lua" />
    <action itemid="18215" script="valuables/randomitems.lua" />
</actions>
 

 

doors.lua

Spoiler

unlockedDoors = { }

local function isDoorLocked(keyId, position)
    if keyId == 0 then
        return false
    end

    if unlockedDoors[keyId] then
        for i = 1, #unlockedDoors[keyId] do
            if position == unlockedDoors[keyId] then
                return false
            end
        end
    end

    return true
end

local function toggleDoorLock(doorItem, locked)
    local doorId = doorItem:getId()
    local keyId = doorItem:getActionId()
    local doorPosition = doorItem:getPosition()

    if locked then
        for i = #unlockedDoors[keyId], 1, -1 do
            if unlockedDoors[keyId] == doorPosition then
                table.remove(unlockedDoors[keyId], i)
            end
        end

        if not doors[doorId] then
            doorItem:transform(doorId - 1)
        end
        return
    end

    if not unlockedDoors[keyId] then
        unlockedDoors[keyId] = {}
    end

    doorItem:transform(doors[doorId])
    unlockedDoors[keyId][#unlockedDoors[keyId] + 1] = doorPosition
end

function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    local itemId, actionId = item:getId(), item:getActionId()
    if isInArray(questDoors, itemId) then
        if player:getStorageValue(actionId) ~= -1 then
            item:transform(itemId + 1)
            player:teleportTo(toPosition, true)
        else
            player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "The door seems to be sealed against unwanted intruders.")
        end
        return true

    elseif isInArray(levelDoors, itemId) then
        if actionId > 0 and player:getLevel() >= actionId - 1000 then
            item:transform(itemId + 1)
            player:teleportTo(toPosition, true)
        else
            player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Only the worthy may pass.")
        end
        return true

    elseif isInArray(keys, itemId) then
        if not target
                or not target:isItem()
                or not target:getType():isDoor()
                or Tile(toPosition):getHouse() then
            return false
        end

        local targetId = target:getId()
        if isInArray(openSpecialDoors, targetId)
                or isInArray(questDoors, targetId)
                or isInArray(levelDoors, targetId) then
            return false
        end

        local targetActionId = target:getActionId()
        if targetActionId > 0 and actionId == targetActionId then
            if not isDoorLocked(targetActionId, toPosition) then
                toggleDoorLock(target, true)
            elseif doors[targetId] then
                toggleDoorLock(target, false)
            end
        else
            player:sendCancelMessage("The key does not match.")
        end

        return true
    end

    if isInArray(horizontalOpenDoors, itemId) or isInArray(verticalOpenDoors, itemId) then
        local doorCreature = Tile(toPosition):getTopCreature()
        if doorCreature then
            toPosition.x = toPosition.x + 1
            local query = Tile(toPosition):queryAdd(doorCreature, bit.bor(FLAG_IGNOREBLOCKCREATURE, FLAG_PATHFINDING))
            if query ~= RETURNVALUE_NOERROR then
                toPosition.x = toPosition.x - 1
                toPosition.y = toPosition.y + 1
                query = Tile(toPosition):queryAdd(doorCreature, bit.bor(FLAG_IGNOREBLOCKCREATURE, FLAG_PATHFINDING))
            end

            if query ~= RETURNVALUE_NOERROR then
                player:sendCancelMessage(query)
                return true
            end

            doorCreature:teleportTo(toPosition, true)
        end
        if not isInArray(openSpecialDoors, itemId) then
            item:transform(itemId - 1)
        end
        return true
    end

    if doors[itemId] then
        if not isDoorLocked(actionId, toPosition) then
            item:transform(doors[itemId])
        else
            player:sendTextMessage(MESSAGE_INFO_DESCR, "It is locked.")
        end
        return true
    end

    return false
end
 

 

Link para o post
Compartilhar em outros sites
Em 24/01/2019 em 22:45, douglera21 disse:

Observei pelo char adm que das 4 portas ela é a unica que não tem actionID

E já tentou colocar o actionid na porta?

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por cloudrun2023
      CloudRun - Sua Melhor Escolha para Hospedagem de OTServer!
      Você está procurando a solução definitiva para hospedar seu OTServer com desempenho imbatível e segurança inigualável? Não procure mais! Apresentamos a CloudRun, sua parceira confiável em serviços de hospedagem na nuvem.
       
      Recursos Exclusivos - Proteção DDoS Avançada:
      Mantenha seu OTServer online e seguro com nossa robusta proteção DDoS, garantindo uma experiência de jogo ininterrupta para seus jogadores.
       
      Servidores Ryzen 7 Poderosos: Desfrute do poder de processamento superior dos servidores Ryzen 7 para garantir um desempenho excepcional do seu OTServer. Velocidade e estabilidade garantidas!
       
      Armazenamento NVMe de Alta Velocidade:
      Reduza o tempo de carregamento do jogo com nosso armazenamento NVMe ultrarrápido. Seus jogadores vão adorar a rapidez com que podem explorar o mundo do seu OTServer.
       
      Uplink de até 1GB:
      Oferecemos uma conexão de alta velocidade com até 1GB de largura de banda, garantindo uma experiência de jogo suave e livre de lag para todos os seus jogadores, mesmo nos momentos de pico.
       
      Suporte 24 Horas:
      Estamos sempre aqui para você! Nossa equipe de suporte está disponível 24 horas por dia, 7 dias por semana, para resolver qualquer problema ou responder a qualquer pergunta que você possa ter. Sua satisfação é a nossa prioridade.
       
      Fácil e Rápido de Começar:
      Configurar seu OTServer na CloudRun é simples e rápido. Concentre-se no desenvolvimento do seu jogo enquanto cuidamos da hospedagem.
       
      Entre em Contato Agora!
      Website: https://central.cloudrun.com.br/index.php?rp=/store/cloud-ryzen-brasil
      Email: [email protected]
      Telefone: (47) 99902-5147

      Não comprometa a qualidade da hospedagem do seu OTServer. Escolha a CloudRun e ofereça aos seus jogadores a melhor experiência de jogo possível. Visite nosso site hoje mesmo para conhecer nossos planos e começar!
       
      https://central.cloudrun.com.br/index.php?rp=/store/cloud-ryzen-brasil
       
      CloudRun - Onde a Velocidade Encontra a Confiabilidade!
       

    • Por FeeTads
      SALVE rapaziada do TK, esses dias vim pensando em novos scripts pro meu OT, e em um deles eu precisava que determinada area não contasse frag pro player que matasse outros, PORÉM eu precisava que os players que morressem nessa area ainda assim tivessem as penalidades da sua morte, procurei por ai, achei alguns scripts que apenas tiravam o SKULL e não realmente o FRAG do player.

      **script atualizado 22/10/2023** - melhorado e otimizado, levei o script pra puxar as infos por .lua / creatureScripts

      vou disponibilizar o code aqui, e o que fazer pra determinada area não contar frag.

      SOURCE OTX 2 / TFS 0.x, Funciona em TFS 1.x mudando as tags e ajeitando as sintaxes.

      vá em creatureevent.cpp

      procure por:
      else if(type == "preparedeath") _type = CREATURE_EVENT_PREPAREDEATH;
      Adiciona abaixo:
      else if(type == "nocountfrag") _type = CREATURE_EVENT_NOCOUNTFRAG;

      procure por:
      case CREATURE_EVENT_PREPAREDEATH: return "onPrepareDeath";  
      Adicione abaixo: 
      case CREATURE_EVENT_NOCOUNTFRAG: return "noCountFragArea";

      procure por:
      case CREATURE_EVENT_PREPAREDEATH: return "cid, deathList";
      Adicione abaixo:
      case CREATURE_EVENT_NOCOUNTFRAG: return "cid, target";

      agora no mesmo arquivo, vá até o final do arquivo e adicione essa função:
      uint32_t CreatureEvent::executeNoCountFragArea(Creature* creature, Creature* target) { //noCountFragArea(cid, target) if(m_interface->reserveEnv()) { ScriptEnviroment* env = m_interface->getEnv(); if(m_scripted == EVENT_SCRIPT_BUFFER) { env->setRealPos(creature->getPosition()); std::ostringstream scriptstream; scriptstream << "local cid = " << env->addThing(creature) << std::endl; scriptstream << "local target = " << env->addThing(target) << std::endl; if(m_scriptData) scriptstream << *m_scriptData; bool result = true; if(m_interface->loadBuffer(scriptstream.str())) { lua_State* L = m_interface->getState(); result = m_interface->getGlobalBool(L, "_result", true); } m_interface->releaseEnv(); return result; } else { #ifdef __DEBUG_LUASCRIPTS__ std::ostringstream desc; desc << creature->getName(); env->setEvent(desc.str()); #endif env->setScriptId(m_scriptId, m_interface); env->setRealPos(creature->getPosition()); lua_State* L = m_interface->getState(); m_interface->pushFunction(m_scriptId); lua_pushnumber(L, env->addThing(creature)); lua_pushnumber(L, env->addThing(target)); bool result = m_interface->callFunction(2); m_interface->releaseEnv(); return result; } } else { std::clog << "[Error - CreatureEvent::noCountFragArea] Call stack overflow." << std::endl; return 0; } }

      agora vá em creatureevent.h

      procure por:
      CREATURE_EVENT_PREPAREDEATH
      adicione abaixo:
      CREATURE_EVENT_NOCOUNTFRAG

      procure por:
      uint32_t executePrepareDeath(Creature* creature, DeathList deathList);
      Adicione abaixo:
      uint32_t executeNoCountFragArea(Creature* creature, Creature* target);

      agora vá em player.cpp

      procure por:
      bool Player::onKilledCreature(Creature* target, DeathEntry& entry)
      abaixo de:
      War_t enemy; if(targetPlayer->getEnemy(this, enemy)) { if(entry.isLast()) IOGuild::getInstance()->updateWar(enemy); entry.setWar(enemy); }
      Adicione o seguinte código:
      if (targetPlayer){ CreatureEventList killEvents = getCreatureEvents(CREATURE_EVENT_NOCOUNTFRAG); for (const auto &event : killEvents) { if (!event->executeNoCountFragArea(this, target)) { return true; } } }

      //

      Feito isso, tudo completo na sua source, agora é necessário adicionar o creaturescript dentro do servidor

      vá até creaturescripts/scripts
      crie um arquivo chamado, "noCountFragInArea.lua"
      e dentro dele cole o código:
       
      --[[ script feito por feetads / TibiaKing ]]-- --[[ discord: feetads / FeeTads#0246 ]]-- -- Add positions here for which you do not want to count frags local areas = { [1] = {from = {x = 91, y = 122, z = 7}, to = {x = 98, y = 127, z = 7}}, -- from = area superior esquerda / to = area inferior direita (formando um quadrado) } local onlyKillerInArea = false -- only killer need to be in area? function noCountFragArea(cid, target) if not isCreature(cid) or not isCreature(target) then return true end local posKiller = getPlayerPosition(cid) local posTarget = getPlayerPosition(target) for i = 1, #areas do local area = areas[i] if isInArea(posKiller, area.from, area.to) then if onlyKillerInArea then return false elseif isInArea(posTarget, area.from, area.to) then return false end end end return true end
      agora em creaturescripts.xml
      <event type="nocountfrag" name="fragarea" event="script" value="noCountFragInArea.lua"/>
      agora em creaturescripts/scripts/login.lua
       procure por OU semelhante a esse:
      registerCreatureEvent(cid, "AdvanceSave")
      e abaixo adicione:
      registerCreatureEvent(cid, "fragarea")

      //


      Agora tudo certo, quando quiser adiciona uma area que não pega frag, vá até o script e apenas coloque a area, igual o demonstrado no script

      Exemplo:
      local areas = { [1] = {from = {x = 91, y = 122, z = 7}, to = {x = 98, y = 127, z = 7}}, [2] = {from = {x = 1000, y = 1000, z = 7}, to = {x = 1100, y = 1100, z = 7}}, }
      assim somente colocando a area no script e abrindo o server ou dando /reload, já funcionará a area como não pegar frag.
      Esse sistema pode ser bom pra areas de pvp ativo, onde você ainda quer que o player que morrer perca os atributos, como se fosse uma morte normal, porém não conta frag pra quem matar.
      Bom pra sistemas tipo castle 48h (guild war), onde há diversas mortes e risco de pegar red, atrapalhando a war.

      Façam bom proveito dos scripts, e deixem os créditos no script rsrs

      **Eu fiz as alterações e o simples código por isso vim disponibilizar, créditos meus**
    • Por Muvuka
      Abri canal a força creaturescript acho que funcione no creaturescript cria script creaturescript
       
      <channel id="9" name="HELP" logged="yes"/>
      <channel id="12" name="Report Bugs" logged="yes"/>
      <channel id="13" name="Loot" logged="yes"/>
      <channel id="14" name="Report Character Rules Tibia Rules" logged="yes"/>
      <channel id="15" name="Death Channel"/>
      <channel id="6548" name="DexSoft" level="1"/>
      <channel id="7" name="Reports" logged="yes"/>
       
      antes de 
              if(lastLogin > 0) then adicione isso:
                      doPlayerOpenChannel(cid, CHANNEL_HELP) doPlayerOpenChannel(cid, 1,  2, 3) = 1,2 ,3 Channels, entendeu? NÃO FUNCIONA EU QUERO UM MEIO DE ABRI SEM USA A SOURCE
       
      EU NÃO CONSEGUI ABRI EU NÃO TENHO SOURCE
       
       
    • Por bolachapancao
      Rapaziada seguinte preciso de um script que ao utilizar uma alavanca para até 4 jogadores.
      Os jogadores serão teleportados para hunt durante uma hora e depois de uma hora os jogadores serão teleportados de volta para o templo.
       
      Observação: caso o jogador morra ou saia da hunt o evento hunt é cancelado.

      Estou a base canary
      GitHub - opentibiabr/canary: Canary Server 13.x for OpenTibia community.
       
    • Por RAJADAO
      .Qual servidor ou website você utiliza como base? 
      Sabrehaven 8.0
      Qual o motivo deste tópico? 
      Ajuda com novos efeitos
       
      Olá amigos, gostaria de ajuda para introduzir os seguintes efeitos no meu servidor (usando o Sabrehaven 8.0 como base), adicionei algumas runas novas (avalanche, icicle, míssil sagrado, stoneshower & Thunderstorm) e alguns novos feitiços (exevo mas san, exori san, exori tera, exori frigo, exevo gran mas frigo, exevo gran mas tera, exevo tera hur, exevo frigo hur) mas nenhum dos efeitos dessas magias parece existir no servidor, alguém tem um link para um tutorial ou algo assim para que eu possa fazer isso funcionar?
      Desculpe pelo mau inglês, sou brasileiro.

      Obrigado!


      AVALANCHE RUNE id:3161 \/
      (COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_ICEAREA)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ICE)

      STONESHOWER RUNE id:3175 \/
      (COMBAT_PARAM_TYPE, COMBAT_EARTHDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_STONES)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH)

      THUNDERSTORM RUNE id:3202 \/
      (COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_E NERGYHIT)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGYBALL)

      ICICLE RUNE id:3158 \/
      COMBAT_ICEDAMAGE
      CONST_ME_ICEAREA
      CONST_ANI_ICE

      SANTO MÍSSIL RUNA id:3182 \/
      (COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_HOLYDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_HOLYAREA)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_HOLY)

      CONST_ME_PLANTATTACK (exevo gran mas tera)
      CONST_ME_ICETORNADO (exevo gran mas frigo)
      CONST_ME_SMALLPLANTS (exevo tera hur)
      CONST_ME_ICEAREA (exevo frigo hur)
      CONST_ME_ICEATTACK (exori frigo)
      CONST_ME_CARNIPHILA (exori tera)

      EXORI SAN \/
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SMALLHOLY)
      CONST_ME_HOLYDAM IDADE

      EXEVO MAS SAN \/
      CONST_ME_HOLYAREA
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo