jaredballou / insurgency-sourcemod

Fork of SourceMod 1.8 including my custom plugins to support Insurgency.
Other
70 stars 33 forks source link

Ins_GetWeaponGetMaxClip1 returns garbage value #9

Open Battleroid opened 9 years ago

Battleroid commented 9 years ago

Hello.

I've been trying to get the maximum ammunition count for the current weapon's magazine using Ins_GetWeaponGetMaxClip1, however it seems to spit out a garbage value of -203142970. This value comes up regardless of the weapon used.

I've also tried using your Ammo Check plugin (both from source and the provided compiled version) to verify and it returns the garbage value every time.

insurgency_2015-10-30_16-38-19

jaredballou commented 8 years ago

This is due to the offsets and signatures changing with each release of the game. I need to address this, as it's still not working.

Battleroid commented 8 years ago

Alrighty.