Installer Steam
connexion
|
langue
简体中文 (chinois simplifié)
繁體中文 (chinois traditionnel)
日本語 (japonais)
한국어 (coréen)
ไทย (thaï)
Български (bulgare)
Čeština (tchèque)
Dansk (danois)
Deutsch (allemand)
English (anglais)
Español - España (espagnol castillan)
Español - Latinoamérica (espagnol d'Amérique latine)
Ελληνικά (grec)
Italiano (italien)
Bahasa Indonesia (indonésien)
Magyar (hongrois)
Nederlands (néerlandais)
Norsk (norvégien)
Polski (polonais)
Português (portugais du Portugal)
Português - Brasil (portugais du Brésil)
Română (roumain)
Русский (russe)
Suomi (finnois)
Svenska (suédois)
Türkçe (turc)
Tiếng Việt (vietnamien)
Українська (ukrainien)
Signaler un problème de traduction
??
is explained as follows: how can you miss the elephant?
P.S. I played CW7 yesterday, and today I played CW8
This happens in both CW7 and CW8.
Mods:
CW7 or CW8
Unique Upgrade
Reworked Upgrades - City
Reworked Upgrades - Officer
Famous Officer
https://drive.google.com/file/d/19mywg0AOWHx-oBanomCTdfgAe-XuT9en/view?usp=sharing
558153802 - Famous Officer
727724567 - Unique
New game with stayed mods:
CW8
707507717 - Officers
703008339 - CPUpgrades
I have already bought 8 cities for food, while there are no more such problems and crashes.
Assumption: Perks or buildings with the same name gave out problems ...
P.S. After 20 minutes ... I jinxed it, it broke on the 9th task ...
[string "Armenia.RebelToPlayer9.Subtask1"]:1: unfinished string near '"Tsolag of Baku'
The empty lines look fine in the UI, but break the script when generating certain random/dynamic objectives. If a random/dynamic objective ends up requiring a city with those extra empty lines, it will always break the LUA script and the objective won't work properly and give console errors.
I agree with you. After the bug from Baku, I bought another two cities for food, then again the quest was issued to Baku with a bug.
Thanks Fristi. Just to be clear, before I go trudging thru lots of files , are you talking about the .str for each city ? If so, taking Baku as a example, there are no empty lines,...?
Welcome to the debug console. For a list of commands, type 'commands()' in the field below, or use 'commands("filter")' to show only the commands you're interested in. Press F2 to close this window.
Loading game: r008
> setgamespeed(5)
[string "Armenia.RebelToPlayer9.Subtask1"]:1: unfinished string near '"Tsolag of Baku'
Help us debug this script! Type 'clipboard(history())' to copy everything above into your clipboard, so you can send it to a dev!
> setgamespeed(1)
[string "Aorsi.RebelToPlayer11.Subtask1"]:1: unfinished string near '"Hormidac of Salsk'
Help us debug this script! Type 'clipboard(history())' to copy everything above into your clipboard, so you can send it to a dev!
> setgamespeed(5)
> setgamespeed(1)
> setgamespeed(5)
> setgamespeed(1)
> setgamespeed(5)
In this period I bought 'Kyfa'
> setgamespeed(1)
> setgamespeed(1)
> setgamespeed(5)
> setgamespeed(1)
Loading game: autosave 5
> setgamespeed(5)
[string "Armenia.RebelToPlayer14.Subtask1"]:1: unfinished string near '"Nbad Noy of Baku'
Help us debug this script! Type 'clipboard(history())' to copy everything above into your clipboard, so you can send it to a dev!
Loading game: autosave 2
Loading game: autosave 2
> setgamespeed(1)
[string "Armenia.RebelToPlayer15.Subtask1"]:1: unfinished string near '"Sasoun of Artashat'
Help us debug this script! Type 'clipboard(history())' to copy everything above into your clipboard, so you can send it to a dev!
Loading game: autosave 1
Loading game: autosave 2
> setgamespeed(5)
> setgamespeed(1)
> clipboard(history())
Is it possible that the 'of' gets into the generated script?
I do see empty lines in the Baku string. I am talking specifically about the ::NAME string.
Every city's ::NAME string needs to not have these empty lines underneath the actual name. Same for general names. Tooltips are fine.
Unfortunately you have given each city its own .str file so it'll be a bit of work to open and save all of those :D
EDIT:
To be clear what I mean is this: https://imgur.com/a/xRNukLM
And those should be deleted for all city ::NAME strings and also all the strings for general names. The text of those strings must just be on a single line
The 'of' is not the problem.
The problem is with these dynamic objectives the LUA script generates a XML string for the objective.
Then the XML string has more LUA inside of it, but that LUA is also a string at first, and is run separately later.
But the 'outer' LUA that's generating the XML that holds the 'inner' LUA is already fetching the strings from the string system and outputting them as string literals to the 'inner' LUA.
But then if such a string has a line break in it, it will become incorrect syntax for the string literal in the 'inner' LUA and will cause an error when that inner LUA (which was previously just a string in the dynamically generated XML) actually fires (when the XML code actually gets parsed and loaded after the strings are already inserted into the inner LUA code).
If all of that sounds like Greek to you, don't worry, it's pretty advanced and I kind of more or less am a quasi-professional programmer myself these days.
But trust me, the line breaks in the name string shouldn't be there.
Ships cannot enter the upper right Deep Water Fort: facepalm: