You must spread some Reputation around before giving it to Zer0xe again.
Yes, It works perfectly, but there is one thing I dont understand. If player has 0 frags, he is still getting frag when killing his enemie. I asked some guys around and they said its not a bug, if so, why did you made it like that and how can I change it so 1st frag would not be counted?
[19/05/2009 13:23:37] Lua Script Error: [TalkAction Interface]
[19/05/2009 13:23:37] data/talkactions/scripts/GuildWar.luanSay
[19/05/2009 13:23:37] data/lib/database.lua:60: [Result:getDataInt] Result not set!
[19/05/2009 13:23:37] stack traceback:
[19/05/2009 13:23:37] [C]: in function 'error'
[19/05/2009 13:23:37] data/lib/database.lua:60: in function 'getDataInt'
[19/05/2009 13:23:38] ./GuildWar.lua:225: in function 'guildExist'
[19/05/2009 13:23:38] data/talkactions/scripts/GuildWar.lua:9: in function <data/talkactions/scripts/GuildWar.lua:3>
[19/05/2009 13:37:04] Lua Script Error: [GlobalEvent Interface]
[19/05/2009 13:37:04] data/globalevents/scripts/wars.luanThink
[19/05/2009 13:37:04] data/lib/database.lua:60: [Result:getDataInt] Result not set!
[19/05/2009 13:37:05] stack traceback:
[19/05/2009 13:37:05] [C]: in function 'error'
[19/05/2009 13:37:05] data/lib/database.lua:60: in function 'getDataInt'
[19/05/2009 13:37:05] ./GuildWar.lua:212: in function 'getGuildsWithWar'
[19/05/2009 13:37:05] data/globalevents/scripts/wars.lua:4: in function <data/globalevents/scripts/wars.lua:3>
Fatal error: Call to undefined method OTS_Guild::getEnemy() in C:\xampp\htdocs\wars.php on line 258
Is that possible?
I get these errors:
EDIT;
I get error when I click on the scores on website.
I mean first you go in so you see what guilds are in war, then you can click on the scores, ex. 1-0 and then you will be redirected to something else, but it doens't work. I get this error:
ive got this error =/Fatal error: Call to a member function query() on a non-object in C:\xampplite\htdocs\wars.php on line 47
http://localhost/wars.php
http://localhost/index.php?subtopic=wars
[21/05/2009 00:42:28] data/lib/database.lua:60: [Result:getDataInt] Result not set!
[21/05/2009 00:42:28] stack traceback:
[21/05/2009 00:42:28] [C]: in function 'error'
[21/05/2009 00:42:28] data/lib/database.lua:60: in function 'getDataInt'
[21/05/2009 00:42:29] ./GuildWar.lua:212: in function 'getGuildsWithWar'
[21/05/2009 00:42:29] data/globalevents/scripts/wars.lua:4: in function <data/globalevents/scripts/wars.lua:3>
[21/05/2009 00:42:29] [Error - GlobalEvents::onThink] Couldn't execute event: wars
It's only for 0.3.x. But, maybe, I will make one for 0.2 if I have time...good job
but
sux that it wont work for 0.2
@up:
What TFS version do you use?
[22/05/2009 22:06:15] Lua Script Error: [GlobalEvent Interface]
[22/05/2009 22:06:15] data/globalevents/scripts/wars.lua:onThink
[22/05/2009 22:06:15] data/lib/database.lua:60: [Result:getDataInt]: Result not set!
[22/05/2009 22:06:15] stack traceback:
[22/05/2009 22:06:15] [C]: in function 'error'
[22/05/2009 22:06:15] data/lib/database.lua:60: in function 'getDataInt'
[22/05/2009 22:06:15] ./GuildWar.lua:212: in function 'getGuildsWithWar'
[22/05/2009 22:06:15] data/globalevents/scripts/wars.lua:4: in function <data/globalevents/scripts/wars.lua:3>
[22/05/2009 22:06:16] [Error - GlobalEvents::onThink] Couldn't execute event: wars
[23/05/2009 14:39:55] The Forgotten Server, version 0.3.4 (Crying Damson)
[23/05/2009 14:39:55] A server developed by Elf, Talaturen, Lithium, Kiper, Kornholijo, KaczooH, slawkens & Macroman.
[23/05/2009 14:39:55] Visit our forum for updates, support and resources: http://otland.net.
[23/05/2009 14:39:56] >> Debugging: nothing.
[23/05/2009 14:39:56] >> Checking software version... up to date!
[23/05/2009 14:39:56] >> Loading config (config.lua)
[23/05/2009 14:39:56] > Using plaintext passwords
[23/05/2009 14:39:56] >> Loading RSA key
[23/05/2009 14:39:56] >> Starting SQL connection
[23/05/2009 14:39:56] >> Running Database Manager
[23/05/2009 14:39:57] > No tables were optimized.
[23/05/2009 14:39:57] >> Loading items
[23/05/2009 14:39:58] >> Loading groups
[23/05/2009 14:39:58] >> Loading vocations
[23/05/2009 14:39:58] >> Loading script systems
[23/05/2009 14:39:59] >> Loading chat channels
[23/05/2009 14:39:59] >> Loading outfits
[23/05/2009 14:39:59] >> Loading experience stages
[23/05/2009 14:39:59] >> Loading monsters
[23/05/2009 14:39:59] >> Loading map and spawns...
[23/05/2009 14:40:00] > Map size: 1000x1000.
[23/05/2009 14:40:00] > Map descriptions:
[23/05/2009 14:40:00] Saved with Remere's Map Editor 1.1.4
[23/05/2009 14:40:00] SimOne MapEditor 0.5.0
[23/05/2009 14:40:01] > Map loading time: 2.141 seconds.
[23/05/2009 14:40:02] > Data loading time: 0.391 seconds.
[23/05/2009 14:40:02] > Unserialization time for houses: 0 seconds.
[23/05/2009 14:40:03] > Unserialization time for map: 1.204 seconds.
[23/05/2009 14:40:03] >> Checking world type... PvP
[23/05/2009 14:40:03] >> Initializing game state modules and registering services...
[23/05/2009 14:40:03] > Global address: 127.0.0.1
[23/05/2009 14:40:03] > Local ports:
[23/05/2009 14:40:03] 7171 7172
[23/05/2009 14:40:03] >> All modules were loaded, server starting up...
[23/05/2009 14:40:03] >> Forgotten server Online!