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

infinite AOL

tnecniiv

scripter to be
Joined
Jan 6, 2012
Messages
298
Solutions
3
Reaction score
25
hey guys i was wondering it there was a way to get an infinite aol on a different item like on a different amulet.
 
but how would i know if the created aol will work if i copy the amulet of loss it does not have a script in it.
 
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>

remove charges line, paste it all in where u want and ur done
 
i get an this in my console

23/01/2014 15:06:18] >> Loading commands
[23/01/2014 15:06:18] >> Loading items
[23/01/2014 15:06:18] Warning: [Items::loadFromXml] Unknown key value preventDrop
[23/01/2014 15:06:18] >> Loading script systems
[23/01/2014 15:06:18] >> Loading monsters
[23/01/2014 15:06:19] >> Loading outfits
[23/01/2014 15:06:19] >> Loading admin protocol config
 
<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>
but i cant use preventdrop
 
Code:
<item id="YOUR NECKLACE ID" article="an" name="FOREVER AOL">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="999999999" />
<attribute key="preventDrop" value="1" />
 
Tested on 0.3.6 crying damnson v8.2
CreatureEvents/scripts Create Forever aol
Code:
function onDeath(cid, corpse, deathlist)
    if getCreatureSkullType(cid)  <= 5 and getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196 then
        doCreatureSetDropLoot(cid, false)
        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
        doCreatureSay(cid, "Forever Aol!! !", TALKTYPE_ORANGE_1)
    end
    return true
end
^ protects against red skull & black skull,if you dont want it too,just change the
Code:
    if getCreatureSkullType(cid)  <= 5
Too
Code:
    if getCreatureSkullType(cid)  <= 2
,now goto
creatureevent.xml
and paste this in
Code:
        <event type="death" name="Forever Aol" event="script" value="forever aol.lua"/>
now,goto creaturescripts,scripts,login.lua and put this in
Code:
  registerCreatureEvent(cid, "Forever Aol")
Cheeze
 
[24/01/2014 18:08:18] Lua Script Error: [CreatureScript Interface]
[24/01/2014 18:08:18] data/creaturescripts/lib/creaturescripts.lua
[24/01/2014 18:08:18] LuaScriptInterface::luaRegisterCreatureEvent(). Creature not found
[24/01/2014 18:08:18] stack traceback:
[24/01/2014 18:08:18] [C]: in function 'registerCreatureEvent'
[24/01/2014 18:08:18] data/creaturescripts/lib/creaturescripts.lua:2: in main chunk

[24/01/2014 18:08:18] Lua Script Error: [Test Interface]
[24/01/2014 18:08:18] data/creaturescripts/lib/creaturescripts.lua
[24/01/2014 18:08:18] LuaScriptInterface::luaRegisterCreatureEvent(). Creature not found
[24/01/2014 18:08:18] stack traceback:
[24/01/2014 18:08:18] [C]: in function 'registerCreatureEvent'
[24/01/2014 18:08:18] data/creaturescripts/lib/creaturescripts.lua:2: in main chunk

[24/01/2014 18:08:18] Lua Script Error: [Test Interface]
[24/01/2014 18:08:18] data/creaturescripts/lib/creaturescripts.lua
[24/01/2014 18:08:18] LuaScriptInterface::luaRegisterCreatureEvent(). Creature not found
[24/01/2014 18:08:18] stack traceback:
[24/01/2014 18:08:18] [C]: in function 'registerCreatureEvent'
[24/01/2014 18:08:18] data/creaturescripts/lib/creaturescripts.lua:2: in main chunk

[24/01/2014 18:08:18] Lua Script Error: [Test Interface]
[24/01/2014 18:08:18] data/creaturescripts/lib/creaturescripts.lua
[24/01/2014 18:08:18] LuaScriptInterface::luaRegisterCreatureEvent(). Creature not found
[24/01/2014 18:08:18] stack traceback:
[24/01/2014 18:08:18] [C]: in function 'registerCreatureEvent'
[24/01/2014 18:08:18] data/creaturescripts/lib/creaturescripts.lua:2: in main chunk
[24/01/2014 18:08:18] >> Loading monsters
[24/01/2014 18:08:18] >> Loading outfits
[24/01/2014 18:08:18] >> Loading admin protocol config
[24/01/2014 18:08:18] >> Loading experience stages
[24/01/2014 18:08:18] >> Using SHA1 passwords
[24/01/2014 18:08:18] >> Checking world type... PVP
[24/01/2014 18:08:18] >> Loading map
[24/01/2014 18:08:19] > Map size: 2048x2048.
[24/01/2014 18:08:19] Duplicate uniqueId 3245
[24/01/2014 18:08:20] > Map loading time: 1.276 seconds.
[24/01/2014 18:08:21] Notice: Map load (relational) took: 1.388 s
[24/01/2014 18:08:21] >> Initializing gamestate
[24/01/2014 18:08:21] >> Loaded all modules, server starting up...
[24/01/2014 18:08:22] >> Forgotten Server Online!

does not work =/
 
<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>'
 
Back
Top