Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I confirm that bug. I didn't report that because I thought it have something to do with my little "cheat" (editing start.txt to boost skills of Heike ; D). Doesn't matter if you're attacking little AR base at north-west, AM at north-est or anything in russian base - always error "Range check error (005C4F8E)" (exact as the one posted). I assume that it may have something to do with newest patch. I don't have time to replay campaign but it may be worth to check this lead.
It looks like it would be a bug in the SAIL script as no other mission/mod has had this error.
@McBenn: Forwarded it where? There is nothing on the Bug Tracker and i havn't been informed. I just randomly was looking at the mods page and saw this thread.
Note that just because its a crash in the engine doesn't mean its the fault of the engine. If your mod supplies values which are not within the proper range that the engine expects (Directions being 0 to 5) then it will crash.
EDIT: GetDir will return -1 if the unit doesn't exist (Like most of the unit functions).
If someone could upload a save for the mission i could look into it further.
I uploaded 3 saves (but as i said - cheated) click "Idź do pliku" and then "Pobierz plik"
Crash only occurs after destroying too much. (the save "naukowcyspeed" (scientinsspeed) is with "speeded" scientist so i could contaminate main lode and finish the game without crash (wanted to see end-game dialogues at least ; D)
For some reason my copy of ArCamp doesn't have a mission 15 (Though it has a 15a) so i can't use the save.
Now we have a lead I'll se if I can track down the bug.
Using the manual download the save works, so it looks like the steam version had its sail re-compiled (And thus making it incompatible as the game would think its a different version of the SAIL).
I havn't narrowed it down but i was right that its the SAIL:
https://i.imgur.com/W1qKX5D.png
The image shows the values sent to an engineer to build/upgrade a building. The cilxs/cilys are the x/y coordinates where it should be built. Param1 is the building type and Param2 is the side. None of these should be negative values as they are invalid.
EDIT: worked out why its not stopping at breakpoints in ComBuild, its because your directly setting tasks with SetTaskList. So its one of the SetTaskList's setting the tasks to 'B'.
The issue is at:
for some reason you have b_value = -42; as a value if its a building not in the list. -42 isn't a valid building id so that would cause a crash in its self. So would the -7's. Though the real culprit is whats setting ai_upcoming_building_data.
EDIT2: The reason it gets past the following is because HexInfo returns 0 for invalid hex's:
It only returns -1 if its occupied by Environment. Though that line isn't the true issue (Your code is too complicated for me to work out what is actually causing the -1 values).