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

[1.13c] Function D2WIN_DrawText #167

Open
thaison1995 opened this issue Mar 28, 2022 · 0 comments · May be fixed by #177 or #185
Open

[1.13c] Function D2WIN_DrawText #167

thaison1995 opened this issue Mar 28, 2022 · 0 comments · May be fixed by #177 or #185

Comments

@thaison1995
Copy link

thaison1995 commented Mar 28, 2022

Looks like you got the wrong address DrawText on version 1.13c.

D2FUNC(D2WIN, DrawText, void, __fastcall, (const wchar_t * wStr, int X, int Y, int nColor, int Centered), 0x12FA0)//D2Win.#10150
D2FUNC(D2WIN, DrawTextEx, void, __fastcall, (const wchar_t * wStr, int X, int Y, int nColor, int Centered, int TransLvl), 0x12F60)//D2Win.#10096
case D2Function::D2Win_DrawText:
			hModule = _hD2WinDll;
			ordinal = 10096;
			break;

to

case D2Function::D2Win_DrawText:
			hModule = _hD2WinDll;
			ordinal = 10150;
			break;
@Jarcho Jarcho linked a pull request Nov 28, 2022 that will close this issue
@Jarcho Jarcho linked a pull request Mar 22, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant