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

Tickets 1.2.3

Adds tickets to CTF, each team gets to spawn only a specified number of times

  1. cameron

    cameron THD Team THD Team Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    77
    cameron1010 submitted a new resource:

    Tickets - Adds tickets to CTF, each team gets to spawn only a specified number of times

    Read more about this resource...
     
    Gurin likes this.
  2. cameron

    cameron THD Team THD Team Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    77
    Gurin likes this.
  3. cameron

    cameron THD Team THD Team Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    77
    Gurin likes this.
  4. bunnie

    bunnie Haxor Tester

    Messages:
    1,319
    @cameron1010, help, i tried to host it and all works except archers can fly when they get at trees, it's an old bug from old build, i forgot what build was it, please fix it!

    @edit: it also has peeople going through red wall
     
  5. cameron

    cameron THD Team THD Team Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    77
    Gurin likes this.
  6. cameron

    cameron THD Team THD Team Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    77
    Gurin and PUNK123 like this.
  7. Shadowblitz16

    Shadowblitz16 Ballista Bolt Thrower

    Messages:
    158
    this keeps giving me estimated spawn time (never) is there a reason behind this?

    EDIT: this also doesn't compile on localhost.
    Code:
    [17:30:59] Rebuilding script: tickets
    [17:30:59] Script: likely Missing ';'
    [17:30:59]         [line 26 char 28]            this.Sync("blueTickets", true);
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: Identifier 'RespawnSystem' is not a data type
    [17:30:59]         [line 32 char 36]            numTickets=this.get_s16("redTick
    ets");
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: Shared type 'RulesCore' doesn't match the original declaratio
    n in other module
    [17:30:59]         [line 32 char 2]             numTickets=this.get_s16("redTick
    ets");
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: Identifier 'BaseTeamInfo' is not a data type
    [17:30:59]         [line 73 char 2]                     if(isPlayersLeft(this, t
    eamNum)) return false;
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: Shared type 'RulesCore' doesn't match the original declaratio
    n in other module
    [17:30:59]         [line 73 char 2]                     if(isPlayersLeft(this, t
    eamNum)) return false;
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: likely Missing ';'
    [17:30:59]         [line 81 char 2] }
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: likely Missing ';'
    [17:30:59]         [line 81 char 2] }
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: likely Missing ';'
    [17:30:59]         [line 81 char 2] }
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: likely Missing ';'
    [17:30:59]         [line 81 char 2] }
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: Identifier 'PlayerInfo' is not a data type
    [17:30:59]         [line 67 char 30]                    this.SetTeamWon( 0 ); //
    game over!
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: likely Missing ';'
    [17:30:59]         [line 81 char 28] }
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: likely Missing ';'
    [17:30:59]         [line 81 char 2] }
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: likely Missing ';'
    [17:30:59]         [line 81 char 16] }
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: likely Missing ';'
    [17:30:59]         [line 17 char 2]     s16 numTickets;
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: likely Missing ';'
    [17:30:59]         [line 17 char 16]    s16 numTickets;
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: Identifier 'BaseTeamInfo' is not a data type
    [17:30:59]         [line 19 char 2]     if(team==0){
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: Shared type 'RulesCore' doesn't match the original declaratio
    n in other module
    [17:30:59]         [line 19 char 18]    if(team==0){
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: Identifier 'RespawnSystem' is not a data type
    [17:30:59]         [line 21 char 2]             numTickets=this.get_s16("blueTic
    kets");
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Script: Shared type 'RulesCore' doesn't match the original declaratio
    n in other module
    [17:30:59]         [line 21 char 17]            numTickets=this.get_s16("blueTic
    kets");
    [17:30:59]         in file '../Mods/SB16_MiniCTF/Rules/CommonScripts/Tickets/Tic
    kets.as'
    [17:30:59] Received script build compile error: tickets
    [17:30:59] client_RecdResources_Scripts: error
    
    
    EDIT2: found another bug the makes the win message change sides if the winning team loses all tickets before the next map is loaded.
     
    Last edited: Aug 19, 2017
  8. cameron

    cameron THD Team THD Team Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    77
    Hi,
    Re: estimated spawn time (never) - I don't know what is causing this, I tested the mod today and couldn't reproduce it, perhaps there is some compatibility issues with the other mods? Do you have any more information about this problem?

    Re: localhost - When I test it on my own computer I run dedicatedserver.bat and also launch the game normally I can then direct connect to the server, I don't know how localhost differs from this method so I don't know what the issue is.

    Re: win message - If I understand this correctly I think I can fix this bug by making it check the game isn't already over when setting the game over message, so I will do that soon.
     
    Gurin and Fuzzle like this.
  9. Shadowblitz16

    Shadowblitz16 Ballista Bolt Thrower

    Messages:
    158
    ok thankyou I will post my mod if I run into the estimated spawn time but again.

    @cameron1010 yes the respawn bug is still there.
    it seems to happen when there is only one player and on the next match (if he kills himself)
    if he is auto assigned to the same team as he was on previous match.

    EDIT: here is a link to my mod looks like I am having issues with my ticket count as well.
    https://drive.google.com/open?id=0B16wNFPwi_2kZ213WmtHZ2ZXVTQ
     
    Last edited: Aug 23, 2017
  10. cameron

    cameron THD Team THD Team Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    77
    cameron1010 updated Tickets with a new update entry:

    Fix for changing winning team

    Read the rest of this update entry...
    --- Double Post Merged, Aug 27, 2017, Original Post Date: Aug 27, 2017 ---
    Have been working with Shadowblitz to find the cause of "estimated spawn time (never)" and found that it is a bug in the vanilla game which happens when the build time is set to 0. (its caused by the spawnTime variable being uninitialised when players are added to spawn at the start of the map(the config file isn't loaded until afterwards))
    Just set a build time of 1 or more as an easy workaround.
     
    Gurin likes this.
  11. cameron

    cameron THD Team THD Team Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    77
    cameron1010 updated Tickets with a new update entry:

    Fixed compile errors on localhost

    Read the rest of this update entry...
     
    Gurin likes this.
  12. kinokino7

    kinokino7 Shark Slayer

    Messages:
    3
    i used this mod.
    and stand up dedocatedserver.bat
    it say many same name dialog.
    do i delite this files in base file?
    [15:32:53] Files have the same name! (rename for safety) Rules/TDM/team1.cfg - R
    ules/CTF/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/TDM/team1.cfg - R
    ules/Challenge/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team1.cfg
    - Rules/WAR/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team1.cfg
    - Rules/TDM/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team1.cfg
    - Rules/Sandbox/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team1.cfg
    - Rules/CTF/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team1.cfg
    - Rules/Challenge/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Sandbox/team1.cfg
    - Rules/WAR/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Sandbox/team1.cfg
    - Rules/TDM/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Sandbox/team1.cfg
    - Rules/Simple/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Sandbox/team1.cfg
    - Rules/CTF/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Sandbox/team1.cfg
    - Rules/Challenge/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team1.cfg - R
    ules/WAR/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team1.cfg - R
    ules/TDM/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team1.cfg - R
    ules/Simple/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team1.cfg - R
    ules/Sandbox/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team1.cfg - R
    ules/Challenge/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team1.c
    fg - Rules/WAR/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team1.c
    fg - Rules/TDM/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team1.c
    fg - Rules/Simple/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team1.c
    fg - Rules/Sandbox/team1.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team1.c
    fg - Rules/CTF/team1.cfg
    [15:32:53] Loaded team 0 'Blue Team'
    [15:32:53] Files have the same name! (rename for safety) Rules/WAR/team2.cfg - R
    ules/TDM/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/WAR/team2.cfg - R
    ules/Simple/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/WAR/team2.cfg - R
    ules/CTF/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/WAR/team2.cfg - R
    ules/Challenge/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/TDM/team2.cfg - R
    ules/WAR/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/TDM/team2.cfg - R
    ules/Simple/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/TDM/team2.cfg - R
    ules/CTF/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/TDM/team2.cfg - R
    ules/Challenge/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team2.cfg
    - Rules/WAR/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team2.cfg
    - Rules/TDM/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team2.cfg
    - Rules/CTF/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team2.cfg
    - Rules/Challenge/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team2.cfg - R
    ules/WAR/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team2.cfg - R
    ules/TDM/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team2.cfg - R
    ules/Simple/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team2.cfg - R
    ules/Challenge/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team2.c
    fg - Rules/WAR/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team2.c
    fg - Rules/TDM/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team2.c
    fg - Rules/Simple/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team2.c
    fg - Rules/CTF/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/WAR/team2.cfg - R
    ules/TDM/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/WAR/team2.cfg - R
    ules/Simple/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/WAR/team2.cfg - R
    ules/CTF/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/WAR/team2.cfg - R
    ules/Challenge/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/TDM/team2.cfg - R
    ules/WAR/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/TDM/team2.cfg - R
    ules/Simple/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/TDM/team2.cfg - R
    ules/CTF/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/TDM/team2.cfg - R
    ules/Challenge/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team2.cfg
    - Rules/WAR/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team2.cfg
    - Rules/TDM/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team2.cfg
    - Rules/CTF/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Simple/team2.cfg
    - Rules/Challenge/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team2.cfg - R
    ules/WAR/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team2.cfg - R
    ules/TDM/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team2.cfg - R
    ules/Simple/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/CTF/team2.cfg - R
    ules/Challenge/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team2.c
    fg - Rules/WAR/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team2.c
    fg - Rules/TDM/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team2.c
    fg - Rules/Simple/team2.cfg
    [15:32:53] Files have the same name! (rename for safety) Rules/Challenge/team2.c
    Kazaco: Use a spoiler for long text pls
     
    Last edited by a moderator: Feb 19, 2018
  13. cameron

    cameron THD Team THD Team Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    77
    Those warnings are not related to the mod and still happen when no mods are added. You do not need to delete those files, they do not break the server. It should still run fine (unless there is some other error).
     
    Gurin and kinokino7 like this.