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

Amulet of loss problems :/

Kjosen

New Member
Joined
Sep 1, 2008
Messages
94
Reaction score
0
How should i make the aol work? i tried with this but it says
Warning: [Items::loadFromXml] Unknown key value preventDrop

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

what should i do? I also tried with preventLoss.

Im using the new roxor server 8.42 (TFS 0.2.1.0)
 
what should i do? I also tried with preventLoss

SonOfWinter read his post, he said he already tried that :thumbup:

Kjosen, try removing that line completely, leave the AOL like this:

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

And try it. I think I saw somewhere that its like that now on the new Mystic Spirit.

Cheers.
 
Yes but whan i have it like you say guiar freak i dont get any error but i do not work. :/

And whan i try with preventLoss it sais: Warning: [Items::loadFromXml] Unknown key value preventLoss
 
Yes but whan i have it like you say guiar freak i dont get any error but i do not work. :/

And whan i try with preventLoss it sais: Warning: [Items::loadFromXml] Unknown key value preventLoss

Set your aol to:

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

And make sure your server is not set to PVP-Enforced or the AOL will not work.
 
If you want to make AOL work on PVP enforced then you should add few lines to playerdeath.lua
Code:
if getPlayerSlotItem(cid, 2) == 2173 then
setCreatureDropLoot(cid, 0)
doRemoveItem(cid, 2173, 1)
end
 
If you want to make AOL work on PVP enforced then you should add few lines to playerdeath.lua
Code:
if getPlayerSlotItem(cid, 2) == 2173 then
setCreatureDropLoot(cid, 0)
doRemoveItem(cid, 2173, 1)
end



YO Bro if i want alot of amulet When die Do drop anything and no give me erros in ingine can you tell me how
 
Back
Top