Adminmod

DrekDrek Join Date: 2002-12-19 Member: 11165Members
I can't seem to get AdminMod working with NS. The server starts up fine with it, and I think it is active, but when I try to connect I get to the WON authentification and no further. The admin password acceptance is usually the next step but it doesn't get that far. I have tried deactivating all the plugins I am using except the standard AdminMod plugins but it didn't help. Do some of the standard AdminMod plugins not work with NS?

Comments

  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    edited December 2002
    Make sure the CS and TFC plugins are disabled (the should be by default) Here's what I'm using on my NS box, the "#" in front of the plugins are commented out and not running:

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    addons/adminmod/scripts/plugin_antiflood.amx
    addons/adminmod/scripts/plugin_gnc_filtersay1.amx
    addons/adminmod/scripts/plugin_gnc_filtersay2.amx
    addons/adminmod/scripts/plugin_base.amx
    addons/adminmod/scripts/plugin_chat.amx
    # addons/adminmod/scripts/plugin_cheat.amx
    addons/adminmod/scripts/plugin_hldsld_mapvote.amx
    addons/adminmod/scripts/plugin_message.amx
    addons/adminmod/scripts/plugin_retribution.amx
    # addons/adminmod/scripts/plugin_fun.amx
    # addons/adminmod/scripts/plugin_spawn.amx
    addons/adminmod/scripts/plugin_dale_consgreet.amx
    # addons/adminmod/scripts/plugin_teamswitch.amx
    addons/adminmod/scripts/plugin_speech.amx
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    I made a post <a href='http://www.unknownworlds.com/forums/index.php?act=ST&f=8&t=10309&st=30' target='_blank'>HERE</a> detailing the AdminMod installation. Maybe try going through that process mentally and see if there's anything you missed while doing your install.
  • DrekDrek Join Date: 2002-12-19 Member: 11165Members
    Thanks, I'll try commenting out the plugins that you suggested. As for the installation, I use Windows so I'm not sure any of the stuff in that thread applies.
  • DrekDrek Join Date: 2002-12-19 Member: 11165Members
    Well, I tried the server with just Metamod and no Adminmod and I was able to connect with no problems. As soon as I activated Adminmod I was unable to connect. I even tried Adminmod without any of the plugins loaded but I was still unable to connect. The only thing I can think is that I've got some setting in my adminmod.cfg that is interfering with NS... Any suggestions would be gratefully recieved.
  • death1death1 Join Date: 2002-11-16 Member: 8920Members
    youre probably running a linux server... mine's rh 7.2 with a clean hlds_l, ns, metamod and adminmod and my server crashes as soon as someone connects to it (right after the WON authentication)

    clanmod from <a href='http://www.unitedadmins.com' target='_blank'>http://www.unitedadmins.com</a> works fine but I'm looking at <a href='http://amx.djeyl.net' target='_blank'>http://amx.djeyl.net</a> now for an adminning solution

    there are quite a few posts in this particular forum (most from a week or 3 ago) that deal with the various adminmod issues on both platforms, windows and linux alike

    On mine... I get a very generic segmentation fault... my debug.log says absolutely nothing.

    amx looks cool.

    -d$
  • DrekDrek Join Date: 2002-12-19 Member: 11165Members
    I play my dedicated server from the same machine. It works just fine with other mods but I am wondering if there is a some sort of issue with NS that won't allow me to do that with NS and Adminmod...
  • DrekDrek Join Date: 2002-12-19 Member: 11165Members
    edited December 2002
    <!--QuoteBegin--death$+Dec 21 2002, 06:12 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (death$ @ Dec 21 2002, 06:12 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->youre probably running a linux server...<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Running my server setup on Windows XP.

    I actually did a search for Adminmod posts before I posted my problems. Most of the posts seemed to indicate that the Adminmod problems were cleared up with NS 1.03. Nobody else seemed to be having my problem. The only thing I can figure is that it has something to do with the fact that I am playing my dedicated server from the same machine.
  • DrekDrek Join Date: 2002-12-19 Member: 11165Members
    I'm guessing the problem has to do with the fact that I am trying to connect to the server using the dedicated server version. I expect I will have to wait for the next version to find a solution for this.
  • backburnbackburn Join Date: 2003-01-05 Member: 11855Members
    edited January 2003
    im having the exact same problem, ive updated metamod and everything, it segfaults on join with adminmod <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->

    any ideas would be nice <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->

    (redhat 7.3 pIII 1ghz 512mb DDR multihomed DS3)
    [DS3] Slaying Grounds - NS v1.03
  • ECA_ShocK-TroopeRECA_ShocK-TroopeR Join Date: 2002-12-24 Member: 11472Banned
    i dont run a server, but i have been sent log files from alot for nsstats, this is what i find realy funny about admin mod:

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    L 12/24/2002 - 15:25:50: [ADMIN] I couldn't figure out what to do
    L 12/24/2002 - 15:25:50: [ADMIN] I couldn't figure out what to do
    L 12/24/2002 - 15:25:51: [ADMIN] I couldn't figure out what to do
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    the servers do that alot.

    post your adminmod config file here in a code box.


    also maybe try not to log into the server
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    I also had crash problems with adminmod and NS 1.03, but then I figured out that it was something to do with the fact that I was doing a custom build of adminmod. If I run the prepackaged release then it works fine.

    This puzzles me since I've been doing my custom builds of adminmod for quite some time and the newest build i did of 2.50.50 works fine with CS but always crashes NS, so I just gave up.
  • DrekDrek Join Date: 2002-12-19 Member: 11165Members
    The contents of my adminmod.cfg file:

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->// If you are using bots with admin mod you can set this to 1
    // It will protect bots from receiving client commands which
    // would crash your server.
    // (0=disabled, 1=enabled)
    admin_bot_protection 0

    // This is the message displayed to everyone after connecting.
    admin_connect_msg "Welcome!"

    // This will produce debugging messages in your logs which can
    // be used to troubleshoot problems. Not recommended for general use.
    // (0=disabled, 1=enabled)
    admin_debug 0

    // Determines whether or not the fun commands are allowed by default.
    // If not on by default, the admin can still turn it on when wanted.
    // (0=disabled, 1=enabled)
    admin_fun_mode 0

    // Enable to get special effects with certain commands
    // like teleport or slap.
    // (0=disabled, 1=enabled)
    admin_fx 1

    // If enabled, people who are gagged (not allowed to "say") will be
    // unable to change their name while gagged
    // (0=disabled, 1=enabled)
    admin_gag_name 1

    // If enabled, people who are gagged will not be able to use
    // the say_team command.
    // (0=disabled, 1=enabled)
    admin_gag_sayteam 1

    // Makes the admin with the highest access level the only admin in power.
    // Example: if multiple admins are present, only the one with the highest
    // access level will have admin access.
    // (0=disabled, 1=enabled)
    admin_highlander 0

    // If admin_ignore_immunity is enabled, ACCESS_IMMUNITY is
    // ignored and does nothing.
    // (0=disabled, 1=enabled)
    admin_ignore_immunity 1

    // This file specifies which script plugins get loaded.  
    // It should be relative from the <mod> directory
    admin_plugin_file "addons/adminmod/config/plugin.ini"

    // The time (in seconds) during which an admin can reconnect after
    // disconnecting without resetting his password in the setinfo line.
    admin_reconnect_timeout 300

    // Message displayed to users who try to execute commands that
    // they don't have the appropriate access rights for.
    admin_reject_msg  "You do not have access to this command."

    // How often, in seconds, the repeat_message should be shown on
    // the screen during the game. Minimum value is 15 seconds.
    // So, a value of 600 = 10 minutes between messages.
    admin_repeat_freq 600

    // Message that is show to everyone on the server every
    // ten minutes by the message plugin.
    admin_repeat_msg  "This server uses AdminMod"

    // The old verbosity.  Defines how commands are announced to the players
    // clients in the form: "[ADMIN] <user> used command <command>"
    // 0=all commands announced in chat with the admin name
    // 1=all commands announced in chat, but without the admin name
    // 2=most commands not announced at all (except "cheat" commands)
    admin_quiet 2

    // This file is used to store configuration data across maps
    // and even across server restarts.
    admin_vault_file  "addons/adminmod/config/vault.ini"

    // If enabled, a hlds_ld-style map vote will automatically
    // start five minutes before the end of a map.
    // (0=disabled, 1=enabled)
    admin_vote_autostart 0

    // If set to on status (1), when a vote is in progress all
    // players will see the votes of other players as they vote.
    // (0=disable, 1=enabled)
    admin_vote_echo 0

    // Number of seconds that must elapse after start of the map,
    // or the end of another vote, before another hlds_ld-style
    // map vote can be called.
    admin_vote_freq 600

    // Controls how many times the current map can be
    // extended for thirty minutes
    admin_vote_maxextend 0

    // Percent of players who have to vote for a map to get it
    // to win a hlds_ld-style map vote.
    admin_vote_ratio 20

    // Ability to make clients execute commands
    // (0=disabled, 1=enabled)
    allow_client_exec 1

    // When set to 0, and debug is enabled, Admin Mod passwords
    // will not be logged in cleartext.
    amv_log_passwords 0

    // Private server option. If enabled, only users listed in
    // users_file or ips_file are allowed to access the server.
    // amv_private_server

    // The message displayed to users who do not get granted
    // access to a private server
    // amv_prvt_kick_message

    // The time during which an admin can recoonect to the server into
    // a *different* slot than before without loosing his admin access rights.
    // Maximum is 90 seconds.
    amv_reconnect_time 0

    // Defines the max time length in seconds of voting process.
    amv_vote_duration 30

    // Default access rights for players not in the users.ini file.
    // (See documentation for access levels and information)
    default_access 1

    // If enabled, the scripting file functions have read
    // access to files
    // (0=disabled, 1=enabled)
    file_access_read 1

    // If enabled, the scripting file functions have write
    // access to files
    // (0=disabled, 1=enabled)
    file_access_write 0

    // Declares priority IPs that are allowed to take a
    // reserved spot (if any are set up) without a password.
    ips_file 0

    // Ratio of players who must vote 'yes' to a kick for
    // it to be successful.
    kick_ratio 40

    // Ratio of players who must vote 'yes' to a map change
    // for it to be successful.
    map_ratio 20

    // List of maps people are allowed to vote for. 0 to disable.
    // Disable to enable all maps and use list from mapcycle.txt.
    maps_file 0

    // The file (relative to the <mod> dir) that
    // reserved models are loaded from. 0 to disable.
    models_file 0

    // The message shown to someone who gets kicked for
    // trying to use a reserved model.
    models_kick_msg "[ADMIN] That model is reserved on this server."

    // The message shown to someone who gets kicked for
    // trying to use a reserved nickname.
    nicks_kick_msg "[ADMIN] That name is reserved on this server."

    // Password_field...first password of the setinfo line
    // If password_field is "_pw-AdminMod", the setinfo will be
    // setinfo "_pw-AdminMod" "password-in-users.ini"
    password_field _pw-home

    // If pretty_say is enabled, centersay() fades in
    // and out and does some other tricks.
    // (0=disabled, 1=enabled)
    pretty_say 1

    // Controls how many (number) of the server's slots are reserved.  
    // This is useful only if reserve_type, below, is either 0 or 2.
    reserve_slots 0

    // Custom message given to clients trying to connect who do not have
    // a reserved slot, when no public slots are free
    reserve_slots_msg "There are no reserved slots available on the server."

    // This controls how reserve slots work on the server. See documentation.
    reserve_type 1

    // If enabled, names are compared to those who have privileges
    // with regular expressions.
    // (0=disabled, 1=enabled)
    use_regex 0

    // The file in which you define your admins, their passwords
    // and the access levels that they are assigned to.
    users_file "addons/adminmod/config/users.ini"

    // The minimum number of seconds allowed between votes
    // called with the vote() (admin_vote functions) scripting function.
    // If 0 or disabled, the vote() scripting function is disabled.
    vote_freq 180

    // Location of word filter file. 0 to disable, or something
    // like "wordlist.txt" if enabled
    words_file 0<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
  • ECA_ShocK-TroopeRECA_ShocK-TroopeR Join Date: 2002-12-24 Member: 11472Banned
    hmmm, how long ago did you download AM?

    i cant see nething wrong in the cfg. you did try with no plugins right?
  • DrekDrek Join Date: 2002-12-19 Member: 11165Members
    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> hmmm, how long ago did you download AM?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    I am using 2.50.50 and yes, I did try it with no plugins.

    I also tried joining the server without logging in as an admin with the same result.

    However, I did learn something new this morning. I didn't notice this before because I was using Serverdoc and the problem wasn't showing up in the logs. The server is actually crashing or shutting down every time I try to join.

    Again, the only thing I can figure is that the problem must be some combination of the fact that I am using the 1.03 server version of NS to try to play on the 1.03 server version of NS or the fact that I am playing the dedicated server from the same machine and somehow this combination together with Adminmod and NS is causing the problem.

    I should note however that I do this with 3 other mods all the time with no problems (DOD, Firearms, TFC). I also have and create no problems when I join other servers using the 1.03 server version of NS. I don't know this for sure, but I think that I have played with the 1.03 server version of NS on servers running Adminmod with no problem as well.
  • ECA_ShocK-TroopeRECA_ShocK-TroopeR Join Date: 2002-12-24 Member: 11472Banned
    edited January 2003
    perhaps try it with v1.0

    trying removing any other metamod plugins
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    I've had this problem before with Counter-Strike on Linux. The only solution I found after 3-4 hours searching the internet for a solution was to save my .cfg files and wipe out the HLDS directory and then do a server resetup from scratch. That's the only thing that fixed it. After you have the HLDS, NS and then AdminMod back in, copy over your .cfg files again you should be able to run no problem.

    So long story short, wipe and re-install all the HLDS files. Don't try to shortcut this in any way by just unzipping the files over the old install, wipe it completely and restart.

    Vadakill

    PS: The server files are different then the Client .dll files.
  • CaucasianCaucasian Join Date: 2002-11-26 Member: 9993Members
    How did you install adminmod? Via the installer or the manual way???

    Also,
    What server are you running Dedicated only, or from a Retail Version of HL w/NS???
  • backburnbackburn Join Date: 2003-01-05 Member: 11855Members
  • DrekDrek Join Date: 2002-12-19 Member: 11165Members
    edited January 2003
    I have tried it with the only Metamod plugin being Adminmod and I actually tried Adminmod with no plugins loaded whatsoever. It made no difference. I can't use version 1.0 because I am running a server. 1.03 is the first version that worked for anyone with Adminmod as far as I know. Until 1.03 NS was completely incompatible with Adminmod.

    Didn't catch all the posts on this... Let's see if I can answer all the questions.

    I run 3 other server setups in addition to NS, DOD, Firearms, and TFC. I don't have any problems with them running Adminmod and Metamod. That would lead me to believe that doing a clean install won't help, not to mention uninstalling and re-installing all my Half-Life files would be a rather large pain in the butt.

    I set up Adminmod using the installer and then proceeded to edit my configs. It probably would have been almost as simple for me to do it manually. The point is that I know how to set up Adminmod having done it many, many times before. As I already noted, I have actually set up 3 other server configurations with Adminmod plus a few plugins that I feel are important to running a server that is stable and playable.

    I am running the dedicated server on the retail version of Counter-Strike. This means that my client executable is cstrike.exe, not hl.exe. This probably shouldn't make any difference, but you never know. But as I said before, this set up works well for three other mods. The only thing that I can think of that would be different for me from other dedicated servers is that I am playing the server from the same machine. This means I am playing 1.03 as the server and the client. I'm guessing that this may be what is causing the problems. Although what is odd is that it is the server (hlds.exe) that is crashing when I try to connect, not the client (cstrike.exe).
  • r3v0luti0nr3v0luti0n Join Date: 2002-12-11 Member: 10528Members
    Are you trying to run the server on port 27015? If you are, then when you try and connect, your client will go, "EEK! MY PORT IS BEING USEDED ALREADYDY!" and crap out on you.
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    even though you seem to know what you're doing I would take care to check for "stupid mistakes" such as accidentally adding an extra letter to plugins.ini or something. If my memory serves correctly then I remember that if adminmod can't at least find the plugins file it will switch to the single script .amx, and if that doesn't exist then it goes crashy crashy. So in the past times I've had this problem it was always some kinda of spelling error in the path or an uppercase letter where I told adminmod it was lowercase (i run on linux).

    I'd check for that kind of stuff
  • DrekDrek Join Date: 2002-12-19 Member: 11165Members
    I thought I'd post an update (2 other posts I tried earlier didn't make it). I've got Adminmod working. I clued in when I tried to do the same things with another mod (Tour of Duty) and had the same problem. I haven't figured out which it is yet, but I'm pretty sure it was one of the settings in the adminmod.cfg file that was causing the problem.

    I'll report back when I have that figured out.

    So I was totally and completely wrong about the whole 1.03 client on 1.03 server theory, and a bunch of other things as well I am sure. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • DrekDrek Join Date: 2002-12-19 Member: 11165Members
    Well, now I am really perplexed. I have Adminmod up and working swimmingly, the only thing that is different is that I did a clean reinstall of Adminmod... I have no clue... One thing I did notice is that I was getting my configs from my DOD setup and for some reason the Adminmod scripts were in two directories, "plugins" and "scripts". That must have been a hangover from back when I first installed 2.50.50. Anyway, everything seems to be working just fine now, I just don't have a really good idea why it wasn't working before, that's all... What a waste of time...
Sign In or Register to comment.