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

all the text is gone after i change resolution #118

Open
yvngxsosa opened this issue Nov 28, 2021 · 15 comments
Open

all the text is gone after i change resolution #118

yvngxsosa opened this issue Nov 28, 2021 · 15 comments

Comments

@yvngxsosa
Copy link

when i'm injected and i change resolution example from 2560x1440 to 1920x1080 all the text is just gone the menu still functions properly but cant see the tabs or any text.

@MyNameIsKodak
Copy link

hook OnScreenSizeChanged and setup your fonts again inside the hook

@yvngxsosa
Copy link
Author

Desktop Screenshot 2021 12 02 - 15 22 28 03

i have this but it doesnt work could you explain how this works?

@MyNameIsKodak
Copy link

show me your hooks::initialize function
also you are not calling your original (look at what the other hooks are doing)

@yvngxsosa
Copy link
Author

yeah i forgot to call original :D sorry xd

@MyNameIsKodak
Copy link

yeah i forgot to call original :D sorry xd

you fixed it?

@yvngxsosa
Copy link
Author

how do i call it? sorry if this is stupid question i'm new to c++

@MyNameIsKodak
Copy link

MyNameIsKodak commented Dec 2, 2021

are you even hooking it? show me the top of your hooks.cpp, everything from the beginning of the file to the end of the initialize function

@MyNameIsKodak
Copy link

you aren’t hooking it, pasting a function into your hooks.cpp does not hook it. you will need to find the index for it and call MH_CreateHook() in order to hook it.

@yvngxsosa
Copy link
Author

Desktop Screenshot 2021 12 02 - 18 52 14 62

like this? idk the index tho

@MyNameIsKodak
Copy link

116 is the most recent index i have, i am not at my computer so i can’t find it in IDA right now

@yvngxsosa
Copy link
Author

broo it works now!!! thank you so much for helping the noob xd

@MyNameIsKodak
Copy link

no problem 😉

@peybb1
Copy link

peybb1 commented Dec 13, 2021

do u have discord i need help @yvngxsosa

@yvngxsosa
Copy link
Author

yvngxsosa commented Dec 13, 2021

do u have discord i need help @yvngxsosa

join this server so i can help https://discord.gg/KwgG5QTm

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

4 participants
@MyNameIsKodak @yvngxsosa @peybb1 and others