1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

KAG rules init not excuted rules init not excuted rules init not excuted.....

Discussion in 'Server Help' started by -SWiTCH-, Jul 19, 2014.

  1. -SWiTCH-

    -SWiTCH- Builder Stabber

    Messages:
    9
    I tried making a server to host a few of my custom maps on but unfortunately...
    When ever I run my dedicated server It starts up running a bunch of scripts and stuff cool... :B):
    but then down along the prompt it just says
    rules init not excuted
    rules init not excuted
    rules init not excuted


    For like 30 times. Then it start hosting :huh?: ok
    You get on it, the server crashes after saying
    rules init not excuted
    rules init not excuted
    rules init not excuted

    Like 30 more times, HELP MEH !!!
     
  2. Galen

    Galen Haxor Staff Alumni Donator

    Messages:
    1,262
    Tried reinstalling?
     
    Pizza likes this.
  3. jackitch

    jackitch :(){ :|: & };: Global Moderator Donator Tester
    1. SharSharShar - [SHARK]

    Messages:
    249
    Go to your Logs/ folder and find the latest console.txt. Open it, and search for the string "line".Ignoring the lines about "trampoline" It'll give you the errors you need to fix.

    You can post the errors here and we'll try to help.

    Here's an example:
    Code:
    [16:09:49] Loading script ../Mods/FFA/Rules/FFA/Scripts/FFA.as
    [16:09:49] Script: Compiling void FFACore::AddPlayer(CPlayer@, uint8 = 0, string = "")
    [16:09:49] Script: No matching signatures to 'FFACore::getTeamsNum()'
    [16:09:49]         [line 364 char 36]         const u8 teamsCount = this.getTeamsNum();
    [16:09:49]         in file '../Mods/FFA/Rules/FFA/Scripts/FFA.as':
    [16:09:49] Script: 'team' is already declared
    [16:09:49]         [line 365 char 6] 		u8 team = getRandomMinimumTeam(this);
    [16:09:49]         in file '../Mods/FFA/Rules/FFA/Scripts/FFA.as':
     
  4. -SWiTCH-

    -SWiTCH- Builder Stabber

    Messages:
    9
    Yeah ok do you just want me to post the whole thing or just the parts I think are bugged?
    --- Double Post Merged, Jul 19, 2014, Original Post Date: Jul 19, 2014 ---


    Code:
    [19:48:07] Files have the same name! (rename for safety) Rules/WAR/team2.cfg - Rules/TDM/team2.cfg
    [19:48:07] Files have the same name! (rename for safety) Rules/WAR/team2.cfg - Rules/Simple/team2.cfg
    [19:48:07] Files have the same name! (rename for safety) Rules/WAR/team2.cfg - ules/CTF/team2.cfg ...
    
    [19:48:07] Loaded team 1 'Red Team'
    [19:48:07] Loading script Rules/WAR/Scripts/WAR.as
    [19:48:07] Script: Compiling int WarCore::getSmallerTeam()
    [19:48:07] Script: No conversion from 'Random@&' to math type available.
    [19:48:07]         [line 400 char 39]         s32 lowestTeam = (Random(512) % teams.length);
    [19:48:07]         in file 'Rules/WAR/Scripts/WAR.as':
    [19:48:07] Script: Compiling CBlob@ server_MakeCrate(string, string, int, int, Vec2f, bool = true)
    [19:48:07] Script: No matching signatures to 'CBlob::setTeamNum(int)'
    [19:48:07] Script: Compiling Vec2f getDropPosition(Vec2f)
    [19:48:07] Script: No conversion from 'Random@&' to math type available.
    [19:48:07]         [line 40 char 35]     this.minimum_players_in_team = cfg.read_s32("minimum_players_in_team",2);
    [19:48:07]         in file 'Rules/WAR/Scripts/WAR.as':
    [19:48:07] Script: No conversion from 'Random@&' to math type available.
    [19:48:07]         [line 41 char 32]     //whether to scramble each game or not
    [19:48:07]         in file 'Rules/WAR/Scripts/WAR.as':
    [19:48:07] Loading script Rules/WAR/Scripts/WAR_PickSpawn.as
    [19:48:07] Match not found for file SetCameraOnPlayer.as
    [19:48:07] Loading script SetCameraOnPlayer.as
    [19:48:07] Script error: cannot find file : SetCameraOnPlayer.as
    [19:48:07] Loading script Rules/WAR/Scripts/WAR_GiveSpawnItems.as
    [19:48:07] Script: Compiling void addShopItemsToMenu(CBlob@, CGridMenu@, CBlob@)
    [19:48:07] Script: No matching signatures to 'hasRequirements(CInventory@&, CInventory@&, CBitStream, CBitStream&)'
    [19:48:07]         [line 178 char 9]         {
    [19:48:07]         in file 'Rules/WAR/Scripts/WAR_GiveSpawnItems.as':
    [19:48:07] Script: Expression must be of boolean type
    [19:48:07]         [line 178 char 9]         {
    [19:48:07]         in file 'Rules/WAR/Scripts/WAR_GiveSpawnItems.as':
    [19:48:07] Script: No matching signatures to 'hasRequirements(CInventory@&, CInventory@&, CBitStream, CBitStream&)'
    [19:48:07]         [line 194 char 13] void onSetPlayer( CRules@ this, CBlob@ blob, CPlayer@ player )
    [19:48:07]         in file 'Rules/WAR/Scripts/WAR_GiveSpawnItems.as':
    [19:48:07] Script: Expression must be of boolean type
    [19:48:07]         [line 194 char 13] void onSetPlayer( CRules@ this, CBlob@ blob, CPlayer@ player )
    [19:48:07]         in file 'Rules/WAR/Scripts/WAR_GiveSpawnItems.as':
    [19:48:07] Script: Compiling string getButtonRequirementsText(CBitStream&inout, bool)
    [19:48:07] Script: No matching signatures to 'ReadRequirement(CBitStream&, string, string, string, uint16)'
    [19:48:07]         [line 9 char 9]     CBlob@[] blobsInRadius;
    [19:48:07]         in file 'Rules/WAR/Scripts/WAR_GiveSpawnItems.as':
    [19:48:07] Script: Compiling void SetItemDescription(CGridButton@, CBlob@, CBitStream&in, const string&in, CInventory@ = null)
    [19:48:07] Script: No matching signatures to 'hasRequirements(CInventory@&, CInventory@&, CBitStream&, CBitStream&)'
    [19:48:07]         [line 73 char 13]     CBlob@[] factories;
    [19:48:07]         in file 'Rules/WAR/Scripts/WAR_GiveSpawnItems.as':
    [19:48:07] Script: Expression must be of boolean type
    [19:48:07]         [line 73 char 13]     CBlob@[] factories;
    [19:48:07]         in file 'Rules/WAR/Scripts/WAR_GiveSpawnItems.as':
    [19:48:07] Loading rules Rules/Simple/gamemode.cfg
    [19:48:07] Loading game rules from Rules/Simple/gamemode.cfg...
    [19:48:07] Loaded team 0 'Blue Team'
    [19:48:07] Loaded team 1 'Red Team'
    [19:48:07] Loading script Rules/Simple/SimpleRules.as
    [19:48:07] Script: Compiling Vec2f getSpawnLocation(CPlayer@)
    [19:48:07] Script: Type 'Vec2f[]' doesn't support the indexing operator
    [19:48:07]         [line 58 char 22]         return spawns[ Random( spawns.length ) ];
    [19:48:07]         in file 'Rules/Simple/SimpleRules.as':
    [19:48:07] Script: Type 'Vec2f[]' doesn't support the indexing operator
    [19:48:07]         [line 61 char 22]         return spawns[ Random( spawns.length ) ];
    [19:48:07]         in file 'Rules/Simple/SimpleRules.as':
    [19:48:07] Loading rules Rules/TDM/gamemode.cfg
    [19:48:07] Loading game rules from Rules/TDM/gamemode.cfg...
    [19:48:07] Loaded team 0 'Blue Team'
    [19:48:07] Loaded team 1 'Red Team'
    [19:48:07] Loading script Rules/TDM/Scripts/TDM.as
    [19:48:07] Script: Compiling void TDMCore::AddPlayer(CPlayer@, uint8 = 0, string = "")
    [19:48:07] Script: No conversion from 'Random@&' to 'int' available.
    [19:48:07]         [line 397 char 106]         TDMPlayerInfo p(player.getUsername(), getSmallerTeam(), player.isBot() ? "knight" : (Random(512) >= 256 ? "knight" : "archer") );
    [19:48:07]         in file 'Rules/TDM/Scripts/TDM.as':
    [19:48:07] Script: Compiling void TDMCore::SpawnPowerups()
    [19:48:07] Script: No conversion from 'Random@&' to 'int' available.
    [19:48:07]         [line 538 char 52]         if (getGameTime() % 200 == 0 && Random(12) == 0) {
    [19:48:07]         in file 'Rules/TDM/Scripts/TDM.as':
    [19:48:07] Loading script Rules/TDM/Scripts/TDM_Interface.as
    [19:48:07] Loading rules Rules/WAR/gamemode.cfg
    [19:48:07] Loading game rules from Rules/WAR/gamemode.cfg...
    [19:48:07] Loaded team 0 'Blue Team'
    [19:48:07] Loaded team 1 'Red Team'
    [19:48:07] Loading script Rules/WAR/Scripts/WAR_Interface.as
    [19:48:08] Initializing Game Script
    [19:48:08] Server created on 0:50301 (BUILD 1180)
    [19:48:08] Server is identified as to the API as 174.101.108.116
    [19:48:08] Checking is server modded...
    [19:48:08] File differs from standard version Entities/Characters/Archer/ArcherAnim.as
    [19:48:08] **** This is a modded server; it will be filtered in the browser for players with 'modded servers' unchecked ****
    [19:48:08] Attempting mod verification
    [19:48:08] CModVerify::verifyMods failed as there are no active mods
    [19:48:08] Whitelist inactive.
    [19:48:08] Config file not found '../Security/blacklist.cfg'
    [19:48:08] Loading blacklist from Base/../Security/blacklist.cfg
    [19:48:08] Loading blacklist failed - file missing or corrupt. A blank blacklist file will be generated for you.
    [19:48:08] Config file not found '../Security/ignorelist.cfg'
    [19:48:08] Loading ignorelist from Base/../Security/ignorelist.cfg
    [19:48:08] Loading ignorelist failed - file missing or corrupt. A blank ignorelist file will be generated for you.
    [19:48:08] Config file not found '../Security/seclevs.cfg'
    [19:48:08] Loading security levels from Base/../Security/seclevs.cfg
    [19:48:08] Loading default security levels
    [19:48:08] Loading game rules from Rules/CTF/gamemode.cfg...
    [19:48:08] Loaded team 0 'Blue Team'
    [19:48:08] Loaded team 1 'Red Team'
    [19:48:08] No maps loaded in map cycle
    [19:48:08] Unknown map file extension in file  (extension .)
    
    [19:48:08] Generating map from seed 666; size 32768 bytes
    [19:48:08] Restarting rules script: Rules/CTF/Scripts/CTF.as
    [19:48:08] CTF: Blue spawn added
    [19:48:08] CTF: Red spawn added
    [19:48:08] CTF: Blue flag added
    [19:48:08] CTF: Red flag added
    
    [19:48:08] Script error: Rules init not exectued
    [19:48:08] Script error: Rules init not exectued
    [19:48:08] Script error: Rules init not exectued
    [19:48:08] Script error: Rules init not exectued
    [19:48:08] Script error: Rules init not exectued.... about 15 more times
    
    [19:48:12] NO PLAYERS - SERVER PAUSED (to change this behaviour set /sv_canpause 0
    [19:53:42] Checking if update available
    --- Double Post Merged, Jul 19, 2014 ---
    Oh and when I do join my server all I get is this, no spawning or anything Capture.PNG
     
    Last edited by a moderator: Jul 19, 2014
  5. jackitch

    jackitch :(){ :|: & };: Global Moderator Donator Tester
    1. SharSharShar - [SHARK]

    Messages:
    249
    Can you post your WAR.as file and can you note what you changed? There's something amiss that you changed in the file which is causing probably 90% of those errors.
     
  6. -SWiTCH-

    -SWiTCH- Builder Stabber

    Messages:
    9
    Never mind forget it. I re-install entire game itself every server I got on did what I posted above, with the a fresh new KAG folder I think I won't run into this problem again.
    Thanks anyway jack ::):
     
  7. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    If you have this problem once later, better just starting forceupdate.bat.