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 


[VB6.0] How i freeze memory?

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

Joined: 06 Dec 2007
Posts: 28

PostPosted: Thu Jan 31, 2008 8:28 am    Post subject: [VB6.0] How i freeze memory? Reply with quote

If i want freeze memory from firefox.exe

Example:
Place: Firefox.exe
Memory Address: 9388DJ38

How i can freeze it?

Can someone make example for one button.. ?
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Thu Jan 31, 2008 8:56 am    Post subject: Re: [VB6.0] How i freeze memory? Reply with quote

ThisIsImpossible wrote:
If i want freeze memory from firefox.exe

Example:
Place: Firefox.exe
Memory Address: 9388DJ38

How i can freeze it?

Can someone make example for one button.. ?

Use WriteProcessMemory with a timer.
Back to top
View user's profile Send private message
ThisIsImpossible
Cheater
Reputation: 0

Joined: 06 Dec 2007
Posts: 28

PostPosted: Thu Jan 31, 2008 8:59 am    Post subject: hmm Reply with quote

can u make me example code, if i understand better..
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Jan 31, 2008 12:35 pm    Post subject: Reply with quote

If you don't understand that, then you need to learn more.
Back to top
View user's profile Send private message
ThisIsImpossible
Cheater
Reputation: 0

Joined: 06 Dec 2007
Posts: 28

PostPosted: Thu Jan 31, 2008 12:40 pm    Post subject: Lol Reply with quote

Thats why im asking Razz

But..

Why i must write in buttong Processwatch?

I need freeze.....
Back to top
View user's profile Send private message
iCucco
Advanced Cheater
Reputation: 0

Joined: 11 May 2007
Posts: 51
Location: 0x0600

PostPosted: Thu Jan 31, 2008 1:21 pm    Post subject: Re: Lol Reply with quote

ThisIsImpossible wrote:
Thats why im asking Razz

But..

Why i must write in buttong Processwatch?

I need freeze.....


Because freezing is based on writing the same value again thus preventing it to change. Look up for Cheat Engine setting "Freeze Interval" : The amount of milliseconds before writing the wanted value again.

By this time you should be able to figure it out yourself.

_________________
printf("You just ate a %X!!\n",3735928559);
Back to top
View user's profile Send private message
BEO-WULF
Expert Cheater
Reputation: 0

Joined: 27 Jan 2008
Posts: 138
Location: Green Bay, Wisconsin

PostPosted: Sat Feb 02, 2008 1:26 am    Post subject: Reply with quote

ok when you have the address down then theres a little white check box click on that and its frozen ( by the way people dont make rude comments just help people lol Wink )
_________________


4 L1F3 ( + [__] : : ) 4 L1F3
Back to top
View user's profile Send private message Yahoo Messenger
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Sat Feb 02, 2008 1:43 pm    Post subject: Reply with quote

BEO-WULF wrote:
ok when you have the address down then theres a little white check box click on that and its frozen ( by the way people dont make rude comments just help people lol Wink )


Uh.. your reply has nothing to do with what the person is trying to do...

Hes asking how to do it programmatically via VB, not how to do it in CE.

ThisIsImpossible, Xen already gave you the answer. The easy way to freeze an address is to constantly rewrite the value to it. Or, you could take the better method and rewrite the instruction that is writing to that address and have it write your value instead.

For this you will need, at least, the following API:

- OpenProcess
- WriteProcessMemory
- CloseHandle

You will also need a method of obtaining the process ID which is used for the above API. I suggest you use CreateToolhelp32Snapshot, but you can also use FindWindow with a few other API.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
ThisIsImpossible
Cheater
Reputation: 0

Joined: 06 Dec 2007
Posts: 28

PostPosted: Mon Feb 04, 2008 1:15 pm    Post subject: Plahaaaaaa Nooo Reply with quote

I got a all adresses, how i can make command1 button freeze the fucking memory Razz


example commadbutton1_command1 = mem_28747M_typ_freeze

Example, i need code how i can freeze code same thing than cheat engine TICKING freeze address i want just ONE button freeze it Razz

but i dont know whats the code for freeze in VB 6.0 program making..

I WANT MAKE MY OWN PROGRAM`S BUTTON FREEZE SOME CODE, SOME FUCKING PROGRAM Razz

HOW IT DOES?











AND EASY SAY Razz
I said in first post can someone make me example?
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 04, 2008 2:43 pm    Post subject: Reply with quote

Freezing is a misnomer. It is supose to be constantly sending WPM to the Process. So taht the value will stay the same. If you can't understand learn some basics and then try making your own trainer.
Back to top
View user's profile Send private message
Snootae
Grandmaster Cheater
Reputation: 0

Joined: 16 Dec 2006
Posts: 969
Location: --->

PostPosted: Wed Feb 06, 2008 6:38 am    Post subject: Reply with quote

@impossible, maybe you'd get some better repsonse if you didn't swear, harsh words wont encourage people to try and benefit you.

here's something i googled (something you should have done once someone said writeprocessmemory)

Read Process Memory (so you can find the value you can revert it back to) (wait, is this needed... i think it is)
http://www.gamebugs.org/code/5070-vb6-read-process-memory.html

Write Process Memory (to change the value of the adress)
http://www.gamebugs.org/code/5069-vb6-write-process-memory.html

so you basically want to read the value of that adress when your button is clicked, then once your timer ticks, you have it change the value of that address back to the original i.e. it cant change

_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Wed Feb 06, 2008 11:43 am    Post subject: Reply with quote

@Snootae: Haha thats my old code. That shits pretty outdated and yea.. I'd recommend not using it.

I rewrote all that code and made a toolkit when I basically stopped coding in VB and released it here:
http://www.extalia.com/forums/viewtopic.php?f=22&t=2585

Has everything people should need for doing memory stuff in VB.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Snootae
Grandmaster Cheater
Reputation: 0

Joined: 16 Dec 2006
Posts: 969
Location: --->

PostPosted: Wed Feb 06, 2008 4:35 pm    Post subject: Reply with quote

wow, what a coincidence

hmm... that looks handy

im gonna see if i can mess with pinball Smile

_________________
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