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

Aol Bug =/

Shispa

The Producer
Joined
Mar 28, 2009
Messages
68
Reaction score
5
Location
Chile :)
When a player use aol, he dont loose items but, dont loose the aol too lol
The aol its infinite, how i can config this? i have this 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>


I changed the charges value to 0 and didnt work too

Help please
 
When a player use aol, he dont loose items but, dont loose the aol too lol
The aol its infinite, how i can config this? i have this 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>


I changed the charges value to 0 and didnt work too

Help please

by me was the same problem

add this in data\creaturescripts\scripts
playerdeath.lua

find
Code:
function onDeath(cid, corpse, lastHitKiller, mostDamageKiller)
	if(config.deathListEnabled ~= TRUE) then
		return
	end

under it add
Code:
	if getPlayerSlotItem(cid, 2).itemid == 2173 then
        doPlayerRemoveItem(cid, 2173, 1)
	end

then sould it work :)
 
by me was the same problem

add this in data\creaturescripts\scripts
playerdeath.lua

find
Code:
function onDeath(cid, corpse, lastHitKiller, mostDamageKiller)
	if(config.deathListEnabled ~= TRUE) then
		return
	end

under it add
Code:
	if getPlayerSlotItem(cid, 2).itemid == 2173 then
        doPlayerRemoveItem(cid, 2173, 1)
	end

then sould it work :)


Ill try :)
 
<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>

change to this...I think will work xP

<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