| View previous topic :: View next topic |
| Author |
Message |
andonrui Cheater
Reputation: 0
Joined: 22 Apr 2008 Posts: 33
|
Posted: Mon Feb 09, 2009 5:22 am Post subject: Maplestory fullscreen |
|
|
Hi,
I am wondering why does Getpixel always return 0 in fullscreen mode. I have no problems in windowed mode.
Thanks
|
|
| Back to top |
|
 |
Zerith Master Cheater
Reputation: 1
Joined: 07 Oct 2007 Posts: 468
|
Posted: Mon Feb 09, 2009 5:41 am Post subject: |
|
|
When the game is in full-screen mode, the resolution changes.
I think it's 640 x 480, I guess your resolution is higher and you tried accessing a pixel that doesn't exist, 700, 500 for example.
Have you tried accessing a pixel like 1, 1?
|
|
| Back to top |
|
 |
Stylo Grandmaster Cheater Supreme
Reputation: 3
Joined: 16 May 2007 Posts: 1073 Location: Israel
|
Posted: Mon Feb 09, 2009 5:53 am Post subject: |
|
|
perhaps the hdc is wrong
i'm pretty sure that in full-screen mode you should get the hdc to MS window and not get it with NULL value
|
|
| Back to top |
|
 |
andonrui Cheater
Reputation: 0
Joined: 22 Apr 2008 Posts: 33
|
Posted: Mon Feb 09, 2009 5:53 am Post subject: |
|
|
I thought its 800x600 all the time regardless of window or fullscreen? anyways the pixel i tried getting is still within the range at 200, 250.
Thanks
|
|
| Back to top |
|
 |
Zerith Master Cheater
Reputation: 1
Joined: 07 Oct 2007 Posts: 468
|
Posted: Mon Feb 09, 2009 6:30 am Post subject: |
|
|
| Well, I'm not sure, but I think the window is recreated once you toggle, so try getting the HDC once again after you toggled.
|
|
| Back to top |
|
 |
andonrui Cheater
Reputation: 0
Joined: 22 Apr 2008 Posts: 33
|
Posted: Mon Feb 09, 2009 7:49 am Post subject: |
|
|
| 1qaz wrote: | perhaps the hdc is wrong
i'm pretty sure that in full-screen mode you should get the hdc to MS window and not get it with NULL value |
Yes, i'm getting to MS window and i've GetDc and ReleaseDc.
|
|
| Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Mon Feb 09, 2009 6:20 pm Post subject: |
|
|
| Im getting it work fine. Is your getPixel Bypassed?
|
|
| Back to top |
|
 |
BanMe Master Cheater
Reputation: 0
Joined: 29 Nov 2005 Posts: 375 Location: Farmington NH, USA
|
|
| Back to top |
|
 |
andonrui Cheater
Reputation: 0
Joined: 22 Apr 2008 Posts: 33
|
Posted: Mon Feb 09, 2009 10:39 pm Post subject: |
|
|
Yes and Yes.
Already trampoline +5
|
|
| Back to top |
|
 |
|