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

Crash On A Specific game #2

Closed
ghost opened this issue Jun 22, 2022 · 7 comments
Closed

Crash On A Specific game #2

ghost opened this issue Jun 22, 2022 · 7 comments

Comments

@ghost
Copy link

ghost commented Jun 22, 2022

the game crashes in emulator when entering the game on a real device it produces an auto shot (automatic shot) do you know how to fix it?

stacktrace :

image

@Rev
Copy link
Contributor

Rev commented Jun 22, 2022

What game? This could be caused by the register natives hook. Could you comment it out in the native-lib.cpp, and let me know if that fixes the issue?

@ghost
Copy link
Author

ghost commented Jun 23, 2022

yes commenting hook_RegisterNatives solves the problem, do you have any solution available?

@ghost
Copy link
Author

ghost commented Jun 23, 2022

name of game : standoff 2

@ghost
Copy link
Author

ghost commented Jun 23, 2022

All are working i fixed myself the problem.

@ghost ghost closed this as completed Jun 23, 2022
@ghost
Copy link
Author

ghost commented Jun 23, 2022

kid, first stop helping pasha production and others leech stuff from standoff 2 like token authorization and others, fix it urself lol

First of all i know about "IRC" i am IRCKALUS no IRC

@Rev
Copy link
Contributor

Rev commented Jun 24, 2022

Well, for anyone reading this in the future in case they get the same issue, you have a few options.

  1. I believe houdini just translates ARM instructions to x86 (x86 is what 32-bit Android emulators typically use), so running the game on a device that directly uses an ARM cpu would fix the issue (as it wouldn't need libhoudini.so to translate the instructions).

  2. Find a way to hook it without it crashing, as, without it, you won't be receiving touch input.

  3. Find another way to receive inputs, such as through using View.OnTouchListener, but using it would be quite primitive in this case.

@Rev Rev reopened this Jun 24, 2022
@Rev Rev pinned this issue Jun 24, 2022
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
@ToshiroZ @Rev and others