| View previous topic :: View next topic |
| Author |
Message |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Fri Jun 27, 2008 12:49 pm Post subject: [C++] Asm |
|
|
Well im making something and I was wondering how I would convert this to C++
| Code: |
[Enable]
// GMS v.57 Updated by Pro-Surf
0049DDE7:
jae 0048025c
[Disable]
0049DDE7:
jbe 0048025c
|
would it be
__asm{
0049DDE7:
jae 0048025c
}
[to turn it on] _________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Fri Jun 27, 2008 1:02 pm Post subject: |
|
|
No, the _asm function writes the assembly code in the current address.
It would be:
| Code: | | mov byte ptr ds:[0x49DDE7],0x73 |
Or, use pointers.
But seriously, learn how to code, we're not gonna code all your programs, every little question you're making a new topic about it, just learn how to code instead of "requesting codes and compiling"... |
|
| Back to top |
|
 |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Fri Jun 27, 2008 1:28 pm Post subject: |
|
|
Explain what 0x73 exactly is _________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Fri Jun 27, 2008 1:45 pm Post subject: |
|
|
| Short Jump if After or Equal byte. |
|
| Back to top |
|
 |
Drops Advanced Cheater
Reputation: 0
Joined: 22 Feb 2008 Posts: 62
|
Posted: Fri Jun 27, 2008 2:54 pm Post subject: |
|
|
| You can also just write the bytes in using memcpy (dll) or WPM. |
|
| Back to top |
|
 |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Fri Jun 27, 2008 4:16 pm Post subject: |
|
|
| Symbol wrote: | No, the _asm function writes the assembly code in the current address.
It would be:
| Code: | | mov byte ptr ds:[0x49DDE7],0x73 |
Or, use pointers.
But seriously, learn how to code, we're not gonna code all your programs, every little question you're making a new topic about it, just learn how to code instead of "requesting codes and compiling"... |
just because he dont know how to use asm it dosent mean he cant code ...
i really having problem with it too but i can still code stuff _________________
dont complain about my english...
1*1 = 2? |
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Fri Jun 27, 2008 4:46 pm Post subject: |
|
|
| ups2000ups wrote: | | Symbol wrote: | No, the _asm function writes the assembly code in the current address.
It would be:
| Code: | | mov byte ptr ds:[0x49DDE7],0x73 |
Or, use pointers.
But seriously, learn how to code, we're not gonna code all your programs, every little question you're making a new topic about it, just learn how to code instead of "requesting codes and compiling"... |
just because he dont know how to use asm it dosent mean he cant code ...
i really having problem with it too but i can still code stuff |
Take a look at the forum, and at how many posts have been made by this guy. _________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Jun 27, 2008 9:50 pm Post subject: |
|
|
ElectroFusion, while it is nice to see you are trying to learn, you are very much so not doing it in a good method. Having people here spoon feed you everything is not going to get you started or get you learning at all. You seriously need to stop jumping around from project to project and seriously sit down and read about a specific language. In your case, you seem to be interested in C++, you need to stop posting here for help and actually learn the language. Most if not all your questions are basic and could have been learned from reading something. _________________
- Retired. |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
|
| Back to top |
|
 |
Wild I post too much
Reputation: 1
Joined: 05 Jan 2007 Posts: 2651 Location: NYC
|
Posted: Fri Jun 27, 2008 11:14 pm Post subject: |
|
|
I have a question on Win32 API programming (sorry for the off topic but its up there^^)
What is the difference from regular c++ and what does it help accomplish? Is like something I should learn if I know the basics? _________________
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Fri Jun 27, 2008 11:39 pm Post subject: |
|
|
win32 is just (on cef at least) code name for win32 c++. It's just using the C++ STL and language to use the win32 API to program windows. _________________
|
|
| Back to top |
|
 |
|