cwtools / cwtools-eu4-config

.cwt config for eu4
MIT License
9 stars 13 forks source link

Explore errors found in CWTools log #398

Open maxice8 opened 9 months ago

maxice8 commented 9 months ago

[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope capital_scope
[Info  - 7:16:27 PM] Unexpected scope capital_scope
[Info  - 7:16:27 PM] Unexpected scope capital_scope
[Info  - 7:16:27 PM] Unexpected scope capital_scope
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/dlc_metadata/dlc_metadata.cwt (13,2--13,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/trade_consolidated.cwt (60,2--60,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/governments_and_reforms.cwt (45,2--45,61) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/governments_and_reforms.cwt (70,2--70,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/governments_and_reforms.cwt (89,2--89,32) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/governments_and_reforms.cwt (114,2--114,38) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/religions_and_related.cwt (42,2--42,44) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/religions_and_related.cwt (53,2--53,43) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/religions_and_related.cwt (64,2--64,36) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/religions_and_related.cwt (73,2--73,35) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/religions_and_related.cwt (82,2--82,49) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/ages.cwt (18,2--18,35) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/countries_consolidated.cwt (8,2--8,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/countries_consolidated.cwt (13,2--13,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/countries_consolidated.cwt (18,2--18,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/00_small_types_consolidated.cwt (130,2--130,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/00_small_types_consolidated.cwt (135,2--135,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/00_small_types_consolidated.cwt (141,2--141,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/unit_types.cwt (6,2--6,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf start_from_root found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/on_actions.cwt (4,8--4,29) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf start_from_root found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/custom_gui.cwt (5,2--5,23) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf start_from_root found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/custom_gui.cwt (11,2--11,23) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf start_from_root found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/custom_gui.cwt (17,2--17,23) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf start_from_root found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/custom_gui.cwt (23,2--23,23) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/history/history_consolidated.cwt (9,8--9,28) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/history/history_consolidated.cwt (29,2--29,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/history/history_consolidated.cwt (42,2--42,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/history/history_consolidated.cwt (50,2--50,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/map/default_map.cwt (4,2--4,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/map/ambient_objects_and_terrain.cwt (34,2--34,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/map/tiles.cwt (4,2--4,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/gfx/sprite_packsorder.cwt (5,2--5,22) IsSynthetic=false```
17blue17 commented 9 months ago

cwtools log or the game error log? If CWtools then sounds like a cascade error - ie one error makes all the rest of the code show errors also.

maxice8 commented 9 months ago

cwtools log, that one is from CWTools' initialization, it is telling us that certain pieces of our CWTools rules have Unexpected elements (a/k/a they are not working as we expect them to be)

17blue17 commented 9 months ago

Well there is a file in cwtools that has game directories. I never understood what it does. Also maybe we need new types setup for new files?

That last one for sprite packs order I know is set up and working. I am not familar with IsSynthetic = False for sprite packs. Is that something custom you added?

17blue17 commented 9 months ago

also where can I find this log?

maxice8 commented 9 months ago

Use the DEveloper: Show Log option in VSCode and navigate to the Paradox Language Server tab

image

image