View Single Post
  #8  
Old November 29th, 2007, 09:41 AM
vfb's Avatar

vfb vfb is offline
General
 
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
vfb is on a distinguished road
Default Re: New theory about the scale bug: >6 neighbors

Oh no! The geo table is polluted!

Code:

0xad6bc14 <geo+2356>: 0x002b0001 0x0033002d 0x00000032 0x00390035
0xad6bc24 <geo+2372>: 0x00000000 0x00000000 0x00000000 0x00000000
0xad6bc34 <geo+2388>: 0x00000000 0x00000000 0x00000100 0x03f10331



The above is for Marverni, neighbors:
0x01 = 1
0x2b = 43
0x2d = 45
0x33 = 51
0x32 = 50
0x00 --> no more neighbors
0x35 <-- Ack! This is neighbor #7, the invisible neighbor.

I'll see if I can find where the 0x35 gets inserted into the geo table.

Edit: It's from the save file itself. The getfatherland() function loaded the value into the geo table.
__________________
Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php?
Reply With Quote