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

Doesn't work on servers that open another window #1

Closed
checkraisefold opened this issue Nov 26, 2021 · 8 comments
Closed

Doesn't work on servers that open another window #1

checkraisefold opened this issue Nov 26, 2021 · 8 comments

Comments

@checkraisefold
Copy link

for obvious reasons, servers that create another dreamseeker instance and reconnect will not work with this

@Lyut
Copy link
Owner

Lyut commented Nov 27, 2021

for which obvious reasons?

it works fine for me on such servers, how are you doing this?

@Lyut
Copy link
Owner

Lyut commented Nov 27, 2021

just add an import to the IAT of dreamseeker.exe from Main in your compiled hook dll, code will automatically execute on launch

This is an image

@Lyut
Copy link
Owner

Lyut commented Dec 8, 2021

Confirmed working, no response in almost 2 weeks, assuming the issue is fixed.
Feel free to comment for further questions

issue.mp4

@Lyut Lyut closed this as completed Dec 8, 2021
@Lyut
Copy link
Owner

Lyut commented Dec 10, 2021

commit a26937c fixes this "issue", you can use DSPatcher.exe to patch dreamseeker.exe and make it automatically run BYONDHook on every startup @checkraisefold

@checkraisefold
Copy link
Author

checkraisefold commented Dec 24, 2021

@Lyut spoiler: if you plain add a DLL to the IAT of dreamseeker.exe or byondcore.dll, you will trigger the intentional anticheat that just crashes the game when it detects a non-trusted import

on most computers at least...

@Lyut
Copy link
Owner

Lyut commented Dec 24, 2021

@checkraisefold As long as the DLL is outside BYOND's directory (reason why I instruct placing the DLL in a custom folder e.g. C:\BYOND) and the import is added from an absolute path (e.g. C:\Windows\system32\kernel32.dll insteaad of kernel32.dll) the anticheat fails.

Thanks for the heads up, really appreciated. If you have more info about that I'd be happy to hear from you.

@checkraisefold
Copy link
Author

checkraisefold commented Dec 24, 2021

not gonna lie, that's really dumb that you can just do that. i managed to just hook the anticheat and turn it off, but spent a while figuring out where it was

@Lyut
Copy link
Owner

Lyut commented Dec 24, 2021

that's interesting, I personally haven't took any look at the anticheat because I straight up assumed there was some sort of check when it would crash with any import from any DLL. I randomly tried the solution above and came up to the conclusion it works, so I never bothered again.

great to hear i'm not the only one working on BYOND cheats. I'm always open for suggestions or PRs!

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

2 participants