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 


[Tutorial] MASM32! Second Installment is in.
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  

Should I continie the tutorial?
Yes please
96%
 96%  [ 117 ]
No thanks, I dont care about learning Assembly
3%
 3%  [ 4 ]
Total Votes : 121

Author Message
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Wed Jun 06, 2007 6:56 pm    Post subject: Reply with quote

MrFriedRice wrote:
sponge wrote:
MrFriedRice wrote:
YES! 50 Vote!! *Awaits the new ASM tut*

@Perfection

The point is that sportskid wants people to look at this tut. No one will look at it in a different part of the forum because people never go there. If he posted it in a different part of the forum, there would not be 50 votes.

plenty of people go to the other sections... i freaquently browse the programmingsection and the anti cheat bypass including the cheat engine sections.


Yes I'm pretty sure people go to that section, but the majority of people in this forum doesn't. Only a handful of people do which is not a lot.


The major part of the MS forum doesn't want to learn. People that do, will go to the programming section.

_________________
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Wed Jun 06, 2007 7:03 pm    Post subject: Reply with quote

sprotskid300 please go on MSN now i added you
_________________
Back to top
View user's profile Send private message AIM Address
persiarash
I post too much
Reputation: 0

Joined: 25 Jul 2006
Posts: 2133
Location: RAWR STOP AIMING ME IVE QUIT CEF AND HACKING FOR NOW >:O!

PostPosted: Wed Jun 06, 2007 7:07 pm    Post subject: Reply with quote

zomgiownyou wrote:
MrFriedRice wrote:
sponge wrote:
MrFriedRice wrote:
YES! 50 Vote!! *Awaits the new ASM tut*

@Perfection

The point is that sportskid wants people to look at this tut. No one will look at it in a different part of the forum because people never go there. If he posted it in a different part of the forum, there would not be 50 votes.

plenty of people go to the other sections... i freaquently browse the programmingsection and the anti cheat bypass including the cheat engine sections.


Yes I'm pretty sure people go to that section, but the majority of people in this forum doesn't. Only a handful of people do which is not a lot.


The major part of the MS forum doesn't want to learn. People that do, will go to the programming section.


The majority of the MS forums are retarded morons who don't know what is good for them, so now it is the job of the people who are this thing called "smart" to show the morons the way. 99.9999999% of the people here never visit the programming section, this way they'll have to improve... or at least see something useful.

_________________
best actool noob ever:
Quote:

when i start the meso explosion script it said
Error:Macro Line:MousePos Meso,DropButton
Caused Error: 'Meso' is not a valid interger value

Back to top
View user's profile Send private message AIM Address
chaosmitt
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 May 2006
Posts: 1073
Location: Singapore

PostPosted: Wed Jun 06, 2007 7:41 pm    Post subject: lol Reply with quote

fis nice avatar

Renko y u no go help GO section???

_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
sportskid300
Grandmaster Cheater
Reputation: 0

Joined: 22 Jun 2006
Posts: 944
Location: You Wish.

PostPosted: Wed Jun 06, 2007 9:15 pm    Post subject: Reply with quote

Making it as we speak
_________________
Thanks to Mr.Mohammed for the Avatar!
http://forum.cheatengine.org/viewtopic.php?t=92760&sid=b5cfb5d8e759c2b023910472b2fac2e8 EXCELLENT ASM TUT!

If you need help, ask!
http://www.youtube.com/watch?v=cW44BpXpjYw INSANE Line Rider!
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Wed Jun 06, 2007 9:25 pm    Post subject: Reply with quote

really nice tut.
i couldnt understand from the pages in wikipedia i found a download to a tut and its very hard... this tut is good but does it really helps on building scripts to maple? becuase its not even like it...
goes to grand libary? =D (not the maple section libary, if there is 1 at general hacking...)
Back to top
View user's profile Send private message
sportskid300
Grandmaster Cheater
Reputation: 0

Joined: 22 Jun 2006
Posts: 944
Location: You Wish.

PostPosted: Wed Jun 06, 2007 9:40 pm    Post subject: Reply with quote

