Servers Breaking; No Clue Why

Sometimes Farming with Friends will get stuck loading. I use Replicated first but the game got stuck at the default Roblox screen. It looks as if the game was loading and unloading around a certain part count. I imagine the issue could be caused by my game constantly creating and delete parts but I’m not sure…

Oh, also: after waiting a while the game just said I disconnected before actually loading any more.

Scroll down the thread to see even more frustration related to servers being really weird!

[strike]Also, there seem to be times where ReplicatedFirst is not actually replicated first and the camera is still in magic zoom zoom mode while the game is loading. Why? Isn’t it supposed to be replicated first?[/strike]

[spoiler]
External Media

Replicated first isn’t actually replicated first?[/spoiler]

EDIT: This seems to have all been caused by an issue on this thread: Documentation - Roblox Creator Hub

It happened again!

[quote] It happened again!



[/quote]

the instance count isn’t the same, so it’s not happening at the exact same spot as it did prior.

however, I personally have never experienced this, so it may be an issue with your code somewhere.

[quote] It happened again!



[/quote]

the instance count isn’t the same, so it’s likely not at the same spot.

however, I personally have never experienced this, so it may be an issue with your code somewhere.[/quote]

The real issue is not my gui; it’s that the game stops adding instances and then I lose connect after the instance count flutters around a little bit. The fact that the game is loading before my gui exists is another issue entirely.

[quote] [quote=“TheNickmaster21” post=127593]It happened again!



[/quote]

the instance count isn’t the same, so it’s likely not at the same spot.

however, I personally have never experienced this, so it may be an issue with your code somewhere.[/quote]

The real issue is not my gui; it’s that the game stops adding instances and then I lose connect after the instance count flutters around a little bit. The fact that the game is loading before my gui exists is another issue entirely.[/quote]

as far as I can tell, ReplicatedFirst isn’t actually the first thing replicated, so that explains why your gui isn’t there yet.

As for why it’s stopping around 1 - 2k instances, I couldn’t personally tell you. Really odd behavior though. Have any of your games players’ reported this issue to you? or complained about it at least.

do you have a gui in replicated first? do you also have a local script? guis in replicated first do not render, they need to be parented to the playergui

Ohh, that’d explain why they don’t show up. The only don’t show up when the game does it’s fantastic get stuck around a random instance count and time out. I have a local script that controls displaying the loading gui when the replicated script runs. Forgive my prior ignorance of my own knowledge…

And yet again this is happening when I try joining. Fun fact, joining as a guest got me stuck like this:

UPDATE: Issue appears to be related to freezing server instances. I was with a user that said her tools will randomly stop working and she will have to join a new server. She also said resetting would cause her to freeze (thus new server). I asked her to reset and after a few seconds the server froze. I could move freely but everything was frozen, F9 had no server/ping stats and nothing worked. I then left the game only to realize it kept saying I was still in game even after refreshing the webpage itself, ansering a FR and coming back.

I then tried to join the seemingly messed up server and it did the weird load X number of instances and then freeze on the loading screen. Related issues? I think so.

Some of the servers are still having weird issues, they still haven’t sorted that out.

I have no doubt it’s one of those stupid ReliableHost servers that keep being crappy.

My servers have done this weirdness for far longer than this thread’s age. I don’t know if the recent issues from developers and the Market Service have anything to do with it.

My servers have done this weirdness for far longer than this thread’s age. I don’t know if the recent issues from developers and the Market Service have anything to do with it.[/quote]It’s not only you, I still sometimes get a server that behaves like this. :confused:

And another server is toast. I have the ability to join it on the server list but it stops loading at around 900 instances. I manually shut it down so people didn’t get stuck trying to join it…

After talking to some more people, they say the server freezes after resetting. I run some functions for the marketplace when tools run for the first time but I don’t see why they would only break the game when called a second time…

Is it possible that these errors may be related?

Or these?

There is a good chance that this issue has been caused by a server side busy loop I hadn’t caught before now :shocked:

[spoiler]
Hehe, isTestServer was true :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :uhhh: :emo-angst:

while( true )do while( Day.Value < 8 )do while( Hour.Value < 24 )do while( Minute.Value < 60 )do wait(1) Minute.Value = Minute.Value + 1 --print("Day" .. Day.Value .. "Week" .. Week.Value .. "Hour" .. Hour.Value .. "Minute" .. Minute.Value) game.lighting.TimeOfDay = ( Hour.Value - 2 )%24 .. ":" .. Minute.Value .. ":00" setBrightness() end Hour.Value = Hour.Value + 1 Minute.Value = 0 end Day.Value = Day.Value + 1 Hour.Value = 0 end if( not isTestServer )then Week.Value = Week.Value + 1 Day.Value = 1 --[[elseif( Week.Value > 1 )then while( wait(1) )do for _, p in pairs(game.Players:getPlayers())do game:GetService('TeleportService'):Teleport(154182334, p) end end]] end end [/spoiler]

This issue is why I have a habit of NEVER making a while( true )do loop (I always do while( wait() )do )… Old code is evil.

[quote] There is a good chance that this issue has been caused by a server side busy loop I hadn’t caught before now :shocked:

[spoiler]
Hehe, isTestServer was true :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :uhhh: :emo-angst:

while( true )do while( Day.Value < 8 )do while( Hour.Value < 24 )do while( Minute.Value < 60 )do wait(1) Minute.Value = Minute.Value + 1 --print("Day" .. Day.Value .. "Week" .. Week.Value .. "Hour" .. Hour.Value .. "Minute" .. Minute.Value) game.lighting.TimeOfDay = ( Hour.Value - 2 )%24 .. ":" .. Minute.Value .. ":00" setBrightness() end Hour.Value = Hour.Value + 1 Minute.Value = 0 end Day.Value = Day.Value + 1 Hour.Value = 0 end if( not isTestServer )then Week.Value = Week.Value + 1 Day.Value = 1 --[[elseif( Week.Value > 1 )then while( wait(1) )do for _, p in pairs(game.Players:getPlayers())do game:GetService('TeleportService'):Teleport(154182334, p) end end]] end end [/spoiler]

This issue is why I have a habit of NEVER making a while( true )do loop (I always do while( wait() )do )… Old code is evil. [/quote]

This was not causing the servers to freeze and prevent people from joining. Now I’m still highly irritated because I’m losing players because they can’t join while only one broken server with empty spots exists…

And the server broke :slight_smile:

Server stats went blank in the developer console :smiley: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning:

So this happened:

Hint or another issue entirely?

Playing with the new radio gear in game can break the servers. I think I’m just overloading them. Is there anyone on the Roblox back end that can check and see if some servers are maxing their CPU/RAM and just frying the system?