johnodon

Community Developer
  • Posts

    1879
  • Joined

  • Last visited

Posts posted by johnodon

  1. UPDATE:  Apparently BF2142 requires a hacked profile to get around the initial login screen (if you don't already have an EA Games account).  The other option would be to use something like Gameranger (which I have no interest in).

     

    FYI...

     

    As discussed over PM, Battlefield 2 Special Forces uses the same source files as BF2.  You just launch using 'start.sh +modPath mods/xpack'.

     

    Battlefield 1942 and Battlefield 2142 server source files are also freely available.

     

    John

  2. 3 hours ago, ich777 said:

    I can make such a docker if the download link is provided as plain text, if it needs a captcha or is redirected to another site where further steps are required it's not possible since this is not in my mind, i want to make dockers that are easy to use and not require any steps for the installation (except for the FiveM server, at the beginning it all works fine but then they changed their server download site so that you must solve a captcha and you must palce it manually in the docker directory).

    Thanks.

     

    I'll PM you with what I have done so far.  The real trick (whihc I probably would have never figured out) is to use 'expect' and 'spawn' to run the shell script as it asks to accept the EULA for both BF2 and PunkBuster. 

     

    Both BF2 server source files and BF2HUB installer are direct links (2nd is not required unless you want to host a ranked or unranked server on BF2HUB).  BF2CC would be nice also (for admin) but requires mono and modmanger installed (both direct DLs also) and I just haven't messed with it yet.

     

    John

  3. Is Battlefield 2 an option?  The source files for a dedicated linux server are readily availble (I am running a server in a Docker container right now) but I wasn't sure of the legality.  The place where I downloaded the source from has these disclaimers:

     

    Quote

    Release notes: Battlefield 2 free dedicated Linux server
    Battlefield 2 is a registered trademark of Digital Illusions CE AB.
    (c) 2000-2005 Digital Illusions CE AB

     

    Quote

    Licensing information

    The Battlefield 2 server is linked with the GNU C and C++ libraries which
    are under the LGPL license. By linking dynamically we ensure that you as a
    user can use this software with other versions of these libraries.

    A statically linked binary also linked with these libraries is supplied purely
    for convenience should you not be able to run the dynamically linked binary.

    The LGPL license text is included with this release and can be found on the
    web at http://www.gnu.org/licenses/lgpl.html.

    Please note that the Battlefield 2 dedicated server itself is not covered
    by the LGPL license.

     

    If this all looks good, I can certainly help with getting this stood up but I wold love @ich777 to officially own it.  :)

     

    John

  4. 3 hours ago, bergePanzer581 said:

    Great! Now if I only knew 'how' to create a .conf file in /etc with root privileges... Lol. Pop OS is based on Ubuntu, and Manjaro on Arch. I think the terminal commands seem to work slightly different depending on the distro you use... I'd love to try this though. Thanks for the reply.

    edit:

     

    holy eff, it worked. THANK YOU.

    :D  This makes me happy!

  5. 7 minutes ago, INsane said:

    Hi John, I think you would have to add those to each of the client PC's in a autoexec.cfg as it says in that guide.

    It makes sense that it would not work from the server.cfg, its the clients console that's the problem. 

     

    Verified the game files? https://support.steampowered.com/kb_article.php?ref=2037-QEUH-3335

     

    By the way, doing the same with dods with my son... and his sons playing on ich777 's Dockers.

    Loads of fun.

     

    I have not seen the spam in the TF2 one last time I played, I'll check the boys pc's.

    Thx insane.  I'll add those to the autoexec.cfg on the boys. machines.

     

    BTW, I sent you a PM (hope you don't mind...didn't want to make this thread longer than needed).  I only got rcbot2 to play nicely on tf2 just the once although the bots didn't move.  Ever since, it generates a segfault when I try to join my local server.  Disabling rcbot2 and I am able to join without issue.

     

    John

  6. First off...thank you for these awesome game servers.  I have my 8 and 9 year old boys playing HL2DM and TF2.  The interaction is hilarious.  :)

     

    As described earlier in this post, I also added RCBOT2 to both games and have it running as expected.  The issue is that the console is now spammed with messages like these:

     

    weapon_357[257]: Playing sequence 3 but there's only 2 in total?
    weapon_357[257]: Playing sequence 3 but there's only 2 in total?
    weapon_357[257]: Playing sequence 3 but there's only 2 in total?
    weapon_357[257]: Playing sequence 3 but there's only 2 in total?
    weapon_357[257]: Playing sequence 3 but there's only 2 in total?

     

    More info here:  https://steamcommunity.com/sharedfiles/filedetails/?id=157466467

     

    So, I added the lines below to my server.cfg file but it does not seem to have any effect.  If I type the commands in a console, they work.

     

    con_filter_enable 1
    con_filter_text_out "Playing sequence"

     

    Any ideas?

     

    TIA.

     

    John

  7. I'm having much better luck on 18.04.  However, in order for the splash screen to work, I have to append the GRUB_CMDLINE_LINUX line.  Appending the GRUB_CMDLINE_LINUX_DEFAULT has no impact (at least not for me).

     

    If this works satisfactorily, I run through my entire Retropie setup process on 18.04.

     

    John

  8. Calling all Linux geeks...I know there are lots here.  :)

     

    I am on the very last step of turning an x86 system into a Retropie appliance.  It is essentially Ubuntu Server 17.10.1 x64 with Openbox as the window manager and Retropie installed (yes...you can run the Retropie setup script on Ubuntu).  I borrowed a lot of work that was already done but then wanted to hide all of the background (gnome terminal window, mouse pointer, etc.).  Normally coming in and out of a game you would see the mouse pointer and a the gray gnome terminal window with a light blue title bar.

     

    Here is the *almost* finished product if anyone is interested (I will write-up a full how-to):  

     

     

    Where I am stuck is hiding the usual Ubuntu boot dialog.  I really want to use a fancier splash screen using Plymouth, but, I can't get even get the standard splash screens to work.  I was hoping it would be as easy as turning it back on in the grub config (shown below) and updating grub...

     

    GRUB_DEFAULT=0
    #GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=2
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="splash"
    GRUB_CMDLINE_LINUX=""
     

     

    but it hangs at the following:

    image.png.5996af8def9bf8c7f261f4a8938a5c75.png

     

    And then eventually this...

    image.png.2eee7b9f8d506bf31712cf74d33c45dc.png

     

    I have tried on a VM in unRAID and two different physical hardware.  I even tried Ubuntu Server 16.04.4 with the same result.

     

    Can anyone help?!?!?!

     

  9. These just started popping up in my syslog the other day.  Anyone else?

     

    Version 1.8.1.4139

     

    Quote

    Aug 17 19:13:27 UNRAID kernel: traps: Plex Transcoder[27813] general protection ip:2b7312a48fbd sp:7ffc69fcd538 error:0 in liblibmp3lame_encoder.so[2b7312a41000+6a000]
    Aug 17 19:16:58 UNRAID kernel: traps: Plex Transcoder[28879] general protection ip:2ad44debbfbd sp:7ffca1fed178 error:0 in liblibmp3lame_encoder.so[2ad44deb4000+6a000]
    Aug 17 19:20:28 UNRAID kernel: traps: Plex Transcoder[29979] general protection ip:2b7246a94fbd sp:7fff83a1c768 error:0 in liblibmp3lame_encoder.so[2b7246a8d000+6a000]
    Aug 17 19:23:58 UNRAID kernel: traps: Plex Transcoder[31044] general protection ip:2abe17a0afbd sp:7fff98195428 error:0 in liblibmp3lame_encoder.so[2abe17a03000+6a000]
    Aug 17 19:27:28 UNRAID kernel: traps: Plex Transcoder[32137] general protection ip:2b6776df5fbd sp:7ffc424f9988 error:0 in liblibmp3lame_encoder.so[2b6776dee000+6a000]
    Aug 17 19:30:58 UNRAID kernel: traps: Plex Transcoder[734] general protection ip:2b8881056fbd sp:7ffddc89cd58 error:0 in liblibmp3lame_encoder.so[2b888104f000+6a000]
    Aug 17 19:34:30 UNRAID kernel: traps: Plex Transcoder[1947] general protection ip:2aed532a9fbd sp:7fffe48e15e8 error:0 in liblibmp3lame_encoder.so[2aed532a2000+6a000]

     

  10. 21 minutes ago, Squid said:

    No. Because the final location is a different mount point than the completed downloads. Won't matter if nzbget and radarr are in the same container or not

    Sent from my LG-D852 using Tapatalk
     

     

    I know that this is completely taboo, but would the same hold true if there was a single mount point at a higher point... i.e.  /mnt/user/?

  11. Just a theoretical question...

     

    If I create a container that contains both Radarr and NZBget, will processed files be moved to the final location rather than copied/deleted?  I want to say yes since both apps are technically running on the same 'machine'.

     

    Thoughts?

     

    John

  12. UPDATE:

     

    While this seems to work from a DNS leak perspective, it is also having a negative impact on speeds (namely NNTP).  I am seeing speeds being throttled at around 1.3MB/s even though I have my pipe fully open (100Mbit).  From what I read online, one of the factors that could impact NNTP speeds is name resolution failure.

     

    If I set DNS entries to my VPN providers servers via Extra Parameters, speed is throttled.

    If I remove those entries I get full speed.

     

    In both instances the traffic is tunneling though the OVPN client on my pfsense box via an alias and firewall rules.

     

    Back to that drawing board.

     

  13. My syslog is being flooded with these all of a sudden.  I have removed the preclear plugin and rebooted and there are still being logged.

     

    Aug 3 07:31:55 UNRAID dnsmasq[8274]: read /etc/hosts - 2 addresses
    Aug 3 07:31:55 UNRAID dnsmasq[8274]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
    Aug 3 07:31:55 UNRAID dnsmasq-dhcp[8274]: read /var/lib/libvirt/dnsmasq/default.hostsfile
    Aug 3 07:31:55 UNRAID kernel: virbr0: port 1(virbr0-nic) entered disabled state
    Aug 3 07:32:00 UNRAID nginx: 2017/08/03 07:32:00 [error] 4084#4084: *6 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.35, server: , request: "POST /plugins/preclear.disk/Preclear.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "unraid", referrer: "http://unraid/Dashboard"
    Aug 3 07:32:04 UNRAID nginx: 2017/08/03 07:32:04 [error] 4084#4084: *6 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.35, server: , request: "POST /plugins/preclear.disk/Preclear.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "unraid", referrer: "http://unraid/Dashboard"
    Aug 3 07:32:05 UNRAID nginx: 2017/08/03 07:32:05 [error] 4084#4084: *6 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.35, server: , request: "POST /plugins/preclear.disk/Preclear.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "unraid", referrer: "http://unraid/Dashboard"
    Aug 3 07:32:10 UNRAID nginx: 2017/08/03 07:32:10 [error] 4084#4084: *6 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.35, server: , request: "POST /plugins/preclear.disk/Preclear.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "unraid", referrer: "http://unraid/Dashboard"
    Aug 3 07:32:14 UNRAID nginx: 2017/08/03 07:32:14 [error] 4084#4084: *6 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.35, server: , request: "POST /plugins/preclear.disk/Preclear.php 

  14. OK...so while using the --dns=xx.xx.xx.xx Extra Parameter does not modify the resolv.conf within the container, it does appear that the container is using the entries.

     

    I am using this method to test for DNS leaks:  https://www.privateinternetaccess.com/forum/discussion/23924/easy-quick-dns-and-ipv6-leak-testing-via-command-prompt-line-method-no-browser-or-website-needed

     

    If I do not set DNS entries in the Extra Parameters, my public IP is exposed when I perform an nslookup as described above.  (I replaced my public IP with xx.xx.xx.xx)

     

    root@fff1d16a37d1:/$ nslookup whoami.fluffcomputing.com
    nslookup: can't resolve '(null)': Name does not resolve
    
    Name:      whoami.fluffcomputing.com
    Address 1: xx.xx.xx.xx xx-xx-xx-xx.rest.of.fqdn

     

    If I include my VPN's DNS entries in Extra Parameters, my VPN IP is returned (replaced with yy.yy.yy.yy):

     

    root@154df63b5b93:/$ nslookup whoami.fluffcomputing.com
    nslookup: can't resolve '(null)': Name does not resolve
    
    Name:      whoami.fluffcomputing.com
    Address 1: yy.yy.yy.yy ip-yy-yy-yy-yy.rest.of.fqdn