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

BOH Drop when Dying

atyll

Member
Joined
Dec 30, 2008
Messages
380
Reaction score
16
Hello Guys

I have a really strange bug on my server.

I am using Avesta 0.6.3 7.6, MYSQL database.
When a player dies and wears Boots of Haste, he losses his boh's even with AOL, always.

I tried everything, can't fix it. Anybody have any ideas?
 
This is what I have in items.xml

Code:
	<item id="2195" name="boots of haste">
		<attribute key="weight" value="750"/>
		<attribute key="slotType" value="feet"/>
		<attribute key="speed" value="40"/>
	</item>
 
Code:
<?xml version="1.0"?>

<creaturescripts>

<event type="login" name="PlayerLogin" script="login.lua" />
<event type="logout" name="PlayerLogout" script="logout.lua" />

</creaturescripts>

Login.lua
Code:
function onLogin(cid)

	return 1

end

Logout.lua
Code:
function onLogout(cid)

	return 1

end

That's it.

GhostX, not quite sure what you mean?

- - - Updated - - -

I Fixed it. Thread can be closed.
 
Code:
<?xml version="1.0"?>

<creaturescripts>

<event type="login" name="PlayerLogin" script="login.lua" />
<event type="logout" name="PlayerLogout" script="logout.lua" />

</creaturescripts>

Login.lua
Code:
function onLogin(cid)

	return 1

end

Logout.lua
Code:
function onLogout(cid)

	return 1

end

That's it.

GhostX, not quite sure what you mean?

- - - Updated - - -

I Fixed it. Thread can be closed.
Tell others how you fixed it in case others got the same problem? ffs
 
Code:
GhostX, not quite sure what you mean?

[/QUOTE]


I meant, where you got the server from,  was it from a thread? and if so, did anyone else have same issue?

Since you fixed, it would be ideal if you could post how you fixed & edit your first post and change title to [solved]
 
Nobody else had this problem.

Basically what I did, I realised all players in my database had loss_items set to 0 so I set it back to 10 as it should

ALSO

from movements.xml

I deleted these 2 lines:
Code:
	<movevent event="Equip" itemid="2195" slot="feet" function="onEquipItem" />
	<movevent event="DeEquip" itemid="2195" slot="feet" function="onDeEquipItem" />

And voila!
 

Similar threads

Back
Top