Server Log



  • Is it possible to enable a server log to view connecting and disconnecting IPs? I am having an issue with banning people due to them popping on when I am offline. I see where I can manually add a ban, but I can’t grab their IP without a server log. I do see a way to enable one in an above guide but when my provider said they enabled it I am not seeing any log being made.



  • From the Wiki, one of the additional parameters allows you to specify the name and location of your log.

    -log=DIR_NAME\LOG_NAME.log -- Save log files into subdirectory DIR_NAME within the log directory
    

    If your host is running TCAdmin or something like that, you’ll need to edit your startup command line and add the parameters above.

    Btw, IIRC, bans are applied against users based on Steam ID and not IPs.



  • @Alphonse:

    From the Wiki, one of the additional parameters allows you to specify the name and location of your log.

    -log=DIR_NAME\LOG_NAME.log -- Save log files into subdirectory DIR_NAME within the log directory
    

    If your host is running TCAdmin or something like that, you’ll need to edit your startup command line and add the parameters above.

    Btw, IIRC, bans are applied against users based on Steam ID and not IPs.

    I tried that, no log was being made. Want to see if anyone can confirm or deny if it works, since my providor could be setting it up wrong and BSing me.



  • You can manually ban them using the adminbannetid command. You use the HEX version of their 64 bit Steam ID.
    To get this:

    1: Get their Steam Page URL (http://steamcommunity.com/id/whatever)
    2: Go to http://steamidconverter.com/ or any other converter that’ll give the 64 bit ID and paste the URL in.
    3: Copy the 64 bit ID and open Calculator. Set it to Programmer mode.
    4: Click on Dec on the left, paste the number in, change it to Hex.
    5: Add 0x0 to the beginning and use adminbannetid 0x011######## to ban them manually in game.


  • Mod

    A slightly more straightforward version of this would be

    1: Get their Steam Page URL (http://steamcommunity.com/id/whatever)
    2: Go to http://steamidfinder.com/ paste the URL in you’ll get e.g. STEAM_0:0:41650969

    3: If it’s Steam_0:0: then take the number and multiply it by 2 e.g. 41650969 * 2
    If it’s Steam_0:1: then take the number and multiply it by 2 then add 1

    e.g. http://steamcommunity.com/profiles/76561198071427155 the steam part = STEAM_0:1:55580713
    so it would be 55580713 * 2 + 1 = 111161427

    so in the latter case adding a ban into B= part of the configs like this :

    Bans=(DurationSeconds=0,EnactedTime=(Year=2014,Month=1,DayOfWeek=1,Day=1,Hour=1,Min=1,Sec=1,MSec=1),IPPolicy=“DENY,1.1.1.1”,NetId=(Uid=(A=88857578,B=111161427)),PlayerName=“insert playername here”,Reason=“insert a reason”,NetIDAsString="put in a netid from ")

    The main benefit this has over pure netidbans is when you have a lot of bans, you can see how long they’ve been active, how long left and the player name and most importantly can unban them by name if required. With netid you just have perma bans and a bunch of IDs that you have to look up. Correct me if I’m wrong but there’s no way to unban a netid ban from within game? You can remove the entry from the config file then restart the server though.



  • You wouldnt have this problem if there was simple remote administration where you have a simple admin file that checks players against that list and auto logs them in where you bind a key to admin then when pressed an entire admin menu pops up for all sorts of controls or something like the CHIV RCON TOOL. Hell it would even be great if they could get UDK mutators to work as well. But I am not holding my breath.

    Seriously? I have to do track down the offending player, then I have to do math to figure out his HEX name…… ugh…



  • AOCFFA-Shipyard_p?NumPlay=10?log=listenserver.log puts a log file in C:\Users\your name here\Documents\my games\Chivalry Medieval Warfare\UDKGame\Logs\ in win7