Author Topic: Illegal land-raising trick  (Read 6498 times)

0 Members and 1 Guest are viewing this topic.

Offline Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49271
  • €440
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Illegal land-raising trick
« Reply #15 on: April 18, 2013, 05:53:55 PM »
Okay, this is getting consistent results in v2.0.  Press "[" and have a party.

Offline Yitzi

Re: Illegal land-raising trick
« Reply #16 on: April 18, 2013, 06:01:12 PM »
Er...the game you just uploaded has no formers active.  You sure you didn't upload the first game by mistake?

Offline Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49271
  • €440
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Illegal land-raising trick
« Reply #17 on: April 18, 2013, 06:03:45 PM »
Crap.  I must've saved it in the wrong folder.  Cost me a few hours of last night's game, too.  Hold on.

Offline Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49271
  • €440
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Illegal land-raising trick
« Reply #18 on: April 18, 2013, 06:21:06 PM »
Odd - it seems that the game defaults to the last folder it saved in, not the folder it just loaded from.  I didn't do anything wrong except not look around to see which copy it was saving in - and there go a bunch of turns.

I finally got a lowering that didn't turn the base square rolling, but it worked on the next try.  It's possible you'll need to reload - but it's worked seven out of eight times.

Offline Yitzi

Re: Illegal land-raising trick
« Reply #19 on: April 18, 2013, 08:43:16 PM »
Well, this is a hard one, as switching to the debugger seems to make it not happen  (I may do more testing, though).  But in case Scient wants to have a try, here's what I've figured out:

The square information is stored at position 2CXsquare# plus the DWORD at 94A30C.  (This is quite a bit beyond the data segment used for most things, by the way.)  Square# here is determined by taking the second coordinate, multiplying by the DWORD at 68FAF0 (I presume that's map size), and adding half the first coordinate.  The rockiness is found in the 6th byte of the square, at bits 40 and 80.  (Equivalently, it's at DWORD square-start+8, at the 14th and 15th bits of the field.)

Note that the DWORD at 94A30C can (and generally will) change between different loads of the same game.

Offline Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49271
  • €440
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Illegal land-raising trick
« Reply #20 on: April 21, 2013, 06:52:02 PM »
If you provide a link of a game where the bonus-loss happens, it may be possible for someone to take a look at it at some point.





Open the attached save and "]" the active former; you'll see.

Offline Yitzi

Re: Illegal land-raising trick
« Reply #21 on: April 21, 2013, 08:15:03 PM »
The earlier game you provided was enough; the problem now is just that the bug is a tough one, and I've got higher priorities at the moment.

Offline Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49271
  • €440
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Illegal land-raising trick
« Reply #22 on: April 21, 2013, 09:03:30 PM »
This is about sea bonuses becoming pods when raised to land - and I dunno if either is a bug.  Just pointing out oddities.

I've noted you can also lose sea resource bonus squares from raising.  Maybe this is already known.
I knew about it. 

Patchers?
The sea bonus is lost, but it becomes a Unity pod on the land raised. This pod acts like any other: it might show up a monolith, a worm, a resource bonus, or whatever else is possible.
That sounds right.

I keep forgetting that it does that, and was disappointed when I was raising land as recently as a few weeks ago - and I've been playing since the year SMAC came out.
If you provide a link of a game where the bonus-loss happens, it may be possible for someone to take a look at it at some point.

Offline Yitzi

Re: Illegal land-raising trick
« Reply #23 on: April 21, 2013, 09:43:50 PM »
This is about sea bonuses becoming pods when raised to land - and I dunno if either is a bug.  Just pointing out oddities.

I've noted you can also lose sea resource bonus squares from raising.  Maybe this is already known.
I knew about it. 

Patchers?
The sea bonus is lost, but it becomes a Unity pod on the land raised. This pod acts like any other: it might show up a monolith, a worm, a resource bonus, or whatever else is possible.
That sounds right.

I keep forgetting that it does that, and was disappointed when I was raising land as recently as a few weeks ago - and I've been playing since the year SMAC came out.
If you provide a link of a game where the bonus-loss happens, it may be possible for someone to take a look at it at some point.

Ah, I misunderstood what it was for.  That said, the two (rockiness and the resource transformation) are probably the same bug, and they're too hard for me to work on at this point.  Scient might be able to, though, try asking him.

Offline Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49271
  • €440
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Illegal land-raising trick
« Reply #24 on: April 21, 2013, 09:50:52 PM »
Not sure either is a bug.

Offline Yitzi

Re: Illegal land-raising trick
« Reply #25 on: April 21, 2013, 10:20:06 PM »
Not sure either is a bug.

They sometimes happen, sometimes don't, and (at least for the first) trying to investigate it via a debugger makes it not happen.  That is not the behavior of something that was put in intentionally.

Offline Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49271
  • €440
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Illegal land-raising trick
« Reply #26 on: April 21, 2013, 10:22:52 PM »
[shrugs]  The rockiness changing randomly is actually useful sometimes, as formers have a level function but not the converse.

Offline gwillybj

Re: Illegal land-raising trick
« Reply #27 on: April 22, 2013, 02:37:33 AM »
Not sure either is a bug.
I'll second that. ;b;
Two possibilities exist: Either we are alone in the Universe or we are not. Both are equally terrifying. ― Arthur C. Clarke
I am on a mission to see how much coffee it takes to actually achieve time travel. :wave:

Offline Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49271
  • €440
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Illegal land-raising trick
« Reply #28 on: April 11, 2022, 04:04:51 AM »
bump

 

* 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

Our scientists now use fractal theory to 'teach' the molecules to assume, or resume, a particular form. Substances of amazing strength become simple once the formulae are properly computed.
~Col. Corazon Santiago 'The Council of War'

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

[Show Queries]