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

AOLs arnt working

Mc Lovin

Member
Joined
Apr 25, 2009
Messages
264
Reaction score
12
Please help, msg me or post here if you need more information

when you die they break but ur items also get lost


[10/05/2009 03:33:31] Warning: [Items::loadFromXml] Unknown key value preventDrop
[10/05/2009 03:33:31] 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"/>
<attribute key="charges" value="1"/>
</item>

It should look like this, tell me what TFS version u using?
 
Check your Items.xml
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"/>
		<attribute key="charges" value="1"/>
	</item>


You could try that, if that doesn't work, then send us your Items.xml Amulet of Loss line.

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

also

<item id="2196" article="a" name="Forever Amulet of Loss">
<attribute key="weight" value="420"/>
<attribute key="slotType" value="necklace"/>
<attribute key="preventDrop" value="1"/>
<attribute key="charges" value="99999999999"/>
</item>
 
idk if i did..what am i supposed to do?

Open your movements.xml and add

Code:
	<movevent event="Equip" itemid="2173" slot="necklace" function="onEquipItem"/>
	<movevent event="DeEquip" itemid="2173" slot="necklace" function="onDeEquipItem"/>

Than it should be work.

//Cazar

p.s. rep++ if i helped ya :D:D:D
 
Change to:
Code:
	<item id="2173" article="an" name="amulet of loss">
		<attribute key="weight" value="420"/>
		<attribute key="slotType" value="necklace"/>
		<attribute key="preventLoss" value="1"/>
		<attribute key="charges" value="1"/>
	</item>
 
<item id="2173" article="an" name="amulet of loss">
<attribute key="weight" value="420"/>
<attribute key="slotType" value="necklace"/>
<attribute key="preventDrop" value="1"/>
<attribute key="charges" value="1"/>
</item>

It should look like this, tell me what TFS version u using?

Check your Items.xml
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"/>
		<attribute key="charges" value="1"/>
	</item>


You could try that, if that doesn't work, then send us your Items.xml Amulet of Loss line.

Zer0xe.

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

also

<item id="2196" article="a" name="Forever Amulet of Loss">
<attribute key="weight" value="420"/>
<attribute key="slotType" value="necklace"/>
<attribute key="preventDrop" value="1"/>
<attribute key="charges" value="99999999999"/>
</item>

Look on what he posted:

[10/05/2009 03:33:31] Warning: [Items::loadFromXml] Unknown key value preventDrop
[10/05/2009 03:33:31] Warning: [Items::loadFromXml] Unknown key value preventDrop

And think about your post people.

"Unknown key value preventDrop" ;)
 
The problem is probably that you have your server set to PVP Enforced, in PVP-e AOL wont work unless you use a special script I saw someone posting it somewhere.

If thats the problem for you and you still want AOLs, PM me Ill try to find it for you.

Otherwise just set to normal PVP and change preventDrop to preventLoss. If it doesnt work with either attributes, just remove that line and test again.

It should work with at least one of all those.

Cheers.
 
Back
Top