| View previous topic :: View next topic |
| Author |
Message |
devillangel Newbie cheater
Reputation: 0
Joined: 29 Nov 2008 Posts: 11 Location: Latvia
|
Posted: Sun Jun 21, 2009 10:57 am Post subject: Problem whith SETTLERS: RISE OF AN EMPIRE memmory editing |
|
|
I tried to edit wood , when i "poked" the wood , its freezed wood and all resurses incoming and outcoming .... Even the making goods houses stops 0/* , whats wrong ?
_________________
I eat your brains And I-ops |
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Sun Jun 21, 2009 11:53 am Post subject: |
|
|
You over wrote some code you shouldn't of possibly.
The instructions for the resources could be shared or close enogh to each other you wrote over something.
|
|
| Back to top |
|
 |
devillangel Newbie cheater
Reputation: 0
Joined: 29 Nov 2008 Posts: 11 Location: Latvia
|
Posted: Sun Jun 21, 2009 12:08 pm Post subject: |
|
|
here the screen , i don't think there is something wrong , but all codes is so familat ,and the poke script for all is the same , for wood , for stone ::
[img]
img191.imageshack.us/img191/4733/seeeu.th.jpg -> screen
| Description: |
|
| Filesize: |
119.28 KB |
| Viewed: |
16285 Time(s) |

|
_________________
I eat your brains And I-ops |
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Mon Jun 22, 2009 11:35 am Post subject: |
|
|
yeah i agree with that. A pointer will fix the problem.
If you look for a pointer for your resources, you could find the ones for AI too and set theirs lower lol.
That instruction you show is being disabled and is used for all resources.
|
|
| Back to top |
|
 |
Recifense I post too much
Reputation: 166
Joined: 17 Mar 2008 Posts: 3688 Location: Pernambuco - Brazil
|
Posted: Thu Jun 25, 2009 11:18 am Post subject: |
|
|
Hi guys,
As fr as I remember, this game is not so easy as it looks. You canīt freeze or change the values in the warehouse. When I implemented the script for version 1.5.4279 I chose to quicken up the basic production. It was the best approach. If the version you are working is the same one, here is a link to the script: http://forum.cheatengine.org/viewtopic.php?t=376461
Anyway, here are my notes:
| Code: |
The Settlers 6 - Rise of an Empire
free 400500
struct unit:
base + 0000 = 00927e34
base + 0004 = 00927df8
base + 0008 = iIndice
base + 000c = 80000000
base + 0028 = iOwner (1 = player)
base + 0080 = pType
base + 00a0 = iHP (Hero = 1000)
struct type:
base + 0000 = 009261d4
base + 0024 = iMaxHP
[00b00ebc] ptr to str seila
str seila:
base + 0000 = 0091780c
base + 0028 = pPlayer
str player:
base + 0000 = 0091a5cc
base + 0004 = i0
base + 0008 = pResources
struct build:
base + 0000 = 00934604(farms) 0091c8d4 (gold,warehouse)
base + 0004 = 009345cc(farms) 0091c89c (gold,warehouse)
base + 000c = 80000000
base + 0028 = iOwner (1 = player)
base + 00a0 = iHP
base + 00a8 = pSeiLa
pSeila:
base + 0004 = pBuild2
struct build2:
base + 0000 = 00933bf4
base + 0008 = iID
base + 000c = pType
base + 0018 = pResourceQtd
base + 0034 = iMaxPorduction
base + 0038 = i10
struct warehouse:
base + 0000 = 00937e3c
base + 0004 = i2
base + 0008 = iID
base + 0018 = pResourceQtd
base + 0034 = i100
base + 0038 = i10
base + 003c = i0
base + 0040 = i39
base + 0048 = iTotalInStock
base + 004c = iMaxCapacity
warehouse:
0004 = Carcass (meat)
0008 = RawFish
000c = Grain
0010 = Milk
0014 = Honey
0018 = Wood
001c = Stone
0020 = Iron
0024 = Wool
0028 = Herbs
iID = 7 => Grain Farm (Grain)
= 8 => Cattle Farm (Milk)
= 9 => Hunterīs Hut (Carcass)
= 10=> Fishing Hut (Raw Fish)
= 11=> Herb Gathererīs Hut (Herbs)
= 12=> Woodcutterīs hut (Wood)
= 13=> Stonecutterīs hut (Stone)
= 14=> Iron Minerīs hut (Iron)
= 15=> Beekeeperīs hut (Honeycomb)
= 16=> Sheep Farm (Wool)
= 17=> Bakery
= 18=> Dairy
= 24=> Cattle Pasture
struct resourceqtd (tam=10h):
base + 0000 = iResID
base + 0004 = iQtd
base + 0008 =
base + 000C = 09xxxxxx
struct resource displayed:
base + 0000 =
base + 0004 =
base + 0008 =
base + 000c =
base + 0010 =
base + 0014 =
base + 0018 =
base + 001c = iGrain
base + 0020 = iMilk
base + 0024 = iCarcass
base + 0028 = iRawFish
base + 002c = iHerbs
base + 0030 = iWood
base + 0034 = iStone
base + 0038 = iIron
base + 003c = iHoneycomb
base + 0040 = iWool
base + 004c = iFood
base + 005c = iCloth
....
base + 009c = iGold
base + 00a4 =
Storehouse
0040621a - 89 08 - mov [eax],ecx - selcted obj id
|
It is good to see someone using TSEARCHB. It used to be my favorite tool.
Cheers!
|
|
| Back to top |
|
 |
devillangel Newbie cheater
Reputation: 0
Joined: 29 Nov 2008 Posts: 11 Location: Latvia
|
|
| Back to top |
|
 |
|