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 searchin variable
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Mon Mar 17, 2008 11:23 pm    Post subject: Reply with quote

92Garfield wrote:
Xenophobe wrote:
This should work.
Code:
On Error Resume Next
For i = 1 to 9999
If len(Flash.GetVariable("_root.null.instance" & i & ".battle.aBuilding.9.player.aResource[0]")) > 0 Then
  strVariable = "_root.null.instance" & i & ".battle.aBuilding.9.player.aResource[0]")
End If
Next i

this dont looks that good since i need the variable to set it later

haxory i think what u said wont do what i want^^ since alle the variables begin in same way
i need to know if that will work:
Code:
Private Sub Command1_Click()
For x = 1 To 50000
On Error Resume Next
Label1.Caption = Flash.GetVariable("_root.null.instance" & x & ".battle.aBuilding.9.player.aResource[0]")
Next x
End Sub

it should find the right number right?

It *does* save it for later use if it exists. Also, the loop should work, it does use i. I don't have VB installed to verify though.

_________________
haxory' wrote:
can't VB do anything??
windows is programmed using VB right? correct me if im wrong.

so all things in windows you have like the start menu is a windows form too.
Back to top
View user's profile Send private message
Haxory'
Grandmaster Cheater Supreme
Reputation: 92

Joined: 30 Jul 2007
Posts: 1900

PostPosted: Tue Mar 18, 2008 12:38 am    Post subject: Reply with quote

omg just pm me i wont need credits or rep i will just help you.

if i release the source Estx and Xenophobe will know i stole it

_________________
you and me baby ain't nothing but mammals so lets do it like they do on the discovery channel
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 Previous  1, 2
Page 2 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