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 


how to code visual basic
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
naromz
Newbie cheater
Reputation: 0

Joined: 12 Feb 2008
Posts: 23

PostPosted: Fri Feb 15, 2008 2:17 pm    Post subject: how to code visual basic Reply with quote

i started making a trainer for mac but i cant get it to
change the variable i can get it to load battleon and all that
i just dont know how to make it modify a swf

i need to know how to change this for real basic
SetVariable ("_root.player.intHP", 50)



The Extension 'zip' was deactivated by an board admin, therefore this Attachment is not displayed.



Last edited by naromz on Fri Feb 15, 2008 3:38 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Fri Feb 15, 2008 2:49 pm    Post subject: Reply with quote

Call ShockwaveFlash1.SetVariable ("_root.player.intHP", 50)

ShockwaveFlash1 must be your shockwave flash component's name

_________________
Back to top
View user's profile Send private message
naromz
Newbie cheater
Reputation: 0

Joined: 12 Feb 2008
Posts: 23

PostPosted: Fri Feb 15, 2008 3:12 pm    Post subject: Reply with quote

that only works in visual basic
Back to top
View user's profile Send private message Send e-mail
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Fri Feb 15, 2008 3:14 pm    Post subject: Reply with quote

naromz wrote:
that only works in visual basic

You said visual basic in the topic but did u mean real basic?
I'll download it and see what i can do.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
naromz
Newbie cheater
Reputation: 0

Joined: 12 Feb 2008
Posts: 23

PostPosted: Fri Feb 15, 2008 3:25 pm    Post subject: Reply with quote

i meant real basic
and do you mean you will download real basic or my source code becuase i'll give it to you if it will help
Back to top
View user's profile Send private message Send e-mail
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Fri Feb 15, 2008 3:33 pm    Post subject: Reply with quote

naromz wrote:
i meant real basic
and do you mean you will download real basic or my source code becuase i'll give it to you if it will help

yes please.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
naromz
Newbie cheater
Reputation: 0

Joined: 12 Feb 2008
Posts: 23

PostPosted: Fri Feb 15, 2008 3:38 pm    Post subject: Reply with quote

ok i uploaded it
Back to top
View user's profile Send private message Send e-mail
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Fri Feb 15, 2008 3:50 pm    Post subject: Reply with quote

naromz wrote:
ok i uploaded it

You are not using a flash component. That's why. How the fuck do u add components to the project?

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
naromz
Newbie cheater
Reputation: 0

Joined: 12 Feb 2008
Posts: 23

PostPosted: Fri Feb 15, 2008 4:04 pm    Post subject: Reply with quote

first you have to get the componant
then you drag and drop it to the plugins folder which is in
the realbasic folder

but i dont think there is a swf componantet for real basic
Back to top
View user's profile Send private message Send e-mail
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Fri Feb 15, 2008 4:18 pm    Post subject: Reply with quote

No i found it.
Sorry for being nooby.

Do this

project-->add-->activex and then scroll down to flash (or shockwave flash)
How could i miss that. >.<

I believe the code is the same as in vb but i'm not sure.
If that is so then it would be like blader said :
Code:
Call ShockwaveFlash1.SetVariable ("_root.player.intHP", 50)

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
naromz
Newbie cheater
Reputation: 0

Joined: 12 Feb 2008
Posts: 23

PostPosted: Fri Feb 15, 2008 4:27 pm    Post subject: Reply with quote

thank you

and Call ShockwaveFlash.SetVariable("_root.player.intHP", 5000)
dose not work i tried it
Back to top
View user's profile Send private message Send e-mail
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Fri Feb 15, 2008 6:50 pm    Post subject: Reply with quote

Get rid of call and just do:
sw1.setvariable "_root.whatever",5000

variable is spelt wrong I think...
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6300

PostPosted: Fri Feb 15, 2008 7:13 pm    Post subject: Reply with quote

At the very beginning of this topic, SetVariable ("_root.player.intHP", 50)

SetVariable does not know what your wanting to set it on.
So it needs an object name to set the variable. The object will be what ever you named the flash object.

oops, my bad: dnsi0 got the point.
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sat Feb 16, 2008 6:53 am    Post subject: Reply with quote

That's what i said like 100 times before but everyone just said "no you need the call"
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
SkeleTron
Grandmaster Cheater Supreme
Reputation: 1

Joined: 28 Jun 2007
Posts: 1022

PostPosted: Sat Feb 16, 2008 7:00 am    Post subject: Reply with quote

Quote:
Call YourFlashObjectName.SetVariable("_root.player.intHP", 5000)

_________________
Reedemer.
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 1, 2  Next
Page 1 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