The Server Closed Due to Excessive Workshop Load

What exactly causes this? I mean I bet it has to do with the fact that my gamemode is Infinity War and every hero has a beam attack or laser or plasma ball or lightning, etc. But what can I remove to fix this if not then reduce the frequency of the crashes?

Make sure there isn’t infinite loops, don’t create and destroy effects, hud text or sounds often or at all if you can do that. It’s better to create effects and hide them until they’re ready to be used again.

There’s a lot of optimization you have to do in order to get your game stable.

1 Like

Wait, hiding them is better?

It opens up micromanagement of icons, like rapidly switching icons above your head but you go invisible.

What? No I’m asking why hiding them is better. Wouldn’t having them exist somewhere cause them to take more memory than to destroy them?

You have a good point.

Have you heard of my Avengers gamemode? I haven’t really posted much on here about it, but I could really use the help of someone who knows their way around the workshop.

Chill or kill is usually what I do, I’ve never heard of it before. I’ll see what I can do if I can help. In the meantime, I’ll be trying to caculate angles on a bouncing orb.

Here, tell me what you think and if you want to help. There’s a reason it crashes a lot, and it might be just because of so much stuff jammed pack into it.

On the surface, I don’t see anything wrong. I’ll need the code.

I’m working on it right now. So the code as of this very second is: 4G5AR
That’s the experimental one, I’m working on Hulk rn

Also according to Cel, a lot of wait commands could also stress the server, so I’m trying to remove those

Console player here, whenever I even IMPORTED the code, Lost connection to server. I can’t even see what the problem is.

RIP lol. How about just a couple of questions that you maybe can answer. I’ll remake the post.

Sorry I hadn’t logged in a while. So to answer your question about hiding effects, yeah it’s really dumb that hiding them is a better solution than destroying them. So the game isn’t actually rendering the effects if they are invisible, which helps. As far as memory goes? it’s server based, that’s why they put a limit on it (I have no idea what the current limit is), but you can have a lot of icons, effects and huds hidden. I have quite a lot, but I’m very very particular about what I add.

I’ve cut back on a lot of unnecessary fluff, if you’re going to add a HUD or an effect then make sure it adds to the game mode and that it’s not unnecessary. I also have to take into consideration that players like to swap in and out of characters on a whim, sometimes back to back.

As for wait commands, placing waits in every script is not bad when they are necessary to prevent loops or to make sure that you don’t have like a million scripts running at the same time. But having like 20 waits in one script is pushing it a lot.

Hiding effects will not do anything in favor to backend. It just disable the in-game render but the pointer persists in memory. Renderization is do in client side, not in backend.

The Workshop developers hasn’t addressed any of the bugs that has been reciently reported, like the Create Effect overflow (this hasn’t proved), but I’m experiencing the same issue. The issue is that if you reach some limit of Create Effect (even if you destroyed the effects), the server will crash randomly.