Author Topic: Yitzi's unofficial SMAX patch 3.3b  (Read 9308 times)

0 Members and 1 Guest are viewing this topic.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #15 on: December 31, 2014, 04:56:25 PM »
Ok, I found out what's happening, and it's not due to my patch:

A needlejet will regenerate its fuel when it reaches 0 movement in an airbase or base.  This can happen due to the "skip turn" (spacebar) action, which sets movement to 0, or by reaching the airbase/base in its last move, but will not happen with the "hold position" action.  Therefore, if a needlejet still has movement left and you have it hold position (or sentry (L)) in a base/airbase and then end turn while there is still movement left, it will regenerate that turn's fuel (since that's tracked with movement), but no more.

This is a fairly minor bug and not due to my patch, so while you can nominate it for fixing, it's not getting fast-tracked.

Offline ete

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #16 on: January 01, 2015, 06:17:59 PM »
It's also on the bug tracker https://github.com/OpenSMACX/OpenSMACX/issues/9 and has been around/known for a long time.

Offline VladaM

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #17 on: January 01, 2015, 08:56:44 PM »
Thanks for help, Is it good to know "how to refuel"  :D
"Backspace" key is my friend now  :D

But I have new "frozing" savegame - in attachment.

After new turn the game froze without error message.....

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #18 on: January 01, 2015, 09:02:47 PM »
Freezes are usually extremely difficult to track down...if it doesn't happen in Kyrub's patch (unlikely) I can probably do something, but if it does then it'd probably have to wait until the decompilation project is done.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #19 on: January 01, 2015, 09:06:38 PM »
Well, I was able to determine that it's due to corrupted data: A unit is listed with "next unit in square" as itself.  So I should be able to edit the savegame to fix it...

Offline VladaM

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #20 on: January 01, 2015, 09:19:21 PM »
Thank you for help.

I am sick (flu) and this game is memory return to my colleague age, I played it in physics computer laboratory after the lectures.
There were 5 astrophysics and teoretical physics which played this game  :D :D :D
I was amazing times  ;) ;) ;)

So you have my admiration and gratitude. I spend last 3 days in memories back in 1998/1999  :D :D :D

If its there some possibility of donation It will be glad to contribute some small amount.

Have a nice evening.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #21 on: January 02, 2015, 02:24:04 AM »
Thank you for help.

I am sick (flu) and this game is memory return to my colleague age, I played it in physics computer laboratory after the lectures.
There were 5 astrophysics and teoretical physics which played this game  :D :D :D
I was amazing times  ;) ;) ;)

So you have my admiration and gratitude. I spend last 3 days in memories back in 1998/1999  :D :D :D

If its there some possibility of donation It will be glad to contribute some small amount.

Have a nice evening.

Thanks.  I don't really think I need a small donation (although the site would probably appreciate it), but if you happen to know of any available jobs in the New York area starting in May or June...

Offline VladaM

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #22 on: January 02, 2015, 09:13:25 AM »
I am from central europe (Czech republic) , It sound little bit familiar as Central park - but itsnt the same place  :D

So I am sorry - I've heard about New York only from TV series "Friends" and "How I Met Your Mother"  :D

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #23 on: January 04, 2015, 12:29:29 AM »
Correction: It may actually be due to listing itself as "previous unit in square", but same idea (it lists itself as both, but I'm not certain which is which, and it doesn't really matter for purposes of fixing it...)

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #24 on: January 04, 2015, 12:54:36 AM »
Okay, I've managed to produce a fixed savegame after ending the turn, which I'm attaching.

However, it does seem to be a bug in my patch, so I'll have to track it down and figure out where the problem is...

Offline VladaM

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #25 on: January 04, 2015, 07:51:35 AM »
Hi, I load damaged (and ALSO fixed) save and I found Believers troop in my city (I am in VENDETTA with her), but city is still mine.
So maybe this was the problem with the bad savegame - game save enemy troop in my city....
Thanks for help.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #26 on: January 04, 2015, 01:25:05 PM »
Hi, I load damaged (and ALSO fixed) save and I found Believers troop in my city (I am in VENDETTA with her), but city is still mine.
So maybe this was the problem with the bad savegame - game save enemy troop in my city....
Thanks for help.

Or it might be a second consequence of whatever the bug was...I still have to figure out what the problem is and how to fix it...

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 3.3b
« Reply #27 on: January 04, 2015, 06:58:57 PM »
Bad news: Unlike what I first thought, the underlying bug was not introduced in my patch, but rather is present in Kyrub's, and probably Scient's and even the original as well.  And without a version of the game that lacks the bug, tracking down a data corruption bug is not feasible without access to source code.  So once the decompilation project is completed it can probably be fixed, but until then a case-by-case fix is probably the best that can be done; fortunately, it seems to be fairly rare.

 

* 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

God does not play dice.
~Albert Einstein

* 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: 37.

[Show Queries]