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 


[?] Changing an addy (Read, not a stupid question)
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
CRISISxCupid
I post too much
Reputation: 1

Joined: 09 Jun 2007
Posts: 2256

PostPosted: Mon Oct 20, 2008 1:34 pm    Post subject: [?] Changing an addy (Read, not a stupid question) Reply with quote

Is there another way to edit an addy like in CE? Or a different way to read them? inb4packetediting.
_________________
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Mon Oct 20, 2008 1:43 pm    Post subject: Reply with quote

As what you mean with editing it "like CE" I have no idea, but I assume you're asking if you can edit "opcodes" (memory viewer) likewise with programming?

Well, you'd have to have some kind of byte translating function to interpret the bytes into opcodes.
For instance -

Code:
public void conversion(int byte, string output):string {
      switch (byte) {
              case 90:
              output = "nop";
              break;
      default:
      output = "Error";
      break;
}
return output;

I'm used to C# if you take that as a consideriation as well, there might be smaller differences between the language you use.

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!


Last edited by Spawnfestis on Wed Oct 22, 2008 11:07 am; edited 3 times in total
Back to top
View user's profile Send private message Send e-mail MSN Messenger
CRISISxCupid
I post too much
Reputation: 1

Joined: 09 Jun 2007
Posts: 2256

PostPosted: Mon Oct 20, 2008 1:44 pm    Post subject: Reply with quote

No not what I mean. I mean like how CE edits the addy. Is there any way to edit it? Do you understand me now? I can't answer until tomorrow.
_________________
Back to top
View user's profile Send private message
--Pillboi--
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Mar 2007
Posts: 1383
Location: I don't understand the question. Is this a 1 to 10 thing?

PostPosted: Mon Oct 20, 2008 1:46 pm    Post subject: Reply with quote

You mean how he said? Rolling Eyes
_________________

Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair.
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Mon Oct 20, 2008 1:53 pm    Post subject: Reply with quote

iNcorrection wrote:
No not what I mean. I mean like how CE edits the addy. Is there any way to edit it? Do you understand me now? I can't answer until tomorrow.

Sorry I'm confused whether you're talking about making CE act differently or if you want to program some own program? Confused

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
GMZorita
Grandmaster Cheater Supreme
Reputation: 0

Joined: 21 Mar 2007
Posts: 1361

PostPosted: Mon Oct 20, 2008 3:06 pm    Post subject: Reply with quote

Spawnfestis wrote:
As what you mean with editing it "like CE" I have no idea, but I assume you're asking if you can edit "opcodes" (memory viewer) likewise with programming?

Well, you'd have to have some kind of byte translating function to interpret the bytes into opcodes.
For instance -

Code:
public void conversion(int byte, string output){
      switch (byte) {
              case 90:
              output == "nop";
      defaults:
      output == "Error";
}

I'm used to C# if you take that as a consideriation as well, there might be smaller differences between the language you use.

Code:
public string conversion(int byte, string output){
      switch (byte) {
              case 0x90:
              output = "nop";
              break;
      default:
      output = "Error";
      break;
}
return output;

Bet this works way better...

iNcorrection wrote:
No not what I mean. I mean like how CE edits the addy. Is there any way to edit it? Do you understand me now? I can't answer until tomorrow.

http://msdn.microsoft.com/en-us/library/ms681674(VS.85).aspx

_________________
Gone


Last edited by GMZorita on Tue Oct 21, 2008 4:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Mon Oct 20, 2008 3:22 pm    Post subject: Reply with quote

It uses it's own ReadProcessMemory and WriteProcessMemory. Look for them in the driver.
Back to top
View user's profile Send private message MSN Messenger
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Mon Oct 20, 2008 4:49 pm    Post subject: Reply with quote

Load CE's driver and use the dbk32.dll (or whatever its called) to communicate with it.
_________________
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 Oct 20, 2008 4:58 pm    Post subject: Reply with quote

sponge wrote:
Load CE's driver and use the dbk32.dll (or whatever its called) to communicate with it.


If you really want to do it that way, You can find out a way to mount the ce driver. I can mount it but cant start it so its sad. then you use DeviceIOControl to send message into the driver.
Back to top
View user's profile Send private message
CRISISxCupid
I post too much
Reputation: 1

Joined: 09 Jun 2007
Posts: 2256

PostPosted: Tue Oct 21, 2008 6:38 am    Post subject: Reply with quote

Is there another function to edit memory in games?
_________________
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Tue Oct 21, 2008 7:37 am    Post subject: Reply with quote

iNcorrection wrote:
Is there another function to edit memory in games?


Injecting a DLL and using basic operators.
Back to top
View user's profile Send private message MSN Messenger
CRISISxCupid
I post too much
Reputation: 1

Joined: 09 Jun 2007
Posts: 2256

PostPosted: Tue Oct 21, 2008 9:34 am    Post subject: Reply with quote

noz3001 wrote:
iNcorrection wrote:
Is there another function to edit memory in games?


Injecting a DLL and using basic operators.


I mean like in the style of a CE.

_________________
Back to top
View user's profile Send private message
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Tue Oct 21, 2008 12:22 pm    Post subject: Reply with quote

No. Read/WriteProcessMemory, inject a dll, or use an alternative that implementation of Read/WrieProcessMemory to bypass anti-cheat (read: use dbk). Every possible solution has been posted here.
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
CRISISxCupid
I post too much
Reputation: 1

Joined: 09 Jun 2007
Posts: 2256

PostPosted: Tue Oct 21, 2008 12:56 pm    Post subject: Reply with quote

nog_lorp wrote:
No. Read/WriteProcessMemory, inject a dll, or use an alternative that implementation of Read/WrieProcessMemory to bypass anti-cheat (read: use dbk). Every possible solution has been posted here.


Alright. Thanks Nog_lorp :]

_________________
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Tue Oct 21, 2008 2:37 pm    Post subject: Reply with quote

GMZorita wrote:
Spawnfestis wrote:
As what you mean with editing it "like CE" I have no idea, but I assume you're asking if you can edit "opcodes" (memory viewer) likewise with programming?

Well, you'd have to have some kind of byte translating function to interpret the bytes into opcodes.
For instance -

Code:
public void conversion(int byte, string output){
      switch (byte) {
              case 90:
              output == "nop";
      defaults:
      output == "Error";
}

I'm used to C# if you take that as a consideriation as well, there might be smaller differences between the language you use.

Code:
public tring conversion(int byte, string output){
      switch (byte) {
              case 0x90:
              output = "nop";
              break;
      default:
      output = "Error";
      break;
}
return output;

Bet this works way better...


Bet you get errors and it doesn't. :]
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
Goto page 1, 2  Next
Page 1 of 2

 
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