-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix pLocal/pWeapon being nullptr on first tick of joining a map #22
Conversation
Why not move lines 46 and 47 to 38 and 39 and check |
the issue is that FRAME_NET_UPDATE_END happens after createmove and if you were trying to do something like yes you are right about the lines thing, i think this would be even better in the lastusercmd function as this does exactly that btw this only crashes you if you re injecting mid game |
The entitycache in general is pointless and only complicates things further. I don't know why you guys still use it at all amongst everyone else in their sources. |
Since I'm focused on my university studies, I won't be able to continue working on this cheat for the foreseeable future. Besides, this cheat was always meant to be a temporary solution while waiting for the release of Amalgam |
understandable, actually the simplest of the fixes would be |
Huh? |
Most of the issues with pLocal being invalid can be fixed with proper error checking through most of the code... |
lgtm thanks! |
would crash your game if you were to
pLocal->As<CBasePlayer>()
for example