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 


What does 'dup' do?

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

Joined: 16 Jun 2007
Posts: 19

PostPosted: Fri Jun 22, 2007 12:18 pm    Post subject: What does 'dup' do? Reply with quote

In actionscript (or whatever the language flash uses) what does 'dup' do?

Thanks!
Back to top
View user's profile Send private message
Simsgy
Grandmaster Cheater
Reputation: 0

Joined: 07 May 2007
Posts: 581
Location: My new avatar <3

PostPosted: Fri Jun 22, 2007 1:26 pm    Post subject: Reply with quote

I guess dup is doing Duplicate (Although I don't know flash, I guess it does).
And is flash a language?

_________________

Designer, WebMaster and a Delphi programmer.
TrPlayer, my biggest Delphi project hosted on SourceForge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Robin4286
Newbie cheater
Reputation: 0

Joined: 16 Jun 2007
Posts: 19

PostPosted: Fri Jun 22, 2007 3:11 pm    Post subject: Reply with quote

Yeah, I looked at some code and it would seem to just take whatever value is on top of the stack and duplicate it. Ok next question is...

What do getMember/setMember do?

and in answer to the is flash a language question
Well in flash games it uses some form of scripting, I believe the name is actionscript.

Like when you decompile a flash it gives you some form of programming language, sort of a mix between ASM and javascript
Back to top
View user's profile Send private message
MoolT
Cheater
Reputation: 0

Joined: 16 Mar 2007
Posts: 38

PostPosted: Fri Jun 22, 2007 11:41 pm    Post subject: Reply with quote

Robin4286 wrote:
Yeah, I looked at some code and it would seem to just take whatever value is on top of the stack and duplicate it. Ok next question is...

What do getMember/setMember do?

and in answer to the is flash a language question
Well in flash games it uses some form of scripting, I believe the name is actionscript.

Like when you decompile a flash it gives you some form of programming language, sort of a mix between ASM and javascript

You can script in some language using the prog you use to make flash stuff (like games and vids). I haven't learnt it though.
Back to top
View user's profile Send private message
Uzeil
Moderator
Reputation: 6

Joined: 21 Oct 2006
Posts: 2411

PostPosted: Fri Jun 22, 2007 11:59 pm    Post subject: Reply with quote

Actionscript 1.0/2.0 are languages used to make flash games. The assembly-like language that you get from decompiling (like with flasm) is bytecode/flash macros.

dup is duplicate usually but I've never seen dup in flash coding ever. Confused

_________________


Mini Engine v3.0
Mipla v1.0

Reposted old threads out of the MS section.
Back to top
View user's profile Send private message
Robin4286
Newbie cheater
Reputation: 0

Joined: 16 Jun 2007
Posts: 19

PostPosted: Sat Jun 23, 2007 10:01 am    Post subject: Reply with quote

Interesting... so the simple coding you use in the flash program are simply macros, much like those used in some assemblers!

So the language in question is a macro-less form of the language used in flash!

Anyways... back to my second question :

What do getMember and setMember do?

They seem to be used in a fashion similar to that of get/setVariable, but not quite.

Thanks for helping out!
Back to top
View user's profile Send private message
Uzeil
Moderator
Reputation: 6

Joined: 21 Oct 2006
Posts: 2411

PostPosted: Sat Jun 23, 2007 6:37 pm    Post subject: Reply with quote

To my knowledge, getMember and setMember are equivelants of setVariable and getVariable, but I don't know the difference. I've simply seen them both used for the same outcome (to set a variable to a certain value or get the value of that variable and return it onto the stack).
_________________


Mini Engine v3.0
Mipla v1.0

Reposted old threads out of the MS section.
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