Full Version: WeaponID
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I didn't really know where to put this, so I put it in tools.

Anyway, recently I've been working on an ammo reader, and I can see why Sph4ck did not read the ammo.

Not only is this a FUCKING PAIN IN THE ASS, I've had to jump through more hoops than I find attractable in reverse engineering.

My ammo reader is finally done and compensates for dualweilding, class changing, noobtubes, etc etc.

The biggest problem I had was compensating for when the user picks up a gun different than the one he spawned with.

The way the weapon structures are setup depends on what class you spawned with.

Anyway, to solve this problem, I just check what weapon the user is holding and compensate accordingly.

If someone else wants to give this a go, here are the weapon IDs I have logged.

Noobtube rifles:
379 974 623 728 851 1097 1220 1343
Dual Wielding pistols:
1589 1590 1591 1592 1593

You can get the current user's weapon from these two addresses.

Weapon slot 1: 0x00EAA314
Weapon slot 2: 0x00EAA30C

I tried developing siganatures for those addresses, but that whole area is pointers.

If someone else can make a signature that will work, let me know. Because I tried for hours and got nowhere. Patricks signature maker hates that whole thread.