Random Server Crashes..

General Comments, Questions about all things OmnipotentS that don't go in other topics/forums
User avatar
captainsnarf
Posts: 2681
Joined: Tue Jul 06, 2021 1:51 pm
Location: Washington
Server Sponsor: Yes
Server Admin: Yes
Contact:

Re: Random Server Crashes..

Post by captainsnarf »

Hmm. So I added this part. It seems you commented it out.
pooty wrote: Sat Mar 25, 2023 5:31 pm

Code: Select all

function bool CheckEndGame(PlayerReplicationInfo Winner, string Reason)
{
	
	// pooty attempt fix end of round drama.
    /*if(ONSOnslaughtGame(Level.Game) != none)
    {    	 return true;         
    }*/
}
The idea was for Onslaught games, return true here so the game ends and players cant run around afterwards. For other game types just do whatever it did before.

I wanted UTCompOmni to work for other game types besides onslaught so I did it that way on purpose. It might be better to return false there instead if that's what you want change.
User avatar
pooty
Posts: 4486
Joined: Sat Apr 03, 2021 10:22 am
Location: Michigan
Server Sponsor: Yes
Server Admin: Yes

Re: Random Server Crashes..

Post by pooty »

I think it was short circuiting the rest of the game rules/end game logic. When CheckEndGame returns a true it means game over. I think things occasionally get out of order, and that one would fire true, end the game before the rest of the logic kicked in...

It returns false as the default, the ONS specific stuff is just commented out. The false basically says "I don't think the game has ended" I looked at it as that authority rested with something else, namely, TeamGame.CheckEndGame (which ends up calling ONSOnslaughtGame.SetEndGameFocus).

So for other game types, you might have to add the rules to end the game... but all the default game types already have it, and we don't need to change those.
User avatar
McLovin
Posts: 1191
Joined: Sat Apr 03, 2021 12:54 pm
Location: Salt Lake City, Utah
Server Sponsor: Yes
Server Admin: Yes

Re: Random Server Crashes..

Post by McLovin »

I noticed some artifacts on the score page, doubles outlined in green. May be related to changes going on regarding this thread.

Image
User avatar
captainsnarf
Posts: 2681
Joined: Tue Jul 06, 2021 1:51 pm
Location: Washington
Server Sponsor: Yes
Server Admin: Yes
Contact:

Re: Random Server Crashes..

Post by captainsnarf »

It's been like that for a long while now McLovin. It's UTComp. I'm not sure what the problem is. It's drawing the scoreboard wrong. My guess is it's something like

Code: Select all

function DrawScoreboard()
{
   //do some drawing
   super.DrawScoreboard();
}


when it should be

Code: Select all

function DrawScoreboard()
{
   //do some drawing
   super(GrandparentClass).DrawScoreboard();
}
It's cosmetic. We've always had bigger problems to fix so it's stayed that way.
User avatar
McLovin
Posts: 1191
Joined: Sat Apr 03, 2021 12:54 pm
Location: Salt Lake City, Utah
Server Sponsor: Yes
Server Admin: Yes

Re: Random Server Crashes..

Post by McLovin »

captainsnarf wrote: Sun Mar 26, 2023 9:47 am It's been like that for a long while now McLovin. It's UTComp.
...
It's cosmetic. We've always had bigger problems to fix so it's stayed that way.
I'm pretty sure it doesn't do this with 3x3 games, maybe only with higher player count games.
User avatar
pooty
Posts: 4486
Joined: Sat Apr 03, 2021 10:22 am
Location: Michigan
Server Sponsor: Yes
Server Admin: Yes

Re: Random Server Crashes..

Post by pooty »

Nope I it doesn't do it locally for me either... like snarf said its cosmetic and we had bigger fish to fry.
User avatar
Anonymous.
Posts: 368
Joined: Sat Jun 12, 2021 10:54 pm

Re: Random Server Crashes..

Post by Anonymous. »

Crash at ~9:50 EST on Nevermore
User avatar
Super Sanka
Posts: 264
Joined: Mon Jan 10, 2022 7:12 pm
Location: Orlando
Contact:

Re: Random Server Crashes..

Post by Super Sanka »

Last night's matches had very unusual lag spikes on Dria, HsH and nevermore. The screen would freeze and then resume without crashing the server
User avatar
pooty
Posts: 4486
Joined: Sat Apr 03, 2021 10:22 am
Location: Michigan
Server Sponsor: Yes
Server Admin: Yes

Re: Random Server Crashes..

Post by pooty »

Yes seemed to be server wide. I didn't see any CPU spikes in the NFO logs, but they are very detailed/granular.
Felt more like a Network issue but no network events were logged by NFO (they will log DDOS attacks and the like)
User avatar
Anonymous.
Posts: 368
Joined: Sat Jun 12, 2021 10:54 pm

Re: Random Server Crashes..

Post by Anonymous. »

Had a crash today on hyperblast, around 9:30EST.
Post Reply