• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua Crash when azerus doesn't have deadbody 0

Thorn

Spriting since 2013
Joined
Sep 24, 2012
Messages
2,203
Solutions
1
Reaction score
923
Location
Chile
Hello guys, my server is tfs 1.0, and i dont want to have the yalahar quest, i want to have azerus like a normal creature, so i started to erase all from yalahar quest and now that i can't find anything more on that quest, everytime i kill azerus with a deadbody the server crashes with no information, however if i set the deadbody as 0 it works, but i need the dead body,
does anyone have any idea what am i missing?


Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Azerus" nameDescription="azerus" race="blood" experience="6000" speed="320" manacost="0">
    <health now="7500" max="7500"/>
    <look type="309" corpse="9981"/>
    <targetchange interval="5000" chance="8"/>
    <strategy attack="100" defense="0"/>
    <flags>
        <flag summonable="0"/>
        <flag attackable="1"/>
        <flag hostile="1"/>
        <flag illusionable="0"/>
        <flag convinceable="0"/>
        <flag pushable="0"/>
        <flag canpushitems="1"/>
        <flag canpushcreatures="1"/>
        <flag targetdistance="1"/>
        <flag staticattack="85"/>
        <flag runonhealth="0"/>
    </flags>
    <attacks>
        <attack name="melee" interval="2000" skill="150" attack="140"/>
        <attack name="fire" interval="1000" chance="12" radius="4" target="0" min="-250" max="-500">
            <attribute key="areaEffect" value="firearea"/>
        </attack>
        <attack name="manadrain" interval="2000" chance="14" length="8" spread="0" min="-150000" max="-150000">
            <attribute key="areaEffect" value="teleport"/>
        </attack>
        <attack name="energy" interval="2000" chance="12" length="4" spread="0" min="-50" max="-1050">
            <attribute key="areaEffect" value="purpleenergy"/>
        </attack>
    </attacks>
    <defenses armor="40" defense="65">
        <defense name="healing" interval="1000" chance="11" min="400" max="900">
            <attribute key="areaEffect" value="greenshimmer"/>
        </defense>
    </defenses>
    <elements>
        <element energyPercent="40"/>
        <element deathPercent="14"/>
        <element physicalPercent="-10"/>
    </elements>
    <immunities>
        <immunity paralyze="1"/>
        <immunity invisible="1"/>
    </immunities>
    <voices interval="5000" chance="12">
        <voice sentence="The ultimate will finally consume this unworthy existence!" />
        <voice sentence="My masters and I will tear down barriers and join the ultimate in its realm!" />
        <voice sentence="The power of the Yalahari will all be mine!" />
        <voice sentence="He who has returned from beyond has taught me secrets you can't even grasp!" />
        <voice sentence="You can't hope to penetrate my shields!"/>
        <voice sentence="Do you really think you could beat me?"/>
    </voices>
</monster>
 
Last edited:
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Yalahari" nameDescription="a yalahari" race="blood" experience="5" speed="200" manacost="0">
    <health now="150" max="150" />
    <look type="309" corpse="20550" />
    <targetchange interval="5000" chance="8" />
 
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Yalahari" nameDescription="a yalahari" race="blood" experience="5" speed="200" manacost="0">
    <health now="150" max="150" />
    <look type="309" corpse="20550" />
    <targetchange interval="5000" chance="8" />
why not azerus?
 
Hello Thorn,

You do know that there is an action happening when you kill Azerus, right? (In case you don't know it becomes a teleport that directs to the reward room or whatever that is...) Now what about you make the researches on your own files and maybe disable / remove that action so the server doesn't get confused by trying to add a body that actually isn't supposed to be a body but a teleport. The reason why this happens is for me unknown due to missing information and I have no idea about what the action does under which conditions. Did you check the Corpse number under items.xml? Is it there as corpse, does it have the attributes of one? A lot of things for you to look at, it's just about thinking why it happens than looking directly on the XML file trying to find an error that might not even be there.

If you need further help just give us more information as soon as you find any. Hopefully you'll be able to find what you need.

Kindest Regards,
Okke
 
Hello Thorn,

You do know that there is an action happening when you kill Azerus, right? (In case you don't know it becomes a teleport that directs to the reward room or whatever that is...) Now what about you make the researches on your own files and maybe disable / remove that action so the server doesn't get confused by trying to add a body that actually isn't supposed to be a body but a teleport. The reason why this happens is for me unknown due to missing information and I have no idea about what the action does under which conditions. Did you check the Corpse number under items.xml? Is it there as corpse, does it have the attributes of one? A lot of things for you to look at, it's just about thinking why it happens than looking directly on the XML file trying to find an error that might not even be there.

If you need further help just give us more information as soon as you find any. Hopefully you'll be able to find what you need.

Kindest Regards,
Okke
actually i know that, that's what i explained in the first post, maybe i failed to explain it well, i tried to disable all files regarding the quest involving azerus, i have searched in every single file i could find, i actually remove everything i could find about this quest so i can use azerus as a normal creature, but whatever i can name him Yalaharian, but that wasn't the solution i was aiming for :(
 
actually i know that, that's what i explained in the first post, maybe i failed to explain it well, i tried to disable all files regarding the quest involving azerus, i have searched in every single file i could find, i actually remove everything i could find about this quest so i can use azerus as a normal creature, but whatever i can name him Yalaharian, but that wasn't the solution i was aiming for :(
You basically said you couldn't find the corpse id which is what I posted corpse="20550"
 
You basically said you couldn't find the corpse id which is what I posted corpse="20550"
you didn't understand my explanation, the server crashes everytime i set azerus a corpse, any number, but if i put 0 doesn't crash
 
you didn't understand my explanation, the server crashes everytime i set azerus a corpse, any number, but if i put 0 doesn't crash
Well if that is the case look in creaturescripts or events, something happens with a creature those are the 2 most likely places.
 
Hi, well, your monster is called azerus right? then check this:

Open your screen linux and go to your home/OT/data and then write this to know all the scripts related to azerus: grep -Ril 'azerus'

It will show all archives related, then of course this is creaturescripts, you'll need to delete the line from creaturescripts.xml and unregister event on login (case for onKill), if it is onDeath you should open azerus.xml and delete its script. <script> some script here </script>
 
Back
Top