Skip to content
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

Crashing during game #285

Open
ezpzgg opened this issue May 9, 2019 · 4 comments
Open

Crashing during game #285

ezpzgg opened this issue May 9, 2019 · 4 comments

Comments

@ezpzgg
Copy link

ezpzgg commented May 9, 2019

I got it to work, but it crashes a lot. Is there a known fix for this or not yet?

@ezpzgg
Copy link
Author

ezpzgg commented May 9, 2019

CSGO closes automatically at times

@Acew0t
Copy link

Acew0t commented May 10, 2019

Same here... What I have especially noticed is when I get into warmup, and get my first kill, then it automatically quits, then quits in-between a few times after...

@amcgregor
Copy link

"crashes 'a lot'"
"Quits in-between a few times…"

A lot, randomly, or almost every time it's run? Have you added the compiled executable you're running via sudo to your Security & Privacy System Preference list of apps authorized for full control of your computer? (You shouldn't need to add Terminal.app itself, which would be dangerous, as that would authorize all terminal software you run—all of it—to have full control.) This is required because of what this software does; it writes directly to the memory of another program, which today, operating systems see as anti-social behaviour, and kill. (With extreme prejudice; the app doing the bad behaviour is never notified of being closed, never given a chance to "crash", e.g. produce a core dump, doesn't produce an exit status code—at all—because the macOS kernel is literally deleting the data tracking the process and threads. Poof, it's gone, do not pass go, do not collect $200, that is an ex process. Bereft of life. Shuffled off its mortal coil.)

Also… potential duplicate of #252, #254, and #257 if this is the symptom.

There's the potential other issue that yes, even when operating "perfectly" it can seemingly randomly crash. This is usually a problem amplified by injection into the CS:GO process too early, e.g. before the memory location of the data the hack is looking for have been "fixed in place". These days I tend to inject within a playback session, avoiding sessions which feature player suicide, as that can also trigger a crash. This works ~80% of the time, the remaining time it'll crash once after only a few moments, I'll re-launch, get back to the point of injection, and it'll be fine that time. One thing that doesn't work 90% of the time: injection outside of an active game match. Don't jump the gun.

It crashed, in my last example case, because the memory area for the model list was moved after the hack had thought it had worked it out, and that memory was then reallocated to something else. Apparently, something more critical or sensitive to manipulation.

@amcgregor
Copy link

In some diagnostics ("printf school of debugging") it seems the status code associated with the memory write option is never validated or utilized. Outside of a match gives one error, between matches gives another write error, quitting CS:GO doesn't actually quit the hack, which begins getting a third type of error when attempting those writes. Interesting; error handling can definitely be improved. Or included at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants