tae
Active Member
i'm pretty sure hes busy fixing it right now 

[18/09/2009 00:54:41] data/creaturescripts/scripts/custom/kill.lua:22: attempt to call global 'getPlayerRedSkullTicks' (a nil value)
[18/09/2009 00:54:41] stack traceback:
[18/09/2009 00:54:41] data/creaturescripts/scripts/custom/kill.lua:22: in function <data/creaturescripts/scripts/custom/kill.lua:3>
Try to change getPlayerRedSkullTicks to getPlayerSkullEnd
if team > 0 then
db.executeQuery("INSERT INTO `war_deaths` (`war_id`, `team`, `from_guild`, `to_guild`, `player_id`, `killed_by`) VALUES (" .. id .. ", " .. team .. ", " .. getPlayerGuildId(cid) .. ", " .. getPlayerGuildId(target) .. ", " .. getPlayerGUID(target) .. ", " .. getPlayerGUID(cid) .. ");")
doPlayerSetRedSkullTicks(cid, getPlayerSkullEnd(cid)-fragTime)
end