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

Help

RamboIII

New Member
Joined
Jun 6, 2008
Messages
72
Reaction score
0
When people die with aols on my ot they loose theirs backpack but not in the body or something like that it desapears and a bag apear. how can i fix it
 
When people die with aols on my ot they loose theirs backpack but not in the body or something like that it desapears and a bag apear. how can i fix it

I know whats wrong but I'm at school so I cant reach the files with correct codes..

but you should do like this..


Go data/movements/movements.xml
and add 2 lines for aol, (its item id)

then you should got

data/items/items.xml
and add a line in the Aol with something like this
Code:
<attitude key="prevent loss" id="1">

As I said I cannot reach for the correct codes but it should look like that and be like that.. unless someone awnser the correct before I come home I will post more detailed..



Sorry for not be able post the correct code
 
Ok, I'm home now

Okay mate, I'm home. here is small tourial how to make amulet of loss work fully 100%


First go to this place
Data/items/items.xml
and there you press "Ctrl + F" and in that you write "Amulet of loss"..

remove everything from amulet of loss there (from <item to </item>)

and put this there insted
Code:
<item id="2173" name="amulet of loss">
<attribute key="preventLoss" value="1"/>
<attribute key="weight" value="420"/>
<attribute key="slotType" value="necklace"/>
	</item>

now you have make the action aol should do. now lets go to
data/movements/movements.xml
and add this

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


Now aol should work perfect..


Please add me some Rep++ if it realy worked :D
 
Back
Top