Page 44 of 60 FirstFirst ... 34 42 43 44 45 46 54 ... LastLast
Results 431 to 440 of 599

Thread: SAPP

  1. #431
    Junior Member
    Join Date
    Apr 2013
    Posts
    8

    Re: SAPP

    Ok so I am new to SAPP. I am setting up my first server and after having set up several Gandanur/Phasor servers didn't find it too much of a challenge... most difficult part was grasping the logic of some of the command language and getting the syntax correct. Done, up and running good to go... now I just have a couple of hopefully easy questions.

    Admins.... When doing an Admin add (and for reference I am on 1.09 so everything is v2) it adds the user as an admin and creates the entry in the admins.txt file but it puts it this format - halo_player_name:cd_hash:admin_level.

    I understand that format/context but where does the password get saved for that user? Is there not a way to add an admin user manually by editing the text file directly?

    and in sticking with a similar question... (I haven't tested everything yet so this may be a stupid question) does that user/password created allow standard rcon access the old way in addition to the text commands?

    I am trying to prevent having a single/standard rcon password at the server level and want everything hash based as with my other servers.

    And last but not least is the users.txt file obsolete now with this latest version of SAPP? In looking for answers to my questions above I ran across an earlier SAPP thread that discussed using the users.txt file for the admins but still did not see how that worked as in where the password was stored and what not. If the users.txt serves a purpose... what is it?

    Thanks ahead of time for anyone with any answers and I also apologize ahead of time if these questions have been covered previously or are just in general silly to some of you... I looked for answers in various ways/formats but never could find anything definitive on these pieces/parts.

    Thanks!

    Ass

    EDIT - Forgot to mention I am running this on Halo PC instead of CE.. not sure if that makes a difference but I did notice some of the commands listed specify for CE only so thought I would throw it out there.
    Last edited by anasshole; April 2nd, 2013 at 05:04 PM. Reason: Left off a piece of info

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

    Re: SAPP

    There are 2 admin types:
    V1 admins: the "original" method: stored in the users.txt, and they identified by their cd-key hash, with this you only can add players with valid cd-key. They can use the commands via chat. If you specified sapp_rcon 1 in the init, they, and only they can access to the rcon with the rcon password you specified with sv_rcon password ****. So basically, without this command anyone who knows the password can use rcon, with this command even if someone knows the password can't use rcon if he isn't in the v1 admin list.
    V2 admins: the "new" method: stored in the admins.txt, this option is for players who have no valid cd-key, they are identified by their name + password. If they want to use commands from the chat, first they have to login in the chat with their password, with /login ****, or they can use the rcon with their password.

    Both in chat and rcon they can use all command that their privilege/admin level allows.

    Halo PC version has almost all of the CE commands except some that loses sense cuz the lack of CE maps etc.

  3. #433
    Junior Member
    Join Date
    Apr 2013
    Posts
    8

    Re: SAPP

    I tested it last night finally and found that you can use the password assigned via the admin add command in the normal rcon along with chat after logging in. That makes sense about the users.txt file and from what I found when searching I sort of thought it was for the older v1 admins but wanted to make certain.

    So, where does it store the player's password? The admins.txt file has players halo name, CD hash, and admin level but no password. Where does that password get stored? And I assume since the CD hash gets stored in the admins.txt someone else cannot login with my password or use standard rcon correct?

    I am not using a specified rcon password at all in my init.txt (either one) and I do have sapp_rcon 1 set. I don't like have rcon passwords set that anyone can use if they know it, I like to keep it hash based.

    Thanks for the info, I appreciate it.

    Ass

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

    Re: SAPP

    Read my post again. V2 admins -> admins.txt -> name + password = that's not the cd-key hash since why would I store their invalid hash, that's the md5 hash of the password.

  5. #435
    Junior Member
    Join Date
    Apr 2013
    Posts
    8

    Re: SAPP

    OK I see,... I completely misunderstood what you were saying.

    So does that mean that if I entered the server with a different name than I used when I added myself as an admin I couldn't login with my password? Or is that v2 admin password just there for anyone to login with and use if they know it since it isn't based on CD Hash?

    In looking at the structure for the v1 hash admins the commands and files do not list/show a password being created... if I add a v1 admin, how is the password used? Do I have to also put them in the admins.txt file to store the password?

    Sorry for the silly questions and I appreciate you taking the time to assist.

    Ass

    EDIT - Ok, I had another player test trying to login with my password and it told them they couldn't so from a v2 admin perspective the only question I have remaining is if I enter the server with a different name other than the one I used when adding myself as an admin will it work or do I have to use the exact specific name listed in the admins.txt file? Essentially in order to use that user/password combo the player has to have the exact matching name and know the password?

    This leaves only the v1 admin question of how/where is their password or is the only password when using v1 admin commands using the sv_rcon_password command... it just gets locked down to user hashes based on the users.txt file?

    And I found one more question to ask - when setting up the events file, does it support multiple arguments.. say like $kills<$deaths>50? or is it $deaths>$kills;$deaths>50? I tried both those methods/syntax and the command runs as soon as $deaths becomes greater than $kills regardless of the value of $deaths.

    EDIT Again - OK... got all the admin stuff taken care of. Trial and error testing I figured it all out as for levels, v1/v2 and rcon. One more question.. I noticed in rcon sv_Players does not work, it has to use pl... is that by design or did I F something up?

    and I guess outside that the only remaining question I have is above on the multiple arguments for events...

    thanks!

    Ass
    Last edited by anasshole; April 5th, 2013 at 09:18 AM. Reason: UPDATE

  6. #436

    Re: SAPP

    Quote Originally Posted by sehe View Post
    Yes it has so many feature that Sapp doesn't, like... uhm... hmmmm......

    Anyway, use OS then and leave this topic clean, so everyone will be happy.
    you dont understand english good do you sehe??? i mean the post i posted all boils down to SAPP. i wanted to make a OS server using SAPP...so much for being a fan of sapp, cant get no help from here.

    instead of just pointing me in the right direction you can find time to be ignorant and cynical.

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

    Re: SAPP

    Quote Originally Posted by Crenshaw View Post
    you dont understand english good do you sehe??? i mean the post i posted all boils down to SAPP. i wanted to make a OS server using SAPP...so much for being a fan of sapp, cant get no help from here.

    instead of just pointing me in the right direction you can find time to be ignorant and cynical.
    I can't imagine that SAPP and OS server would play nicely. Even if they do now, they likely won't in the future; they're two different mods.

    If you want to try it, you'll likely need to use the strings.dll mod for SAPP rather than the modified .exe. I haven't tried though, so I can't tell you what'll happen.

  8. #438

    Re: SAPP

    Quote Originally Posted by Btcc22 View Post
    I can't imagine that SAPP and OS server would play nicely. Even if they do now, they likely won't in the future; they're two different mods.

    If you want to try it, you'll likely need to use the strings.dll mod for SAPP rather than the modified .exe. I haven't tried though, so I can't tell you what'll happen.

    thank you for your response Btcc22.

  9. #439

    Re: SAPP

    I still think V2 admins should force newly created admins to change their password when they first log in. That way the main server admins don't need to know everyones password(s) or ask for them, they just create a temporary one that the new admin changes on login.

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

    Re: SAPP

    Question:

    I want to spawn a sniper rifle at the bases of Icefield.

    So I create the following command in commands.txt
    Code:
    icesnipe 'say * "DEBUG: Sniper spawned";spawn weap "weapons\sniper rifle\sniper rifle" icebluebase; spawn weap "weapons\sniper rifle\sniper rifle" iceredbase; w8 30; despawn g 0;despawn g 1;wait 50;icesnipe' 4
    Add this in events.txt
    Code:
    event_start $map:icefields 'icesnipe'
    And locations.txt
    Code:
    icefields:iceredbase:21.017452 -13.972477 0.000000
    icefields:icebluebase:-72.007332 76.430954 0.000000
    Now my problem is that the event "icesnipe" doesn't stop when a new map is loaded.

    So I would need an eventstop command like so:
    Code:
    event_end $map:icefields 'eventstop 9'
    Possible?

Thread Information

Users Browsing this Thread

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