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 


C# Win32Exception Access Denied Problem BaseAddress

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

Joined: 27 Mar 2013
Posts: 14

PostPosted: Mon Oct 28, 2013 5:38 am    Post subject: C# Win32Exception Access Denied Problem BaseAddress Reply with quote

Hello CE Community,

i'm searching for two days and still have no luck. I'm trying to get the Base Address of League of Legends but if i use Process MainModule.BaseAddress it raises a Win32Exception with Access is Denied. I've tried a lot of Code from this Board and also from Google but nothing seems to work. Using Process EnableDebug stops throwing the error but return a completly different and wrong Base Address than CE does.

I'm really sure that League of Legends runs under System User Rights.

I'm running on Windows 8.1 64Bit and using Visual Studio 2012 as i'm a student and have free access.

Anyone maybe also had this Problem and has a solution for?

Thx !!!
Back to top
View user's profile Send private message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Mon Oct 28, 2013 9:54 am    Post subject: Reply with quote

Have you tried running your app as Administrator?
_________________
Stylo
Back to top
View user's profile Send private message
FreewareFire
Newbie cheater
Reputation: 0

Joined: 27 Mar 2013
Posts: 14

PostPosted: Mon Oct 28, 2013 11:03 am    Post subject: Reply with quote

Quote:
Have you tried running your app as Administrator?


Hello Stylo,

yes of course. I've tried as admin and also compiled my exe as 32 and 64bit.
This failed too. What makes me wondering is that if i enable Process EnableDebug mode i'm getting a address but it's the wrong.
Back to top
View user's profile Send private message
DELETED_USER
Newbie cheater
Reputation: 1

Joined: 02 Oct 2013
Posts: 24
Location: Venezuela

PostPosted: Mon Oct 28, 2013 11:26 am    Post subject: Reply with quote

FreewareFire wrote:
Quote:
Have you tried running your app as Administrator?


Hello Stylo,

yes of course. I've tried as admin and also compiled my exe as 32 and 64bit.
This failed too. What makes me wondering is that if i enable Process EnableDebug mode i'm getting a address but it's the wrong.


If CE does, then the game should be protected, try checking if there's a driver hooking some Windows API.
Back to top
View user's profile Send private message Send e-mail
FreewareFire
Newbie cheater
Reputation: 0

Joined: 27 Mar 2013
Posts: 14

PostPosted: Mon Oct 28, 2013 11:33 am    Post subject: Reply with quote

Quote:
If CE does, then the game should be protected, try checking if there's a driver hooking some Windows API.


That's exactly what i'm thinking, seems to be protected. But i think it's just protected as it runs as system process. But maybe i'm wrong. Maybe someone has another idea since i'm not such a pro to hook api's.

May i try to get the base address of another process to verify that's only a League of Legends problem. If fails on other processes something is definitly wrong Very Happy

But in anyway - Thank you for your reply!
Back to top
View user's profile Send private message
FreewareFire
Newbie cheater
Reputation: 0

Joined: 27 Mar 2013
Posts: 14

PostPosted: Tue Oct 29, 2013 5:58 am    Post subject: Reply with quote

I've solved it. I added the wrong pointer value. Using the EnterDebugMode and the correct pointer it points where it should.

Thx to all who tried helping me !!!

This forum and the people here are awesome Exclamation
Back to top
View user's profile Send private message
DELETED_USER
Newbie cheater
Reputation: 1

Joined: 02 Oct 2013
Posts: 24
Location: Venezuela

PostPosted: Tue Oct 29, 2013 9:46 am    Post subject: Reply with quote

Nice that you've fixed it.

Very Happy
Back to top
View user's profile Send private message Send e-mail
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