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 


[VB.net] Increase Value by one

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

Joined: 22 Dec 2011
Posts: 12

PostPosted: Thu Jun 28, 2012 12:23 pm    Post subject: [VB.net] Increase Value by one Reply with quote

Hello,

I have my trainer setup to my hotkeys and it works fine. However i want to increase value by one when my hotkey is pressed.

Should i read the value in a textbox and then add + 1? or is there a way to do it from my string?

Currently my hot keys just "freeze" the value i'd like to increase them by one.

Thanks for any help!

EDIT -

Nevermind figured it out. Created "Dim lable1 as string" and used lable1 to read it and lable1 to write + 1.

cool
Back to top
View user's profile Send private message
OmegaCES
Cheater
Reputation: 1

Joined: 02 Jul 2011
Posts: 44

PostPosted: Thu Jun 28, 2012 1:24 pm    Post subject: Reply with quote

If its a value, why not use integer, or Int32, or even Long.

Code:
Dim tStore as int32 at the top of your form
then tstore = [readbytes_function here]

[writebytes_functionhere](tStore+1)
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