Nefs
Nefs Staff
Buuuuumpppp need this script!!! work fine
Maps = {
["map 1"] =
{
Guild1Pos = {x=998, y=1006, z=7},
Guild2Pos = {x=1002, y=1006, z=7}
},
["map 2"] =
{
Guild1Pos = {x=994, y=1004, z=6},
Guild2Pos = {x=1000, y=1003, z=6}
}
}
[05/09/2009 20:30:26] Lua Script Error: [GlobalEvent Interface]
[05/09/2009 20:30:26] data/globalevents/scripts/wars.lua:onThink
[05/09/2009 20:30:26] data/lib/database.lua:60: [Result:getDataInt] Result not set!
[05/09/2009 20:30:26] stack traceback:
[05/09/2009 20:30:26] [C]: in function 'error'
[05/09/2009 20:30:26] data/lib/database.lua:60: in function 'getDataInt'
[05/09/2009 20:30:26] ./GuildWar.lua:212: in function 'getGuildsWithWar'
[05/09/2009 20:30:26] data/globalevents/scripts/wars.lua:4: in function <data/globalevents/scripts/wars.lua:3>
[05/09/2009 20:30:26] [Error - GlobalEvents::think] Couldn't execute event: wars
You didn't do the step 5.0.hey i got this error pls Help ^^
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.war_time' in 'field list'' in C:\xampp\htdocs\wars.php:58 Stack trace: #0 C:\xampp\htdocs\wars.php(58): PDO->query('?? SELECT g....') #1 C:\xampp\htdocs\index.php(239): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\wars.php on line 58
ALTER TABLE `guilds`
ADD `invited_to` INT( 11 ) NOT NULL ,
ADD `invited_by` INT( 11 ) NOT NULL ,
ADD `in_war_with` INT( 11 ) NOT NULL ,
ADD `kills` INT( 11 ) NOT NULL ,
ADD `show` SMALLINT( 1 ) NOT NULL ,
ADD `war_time` INT( 11 ) NOT NULL ;
CREATE TABLE `deaths_in_wars` (
`guild_id` INT( 11 ) NOT NULL ,
`player_id` INT( 11 ) NOT NULL ,
`killer_guild` INT( 11 ) NOT NULL ,
`killer` INT( 11 ) NOT NULL ,
`date` INT( 11 ) NOT NULL
) ENGINE = MYISAM ;
@Kiman:
Yes, it count frags (on website I mean).
For me it wont count frags, you got any clue why ?
funny ... someone got yellow skull and someone without guild kill him and dont get frags, its sux.