SEServerExtender / EssentialsPlugin

Dedicated Essentials Plugin
GNU Lesser General Public License v3.0
18 stars 18 forks source link

Updates Per Second: 0 #32

Closed MescalineMonkey closed 9 years ago

MescalineMonkey commented 9 years ago

It's been displaying 0 while the server is running for several updates now.

dodexahedron commented 9 years ago

Pretty constant 57-60 on my server. Show me the command line you use to launch.

-----Original Message----- From: "MescalineMonkey" notifications@github.com Sent: ‎4/‎30/‎2015 7:36 PM To: "SEServerExtender/EssentialsPlugin" EssentialsPlugin@noreply.github.com Subject: [EssentialsPlugin] Updates Per Second: 0 (#32)

It's been displaying 0 while the server is running for several updates now. — Reply to this email directly or view it on GitHub.

MescalineMonkey commented 9 years ago

echo ========== EXTENDER START C:\Games\SpaceEngineers\DedicatedServer64\SEServerExtender.exe autostart instance=Hardcore path=C:\ProgramData\SpaceEngineersDedicated\Hardcore restartOnCrash

57-60? With how many people?

dodexahedron commented 9 years ago

6, at the moment. 58UPS.

Our no-limits server has 4 online right now at 38UPS, which is...annoying to play in.

I'm going to make a debug build for you to see if I can narrow anything down about that behavior. There's no reason whatsoever that shouldn't be working. It really is its own timer and everything.

MescalineMonkey commented 9 years ago

My server used to run around 11-14 ups with 24 people in it. Lots of limits though, to keep the UPS up. I've made some changes that should increase that, but haven't been able to tell because the UPS has been showing 0 for a while now.

DjKiDD commented 9 years ago

I am also showing that when running the server from an instance that it shows 0 UPS even tho the server is running at 60 UPS as seen in game.

dodexahedron commented 9 years ago

UPS is only relevant per machine. The UPS reported by your clients will not be the same as the UPS reported by the server (or at least it doesn't have to be).

DigTron commented 9 years ago

yea never mentioned but since you made changes to that counter dodex, it has always read 0 for me. Perhaps there is something in your test environment what we are missing or something else causing it.

I can tell you that none of my servers are in default installation directory, that goes for instances also.

Hope this helps but yea, most definitely hasn't been working since you changed it.

SilentSymphony commented 9 years ago

Same here

DigTron commented 9 years ago

Perhaps the manner it was changed is the cause, does it now reference libraries that were not originally part of the requirements? (Feel free to face palm if that sounds like nonsense)

People who come to chime in please state if it is or isn't working for you AND a little something about your setup, anything that comes to mind. For the moment weather or not you use default installation directories..because that's all I can think of :/

I can tell you that the machine in question has .NET v2.0.50727, v3, v3.5 and v4... let me know if there is anything else you would like to know.

SilentSymphony commented 9 years ago

I'm not using the default directory either, otherwise my setup is fairly standard.

DigTron commented 9 years ago

Sorry, I do have .NET 4.5 installed also.

dodexahedron commented 9 years ago

Would someone be willing to hop on skype and do a screen share so I can get a little real-time troubleshooting in a broken environment?

DigTron commented 9 years ago

Was just testing and I think its our old friend autostart, after some fiddling I removed only it from my starting params and the clock worked fine when I hit go. Did this in the default dir structure and my own.

DigTron commented 9 years ago

Adding ...

if (m_server.IsRunning)
                _genericUpdateTimer.Start( );

to line 91 of "SEServerExtender\SEServerExtender.cs " pushing the rest down, appears to fix this for me.

When GUI is initialised (by "public SEServerExtender( Server server )" ) , if the server is already running it starts the timer.

Again I'm very green so I cannot guarantee I haven't done something stupid.

dodexahedron commented 9 years ago

Yes, it's an autostart thing.

The only place the timer is started, in the current version, is when the start button is clicked. I'll make the suggested change, as that's a valid fix.

DigTron commented 9 years ago

Nice, thanks!