-_Z3R_- wrote:Not really sure if this is useful to some of you but it will be a good way to learn how some stuff works.
The 1st code "Weapon Packet Data", I made a routine awhile back to show me, who is shooting at me and what weapons they are using, as well attachments. The 2nd code "Weapon Receiver ID" will disable all the stats of the weapon like ammo, damage, lock on, accuracy & etc... You can take a look at "Joe's Universal Weapon" to look at which offsets does what.
Also if you can figure out the pointers that "Weapon Packet Data" prints out for each time your enemies shoot. You can hijack there weapons n switch them for something else. "There's a "jump" list table for all the weapons.
- Code:
#Weapon Packet Data
;Zero
0x004EE000 0xAFB40050
0x004EE004 0x8E040000
0x004EE008 0x3C190880
0x004EE00C 0xAF240800
0x004EE010 0x8E180004
0x004EE014 0xAF380804
0x004EE018 0x8E180008
0x004EE01C 0xAF380808
0x004EE020 0xAF27080C
0x004EE024 0xAF250810
0x004EE028 0x03E00008
0x00189040 0xAFBF0054
0x00189044 0x0E33B800
0x00189048 0xAFB20048
#Weapon Receiver ID
;Zero
0x01700000 0x8E040000
0x01700004 0x8E180004
0x01700008 0x3C1908C9
0x0170000C 0x8F3911A0
0x01700010 0x340F0040
0x01700014 0x032FC821
0x01700018 0x1099001D
0x01700020 0x23180008
0x01700024 0x8F180000
0x01700028 0x23180004
0x0170002C 0x8F180000
0x01700030 0xAF000044
0x01700034 0xAF000048
0x01700038 0xAF00004C
0x0170003C 0xAF000050
0x01700040 0xAF000054
0x01700044 0xAF000058
0x01700048 0xAF00005C
0x0170004C 0xAF000060
0x01700050 0xAF000064
0x01700054 0xAF000068
0x01700058 0xAF00006C
0x0170005C 0xAF000070
0x01700060 0xAF000074
0x01700064 0xAF000078
0x01700068 0xAF00007C
0x0170006C 0xAF000080
0x01700070 0xAF000084
0x01700074 0xAF000088
0x01700078 0xAF00008C
0x0170007C 0xAF000090
0x01700080 0xAF000094
0x01700084 0xAF000098
0x01700088 0xAF00009C
0x0170008C 0xAF0000A0
0x01700090 0x03E00008
0x0018904C 0x0E7C0000
0x00189050 0x00000000