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 


Help with using a treeview

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

Joined: 07 Jan 2010
Posts: 214

PostPosted: Mon Mar 29, 2010 8:35 pm    Post subject: Help with using a treeview Reply with quote

Im having some slight trouble. After looking around for free var scanners, i found some really good ones...for offline games. I wanted to have the same functionality while still being able to play gaia rally. So i valiantly set off to create one... and failed miserably.

So here it is.

I have a rally client set up like in my tutorial. I WANT a treeview to be able to get a flash variable and display it in nodes. Like:

Code:
_root.                 (this would be the first node)
 Main                  (equivalent to _root.Main)
 Area.                 (equivalent to _root.Area)
   owner.             (equivalent to _root.Area.owner)
     moveSpeed    (equivalent to _root.Area.owner.moveSpeed)


If ANYONE has any kind of help, it will be much appreciated.


Very Happy THANKS Very Happy
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Mon Mar 29, 2010 8:42 pm    Post subject: Reply with quote

What's the problem ? Lot of example code here :
http://msdn.microsoft.com/en-us/library/bb759988(VS.85).aspx

Also, which language ?
Back to top
View user's profile Send private message
Evil_Intentions
Expert Cheater
Reputation: 65

Joined: 07 Jan 2010
Posts: 214

PostPosted: Mon Mar 29, 2010 8:51 pm    Post subject: Reply with quote

Im using visual basic

Im using this to help build a trainer for an online game. Normally to test variables i use
Code:
swf.getvariable("var name")

unfortunately, as you may know, sometimes the variable is displayed as [object object] meaning that it has a hierarchy beneath it.

so when i serch for the variable _root(which is the main MC) the result i get is [object object]. there is more to it. such as

"_root.area" this also returns [object object] because it is the path "leading" to a var.

an actual var for the game is "_root.area.owner.moveSpeed" this returns a 3 in my scanner.


Basically: i want the treeview to take what i search for, say "_root" and instead of returning [object object] have it give a list of the paths in node form.



Sorry if alot of this dosnt make sense, im not uite sure how to explain it Embarassed
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