[22/11/2009 23:30:38] Lua Script Error: [GlobalEvent Interface]
[22/11/2009 23:30:38] data/globalevents/scripts/wars.lua:onThink
[22/11/2009 23:30:38] data/lib/database.lua:60: [Result:getDataInt] Result not set!
[22/11/2009 23:30:38] stack traceback:
[22/11/2009 23:30:38] [C]: in function 'error'
[22/11/2009 23:30:38] data/lib/database.lua:60: in function 'getDataInt'
[22/11/2009 23:30:38] ./GuildWar.lua:212: in function 'getGuildsWithWar'
[22/11/2009 23:30:38] data/globalevents/scripts/wars.lua:4: in function <data/globalevents/scripts/wars.lua:3>
dofile("./GuildWar.lua")
local PZ = createConditionObject(CONDITION_INFIGHT)
setConditionParam(PZ, CONDITION_PARAM_TICKS, getConfigInfo('whiteSkullTime'))
function onKill(cid, target, lastHit)
if isPlayer(cid) == TRUE and isPlayer(target) == TRUE then
local myGuild = getPlayerGuildId(cid)
local enemyGuild = getPlayerGuildId(target)
if myGuild ~= 0 and enemyGuild ~= 0 then
if enemyGuild == getGuildWarInfo(myGuild).With then
doAddCondition(cid, PZ)
doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "This frag will not count!")
if lastHit == TRUE then
registerDeath(myGuild, enemyGuild, cid, target)
end
end
end
end
return TRUE
end
Code:if lastHit == TRUE then
@Belciu:
Code:if (not lastHit) then return true end
Code:[22/11/2009 23:30:38] Lua Script Error: [GlobalEvent Interface] [22/11/2009 23:30:38] data/globalevents/scripts/wars.lua:onThink [22/11/2009 23:30:38] data/lib/database.lua:60: [Result:getDataInt] Result not set! [22/11/2009 23:30:38] stack traceback: [22/11/2009 23:30:38] [C]: in function 'error' [22/11/2009 23:30:38] data/lib/database.lua:60: in function 'getDataInt' [22/11/2009 23:30:38] ./GuildWar.lua:212: in function 'getGuildsWithWar' [22/11/2009 23:30:38] data/globalevents/scripts/wars.lua:4: in function <data/globalevents/scripts/wars.lua:3>
The Forgotten Server, version 0.3.5 (Crying Damson)
That's currently impossible because of missing functions and events. Mostly because of creaturescripts.Can someone make this compatible with tfs 2.5, if so please reply i will pay for it
That's currently impossible because of missing functions and events. Mostly because of creaturescripts.