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 how to load variables instead of setting them?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
benoit74
How do I cheat?
Reputation: 0

Joined: 22 Sep 2016
Posts: 3

PostPosted: Thu Sep 22, 2016 9:24 pm    Post subject: VB how to load variables instead of setting them? Reply with quote

Example

I want to LOAD / enable the Variable instead of changing the value of a one.

Like this

_root.Notify("Messagebox appears in flash")

All I know how to do is

Flash.SetVariable("_root.HP", "100")

Doing the latter should be possible, but I don't know how to go about doing it.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Sep 22, 2016 9:37 pm    Post subject: Reply with quote

http://forum.cheatengine.org/viewtopic.php?p=1843034
Back to top
View user's profile Send private message
benoit74
How do I cheat?
Reputation: 0

Joined: 22 Sep 2016
Posts: 3

PostPosted: Thu Sep 22, 2016 10:01 pm    Post subject: Reply with quote

Zanzer wrote:
h


Did you read what I said? None of this is what I want to do. I want to basically "call" a function or variable. Load, Call, Enable, whatever is the best terminology.

There is a commonly used line in a game that is _root.DoThing("This Does Something"); I want to execute that through VB.

Any idea?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Fri Sep 23, 2016 4:34 pm    Post subject: Reply with quote

Code:
Flash.CallFunction("<invoke name=""_root.Notify"" returntype=""xml""><arguments><string>no clue</string></arguments></invoke>");
Back to top
View user's profile Send private message
benoit74
How do I cheat?
Reputation: 0

Joined: 22 Sep 2016
Posts: 3

PostPosted: Sun Sep 25, 2016 1:41 pm    Post subject: Reply with quote

Zanzer wrote:
Code:
Flash.CallFunction("<invoke name=""_root.Notify"" returntype=""xml""><arguments><string>no clue</string></arguments></invoke>");


Can't get it to work, maybe I'm just doing this wrong or maybe the game doesn't allow this somehow?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Sep 25, 2016 5:39 pm    Post subject: Reply with quote

More likely that I don't know what I'm talking about. Found that on Google.
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