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

Need help I want aols to last forever

Hunter-:3

New Member
Joined
Apr 11, 2014
Messages
31
Reaction score
0
I'm useing crying damson 0.3.6 the forgotten server and I set charges and prevent drop to 9999
And my char died and lost items but not aol anyone got any help?

I'm useing crying damson 0.3.6 the forgotten server and I set charges and prevent drop to 9999
And my char died and lost items but not aol anyone got any help?
 
Last edited by a moderator:
data/mods

Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Red Skull Amulet" version="1.0" author="--" contact="--" enabled="yes">
        <description><![CDATA[
                This Is Will Protect Your Items Even If You Have Red Skull.
        ]]></description>

        <item id="2196" article="a" name="Red Skull Amulet" override="yes"/>

        <event type="login" name="RedSkullAmulet_Login" event="buffer"><![CDATA[
                registerCreatureEvent(cid, "RedSkullAmulet_Login")
        ]]></event>

        <event type="death" name="RedSkullAmulet_Login" event="script"><![CDATA[
                function onDeath(cid, corpse, deathList)
                        if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196) then
                                if (getCreatureSkullType(cid) == SKULL_RED) then
                                        doCreatureSetDropLoot(cid, false)
                                end
                        end
                        return true
                end
        ]]></event>
</mod>

data/creatureevents


Code:
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
    if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196) then
        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
        doCreatureSay(cid, "Forever Amulet!", TALKTYPE_ORANGE_1)
    elseif (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196) and (getCreatureSkullType(cid) < 4) then
        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
        doCreatureSay(cid, "Skull Amulet!", TALKTYPE_ORANGE_1)
    end
    return true
    end

It's a forever aol you don't need to set charges to XXXX ...
then go to items.xml ID : 2196
and change it to Forever Aol

Hope i Help I You :)
 
Last edited by a moderator:
just remove charges from atributes

from this:

Code:
<item id="2173" article="an" name="amulet of loss">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="1" />
<attribute key="preventDrop" value="1" />
</item>

to this:

Code:
<item id="2173" article="an" name="amulet of loss">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="preventDrop" value="1" />
</item>
 
Back
Top