Author Topic: Yitzi's unofficial SMAX patch 2.0  (Read 5622 times)

0 Members and 1 Guest are viewing this topic.

Offline Buster's Uncle

  • Through art, I
  • Transcend
  • *
  • Posts: 45770
  • €192
  • View Inventory
  • Send /Gift
  • Someone thinks a Winrar is You!  Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder Downloads Contributor AC2 Wiki contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Yitzi's unofficial SMAX patch 2.0
« Reply #15 on: May 25, 2013, 10:04:30 PM »
Hello Petek: I followed your suggestion

1- Unistall the game
2- Download from GOG
3- Fresh unmodded vanilla SMAC & SAMX
4- Apply 2.0 Yitzi Patch
5- Run SMAX
6- Select random huge map
7- Customize rules
8- Accept - enter - freeze game
9- Wait - no response
10- Open task manager - desktop in 16 bits - close aplication no response - reset PC
....  :(

Game totally unmodded
This is a job for Yitzi, then. 
Sorry if I wasn't clear: I would like a single zip file made from your entire folder, exactly as it is when the problem occurs.  Basically, I want a zip file that, if you unzipped the folder and ran it as-is, it would produce that bug but if not for the bug would work fine.
He'll want the same in all three cases reported here, I expect...

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.0
« Reply #16 on: May 26, 2013, 03:27:48 AM »
I got the same problem too, running Windows 7 64-bit. Is everyone who is not running into this problem using a 32-bit OS?

My own OS is 64-bit, and doesn't seem to have the problem.  (In any case, 64-bit should have no trouble running 32-bit programs; the original SMAC/X was 32-bit).  I can do a bit more testing, but there's a good chance that I'll need the complete buggy version to get a better sense of what's going on.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.0
« Reply #17 on: May 26, 2013, 03:46:31 AM »
Ok, I think I found the problem:

I had previously been testing a custom faction for someone, and the game was set to have that be one of the faction options.  However, you didn't have the faction, so it got confused and froze.

To fix the bug, you can either simply add the faction file (attached) and play with it or not as you choose, or you can download the attached replacement terranx, which has been fixed in this regard.

Offline Buster's Uncle

  • Through art, I
  • Transcend
  • *
  • Posts: 45770
  • €192
  • View Inventory
  • Send /Gift
  • Someone thinks a Winrar is You!  Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder Downloads Contributor AC2 Wiki contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Yitzi's unofficial SMAX patch 2.0
« Reply #18 on: May 26, 2013, 03:58:49 AM »
Let me know if/when you update the patch in Downloads...

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.0
« Reply #19 on: May 26, 2013, 05:05:11 AM »
I don't think it's impossible to modify a download after it's been posted; I'd need to provide a replacement.  Do you think it's worth doing that now (considering that 2.0 really didn't change that much from 1.3), or should I just wait until I have 2.1 ready (which will provide some substantial changes, especially one that will make Earthmichael very happy, namely the ability to have "what you see is what you get" rules in place for bases in most* cases.)

*The only exceptions would be a change that happens on someone else's turn (which of course should apply; if someone destroys a terraforming improvement, you shouldn't be able to gain its benefit the next turn), and something that happens due to a different (earlier) base's activity (the only things I can think of here are building projects, and only a handful of projects at that, which is a lot less hassle than checking every turn.)

Offline nadia911

Re: Yitzi's unofficial SMAX patch 2.0
« Reply #20 on: May 26, 2013, 03:12:21 PM »
I downloaded the fix, I applied and works perfect, I start a new game and if I find an error will let you know.

Thanks Yitzi  :danc:

Offline Buster's Uncle

  • Through art, I
  • Transcend
  • *
  • Posts: 45770
  • €192
  • View Inventory
  • Send /Gift
  • Someone thinks a Winrar is You!  Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder Downloads Contributor AC2 Wiki contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Yitzi's unofficial SMAX patch 2.0
« Reply #21 on: May 26, 2013, 05:58:36 PM »
I don't think it's impossible to modify a download after it's been posted; I'd need to provide a replacement.  Do you think it's worth doing that now (considering that 2.0 really didn't change that much from 1.3), or should I just wait until I have 2.1 ready (which will provide some substantial changes, especially one that will make Earthmichael very happy, namely the ability to have "what you see is what you get" rules in place for bases in most* cases.)

*The only exceptions would be a change that happens on someone else's turn (which of course should apply; if someone destroys a terraforming improvement, you shouldn't be able to gain its benefit the next turn), and something that happens due to a different (earlier) base's activity (the only things I can think of here are building projects, and only a handful of projects at that, which is a lot less hassle than checking every turn.)
You should definitely edit the instructions so people avoid this problem, then; editing the embedded alphax.txt isn't one of life's great struggles when you know how.  I haven't the foggiest if I have to prove instructions edits by you or not.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.0
« Reply #22 on: May 26, 2013, 10:18:54 PM »
There seems to be no way to change the instructions either, but I did add it as a comment.

