Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Tue Nov 18, 2025 2:16 am

All times are UTC - 8 hours [ DST ]


Forum rules





Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sat Nov 17, 2007 3:48 pm 
Offline
Kommunist
Kommunist

Joined: Sat Nov 17, 2007 2:59 am
Posts: 15
This is my first post here, but hopefully not my last. I don't know the protocols here, but here's something that I quickly found in five minutes with Trainer Toolkit.

As you may know, each player in Settlers DS has an HQ. If you lose your HQ, you lose the game (I think this is the case, but in any event, unless you have a good storehouse network, losing your HQ is still crippling - I've never lost my HQ). These codes, good only for single-player games, change the inventory of your HQ.

999 wood in HQ
Code:
620AEC88 00000000
B20AEC88 00000000
10000000 000003E7
D2000000 00000000


999 boards in HQ
Code:
620AEC88 00000000
B20AEC88 00000000
10000002 000003E7
D2000000 00000000


This goes on with the following offsets for the following resources:
  • 04 - Stone
  • 06 - Pigs
  • 08 - Grain
  • 0A - Flour
  • 0C - Fish
  • 0E - Ham
  • 10 - Bread
  • 12 - Water
  • 14 - Beer
  • 16 - Coal
  • 18 - Iron Ore
  • 1A - Gold
  • 1C - Iron
  • 1E - Coin
  • 20 - Tongs
  • 22 - Axe
  • 24 - Saw
  • 26 - Pickaxe
  • 28 - Hammer
  • 2A - Shovel
  • 2C - Crucible
  • 2E - Rod and Line
  • 30 - Scythe
  • 32 - Cleaver
  • 34 - Rolling Pin
  • 36 - Bow
  • 38 - Sword
  • 3A - Shield
  • 3C - Boat
  • 3E - Helper
  • 40 - Builder
  • 42 - Planer
  • 44 - Woodcutter
  • 46 - Forester
  • 48 - Stonemason
  • 4A - Fisher
  • 4C - Hunter
  • 4E - Carpenter
  • 50 - Farmer
  • 52 - Pig Breeder
  • 54 - Donkey Breeder
  • 56 - Miller
  • 58 - Baker
  • 5A - Butcher
  • 5C - Brewer
  • 5E - Miner
  • 60 - Iron Founder
  • 62 - Weaponsmith
  • 64 - Minter
  • 66 - Toolsmith
  • 68 - Geologist
  • 6A - Scout
  • 6C - Pack Donkey
  • 6E - Private
  • 70 - Corporal
  • 72 - Sergeant
  • 74 - Officer
  • 76 - General


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 18, 2007 11:14 am 
Offline
Kommunist
Kommunist

Joined: Thu Sep 20, 2007 7:37 am
Posts: 25
are these the codes that actually give u inf items not like the one on codejunkies that just shows inf items?


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 18, 2007 11:18 am 
Offline
Komrade
Komrade
User avatar

Joined: Mon Oct 02, 2006 5:56 pm
Posts: 1978
Title: Mr. Bitches
You forgot to specify region in the topic name, but otherwise you did just fine with protocol. :P Welcome to Kodewerx.

@asuri
I suppose you could test them out if you really want to know, heh. It'd even be useful for others if you tested them.

_________________
Image
Image
<EggWerx> MetalOverlord: Dsman and lemmayoshi will be used for taco meat, ask mo he knows me.
jleemero wrote:
Being required to learn Java for a Comp Sci MAJOR is like being required to shit on a lawnmower to be an astronaut.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 19, 2007 9:14 am 
Offline
Komrade
Komrade

Joined: Tue Mar 27, 2007 10:18 am
Posts: 1328
So it looks like

Code:
620AEC88 00000000
B20AEC88 00000000
C0000000 0000003C
10000000 000003E7
DC000000 00000002
D2000000 00000000

Gives 999 of everything? You might want to be lazy and just use that instead. :P

Of course, there might be people who don't like overdoing it on the stat modification, but for those who don't care, this will save lines and thought.

I claim no credit for the above, etc.

_________________
Image


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 19, 2007 9:49 am 
Offline
Kommunist
Kommunist

Joined: Tue Oct 10, 2006 9:32 am
Posts: 445
Sorry for jumping in, but actually that would be C0000000 0000003B and not C0000000 0000003C. The number in the C code type is the number of time(s) to repeat the code.

Also, I'll still point that C code types is very bad, and anything that can shorten what is repeated is good. For exemple, using the DC code type is a 'bad' idea for this case, as it'll add a lot of ticks just to add 2 to the offset, which the D7 code can do easily in one shot.
So it would be now :
620AEC88 00000000
B20AEC88 00000000
D5000000 000003E7
C0000000 0000003B
D7000000 00000000
D2000000 00000000

Finally, it would better to add a check to make the code being executed only once, as this kind of code really doesn't need to be executed often. People were having troubles on FFTA2 because there were too many C codes types enable all the time.

The 'final' code could then be something like that :
Press Start+Select to have 999 of every item
94000130 FC0003FF
023FDFF0 00000000
D2000000 00000000
94000130 FFF30000
923FDFF0 00000000
023FDFF0 00000001
620AEC88 00000000
B20AEC88 00000000
D5000000 000003E7
C0000000 0000003B
D7000000 00000000
D2000000 00000000

Way bigger I admit, but 100% crash/lag free. Of course an asm hack, a custon asm routine or another AR hack (coming soon) would be even better.

Edit : oh, forgot that the 16bits write can be changed to a 32-bits one of course. But as the code above will be executed only once per keypress, and changing to 32bits won't make any size gain, it's a bit useless.


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 20, 2007 11:46 pm 
Offline
Kommunist
Kommunist

Joined: Sat Nov 17, 2007 2:59 am
Posts: 15
Still, it doesn't make the game any faster (and any Settlers player can tell you the game is dead-slow, even after 60 minutes with the R-throttle on you could have only expanded once or twice, and you might need to expand 10-15 times in order to get within catapult range of your opposition and 20-25 times to actually attack).

In fact, it doesn't make the game any easier (economy is far too centralized with the cheat - since so much stuff moves out of your HQ - but as long as the cheats are on, you could always force "everything" out and make your helpers move your infinite supply to your storehouses and harbours). But it will help if you're lazy and want to expand "crazy fast" (which is still glacially slow) and want to forget about other supply chain aspects (mining, processing, farming, etc), or if you are short on the non-renewable resources (ie. the mine products stone, coal, iron, and gold, possibly fish if you are in tight space conditions and water if you only have a few well sites).

I'm surprised at the expressive power of AR, and it might bring forth cool cheats (such as having fully-stocked buildings all of the time, whether they exist and if so where they are, or having infinite HP for your soldiers) - depending on whether I reach the limits of AR's processing capability (I suspect that this is something nontrivial). I also would like to see if the format that maps are stored in Settlers DS are identical to that of PC versions of Settlers (AR might be an impractical way of replacing a map with your own if it was the case).

I'll also note that the one for helpers is actually quite redundant - helpers slowly grow in number over time, but may never exceed 100 in any HQ/storehouse/harbour. Helpers, of course, are the guys on your roads, and manning your catapults and wells (which you will have plenty of anyways).

@asuri:
The ones provided by CodeJunkies only modifies inventory on your inventory screen (which is the sum of all your goods in all your empire, either stored in HQ, storehouses, harbours, in transit, awaiting processing, working in a building, etc). Not useful because changing that doesn't actually change anything that makes up the sum.


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 31, 2008 8:38 am 
Offline
Kommunist
Kommunist

Joined: Tue Aug 21, 2007 4:13 am
Posts: 3
I've got the EU Version and I've tested bothe codes but no code worked :(
I think this codes are for the US version. Has somebody the code from kenobi for EU? Or how can I convert this code for EU?

(I'm not good at englisch :D )

_________________
I'm not good at Englisch :D


Last edited by Fritz der Hacker on Fri Apr 18, 2008 2:55 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 06, 2008 1:26 am 
Offline
Kommunist
Kommunist

Joined: Sat Nov 17, 2007 2:59 am
Posts: 15
This is for the US version, that is correct.


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 18, 2008 2:58 pm 
Offline
Kommunist
Kommunist

Joined: Tue Aug 21, 2007 4:13 am
Posts: 3
Can anybody help me to convert that code to EU?
I've found an topic about how to convert codes but I'ven't any EU code(without any code i can convert that code)
How can I get one eu code?

_________________
I'm not good at Englisch :D


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 116 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group