It has been a long time since I've released anything to the community whatsoever, so I figured I'd throw something out there that has plagued the community for quite some time.
What you will find here is a small DLL/Source I created to prevent the extremely frustrating cursor issues on older clients.
There is no need to replace your client cursors with the windows one or vice versa, this will give you your cursors back without the added fps problems.
It works by basically hooking the WndProc handler to override the GCL_HCURSOR value in a WNDCLASS structure and set the class cursor to the current cursor (achieved by hooking SetCursor).
Edit: Note that I haven't actually tested this extensively, just loaded up the start screen on the old 4351 client, but in theory it should work for any clients which have the issue.
I was having issues with this with my player base I'll try it out and if anything I'll link them to this post. Thanks for this is a really great release.
Great release. I've always been a victim of the cursor lag on the old clients and I've never been bothered looking into what the cause of it is. Thanks for this, it's nice to see more and more useful stuff is starting to show up here on epvp again.
Great release. I've always been a victim of the cursor lag on the old clients and I've never been bothered looking into what the cause of it is. Thanks for this, it's nice to see more and more useful stuff is starting to show up here on epvp again.
Doesn't work on 5018+. For some reason hooking the WndProc before being online crashes the client - it probably has something to do with the flash login screen.
Doesn't work on 5018+. For some reason hooking the WndProc before being online crashes the client - it probably has something to do with the flash login screen.
Possibly, I have since tested it on a 5035 client and it worked, so perhaps there is something different about 5018.
I will download it and have a look then get back to you.
Edit:
I have just tested from 5017 through till 5035 and it appears to work fine here.
If you get a chance can you try, commenting out the detoured SetCursor hook completely, and only hooking the WndProc. I recently learnt that you can simply pass NULL to WM_SETCURSOR to prevent windows changing the cursor and allow SetCursor to proceed as normal.
Well, I assumed the issue was with 5018+ because it had the flash, but my actual issue is with 5065.
And I tried to figure out why and as far as I can tell no matter what is in the WndProc hook it still crashes. Just by hooking that function the client crashes, which is weird.
----------
Edit:
Turns out the crash came from the injection process for some reason creating a hook from a remotely created thread crashed the client.
The fix works as it's supposed to.
Well, I assumed the issue was with 5018+ because it had the flash, but my actual issue is with 5065.
And I tried to figure out why and as far as I can tell no matter what is in the WndProc hook it still crashes. Just by hooking that function the client crashes, which is weird.
----------
Edit:
Turns out the crash came from the injection process for some reason creating a hook from a remotely created thread crashed the client.
The fix works as it's supposed to be.
Thank you Haydz.
Thanks for the heads up, I wanted to do the same thing.
Blink Dash / Blink Fade 10/01/2013 - Cabal Online - 7 Replies Can someone teach me how to do that?
or send me a link for that?
Client Map (M) Blink Fehler?! 06/10/2013 - Metin2 Private Server - 2 Replies Hi community,
hab in meinem Client in der Map (M) ein Problem:
http://puu.sh/3ckWc.jpg
Warum blinkt der nicht ganz und hat ein weißen Balken?
Metin2 P-Server Client Text-Cursor 01/29/2013 - Metin2 Private Server - 1 Replies Hallo,
Ich habe eine Frage bezüglich des Client Moddings.
Und zwar ist mir aufgefallen, dass ich keinen Cursor in den Textfeldern meines Clients habe.
(nicht der Mauszeiger, sondern der blinkende senkrechte Strich ist gemeint.)
Die Frage ist nun, was zu tun ist um diesen Cursor wieder anzuzeigen.
Gruß,
[How To] Cursor ändern [Client] 05/09/2010 - Metin2 PServer Guides & Strategies - 9 Replies Ihr geht auf den Modified Client 2.5 von Neon Blue
dann geht ihr auf
"ymir work"
dann auf den ordner
"cursor"
dann öffnet ihr z.b. die cursor_buy.sub und die cursor_sell.sub und vertauscht was bei ihnen steht wenn ihr jetz bei nem händler
auf kaufen geht kommt ein cursor mit sell ^^
Wie mache ich ganz andere cursor rein???
[Guide] Change cursor in your client 10/24/2009 - EO PServer Guides & Releases - 2 Replies Hi. I have been away from epvpers for a long time. So Im gonna teach you how to change your cursor in your client. I know its simple as it is xD But Im teaching for those that might find it difficult. Lets get this as simple as it is.
1)Download Reshack
2)Extract it somewhere using WinRAR or any other program used to extract files
3)Now open ResHacker.exe and click file, then open soul.exe file.
4)In the menus click Action