Page 46 of 60 FirstFirst ... 36 44 45 46 47 48 56 ... LastLast
Results 451 to 460 of 599

Thread: SAPP

  1. #451
    Senior Member stunt_man's Avatar
    Join Date
    Jan 2007
    Posts
    248

    Re: SAPP

    Omg lol that's it?

    Thanks!

    Gonna try this tonight. Also, does the amount of events affect network performance? Probably a silly question, but I'd like to be sure before I go completely apeshit with this awesome feature (custom gametypes!!!!!).

    And is there really no way to make the server continue on a preset mapcycle (specifically, with stock maps) if no votes are cast for the next map? It would really help hosts with some custom maps in the voting... In a perfect world everyone would have HAC or OS to download their maps for them... Sigh...

  2. #452
    Senior Member sanni's Avatar
    Join Date
    May 2010
    Location
    SPARTAN
    Posts
    117

    Re: SAPP

    Speaking of going ape shit xD


    I want to make a gametype where you get another weapon for each kill like in CSS/COD. But I can't get it to work. Does anyone wanna help me? Sehe?


    Here is what I got so far:


    events.txt
    Code:
    event_start $map:bloodgulch $mode:sp 'scrim_mode 0;w8 5;say * "Gun Game. Kill an enemy to get another weapon!"'
    
    
    event_kill $map:bloodgulch $mode:sp $kills=1 'disarm $n; giveneedler $n'
    event_kill $map:bloodgulch $mode:sp $kills=2 'disarm $n; givear $n'
    event_kill $map:bloodgulch $mode:sp $kills=3 'disarm $n; giveprifle $n'
    event_kill $map:bloodgulch $mode:sp $kills=4 'disarm $n; giveshotgun $n'
    event_kill $map:bloodgulch $mode:sp $kills=5 'disarm $n; giveflamer $n'
    event_kill $map:bloodgulch $mode:sp $kills=6 'disarm $n; givepistol $n'
    event_kill $map:bloodgulch $mode:sp $kills=7 'disarm $n; givesnipe $n'
    event_kill $map:bloodgulch $mode:sp $kills=8 'disarm $n; giverox $n'
    event_kill $map:bloodgulch $mode:sp $kills=9 'disarm $n; givepistol $n'
    event_kill $map:bloodgulch $mode:sp $kills=10 'disarm $n; givefrg $n'
    event_kill $map:bloodgulch $mode:sp $kills=11 'disarm $n; givenades $n'
    event_kill $map:bloodgulch $mode:sp $kills=12 'disarm $n; givepistol $n'
    event_kill $map:bloodgulch $mode:sp $kills=13 'disarm $n; givesticky $n'
    event_kill $map:bloodgulch $mode:sp $kills=14 'disarm $n; giveppistol $n'
    
    
    event_spawn $map:bloodgulch $mode:sp $kills=0 'disarm $n; givepistol $n'
    event_spawn $map:bloodgulch $mode:sp $kills=1 'disarm $n; giveneedler $n'
    event_spawn $map:bloodgulch $mode:sp $kills=2 'disarm $n; givear $n'
    event_spawn $map:bloodgulch $mode:sp $kills=3 'disarm $n; giveprifle $n'
    event_spawn $map:bloodgulch $mode:sp $kills=4 'disarm $n; giveshotgun $n'
    event_spawn $map:bloodgulch $mode:sp $kills=5 'disarm $n; giveflamer $n'
    event_spawn $map:bloodgulch $mode:sp $kills=6 'disarm $n; givepistol $n'
    event_spawn $map:bloodgulch $mode:sp $kills=7 'disarm $n; givesnipe $n'
    event_spawn $map:bloodgulch $mode:sp $kills=8 'disarm $n; giverox $n'
    event_spawn $map:bloodgulch $mode:sp $kills=9 'disarm $n; givepistol $n'
    event_spawn $map:bloodgulch $mode:sp $kills=10 'disarm $n; givefrg $n'
    event_spawn $map:bloodgulch $mode:sp $kills=11 'disarm $n; givenades $n'
    event_spawn $map:bloodgulch $mode:sp $kills=12 'disarm $n; givepistol $n'
    event_spawn $map:bloodgulch $mode:sp $kills=13 'disarm $n; givesticky $n'
    event_spawn $map:bloodgulch $mode:sp $kills=14 'disarm $n; giveppistol $n'
    
    
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=0 'disarm $n; givepistol $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=1 'disarm $n; giveneedler $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=2 'disarm $n; givear $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=3 'disarm $n; giveprifle $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=4 'disarm $n; giveshotgun $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=5 'disarm $n; giveflamer $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=6 'disarm $n; givepistol $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=7 'disarm $n; givesnipe $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=8 'disarm $n; giverox $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=9 'disarm $n; givepistol $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=10 'disarm $n; givefrg $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=11 'disarm $n; givenades $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=12 'disarm $n; givepistol $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=13 'disarm $n; givesticky $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=14 'disarm $n; giveppistol $n'

    commands.txt
    Code:
    disarm #n 'nades #n 0 1;nades #n 0 2;wdel #n' 4
    givesticky #n 'nades #n 2 2' 4
    givenades #n 'nades #n 2 1' 4
    giverox #n 'spawn weap "weapons\rocket launcher\rocket launcher" #n; wadd #n' 4
    givesnipe #n 'spawn weap "weapons\sniper rifle\sniper rifle" #n; wadd #n' 4
    givefrg #n 'spawn weap "weapons\plasma_cannon\plasma_cannon" #n; wadd #n' 4
    giveshotgun #n 'spawn weap "weapons\shotgun\shotgun" #n; wadd #n; ammo #n 24' 4
    givepistol #n 'spawn weap "weapons\pistol\pistol" #n; wadd #n' 4
    giveneedler #n 'spawn weap "weapons\needler\mp_needler" #n; wadd #n' 4
    giveprifle #n 'spawn weap "weapons\plasma rifle\plasma rifle" #n; wadd #n' 4
    givear #n 'spawn weap "weapons\assault rifle\assault rifle" #n; wadd #n' 4
    giveflamer #n 'spawn weap "weapons\flamethrower\flamethrower" #n; wadd #n' 4
    giveppistol #n 'spawn weap "weapons\plasma pistol\plasma pistol" #n; wadd #n' 4

  3. #453
    Senior Member stunt_man's Avatar
    Join Date
    Jan 2007
    Posts
    248

    Re: SAPP

    Did you try it without the custom commands?

    Ill try to make a gametype like that either tonight or tomorrow, ill try not to base it off yours so we can see where the issue is :-D

    EDIT: What is the $type argument? Never seen it?

    And what exactly isn't working in the gametype? The whole thing? Spawning with the right weapon? Pickups?
    Last edited by stunt_man; April 18th, 2013 at 11:49 AM.

  4. #454
    {XG}Clan founder {XG}Gijs007's Avatar
    Join Date
    Sep 2007
    Location
    Netherland
    Posts
    181

    Re: SAPP

    Quote Originally Posted by stunt_man View Post
    Gonna try this tonight. Also, does the amount of events affect network performance? Probably a silly question, but I'd like to be sure before I go completely apeshit with this awesome feature (custom gametypes!!!!!).
    Nope, it does affect cpu usage slightly and if you have a crappy host then the server could start to lag duo to the higher cpu usage.
    However you should be fine unless your host does a lot of over provisioning, but you probably would have had lag issues before if that is the case, so more events isn't going to cause any lag.

    Quote Originally Posted by sanni View Post
    Speaking of going ape shit xD


    I want to make a gametype where you get another weapon for each kill like in CSS/COD. But I can't get it to work. Does anyone wanna help me? Sehe?


    Here is what I got so far:


    events.txt
    Code:
    event_start $map:bloodgulch $mode:sp 'scrim_mode 0;w8 5;say * "Gun Game. Kill an enemy to get another weapon!"'
    
    
    event_kill $map:bloodgulch $mode:sp $kills=1 'disarm $n; giveneedler $n'
    event_kill $map:bloodgulch $mode:sp $kills=2 'disarm $n; givear $n'
    event_kill $map:bloodgulch $mode:sp $kills=3 'disarm $n; giveprifle $n'
    event_kill $map:bloodgulch $mode:sp $kills=4 'disarm $n; giveshotgun $n'
    event_kill $map:bloodgulch $mode:sp $kills=5 'disarm $n; giveflamer $n'
    event_kill $map:bloodgulch $mode:sp $kills=6 'disarm $n; givepistol $n'
    event_kill $map:bloodgulch $mode:sp $kills=7 'disarm $n; givesnipe $n'
    event_kill $map:bloodgulch $mode:sp $kills=8 'disarm $n; giverox $n'
    event_kill $map:bloodgulch $mode:sp $kills=9 'disarm $n; givepistol $n'
    event_kill $map:bloodgulch $mode:sp $kills=10 'disarm $n; givefrg $n'
    event_kill $map:bloodgulch $mode:sp $kills=11 'disarm $n; givenades $n'
    event_kill $map:bloodgulch $mode:sp $kills=12 'disarm $n; givepistol $n'
    event_kill $map:bloodgulch $mode:sp $kills=13 'disarm $n; givesticky $n'
    event_kill $map:bloodgulch $mode:sp $kills=14 'disarm $n; giveppistol $n'
    
    
    event_spawn $map:bloodgulch $mode:sp $kills=0 'disarm $n; givepistol $n'
    event_spawn $map:bloodgulch $mode:sp $kills=1 'disarm $n; giveneedler $n'
    event_spawn $map:bloodgulch $mode:sp $kills=2 'disarm $n; givear $n'
    event_spawn $map:bloodgulch $mode:sp $kills=3 'disarm $n; giveprifle $n'
    event_spawn $map:bloodgulch $mode:sp $kills=4 'disarm $n; giveshotgun $n'
    event_spawn $map:bloodgulch $mode:sp $kills=5 'disarm $n; giveflamer $n'
    event_spawn $map:bloodgulch $mode:sp $kills=6 'disarm $n; givepistol $n'
    event_spawn $map:bloodgulch $mode:sp $kills=7 'disarm $n; givesnipe $n'
    event_spawn $map:bloodgulch $mode:sp $kills=8 'disarm $n; giverox $n'
    event_spawn $map:bloodgulch $mode:sp $kills=9 'disarm $n; givepistol $n'
    event_spawn $map:bloodgulch $mode:sp $kills=10 'disarm $n; givefrg $n'
    event_spawn $map:bloodgulch $mode:sp $kills=11 'disarm $n; givenades $n'
    event_spawn $map:bloodgulch $mode:sp $kills=12 'disarm $n; givepistol $n'
    event_spawn $map:bloodgulch $mode:sp $kills=13 'disarm $n; givesticky $n'
    event_spawn $map:bloodgulch $mode:sp $kills=14 'disarm $n; giveppistol $n'
    
    
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=0 'disarm $n; givepistol $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=1 'disarm $n; giveneedler $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=2 'disarm $n; givear $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=3 'disarm $n; giveprifle $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=4 'disarm $n; giveshotgun $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=5 'disarm $n; giveflamer $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=6 'disarm $n; givepistol $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=7 'disarm $n; givesnipe $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=8 'disarm $n; giverox $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=9 'disarm $n; givepistol $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=10 'disarm $n; givefrg $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=11 'disarm $n; givenades $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=12 'disarm $n; givepistol $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=13 'disarm $n; givesticky $n'
    event_wpickup $map:bloodgulch $mode:sp $type=1 $kills=14 'disarm $n; giveppistol $n'

    commands.txt
    Code:
    disarm #n 'nades #n 0 1;nades #n 0 2;wdel #n' 4
    givesticky #n 'nades #n 2 2' 4
    givenades #n 'nades #n 2 1' 4
    giverox #n 'spawn weap "weapons\rocket launcher\rocket launcher" #n; wadd #n' 4
    givesnipe #n 'spawn weap "weapons\sniper rifle\sniper rifle" #n; wadd #n' 4
    givefrg #n 'spawn weap "weapons\plasma_cannon\plasma_cannon" #n; wadd #n' 4
    giveshotgun #n 'spawn weap "weapons\shotgun\shotgun" #n; wadd #n; ammo #n 24' 4
    givepistol #n 'spawn weap "weapons\pistol\pistol" #n; wadd #n' 4
    giveneedler #n 'spawn weap "weapons\needler\mp_needler" #n; wadd #n' 4
    giveprifle #n 'spawn weap "weapons\plasma rifle\plasma rifle" #n; wadd #n' 4
    givear #n 'spawn weap "weapons\assault rifle\assault rifle" #n; wadd #n' 4
    giveflamer #n 'spawn weap "weapons\flamethrower\flamethrower" #n; wadd #n' 4
    giveppistol #n 'spawn weap "weapons\plasma pistol\plasma pistol" #n; wadd #n' 4
    Just a guess but try removing the space after the ;
    for example event_kill $map:bloodgulch $mode:sp $kills=1 'disarm $n; giveneedler $n'
    should be: event_kill $map:bloodgulch $mode:sp $kills=1 'disarm $n;giveneedler $n'

    Also try changing the #n to $n:

    giveneedler #n 'spawn weap "weapons\needler\mp_needler" #n; wadd #n' 4
    giveneedler $n 'spawn weap "weapons\needler\mp_needler" $n; wadd $n' 4

    When you do that also remove the last $n from: event_kill $map:bloodgulch $mode:sp $kills=1 'disarm $n;giveneedler $n'
    Last edited by {XG}Gijs007; April 18th, 2013 at 04:20 PM.

  5. #455
    Junior Member
    Join Date
    Nov 2011
    Posts
    6

    Re: SAPP

    Halo PC SAPP keeps crashing my server. I find my server down and come back to find "Halo has crashed, blah blah blah, send an error report?". The Halo server console is still open and SAPP unloads/reloads itself or whatever and I guess continues on its way? Regardless, it crashed and none of my others servers do this with the configuration I currently have for those servers. Any ideas, suggestions, tips, questions?

  6. #456
    Senior Member sanni's Avatar
    Join Date
    May 2010
    Location
    SPARTAN
    Posts
    117

    Re: SAPP

    Feature suggestion:

    Code:
    event_end $pn<6  'mapcycle:tinycycle.txt'
    event_end $pn>5 $pn<8 'mapcycle:smallcycle.txt'
    event_end $pn>7 $pn<12 'mapcycle:midcycle.txt'
    event_end $pn>11 'mapcycle:bigcycle.txt'

  7. #457
    Senior Member Btcc22's Avatar
    Join Date
    Sep 2012
    Posts
    567

    Re: SAPP

    Quote Originally Posted by sanni View Post
    Feature suggestion:

    Code:
    event_end $pn<6  'mapcycle:tinycycle.txt'
    event_end $pn>5 $pn<8 'mapcycle:smallcycle.txt'
    event_end $pn>7 $pn<12 'mapcycle:midcycle.txt'
    event_end $pn>11 'mapcycle:bigcycle.txt'
    I've wanted this feature for the past decade.

  8. #458
    {XG}Clan founder {XG}Gijs007's Avatar
    Join Date
    Sep 2007
    Location
    Netherland
    Posts
    181

    Re: SAPP

    a mapvote function like that would be nice to

  9. #459
    Senior Member sanni's Avatar
    Join Date
    May 2010
    Location
    SPARTAN
    Posts
    117

    Re: SAPP

    I have been running a server with dynamic slots and mapcycle based on current players population and it's working great. The only problem with my current approach is that it's very possible to play the same map twice in a row.

    In the commands.txt I got my "mapcycles" set up like so:
    Code:
    small1 'sv_maxplayers 8;map carousel ss;say * "Next Map: Derelict Slayer Snipers"' 4
    .
    .
    .
    small16 'sv_maxplayers 8;map wizard tss;say * "Next Map: Wizard TeamSlayer Snipers"' 4
    
    mid1 'sv_maxplayers 12;map hangemhigh tss;say * "Next Map: HangEmHigh TeamSlayer Snipers"' 4
    .
    .
    .
    mid16 'sv_maxplayers 12;map bloodgulch caketheflag10m;say * "Next Map: Bloodgulch CTF"' 4
    
    big1 'sv_maxplayers 16;map timberland caketheflag10m;say * "Next Map: Timberland CTF"' 4
    .
    .
    .
    big16 'sv_maxplayers 16;map icefields cakephobia10m;say * "Next Map: Icefields CTF"' 4
    And then in the events.txt I switch to the next map in one of the "mapcycles" based on the current number of players:
    Code:
    event_end $mode!:cbctf $mode!:twl2v2 $mode!:twlassault $pn<8 'small$rand'
    event_end $mode!:cbctf $mode!:twl2v2 $mode!:twlassault $pn>7 $pn<12 'mid$rand'
    event_end $mode!:cbctf $mode!:twl2v2 $mode!:twlassault $pn>11 'big$rand'
    Hopefully one day we will get the
    Code:
    event_end $pn<8 'mapcycle:smallmapcycle.txt'
    command but right now I feel it's the next best thing

    Another nice addition would be arguments in the mapcycle.txt like

    Code:
    $pn>8bloodgulch:ctf
    $pn<8 beavercreek:slayer
    ratrace:ctf
    beavercreek:teamslayer
    So it would only execute certain entries of the mapcycle if the argument is valid

  10. #460
    suum cuique sehe's Avatar
    Join Date
    Aug 2011
    Location
    Hungary
    Posts
    217

    Re: SAPP

    This function is already done in 5.20 tbh, I just have to delay the release because I'm too lazy I have exams now.
    mapcycle.txt will be like this:
    map:mode:min:max

    for ex:
    bloodgulch:ctf:0:16
    hangemhigh:ctf:4:12
    ratrace:ctf:0:12
    sidewinder:ctf:8:16

    First number means the minimum required players to play the map, second is the maximum amount of players that can be in the server in order to run that option, otherwise it will be skipped. However, if no map matches the requirements simply the next one will be executed.

Thread Information

Users Browsing this Thread

There are currently 6 users browsing this thread. (0 members and 6 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •