[Urgent] Maps using Custom Blocks included in TitlePacks fail to load on servers
Posted: 27 Jul 2019, 17:39
As you know, TMOne Alpine was just released.
Included in it is a ValleyVoid.Block.Gbx that is included in every new map people create. It removes all ground and is replaced with ground items that people can remove and replace with the items they're building with.
The problem is, maps that use this block cannot be hosted on a server. We get the following error:
"Missing Custom Blocks: ValleyVoid.Block.Gbx"
This is not an issue with the block. We also tested on maps that use this block embedded in the mapfile (instead of using the titlepack block) and they're able to be hosted on the server.
We also tested using the Maker titlepack and a completely different custom block.
- Create a new map in the solo campaign area.
- Disable "embed items and blocks" in the map editor.
- Place the custom block that's included in the WorkTitles folder.
- Then validate, save the map, and compile the titlepack.
- Open the titlepack and try to host the map on an in-game server. It fails.
So this issue extends to all of ManiaPlanet. I'm just surprised no one found it until now.
As a side point, the Ghost Editor is also unable to load maps using custom blocks that are included in the titlepack. It has to be related to the same bug.
We say this is urgent because a lot of maps have already been built in Alpine, and more will be built every day (we hope), and none of them built the normal way can be hosted online.
Thanks for your attention regarding this issue.
--------------------
EDIT:
I did some further testing.
I know that the game actually can read items placed in the blocks folder. You can use them in the Map Editor.
So in case this was simply an issue of the server being unable to read the Blocks folder, I ran the whole Maker titlepack test mentioned earlier using an item instead of a block.
The in-game server had no issues loading a map with an item that is stored in the blocks folder of the titlepack.
So this leads me to believe the cause has something to do with the games' ability to read Custom Blocks when they're standalone files.
Included in it is a ValleyVoid.Block.Gbx that is included in every new map people create. It removes all ground and is replaced with ground items that people can remove and replace with the items they're building with.
The problem is, maps that use this block cannot be hosted on a server. We get the following error:
"Missing Custom Blocks: ValleyVoid.Block.Gbx"
This is not an issue with the block. We also tested on maps that use this block embedded in the mapfile (instead of using the titlepack block) and they're able to be hosted on the server.
We also tested using the Maker titlepack and a completely different custom block.
- Create a new map in the solo campaign area.
- Disable "embed items and blocks" in the map editor.
- Place the custom block that's included in the WorkTitles folder.
- Then validate, save the map, and compile the titlepack.
- Open the titlepack and try to host the map on an in-game server. It fails.
So this issue extends to all of ManiaPlanet. I'm just surprised no one found it until now.
As a side point, the Ghost Editor is also unable to load maps using custom blocks that are included in the titlepack. It has to be related to the same bug.
We say this is urgent because a lot of maps have already been built in Alpine, and more will be built every day (we hope), and none of them built the normal way can be hosted online.
Thanks for your attention regarding this issue.
--------------------
EDIT:
I did some further testing.
I know that the game actually can read items placed in the blocks folder. You can use them in the Map Editor.
So in case this was simply an issue of the server being unable to read the Blocks folder, I ran the whole Maker titlepack test mentioned earlier using an item instead of a block.
The in-game server had no issues loading a map with an item that is stored in the blocks folder of the titlepack.
So this leads me to believe the cause has something to do with the games' ability to read Custom Blocks when they're standalone files.