Offline Buster's Uncle

  • Through art, I
  • Transcend
  • *
  • Posts: 45770
  • €192
  • View Inventory
  • Send /Gift
  • Someone thinks a Winrar is You!  Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder Downloads Contributor AC2 Wiki contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Yitzi's unofficial SMAX patch 2.0
« Reply #23 on: May 26, 2013, 10:25:00 PM »
I was able to add it to the description.

Offline miturian

Re: Yitzi's unofficial SMAX patch 2.0
« Reply #24 on: May 30, 2013, 07:59:54 PM »
I'm also getting this error? I'm using the GOG version of SMACX, and have installed yitzi's patch v. 2.0 and the datalinks patch. if I try to start a game it hangs when choosing the faction, and only shows the quote for the pirates. I tried using the terranx.exe file supplied in this thread, but that has no effect.

I'm on win 7 64 bit.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.0
« Reply #25 on: May 30, 2013, 10:09:53 PM »
1. Have you tried including the text file as well?  I don't think it should be needed, but it might help pinpoint what the problem is.
2. Do you also get a problem with quick start, or does that work properly?

Offline TarMinyatur

Re: Yitzi's unofficial SMAX patch 2.0
« Reply #26 on: July 22, 2013, 05:23:27 PM »
Thanks for your efforts, Yitzi. I enjoy the extra options available through the new alphax.txt variables.

However, I determined that the "16 times upgrade cost per square of new unit rows" variable really has this equation:

Let "C" = cost of new unit in credits
Let "U" = alphax.txt upgrade cost variable
Let "R" = rows of new unit

C = (U/100) * [(2.5 * R)^2]

Is this how you intended the variable to work?

If I set U = 100, and set all other upgrade-related variables to zero, upgrading a 1-row unit to a...

2-row unit costs 25 or 5^2
3-row costs 56 or 7.5^2
4-row costs 100 or 10^2
5-row costs 156 or 12.5^2
6-row costs 225 or 15^2

If I set U to 10, the costs are 10% of the previous results. While, setting U to 1000, multiplies the results by 10.

(I'm using the 2.1 patch.)

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.0
« Reply #27 on: July 22, 2013, 05:35:09 PM »
Thanks for your efforts, Yitzi. I enjoy the extra options available through the new alphax.txt variables.

However, I determined that the "16 times upgrade cost per square of new unit rows" variable really has this equation:

Let "C" = cost of new unit in credits
Let "U" = alphax.txt upgrade cost variable
Let "R" = rows of new unit

C = (U/100) * [(2.5 * R)^2]

Is this how you intended the variable to work?

Yes.  Simplify the equation you described, and it becomes (R^2)*U/16, i.e. U is 16 times the number you multiply by R^2.

Offline TarMinyatur

Re: Yitzi's unofficial SMAX patch 2.0
« Reply #28 on: July 22, 2013, 06:17:32 PM »
Ah. Thanks for the clarification.

I interpreted the meaning of "16 times upgrade cost per square of new unit rows" as:

16 times "U" per R^2

Which could be expressed as:

(16 * U) per R^2

or

(16 * U) / (R^2)

So, if the variable is set to 10, an upgrade from a 1-row to a 2-row unit would cost...

160 / 4 = 40!

...rather than 2.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.0
« Reply #29 on: July 22, 2013, 11:39:11 PM »
Ah. Thanks for the clarification.

I interpreted the meaning of "16 times upgrade cost per square of new unit rows" as:

16 times "U" per R^2

Which could be expressed as:

(16 * U) per R^2

or

(16 * U) / (R^2)

So, if the variable is set to 10, an upgrade from a 1-row to a 2-row unit would cost...

160 / 4 = 40!

...rather than 2.

No; the value you put in is 16 times the multiplier.

 

* 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)
-=-
18 (6%)
XP Compatibility patch
-=-
9 (3%)
Gog version for Windows
-=-
77 (29%)
Scient (unofficial) patch
-=-
28 (10%)
Kyrub's latest patch
-=-
14 (5%)
Yitzi's latest patch
-=-
85 (32%)
AC for Mac
-=-
2 (0%)
AC for Linux
-=-
5 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
12 (4%)
Total Members Voted: 260
AC2 Wiki Logo

* Random quote

It will happen, and it will happen in our lifetimes. Fusion Power isn't just the future. Fusion Power is now.
~ T. M. Morgan-Reilly, Morgan Metagenics

* Select your theme

*