Author Topic: Oddball Unit Bug  (Read 1355 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.

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
-=-
104 (33%)
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: 315
AC2 Wiki Logo
-click pic for wik-

* Random quote

By creating a planetary network, mankind on Planet now has the ability to share information at light-speed. But by creating a single such network, each faction has brought themselves closer to discovery as well. At the speed of light, we will catch your information, tag it like an animal in the wild, and release it unharmed-if such should serve our purposes.
~Datatech Sinder Roze 'The Alpha Codex'

* 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]