jweigelt / swbf2admin

Star Wars Battlefront II (2005) server management application
GNU General Public License v3.0
51 stars 18 forks source link

Server randomly crashes for no reason? #63

Open Abro61209 opened 1 year ago

Abro61209 commented 1 year ago

image

I have 4 dedicated servers running, all on different ports, all port forwarded, all on WAN instead of LAN as putting the servers in LAN puts it in an infinite crash loop.

At first, I narrowed it down to me creating the ServerRotation.cfg manually (I put a game mode for a map that doesnt exist, like clone wars on endor for example). I did this because I was using Microsoft Edge, which didn't support drag and drop in the webadmin browser for whatever reason.

So, I did it the legit way in chrome, by dragging and dropping, then just copying that ServerRotation.cfg to the other servers.

All my servers are also running at 30 tps btw.

Interestingly enough, my servers running the Xbox DLC mods seem to be much more stable and rarely crash. Checked the configs though and no difference.

What gives? Any way to make the logs more verbose so I can see what exactly is making them crash?

jaymanforty commented 1 year ago

In core.xml there's a logging option.

Things like an invalid map causing a crash won't be logged as the swbf2admin software isn't hooked into game logs.

This makes it hard to diagnose crashes stemming from the game server and not the software.

Abro61209 commented 1 year ago

@jaymanforty I will enable that logging option and see. It probably isn't related to the software and is related to the game itself, but for my vanilla servers (no mods installed), the crashes seem more frequent. And this is after dragging and dropping the maps from within the webadmin.

Granted I did change the values in the sql file and stuck them in all my servers (like changing the value for coruscant for example to include heroes vs villains) but I doubt that's causing an issue, as I'm not even putting that in the rotation for my vanilla servers to begin with. Also my xbox dlc servers being fine.

EDIT: If that would potentially cause a problem in some way though, I could just use the default sql database included with this software.