安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题








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).