Read the new edit, near tyop
_________________
Thanks to Mr.Mohammed for the Avatar!
http://forum.cheatengine.org/viewtopic.php?t=92760&sid=b5cfb5d8e759c2b023910472b2fac2e8 EXCELLENT ASM TUT!

If you need help, ask!
http://www.youtube.com/watch?v=cW44BpXpjYw INSANE Line Rider!
Back to top
View user's profile Send private message
Penguin
I post too much
Reputation: 0

Joined: 16 Jun 2006
Posts: 4410
Location: New avatar OMG WTF?!

PostPosted: Wed Jun 06, 2007 9:50 pm    Post subject: Re: [Tutorial] ASM! WILL be adding second part! Reply with quote

sportskid300 wrote:
Code:


include \masm32\include\masm32rt.inc  ; (1)

.code  ; (2) //INT MAIN OMGG!!

start:  ; (3) //More int main?

   call main  ;  (4) //START TEH INT MAIN

exit  ;  (5) //THEN EXIT AFTER INT MAIN IS FINSIHZOED

main proc   ;  (6) //INT MAIN'S BODY OMFGGG!! {

   print chr$("Hello world!",10)  ; (7) //std::cout or printf
   inkey "Enter any key to continue...."  ;  (8) //system("PAUSE")
   ret  ; (9) //return 0

main endp  ;  (10) //}

end start  ;  (11) //What to do when you're done with int main?



Code:

include \masm32\include\masm32rt.inc  //#include <stuff>

.code  //int main()

start: //start int main

   call main //call int main(?)
   call another //another = prototype function?
exit  //then exit

main proc //{

   print chr$("Hello world!",10)  //std::cout or printf(Hello world!)
   inkey "Enyer any key to continue //system*"PAUSE")
   ret //return 0

main endp  //}

another proc //void another() {

   print chr$("I'm in the second procedure now",10) //std::cout or printf(I'm in the second procedure now")
   push 2000  ; (1) //WUHH!!?
   call Sleep   ; (1) //Sleep(NUMBER)
   ret //return 0(?)

another endp //}

end start  //end


I tried converting it into C++ for those who were as confused as I was.

_________________
Back to top
View user's profile Send private message AIM Address
TheSorc3r3r
I post too much
Reputation: 0

Joined: 06 Sep 2006
Posts: 2404

PostPosted: Thu Jun 07, 2007 5:06 am    Post subject: Reply with quote

Penguin, (all C/C++ here) if you ever disassemble your own program you'll see that execution does NOT start at main(). It starts at mainACRTStartup (if your program is using ASCII as default & you define the function main()), and then calls your main(). That's why there's:

Code:
start:
...
call main
...


CRT Entry Points.

RET returns to an address (specified by being on the top of the stack). The stack needed is set up by CALL (generally), so

Code:
start:
...
call main ; LOL
...

main proc
...
ret ; returns to the position from where it was called, LOL


When you call a procedure, if it has arguments, you push them onto the stack. The procedure reads them from the top. So,

Code:
push 2000 ; 2000 is on the top of the stack
call Sleep ; Sleep(2000)

_________________


Don't laugh, I'm still learning photoshop!


Last edited by TheSorc3r3r on Thu Jun 07, 2007 5:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
sportskid300
Grandmaster Cheater
Reputation: 0

Joined: 22 Jun 2006
Posts: 944
Location: You Wish.

PostPosted: Thu Jun 07, 2007 3:37 pm    Post subject: Reply with quote

Silly penguin...
I made this to help teach ASM, not to be transferred into c++!
cmon man...

_________________
Thanks to Mr.Mohammed for the Avatar!
http://forum.cheatengine.org/viewtopic.php?t=92760&sid=b5cfb5d8e759c2b023910472b2fac2e8 EXCELLENT ASM TUT!

If you need help, ask!
http://www.youtube.com/watch?v=cW44BpXpjYw INSANE Line Rider!
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Thu Jun 07, 2007 7:18 pm    Post subject: Reply with quote

xPerfection wrote:
And I will ask again,
How is it related to MapleStory section?

