Page 37 of 60 FirstFirst ... 27 35 36 37 38 39 47 ... LastLast
Results 361 to 370 of 599

Thread: SAPP

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

    Re: SAPP

    The 4 makes the commands only accessible by level 4 admins.

    For example these commands are available for level 3 admins too:
    Code:
    maxplayers #n 'sv_maxplayers #n;say * "Server maxed to #n"' 3
    switch #n 'st #n;say * "Player #n was switched to the opposite team"' 3

  2. #362

    Re: SAPP

    Oh, I just use the setcmd thing in my sapp init for all of that.

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

    Re: SAPP

    Can I request the variable $password? It will tell you wether or not the server is passworded.

    Because if someone forgets to remove the password from your server you could do a simple if $password=1 & $players=0 w8 300 if $password=1 & $players=0 do sv_password "" thingy with the event system =)

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

    Re: SAPP

    Bug Report:

    If you spawn a ghost in ratrace or any other map that doesn't have any vehicle spawns the server will crash when the ghost wants to respawn
    Can you please fix that. I want to drive around in ratrace =)

  5. #365
    Junior Member
    Join Date
    Nov 2011
    Posts
    12

    Re: SAPP

    I'd think you could set the vehicle respawn time to "never" to solve that problem. Or, despawn it when you get out...

    Rob

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

    Re: SAPP

    Here is a usefull command if you play the map sneak alot

    Code:
    eject #n 'rider_ejection #n;say * "rider_ejection set to #n"' 4
    Because of Sneak's snowhogs the driver ejection was disabled by the mapmaker. Sadly it stays disabled even if you change to another map. Using this command will enable the ejection again like so: /eject 1

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

    Re: SAPP

    Yo, I have exams so I don't really have time for these atm. sanni that's a Halo bug, if you spawn vehicles to map with no vehicle spawn point the server will crash. But as it was mentioned by Rob, setting the vehicle respawn time to "never" should fix it. And 'me' + '#n' should work at the most of case, but only those commands have player expressions which has "player_expression" as first argument, so not like spawn.
    Oh and for that sv_password thing... I'm just using an event_leave $pn=0 'sv_password ""' to reset the password when the last player leaves (event leave doesn't get executed at new game when the players just leave and rejoin). Or you can use event_leave $pn=0 'reload' to reset all server settings to "default".

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

    Re: SAPP

    Thanks, will use the event_leave reload command. Good luck for your exams

    Here is some other bug I noticed:
    It seems that betray events get executed once when the betray happens and a second time when a new map loads if saving scores is enabled.

    If have this team-killer-education-system (xD) set up:
    Code:
    event_tk $mode!:cbctf $tk=1 'say $n "Please do not betray!"'
    event_tk $mode!:cbctf $tk=2 'say $n "Last personal warning before kick!"'
    event_tk $mode!:cbctf $tk=3 'say * "$name was executed for killing team mates!"; kill $n'
    event_tk $mode!:cbctf $tk=4 'say * "$name will be kicked for betraying!"; w8 3; sv_kick $n'
    event_tk $mode!:cbctf $tk=5 'say $n "Rejoining does not reset your betray count"'
    event_tk $mode!:cbctf $tk=6 'say * "$name was kicked for betraying AGAIN!"; w8 3; sv_kick $n'
    event_tk $mode!:cbctf $tk=7 'say $n "Last personal warning before ban!"; kill $n'
    event_tk $mode!:cbctf $tk=8 'say * "$name will soon be banned for betraying!"'
    Tk ban is set to 9. It works very well and some stop betraying after the second kick ;D

    So now for example a player tk's 4 times. The server kicks him. He rejoins, which is fine by me. His tk count is ofc still 4 like it should be. Now a new map loads and he gets automaticly kicked again about a second after he joined the new map.
    He shouldn't get kicked again. It seems to me like the event system goes through all events on map load but ignores wether or not the event actually just took place now or some minutes ago.
    Last edited by sanni; January 23rd, 2013 at 07:00 PM.

  9. #369
    Junior Member
    Join Date
    Nov 2011
    Posts
    12

    Re: SAPP

    Quote Originally Posted by Malarkey View Post
    I tried using the new strings.dll with the original haloceded.exe and when I go to start the server I get an error message: "Strings.dll is missing" (with the full path). The behavior is identical whether I use your haloceded.exe or the original. As soon as I put the original Strings.dll back in the folder I am able to start the server again. Is there another required file? Am I missing a step for using your strings.dll?
    So I figured out this problem as well. I noticed that the original Strings.dll is capitalized while the one I downloaded from http://sapp.xgclan.com/sapp/downloads/strings.dll is lowercase. Windows isn't case sensitive so this shouldn't matter, but renaming SAPP's "strings.dll" to "Strings.dll" solves the problem.

    Rob

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

    Re: SAPP

    Another thing:

    How do I pause the mapcycle?
    For example I wanna mix. So I put /map sidewinder cbctf, after the game is over the mapcycle continous automaticly instead of just reloading Sidewinder again. I would like to prevent the mapcycle from starting after the map is played.

    There is mapcycle_begin but is there also mapcycle_stop?

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 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
  •