- Joined
- Dec 11, 2007
- Messages
- 3,666
- Solutions
- 1
- Reaction score
- 125
- Location
- Warsaw, Poland
- GitHub
- tayandenga
- Twitch
- tayandenga
I was just testing something, and it seems that You cannot log out after dying (only client shutdown helps).
Also I suggest removing auto-message 'You are dead.' in playerdeath.lua, since its now automaticly sent by the server itself (<- maybe also a bug?).
EDIT: Also, on SF someone reported, that after death on fire camp, fire field and so, on deathlist appears a '-1' value.
I've wrote a little fix for myself, may be usefull:
Moved the isPlayer(killer) under else, to avoid debugs like 'Creature not found blablabla'.
Also I suggest removing auto-message 'You are dead.' in playerdeath.lua, since its now automaticly sent by the server itself (<- maybe also a bug?).
EDIT: Also, on SF someone reported, that after death on fire camp, fire field and so, on deathlist appears a '-1' value.
I've wrote a little fix for myself, may be usefull:
Code:
local byPlayer = FALSE
if killer == 0 then
killerName = "field item"
else
killerName = escapeString(getCreatureName(killer))
if isPlayer(killer) == TRUE then
byPlayer = TRUE
end
end
Last edited: