How to forbid enter in the login section in the server
Hello ragezoners, i have problem. I need to forbid the Enter button in the login section and also when you choose hero. In this topic, http://forum.ragezone.com/f82/dl-bk-...ed-bug-849757/ someone has explaned it, but i don't undarstand. What file i must open with what must i open it, and what must i change. As you see i am newb, so give me a hand and explane it to me as such, thanks.
Re: How to forbid enter in the login section in the server
u mean with that
Quote:
Originally Posted by 4FUNer
int *MAIN_STATE = (int*)OFFSET;
if (*MAIN_STATE == X) (X=Number of char screen main state)
< code for disabling enter > (Enter in vc++ = VK_RETURN)
u must use visual c++ put that code , then compile it to .dll and hook it on ur main.exe or gameserver.exe
Re: How to forbid enter in the login section in the server
I think i found all that i need with some search and google, please give me conformation if i am correct and thank you for this valuable info. So i make a .DLL file with the code from below with this guide http://forum.ragezone.com/f302/use-c-make-dll-875550/ after that i hook this .DLL file to the main using this guide http://forum.ragezone.com/f196/hooki...-quick-762082/ and this should probably do it ?
Code:
int *MAIN_STATE = (int*)OFFSET;
if (*MAIN_STATE == X) (X=Number of char screen main state)
< code for disabling enter > (Enter in vc++ = VK_RETURN)
Re: How to forbid enter in the login section in the server
the only u find out is try ;D