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 


Need help with VB!

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

Joined: 11 May 2011
Posts: 14

PostPosted: Wed May 11, 2011 11:37 am    Post subject: Need help with VB! Reply with quote

Ok i am making a trainer for The last stand.
And i have a Q. Can i use like the combobox for commends.
Like say when they click on like add health to the wall and stuff like that?
and I want to make it edit weapons and zombies but it wont work.
I think its bc it had a . in it.
This is what i want to edit

snubnose.damage
And i want to push a butten and it edits it to do like 9999 dmg or something.


Thanks Very Happy
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Wed May 11, 2011 1:48 pm    Post subject: Reply with quote

You should be able to use a combobox, just set a Combobox.SelectedIndexChanged() event.
Are you wanting this editor to work pre game or during? If it's an ini file and you are trying to mod it during game it may be write protected.

You did a good job posting what you would like you just left out a lot of important details on what you are dealing with.

_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
Kadum1013
Newbie cheater
Reputation: 0

Joined: 11 May 2011
Posts: 14

PostPosted: Wed May 11, 2011 2:14 pm    Post subject: Reply with quote

I got help with the combobox get it working Razz

But now i need help with like changing the ammo and stuff.

I use Sothink SWF Decompiler, and VB.
The game i want to hack is The last stand.
I found all the info on the guns like ammo,dmg,WeaponRPM,
But when i try coding it to change that number it wont work.
This is what i do.
Call Game.SetVariable("_root.pistol.damage", 9999)
What do I do?
Back to top
View user's profile Send private message
M.CORP
Grandmaster Cheater Supreme
Reputation: 28

Joined: 28 Oct 2009
Posts: 1010

PostPosted: Thu May 12, 2011 12:00 am    Post subject: Reply with quote

Ok, here's what you do:
Set the combobox's command to onClick, then type in the following code:
Code:
if combobox1.text = "hackname" then
'initialise code here
else if blahblahblah 'if there are other hacks
'initialize code
'else if if theres more
end if 'end else if statements.

_________________
Shameless Self Advertising Very Happy!
Steam
Just lurking around...
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