[Help] Player Weapon Addresses
I'm trying to make a server controller with the ability to force what types of classes players use. My knowledge is quite limited in any other area apart from memory editing since h2v days when I use to make things, I never really branched out further than that not to mention I'm a bit rusty anyway it's been about 7 years since I was in the scene. I'm currently attempting to get the address's for all clients primary weapons as per the weapon id and I seem to be succeeding. Whenever I change weapons or a client in my game does the address shows up with the correct id as per what weapon is currently in use. However when I try write to the address to force change it nothing happens it just forces back to whatever weapon they have selected it. There is probably an easier way to do this I'm just sitting in my comfort zone where I have a lot of experience. Does anyone know if this was patched? I've seen several tutorials regarding this on mpgh however they're a bit old.
References
[Tutorial] Change your weapon - AuT03x3C
Ultimate Server Control hack <3 | Weapon ID's - LOLxFUN
The only other idea I had was similar to Scoudem's mw2 lobby tools where you're able to open the game setup while host of a public match, this way you'd be able to set weapon restrictions etc as mw3 has a lot more setup options than mw2.
Something like this: (note this is old mw2 code)
void OpenGameSetupMenu()
{
((void (__cdecl*) (int, const char*))0x59DD70) (0, "popup_gamesetup");
}
Obviously I'd have to find the gamesetup popup offset or equivalent to mw3 if one even exists however this is a bit out of my skill set hell I might be completely wrong here. Any input is appreciated.
References
[Tutorial] Change your weapon - AuT03x3C
Ultimate Server Control hack <3 | Weapon ID's - LOLxFUN
The only other idea I had was similar to Scoudem's mw2 lobby tools where you're able to open the game setup while host of a public match, this way you'd be able to set weapon restrictions etc as mw3 has a lot more setup options than mw2.
Something like this: (note this is old mw2 code)
void OpenGameSetupMenu()
{
((void (__cdecl*) (int, const char*))0x59DD70) (0, "popup_gamesetup");
}
Obviously I'd have to find the gamesetup popup offset or equivalent to mw3 if one even exists however this is a bit out of my skill set hell I might be completely wrong here. Any input is appreciated.