whos aid it is related to MS he jus posted it here bcuz this is the most popular section... he already explained that Wink

_________________
Back to top
View user's profile Send private message AIM Address
sportskid300
Grandmaster Cheater
Reputation: 0

Joined: 22 Jun 2006
Posts: 944
Location: You Wish.

PostPosted: Sat Jun 09, 2007 3:28 pm    Post subject: Reply with quote

Look for the second installment at 6/16, or 6/17 at the latest.
Sorry for any delays, these things take a while.

_________________
Thanks to Mr.Mohammed for the Avatar!
http://forum.cheatengine.org/viewtopic.php?t=92760&sid=b5cfb5d8e759c2b023910472b2fac2e8 EXCELLENT ASM TUT!

If you need help, ask!
http://www.youtube.com/watch?v=cW44BpXpjYw INSANE Line Rider!
Back to top
View user's profile Send private message
favoritio
Expert Cheater
Reputation: 0

Joined: 09 Sep 2006
Posts: 111
Location: USA 4 life the g cove state not saying

PostPosted: Sun Jun 10, 2007 5:39 am    Post subject: Re: [Tutorial] ASM! WILL be adding second part! Reply with quote

Penguin wrote:
sportskid300 wrote:
Code:


include \masm32\include\masm32rt.inc  ; (1)

.code  ; (2) //INT MAIN OMGG!!

start:  ; (3) //More int main?

   call main  ;  (4) //START TEH INT MAIN

exit  ;  (5) //THEN EXIT AFTER INT MAIN IS FINSIHZOED

main proc   ;  (6) //INT MAIN'S BODY OMFGGG!! {

   print chr$("Hello world!",10)  ; (7) //std::cout or printf
   inkey "Enter any key to continue...."  ;  (8) //system("PAUSE")
   ret  ; (9) //return 0

main endp  ;  (10) //}

end start  ;  (11) //What to do when you're done with int main?



Code:

include \masm32\include\masm32rt.inc  //#include <stuff>

.code  //int main()

start: //start int main

   call main //call int main(?)
   call another //another = prototype function?
exit  //then exit

main proc //{

   print chr$("Hello world!",10)  //std::cout or printf(Hello world!)
   inkey "Enyer any key to continue //system*"PAUSE")
   ret //return 0

main endp  //}

another proc //void another() {

   print chr$("I'm in the second procedure now",10) //std::cout or printf(I'm in the second procedure now")
   push 2000  ; (1) //WUHH!!?
   call Sleep   ; (1) //Sleep(NUMBER)
   ret //return 0(?)

another endp //}

end start  //end


I tried converting it into C++ for those who were as confused as I was.


Thanks Penguin now I understand this asm tut a lot better. My first programming language is C++. So penguin can you like transfer all sportzkid asm tut to C++ everytime he makes a tut but in my PM so that it doesn't disturb this tut. Thanks sportzkid and Penguin for your tuts.

Oh yea and also everytime I console assemble and link sportzkid code I get the A1000 error cannot open the file. Please someone help me. Thanks.
Back to top
View user's profile Send private message
sportskid300
Grandmaster Cheater
Reputation: 0

Joined: 22 Jun 2006
Posts: 944
Location: You Wish.

PostPosted: Sun Jun 10, 2007 9:22 pm    Post subject: Reply with quote

You have to have it in the masm32 directory.
Also, have to have it saved as *.asm
You have to type the .asm in manually

_________________
Thanks to Mr.Mohammed for the Avatar!
http://forum.cheatengine.org/viewtopic.php?t=92760&sid=b5cfb5d8e759c2b023910472b2fac2e8 EXCELLENT ASM TUT!

If you need help, ask!
http://www.youtube.com/watch?v=cW44BpXpjYw INSANE Line Rider!
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Sun Jun 10, 2007 9:50 pm    Post subject: Reply with quote

sportskid300 wrote:
You have to have it in the masm32 directory.
Also, have to have it saved as *.asm
You have to type the .asm in manually

fyi you don't have to do it.

_________________
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, 3, 4, 5  Next
Page 3 of 5

 
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