Page MenuHomeFeedback Tracker

[::SpawnObjects] :: [ERROR]
Closed, ResolvedPublic

Description

Hi, as soon as you spawn objects via cfggameplay.json, you will get an error, because the script has an error, it is executed on both client and server, and should be only on the server. it says the file is missing, but in fact it is there and everything works fine

GLORYSTAR-PC, 14.01 2025 19:31:42
[::SpawnObjects] :: [ERROR] :: File "$mission:Map_Preset/Custom_Troestk.json" does not exist, check the provided path
Function: 'SpawnObjects'
Stack trace:
scripts/3_Game/objectspawner.c:22
scripts/3_Game/objectspawner.c:65
scripts/3_Game/dayzgame.c:1125
scripts/3_Game/dayzgame.c:2949
JM/CF/Scripts/3_Game/communityframework\game\dayzgame.c:23
LBmaster_Core/scripts/3_Game/lbmaster_core\dayzgame.c:189
VPPAdminTools/3_Game/vppadmintools\vanillaplusplus.c:211

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General

Event Timeline

Kreser created this task.Jan 14 2025, 7:44 PM
Geez changed the task status from New to Need More Info.Jan 15 2025, 9:59 AM
Geez added a subscriber: Geez.

Hello Kreser.
Please provide all the modified files (XML/Json).
Regards,
Geez

I give all my mapping, some is not used, but it is indicated in cfggamplay. error occurs as soon as I load any mapping on the server error only on the client

complains only about the 1st file, no matter what order it is loaded in

Geez added a comment.Jan 17 2025, 11:22 AM

Hello again.

You should double check the path to the file Custom_Troestk.json
The error pops up, because the game thinks that the file is located in "Map_Preset" folder:

[::SpawnObjects] :: [ERROR] :: File "$mission:Map_Preset/Custom_Troestk.json" does not exist, check the provided path

all these mapping files are in the folder that is specified in cfggameplay.json, that is, I have now at the current moment already like this mpmissions\dayzOffline.chernarusplus\Maping\here all mapping and I still get an error here's what's the matter

Kreser added a comment.EditedJan 18 2025, 7:16 PM

This mapping even exists on the server, it loads and everything works, but the error occurs on the client side.
so the client is trying to load the server side.

Geez closed this task as Resolved.Thu, Jan 23, 9:41 AM
Geez claimed this task.

Thank you, seems there is an issue with the error appearing even if everything is set up correctly. It is going to be fixed for the next experimental release.
Regards,
Geez