Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Maplestory fullscreen

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
andonrui
Cheater
Reputation: 0

Joined: 22 Apr 2008
Posts: 33

PostPosted: Mon Feb 09, 2009 5:22 am    Post subject: Maplestory fullscreen Reply with quote

Hi,

I am wondering why does Getpixel always return 0 in fullscreen mode. I have no problems in windowed mode.

Thanks
Back to top
View user's profile Send private message
Zerith
Master Cheater
Reputation: 1

Joined: 07 Oct 2007
Posts: 468

PostPosted: Mon Feb 09, 2009 5:41 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Mon Feb 09, 2009 5:53 am    Post subject: Reply with quote

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
View user's profile Send private message
andonrui
Cheater
Reputation: 0

Joined: 22 Apr 2008
Posts: 33

PostPosted: Mon Feb 09, 2009 5:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Zerith
Master Cheater
Reputation: 1

Joined: 07 Oct 2007
Posts: 468

PostPosted: Mon Feb 09, 2009 6:30 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
andonrui
Cheater
Reputation: 0

Joined: 22 Apr 2008
Posts: 33

PostPosted: Mon Feb 09, 2009 7:49 am    Post subject: Reply with quote

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
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Mon Feb 09, 2009 6:20 pm    Post subject: Reply with quote

Im getting it work fine. Is your getPixel Bypassed?
Back to top
View user's profile Send private message
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Mon Feb 09, 2009 7:52 pm    Post subject: Reply with quote

i was just about to say GameGaurd hook GetPixel in userland with its dll it injects in to all process's

to bypass this hook you can use HookHopping which is all over this forum..
so i wont provide example code showing you how..

but if you need help in understanding the code i would be glad to help Smile

regards BanMe

_________________
don't +rep me..i do not wish to have "status" or "recognition" from you or anyone.. thank you.
Back to top
View user's profile Send private message MSN Messenger
andonrui
Cheater
Reputation: 0

Joined: 22 Apr 2008
Posts: 33

PostPosted: Mon Feb 09, 2009 10:39 pm    Post subject: Reply with quote

Yes and Yes.

Already trampoline +5
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites