Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

chacha18undefined

chacha18

@chacha18
About
Posts
37
Topics
6
Shares
0
Groups
0
Followers
3
Following
1

Posts

Recent Best Controversial

  • Sign ups for Server-Owners channel - Discord
    chacha18undefined chacha18

    chacha0599

    General Discussion

  • Help "Server Keys Error"
    chacha18undefined chacha18

    chacha18 Problem fixed... it was "just" a server/gateway issue πŸ™‚

    BO2 Server Hosting Support

  • Help "Server Keys Error"
    chacha18undefined chacha18

    Up !
    Same problem here.
    All my server are now down and wont go up anymore since this weekend.
    6 BO2 + 2 MW3 + 1 COD5 ....

    BO2 Server Hosting Support

  • [Feature] [All / Launcher] direct connect
    chacha18undefined chacha18

    up !
    no way to launch the game directly to a given server ip? would be very usefull..
    like :
    plutonium.exe -game T6MP -connect 1.2.3.4:1234

    BO2 Client Support

  • [Feature] [All / Launcher] direct connect
    chacha18undefined chacha18

    LeapingYears Thx for reply but by direct connect I mean by windows command, bypassing launcher (at least silently).

    Usage: create shortcut to servers / custom url handler (web).

    BO2 Client Support

  • [Feature] [All / Launcher] direct connect
    chacha18undefined chacha18

    It would be very convenient to be able to add command line options to the launcher to:

    • direct launch a game (without having to select it from launcher)
    • direct connect to a game server by ip:port
    • make a working custom url like plutonium:// (seems to partially work but not 100%)

    Thx

    BO2 Client Support

  • FastDL issue
    chacha18undefined chacha18

    set sv_allowdownload "1"
    set sv_wwwDownload "1"
    set sv_wwwBaseURL "http://newchacha.ddns.net/games/cod5/"
    set sv_wwwDlDisconnected "0"

    WAW Server Hosting Support

  • FastDL issue
    chacha18undefined chacha18

    Hi guys,

    I think there is a bug with HTTP download that sometime fails and fall back to slow download mode.
    I think It's on the client side because the transfer initially starts well but at some point it fails.
    Sometimes its working, sometime it's not (same map).
    I also had this bug in genuine COD5... so may be not plutonium related, but could be fixed anyway ? Or better explained, maybe its an incompatibility with apache2 ?

    Tonight I will try to wireshark it..

    Note: I remember this bug was also in COD4(x) some time ago but today no more problem.
    Note2: you could try connecting to my server (CHACHA DM) which is full of custom maps with fast DL.

    thanks

    WAW Server Hosting Support

  • Linux/Wine server install tips
    chacha18undefined chacha18

    Jimo very helpful coment...

    BO2 Server Hosting Support

  • Linux/Wine server install tips
    chacha18undefined chacha18

    Xerxes

    Problem is that at the end of the update process, the update windows stay opened waiting for confirmation so i dont think I had other choice...

    Anyway, the trick is pretty easy (exports from previous script needed):

    Xvfb :99 -ac &
    pid=$!
    DISPLAY=:99 $WINEPATH/bin/wine $WINEPREFIX/plutonium.exe -install-dir 'C:\\CODBO2'  -update-only
    while [ ! "$(lsof -i | grep plutonium)" ]; do sleep 1; done
    sleep 30
    while [  "$(lsof -i | grep plutonium)" ]; do sleep 1; done
    
    killall plutonium.exe
    kill -9 $pid
    

    Note1: you may need to install killall :

    apt install killall
    

    Note2: you may need to launch the script in root to have the right to execute xvfb (not sure), but updater need to be executed by user, so you can add (in front of wine command) :

    su <user> -c <command line ...>
    
    BO2 Server Hosting Support

  • Linux/Wine server install tips
    chacha18undefined chacha18

    Finally, I ended up with another solution:

    • launching plutonium.exe in a xvfb screen (so no more display)
    • monitoring tcp/http connection of plutonium.exe with lsof to catch end of download

    It seems to work atm !

    BO2 Server Hosting Support

  • Linux/Wine server install tips
    chacha18undefined chacha18

    Xerxes How did you do that ? I know how to attach gdb but how do you attach another exe ? is it a non-documented plutonium feature ?

    BO2 Server Hosting Support

  • sv_maxclients seems overriden
    chacha18undefined chacha18

    I still have the problem, and my MP server still crash multiple time per day.
    gungame/zm seems ok...

    Interesting thing, in the log file the game launch line change sometime:

    • at game launch it start with \g_gametype
    • for some reason it become \com_maxclients\18 after some time + \party_maxplayers\18 : I did not add this !

    Not sure it is what make it crash but I thing this is why my server fall back to 18 max player after some time...

    I attached crashdump / cfg files:
    link text

    Note: interesting thing: I am facing an internet connection issue at the moment, and it may be related because disconnection time seems to match crash time. I will keep monitoring it..

    BO2 Server Hosting Support

  • Linux/Wine server install tips
    chacha18undefined chacha18

    8/ Update 09/01/2021 :
    In order to lauch the plutonium built-in updater you need those things:

    • install dotnet48 :
    WINE=~/.local/share/wine/wine-6.0-rc5-staging-tkg-amd64/bin/wine WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefix/CODBBO2 ./winetricks --force dotnet48
    
    • install d3dcompiler_47 (native):
    WINE=~/.local/share/wine/wine-6.0-rc5-staging-tkg-amd64/bin/wine WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefix/CODBBO2 ./winetricks d3dcompiler_47
    
    • install vcrun2005 and vcrun2019 (native):
    WINE=~/.local/share/wine/wine-6.0-rc5-staging-tkg-amd64/bin/wine WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefix/CODBBO2 ./winetricks vcrun2005 vcrun2019
    

    GUI will launch correctly and start update process without crashing when you click on it. But when the update is finished it may crash if you have no 3D accel (it is the case for me because i'm running it on a VM).

    Still not very usable for automation because the GUI is still showing, even with "-update-only" because at the end of the process it stay opened. maybe a good idea for an update ? πŸ˜„ A silent/terminal option would be a great feature ...

    PS: Devs, pls tell me if I missed something..

    BO2 Server Hosting Support

  • Linux/Wine server install tips
    chacha18undefined chacha18

    1/ Intro:

    This post is not a guide / nor a tutorial (yet) but a memory of what I personally did to make plutonium work on Linux/Debian.
    I hope it will help you guys configuring a COD BO2/MW3 server using recent WINE version with ESYNC patch (better performances)
    This technic can be applied to other games with few modifications, including others plutonium flavors
    (However, ESYNC is not going to help all games, you have to make benchmarks.)
    If you follow those steps and find issues feel free to post them here, and I will try to make corrections.

    2/ Preparation:

    Let's start, assuming you have a computer / VM running an updated Linux version (tested with current Debian stable here).
    It will be easier with GUI as a starting point.
    I suggest making it work with a GUI VM/PC and then port it to a headless machine (or make the current one headless) when it's working well.

    Install distro version of wine (to get required deps):

    su -
    dpkg --add-architecture i386
    apt update
    apt install wine wine32 wine64 libwine libwine:i386 fonts-wine
    

    create an account for your gameserver:

    adduser codbo2server
    

    Now, logon to your new account with graphics.

    3/ Installing last Wine:

    Download wine tkg from GITHUB:
    https://github.com/Kron4ek/Wine-Builds/releases
    For instance: wine-6.0-rc5-staging-tkg-amd64.tar.xz
    extract to ~/.local/share/wine/wine-6.0-rc5-staging-tkg-amd64

    install your new prefix:

    WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefix/CODBBO2 ~/.local/share/wine/wine-6.0-rc5-staging-tkg-amd64/bin/wineboot
    

    4/ Installing .NET:

    Download last winetricks script from GITHUB:
    https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
    install dotnet472:

    chmod +x ./winetricks
    WINE=~/.local/share/wine/wine-6.0-rc5-staging-tkg-amd64/bin/wine WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefix/CODBBO2 ./winetricks --force dotnet472 corefonts
    

    Note: this step will take a while and will ask you for multiple confirmation in the installation process
    Note2: if it fails (sometime install script can get broken...:-/) please search a little bit on Google before asking here...
    Note3: when installer ask for reboot, do not reboot

    restart your wine prefix:

    WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefix/CODBBO2 ~/.local/share/wine/wine-6.0-rc5-staging-tkg-amd64/bin/wineboot
    

    Note++: There is a free replacement of .NET : MONO , you can try it but for that you will have to use another clean wineprefix.

    5/ The game:

    Put your game in your new created prefix.
    Personnaly I created a CODBO2/CODMW3 folder in the prefix dir
    According to previous steps, put game files in:
    ~/.local/share/wineprefix/CODBBO2/drive_c/CODBO2

    Now you have to put plutonium files in the game directory.
    While it is possible to use the launcher update feature, I personally end up copying files from my PC because I had problems running the plutonium launcher GUI inside wine.
    It launches and download files, but the GUI was not displaying correctly and it instant-crashes if I click.

    I assume you now have all the files from Game and Plutonium in the game directory.

    Now, download required configuration files:
    https://github.com/ChxseH/COD-Dedicated-Server-Configs/tree/master/T6
    Put them in the game directory (.bat files are not needed)

    6/ Launch:
    You can now try to launch the gameserver with a script like this:

    WINEPATH=~/.local/share/wine/wine-6.0-rc5-staging-tkg-amd64
    export WINEARCH=win32 
    export WINEPREFIX=~/.local/share/wineprefix/CODBBO2
    export WINEESYNC=1
    KEY=<YOURKEY>
    CFG=dedicated.cfg
    PORT=27116
    
    $WINEPATH/bin/wine $WINEPREFIX/bin/plutonium-bootstratper-win32.exe t6mp 'C:\\CODBO2' +set key '$KEY' -dedicated +set sv_config $CFG +set net_port $PORT
    

    If it works, congratulation you have your working proof of concept :).
    Server is running on last wine / ms dotnet / esync enabled

    Note that wine/dotnet is very memory hungry, idle server take 500MB+ ram and it will keep growing while players get connected.

    7/ Further work:

    Next you can Google :

    • screen: to allow it to run in a convenient headless context
    • systemd: to make it start at boot
    • alotofotherstuff : tons of other cool possible features πŸ™‚ (autorestart/autoupgrade for instance)
    BO2 Server Hosting Support

  • sv_maxclients seems overriden
    chacha18undefined chacha18

    Hi,

    I have 3 BO2 server and due to my bad internet connection I want to cap max players at an acceptable level.
    So I add set sv_maxclients "X" in my cfg.
    When the server starts its ok, but after a random amount of time its getting back to default value (18).

    Then I tryed to add +set XXX in the start cmd.
    It doesn't help...

    Info:

    • I have the default cfg files in t6r/data.
    • server is running on wine
    • if I restart the server its working well, for a couple of minutes/hours
    • problem is witgh gungame and DM gametpye, ZM seems to stay at the fixed value (4), but maybe its the default one..
    BO2 Server Hosting Support

  • [Release] Black ops II Mapvote for Zombies and Multiplayer
    chacha18undefined chacha18

    Sorex

    Yes.. A lot is even not enough to describe how much it consumes πŸ™‚
    Thats annoying .. But virtualized windows consume more RAM, so I had to make a choice... !

    BO2 Modding Releases & Resources gsc gsc script mapvote

  • Run a server with wine
    chacha18undefined chacha18

    Dss0
    I'm on debian, firstly I add winehq repository in my source.list.
    checkout wine wiki

    I am using winehq-devel (6.0-rc1 as today)

    Then I created a wine prefix:

    WINEPREFIX=<PATH_TO_YOURNEW_PREFIX> wineboot
    

    And then, the hardest part, get the correct runtime working.
    After a few try I end with dotnet472. Before I tried with winemono wich is a free/open reimplementation but without success.
    To do that:

    WINEPREFIX=<PATH_TO_YOURNEW_PREFIX> winetricks dotnet472
    

    Be patient ! This step take a long time because there is a lot of workaround to fully install it. In fact it is sequentially installing older version with a few wine hacks.

    After this, you should be able to run plutonium.exe...
    But ! I had another issue, the GUI was not showing up, but it was working in background.
    So I call the install command and waited for the download process to finish, and then start the dedicated server in command line... and... tAdAdA, it worked !

    BO2 Server Hosting Support

  • Run a server with wine
    chacha18undefined chacha18

    As I understand Linux version of dedicated servers are not maintained because its working 'well' under wine.
    From my experience, yes it is working on wine but consume a lot of CPU/ram and it usually crashed (but its acceptable).

    I never tried on windows so I dont know if its better on it.

    To make it work I had to mess with vcruntime and co, it was not an easy task, far away from a common download/install/run process.

    BO2 Server Hosting Support

  • [Release] Black ops II Mapvote for Zombies and Multiplayer
    chacha18undefined chacha18

    Sorex
    that's what I have except GameSetting was in main/.
    I tested again with putting everything at the right place.
    Its better ! I was able to use the menu one time, the second time the server crashed…

    But I'm on Linux/Wine, maybe it is the reason, my server used to crash once / twice a day those time...

    BO2 Modding Releases & Resources gsc gsc script mapvote
  • 1 / 1
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate