PDA

View Full Version : More Byte Hacking


Basic001
26th October 2004, 10:32
Okay, thanks to whoever posted the update for AAOM I know the values to change the amount of ammo in the 203 from 1 to 255 or whatever. Kinda nice with no reload, however, I'd like to set the value to around 50. My problems is that after reloading instead of another 50 shots available there is only 1.
Hud ammo count for the 203 would read:

50/6 after the 50 are gone and you reload
1/5 is the value it goes back to

I'd like it so say:
50/6
50/5
50/4 etc.

I'm having problems finding the value to change on this one. I can recompile the .U file just fine and get it working ingame, I'm just kinda stuck trying to find this reload value.

Anyone..? P.M. me if you have to

Okay, after 8 hours of trying different search/key words to look for I'm up for a nap :smoke:
I know which value to change for the initial value of 50 203 rounds when the weapon is first summoned ingame. I'm at a loss as to which value or file contains the M203's reload capacity value. So that when the player reolads from 0/6 it will again say 50/5 and not 1/5

I understand the nature of keeping these things private, even though I'm figuring it out, I just need another brain to help me in the right direction to find this. Although I haven't thought that maybe no one knows where this value is yet....?

BaDToY
26th October 2004, 15:58
Just to let you know i have tried lots of things to get the ammo to be higher in the 203 even like frezing the memory and changing the values on the memory wile in gmae nothing seems to work im sure that the 203 ammo count is controlled server sied. I have gotten then numbers to change but after number 6 they just seem to be duds.

Drop
26th October 2004, 16:37
As far as I can tell, the only reason the fixjam/reload trick works is that fixjam deincrements the ammo amount by one. When it deincrements it to -1, the byte that it's stored in overflows, and giving you 256 ammo. The reason this works is that the same code for fixjam is used on the client and server sides.

How do you recompile .u files? I've tried using UCC, but the DEVs seems to have compressed the indices.

Basic001
27th October 2004, 00:13
As far as I can tell, the only reason the fixjam/reload trick works is that fixjam deincrements the ammo amount by one. When it deincrements it to -1, the byte that it's stored in overflows, and giving you 256 ammo. The reason this works is that the same code for fixjam is used on the client and server sides.

How do you recompile .u files? I've tried using UCC, but the DEVs seems to have compressed the indices.

Well on a certain server with PB disabled, almost always on Bridge, he found a way to change the ammo count upon reload. The first shot would be 1 round and every reload after that would give you 5 shots per reload.
1/6
5/5
5/4
5/3
etc.

He won't tell how, geeeez, and as far as help with decompiling check out AAOCrypt in the MPC download section HERE (http://www.mpcdownloads.com/_mpc_d0wn_h4x_/AAO/) The .U files in AAO are encrypted which makes them a pain in the ass to decompile.
UCC will not work with AAO because it's writen for different files and a different game type. It looks for those files and errors out every time, but if someone could re-code UCC to work with AAO it would help a ton

DelfinoM
28th October 2004, 02:39
whats UCC?

megawhey
28th October 2004, 02:57
do a search here.. its uploaded here..

UCC is a good progrom

daenerys
28th October 2004, 23:16
do a search here.. its uploaded here..

UCC is a good progrom

could u be more specific please? uploaded where? and which version of ucc? is there a version for aa?

i am pretty sure there has to be a ucc version for aa, because the UXBot was probably made with it. If not, than the maker has compiled it almost manually...

Basic001
29th October 2004, 02:12
could u be more specific please? uploaded where? and which version of ucc? is there a version for aa?

i am pretty sure there has to be a ucc version for aa, because the UXBot was probably made with it. If not, than the maker has compiled it almost manually...

I haven't seen a version of UCC here at all but I'm guessing you are right about someone making thier own/hacking UT's version to work with AAO. I wish i had the skills to do that myself, as getting the .U files down to thier .UC form is really the ultimate goal.