Page MenuHomeFeedback Tracker

Json Creation don't work is correct
New, NormalPublic

Description

PC Version Server game 1.05.152.380

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 8 x64
Operating System Version
6.3
Category
Error Message
Steps To Reproduce
  1. Setup a clear server game
  2. Add a my custom modification with a auto-creation JSON-format file with a big information config
  3. In a server creating file I am get a crashlog:
JSON ERROR:
lacks ending quotation before the end of string
Function: 'Error'
Stack trace:
scripts/1_Core/proto/EnDebug.c:44
scripts/3_Game/tools/JsonFileLoader.c:29
TimeDestruction/4_World/cfg_timedestruction_class.c:91
TimeDestruction/4_World/cfg_timedestruction_class.c:35
TimeDestruction/5_Mission/mission\missionserver.c:8
  1. Restart server game
  2. A get crash-error again and again with auto-regenerate config-file.
  3. Edit a created JSOn-config file as manually for corrected info
  4. Restart server, all config readed a normal, i am don't get any crashlogs and crash errors

If i am a commenter this lines:

ObjectsCFG.Insert(CreateDefaultCFGObject("level_1_wall_1_base_down",false,0));
		ObjectsCFG.Insert(CreateDefaultCFGObject("level_1_wall_1_wood_up",false,0));
		ObjectsCFG.Insert(CreateDefaultCFGObject("level_1_wall_2_wood_down",false,0));
		ObjectsCFG.Insert(CreateDefaultCFGObject("level_1_wall_2_base_up",false,0));
		ObjectsCFG.Insert(CreateDefaultCFGObject("level_1_roof",false,0));
		ObjectsCFG.Insert(CreateDefaultCFGObject("level_1_stairs",false,0));

in a my .c script in my modification this crash logs with creating a config-file don't exist and all work a normal

Additional Information

Event Timeline

AXEL7 created this task.Sep 12 2019, 6:30 PM