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

Plutonium

mxveundefined

mxve

@mxve
VIP
About
Posts
186
Topics
5
Shares
0
Groups
1
Followers
35
Following
5

Posts

Recent Best Controversial

  • Velocity Hud/Health Hud
    mxveundefined mxve

    Slxxpy said in Velocity Hud/Health Hud:

            if(self.health >= 90)
            {
                self.healthText.glowcolor = (0.0, 1.0, 0.0);
            }
            else if(self.health >= 80)
            {
                self.healthText.glowcolor = (0.1, 0.9, 0.0);
            }
            else if(self.health >= 70)
            {
                self.healthText.glowcolor = (0.2, 0.8, 0.0);
            }
            else if(self.health >= 60)
            {
                self.healthText.glowcolor = (0.3, 0.7, 0.0);
            }
            else if(self.health >= 50)
            {
                self.healthText.glowcolor = (0.4, 0.6, 0.0);
            }
            else if(self.health >= 40)
            {
                self.healthText.glowcolor = (0.5, 0.5, 0.0);
            }
            else if(self.health >= 30)
            {
                self.healthText.glowcolor = (0.6, 0.4, 0.0);
            }
            else if(self.health >= 20)
            {
                self.healthText.glowcolor = (0.7, 0.3, 0.0);
            }
            else if(self.health >= 10)
            {
                self.healthText.glowcolor = (0.8, 0.2, 0.0);
            }
            else if(self.health >= 0)
            {
                self.healthText.glowcolor = (1.0, 0.0, 0.0);
            }
    

    You can do something like this instead of using so many ifs

        self.healthText.glowcolor = (
            1.0 - self.health / 100,
            self.health / 100,
            0.0
        );
    

    Which will calculate values like this
    100 hp = (0.0, 1.0, 0.0)
    90hp = (0.1, 0.9, 0.0)
    ...
    10hp = (0.9, 0.1, 0.0)
    0hp = (1.0, 0.0, 0.0)

    alt text

    MW3 Modding Releases & Resources

  • [Web] Plutonium Server List
    mxveundefined mxve

    -> getServe.rs <-

    API

    f839f926-6094-4ed1-9133-2ab98a2d836c-image.png

    General Discussion

  • IW4MAdmin Scheduled restarts
    mxveundefined mxve

    SuckOnMyProness
    save pid to file when starting, kill pid when restarting

    something like this should work for saving the pid
    powershell -Command "(Start-Process whatever.exe -passthru).ID | Out-File -FilePath pid.txt"

    make sure to give the pid file a unique name for every instance you have running and when restarting read the pid from the file to kill the process.

    General Discussion

  • Server crashing since last update
    mxveundefined mxve

    mxve said in Server crashing since last update:

    • Nothing special in windows event log

    Somehow i managed to overlook the errors in the windows event log.
    It's always the same error, same offset, same exception yadda yadda

    event log error

    Faulting application name: plutonium-bootstrapper-win32.exe, version: 1.0.0.2485, time stamp: 0x5ae9d511
    Faulting module name: plutonium-bootstrapper-win32.exe, version: 1.0.0.2485, time stamp: 0x5ae9d511
    Exception code: 0xc0000409
    Fault offset: 0x207e022f
    Faulting process id: 0xda20
    Faulting application start time: 0x01d7e0f0d218f98c
    Faulting application path: C:\Users\cod\Desktop\servers\iw5 ffa\plutonium\pluto_files\bin\plutonium-bootstrapper-win32.exe
    Faulting module path: C:\Users\cod\Desktop\servers\iw5 ffa\plutonium\pluto_files\bin\plutonium-bootstrapper-win32.exe
    Report Id: dd33a490-3289-40b0-8c41-63302dd6128f
    Faulting package full name: 
    Faulting package-relative application ID: 
    

    crashed server


    server log

    1361:32 ------------------------------------------------------------
    1361:32 InitGame
    1392:02 ExitLevel: executed
    1392:02 ------------------------------------------------------------
    1392:02 ------------------------------------------------------------
    1392:02 InitGame
    1422:01 J;0110000100175234;0;SlavirList
    1422:13 Q;0110000100175234;0;SlavirList
    1422:32 ExitLevel: executed
    1422:32 ------------------------------------------------------------
    1422:32 ------------------------------------------------------------
    1422:32 InitGame
    1425:49 J;0110000100175234;0;SlavirList
    1425:55 Q;0110000100175234;0;SlavirList
    1453:02 ExitLevel: executed
    1453:02 ------------------------------------------------------------
    
    MW3 Server Hosting Support

  • Server crashing since last update
    mxveundefined mxve

    Since the last update (r2385-r2462) our server crashes regularly.


    Issues

    crash

    • Daily server crash (I've only been able to watch it happen once, but I'm assuming it goes like this every time it happens)
      • Process CPU usage goes up to over 30% (usually 0.2-1% idle/under 10% when full)
      • Server shows multiple hitch warning 500-1000ms
      • Lags, users ping increases
      • Server crashes
        • maybe on map rotation, not 100% sure about that
    • Rare random CPU spikes to over 20%

    Info

    • Started with update r2385-r2462
      • Server was running fine before & no changes were made except for updating pluto
    • Seems to only happen when people are playing as our private server doesn't crash nearly as often
    • T6 server is running fine
    • Removing all unnecessary scripts didn't help (see gsc script below for script in use)
    • Reinstalling pluto didn't help (see update bat below for installation command)
    • Nothing special in windows event log
    • Host
      • Windows Server 2016 (Fully updated)
        • winver
      • 4 dedicated CPU cores (AMD EPYC 7452)
      • 20GB RAM
      • 1Gbit uplink
      • 160GB NVMe storage
      • KVM
    • Additionally we are running IW4MAdmin
      • Since the update the server console is spammed with status by IW4MAdmin
        • Not an issue, but wanted to mention it
      • Neither latest nor older version fix the crashing issue

    Files

    • Start bat
    • update bat
    • cfg
    • dsr
    • gsc script

    Any help would be greatly appreciated

    MW3 Server Hosting Support

  • Bots dont move, dont shoot, nothing
    mxveundefined mxve

    jav_narv5 https://github.com/ineedbots/piw5_bot_warfare

    MW3 Client Support
  • 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