r/HaloForge • u/Otherwise-Report-400 • Nov 26 '22
Forge Help: Dedicated Server Issue
Hi there! I have had a continous problem with my forge map where after I update a script and save, any time I exit and try to load the forge map I receive "There was a problem with the Dedicated Server. Please try again." This has happened numerous times, and the only way to play the map is to revert to an older version, which is frustrating because I cannot progress my work on my map. Is there anyway to solve this? I tried saving the map as a new map, but that has not been working either.
4
Upvotes
1
u/OmgWhatAJoke Nov 30 '22 edited Nov 30 '22
I had the same issue where I was making lots of scripts and I kept getting the same error message you are getting. According to the developers, theoretically there is no limit to how many script brains you can make as long as you are under the simulation memory % and the only limit is that you can only have 128 nodes per script brain. In practice, however, having too many scripts will not let you connect to a dedicated server even if you were editing before and the scripts were working perfectly fine.
I had 15% simulation memory and I ended up making lots of scripts and cannot load back into my map unless I go to a version that did not have the scripts I made. The map that the game lets me load into has 215-275 nodes, when I copied a bunch of scripts and went into 950+ nodes the game no longer connects me to a dedicated server.
You have 2 options:
Bite the bullet and scale down all of your scripting considerably so you can continue to edit your map and be able to load into it in Forge.
Select all of your problem scripts, create a prefab of all of them by opening the actions menu, then when they are a prefab, save that prefab by opening the actions menu again - I suggest giving your saved prefab the name "Problem Scripts" When the prefab is saved, delete your problem scripts prefab off of your map and then save your map. The next time you load into your map, just drop your problem scripts prefab back into the map and continue editing. You will have to ungroup the prefab if you want to edit your scripts, then before you leave forge, make another prefab of your edited scripts, save it, and then delete the existing prefab on the map. You can name the new prefab "Problem Scripts-1" and so on for every time you edit them.
A word of warning, if you choose option 2, you can continue to create whatever you wanted in Forge, but your map will likely never be playable with your scripts because if it is ever saved with the scripts then a Custom Game will likely never load just as Forge does not load.