Empyrion - Galactic Survival

Empyrion - Galactic Survival

Exception during deserialization ---> System.Runtime.Serialization.SerializationException: Property 'DiffEscapePodContent' not found on type 'Assembly-CSharp.AddinSettings'.
# --- Difficulty settings ---
DiffEscapePodContent: Easy # Easy, Medium, Hard --- Determines the content of the Escape Pod when you crash land on the planet
# DiffAmountOfOre: Normal # Rich, Normal, Poor --- Influences the average amount of ore that a deposit contains
#DiffNumberOfDeposits: Plenty # Plenty, Normal, Few --- Influences the average number of deposits per planet
# DiffDroneBaseAttack: Medium # Easy, Medium, Hard, Off --- Influences the difficulty of the drone base attacks (infinite waves, number of waves etc.)
# DiffDronePresence: Normal # Low, Normal, High, Off --- Influences the overall number of drones that are present on a planet
# DiffEnemySpawnRate: Normal # Low, Normal, High --- Influences the spawn rate of enemy NPCs on a planet
# DiffAttackStrength: Medium # Easy, Medium, Hard --- Influences the overall difficulty when attacking enemies
# DiffConstrCraftTime: Normal # Faster, Normal, Slower --- Influences the overall craft speed of constructors
# DiffBpProdTime: Normal

why is this crashing the server when this is what they provided?
Last edited by DronoPuddinpie; Jul 8, 2016 @ 4:18am
< >
Showing 1-5 of 5 comments
DronoPuddinpie Jul 8, 2016 @ 4:28am 
and the server starts fine if it change

DiffEscapePodContent: Easy # Easy, Medium, Hard --- Determines the content of the Escape Pod when you crash land on the planet

TO

#DiffEscapePodContent: Easy # Easy, Medium, Hard --- Determines the content of the Escape Pod when you crash land on the planet
Phelbore Jul 8, 2016 @ 9:13am 
Well, you didn't encloae it in [code][/code] tags, so the whitespacing is missing... but usually this means your whitespace is screwed up. YAML files are whitespace sensitive and need to line up. Try removing the # and a single space.
[WDR] DrDeve Jul 8, 2016 @ 3:55pm 
Originally posted by feanor_269:
Well, you didn't encloae it in [code][/code] tags, so the whitespacing is missing... but usually this means your whitespace is screwed up. YAML files are whitespace sensitive and need to line up. Try removing the # and a single space.


^^ This. Seen it before.

Downlaod the free Notepad++ and load both the original and your modified version. Notepad++ has .yaml syntax checking so it should point out the alignment problem quickly.

DronoPuddinpie Jul 8, 2016 @ 8:55pm 
yup it was the fact that it wasn't 4 spaces indented, whitespace parsing seems a bit archaic to me (having woked with whitespace parcers 30 years ago) but if that's what they want to do I have no reason to poo poo on their parade.
[WDR] DrDeve Jul 9, 2016 @ 7:57am 
Originally posted by DronoPuddinpie:
yup it was the fact that it wasn't 4 spaces indented, whitespace parsing seems a bit archaic to me (having woked with whitespace parcers 30 years ago) but if that's what they want to do I have no reason to poo poo on their parade.

Glad to hear it.

FYI - .yaml is an emerging standard for data serialization, i.e. a way to write structered data to a serial device (i.e. a text file, comms link, client/server data, etc) in such a way that disparate systems at either end can correctly interpret the data, and its structure, without concern for big-endian, small-endian o the size of an integer.

Its a dtatbase format that has little in common with the SGML based XML markup language, except the end results.

As of version 3 it is now a compatible subset of JSON. Yaml adds the elements of mandatory unique keys and human readability to the JSON standard, while maintaining compatability with the JSON std.

Whitespace is a significant formatting element in .yaml and cant simply be swallowed as we did 30 years ago.

Hence the parser in Notepad++

see here for more, if you like.
https://en.wikipedia.org/wiki/YAML
http://www.yaml.org/start.html (Reference and Specification documents).


Last edited by [WDR] DrDeve; Jul 9, 2016 @ 8:13am
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Jul 8, 2016 @ 4:07am
Posts: 5