Author Topic: Oddball Unit Bug  (Read 1322 times)

0 Members and 1 Guest are viewing this topic.

Offline Petek

Oddball Unit Bug
« on: July 07, 2013, 01:56:48 AM »
The attached save file illustrates a bug that comes up from time-to-time. I can't remember whether the cause has been identified and/or fixed. Load the game. If you simply proceed to play, the game will crash after a message about sunspots appears. Now load the game again and open the scenario editor. At coordinates (32,46), 10,16), (19,13) and (24,12) you will see some non-standard units. These units cause the crash. Deleting them avoids the crash. Can it be determined what causes these units to appear and how to avoid them? I'm pretty sure has been discussed previously, but I can't can't recall the outcome.

Offline Yitzi

Re: Oddball Unit Bug
« Reply #1 on: July 14, 2013, 11:11:40 PM »
Well, I've found part of your problem:
Somehow, most of the unit data for all the predesigned SMAX units got deleted.  So those units use image number 0 (which is that weird thing you see), and have unit cost 0 (which means that when the AI tries to divide by the unit cost for whatever reason, it crashes.)

As for why that data got deleted, I'm not quite sure.  If you could give me earlier savegames from the same game, that might help.  (Only ones where those units don't appear, though; the best would be if you could provide a savegame where there are SMAX predesigned units such as spore launchers, as close to when the weird units appear as possible.)  It also might help if you could provide your alphax.txt file.  Finally, are you sure you started the game as SMAX?  I'm not sure, but switching from SMAC to SMAX in the middle might also cause the problem.

Offline Petek

Re: Oddball Unit Bug
« Reply #2 on: July 14, 2013, 11:51:47 PM »
Thanks for taking a look. The save game isn't mine, it came from this thread on GOG's SMAC forum. I'll post again if I can reproduce the problem or find other information.

Offline Yitzi

Re: Oddball Unit Bug
« Reply #3 on: July 15, 2013, 12:16:22 AM »
Ok, let me know if you get more information.

 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
103 (32%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

The entire character of a base and its inhabitants can be absorbed in a quick trip to the Rec Commons. The sweaty arenas of Fort Legion, the glittering gambling halls of Morgan Bank, the sunny lovers' trysts in Gaia's High Garden, or the somber reading rooms of U.N. Headquarters. Even the feeding bay at the Hive gives stark insight into the sleeping demons of Yang's communal utopia.
~Commissioner Pravin Lal 'A Social History of Planet'

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 45 - 1228KB. (show)
Queries used: 38.

[Show Queries]