Posts: 2,169
Threads: 206
Joined: Jul 2010
Reputation:
0
Kye
The message you have entered is too short. Please lengthen your message to at least 8 characters
Posts: 271
Threads: 17
Joined: Jul 2010
Reputation:
0
I believe he is from Australia. Not sure, tho.
Posts: 489
Threads: 102
Joined: Apr 2010
Reputation:
0
So, did kye just make it all by himself??
Does anyone know Kye's background
Posts: 785
Threads: 22
Joined: Jun 2007
Reputation:
0
Ever saw the "About" button in the SA-MP server browser? Hard to find, but has all you need!
What are you facepalming for? ****** was in the scripting team but afaik he left during the GTANET drama
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by [03]Garsino
What are you facepalming for? ****** was in the scripting team but afaik he left during the GTANET drama
|
****** is listed as a 'past programmer', not a 'scripter' in the about part in the SA-MP client. He is not listed as a
scripter.
Quote:
Originally Posted by Brian_Furious
Unless post
|
Do you mean: useless?
Posts: 489
Threads: 102
Joined: Apr 2010
Reputation:
0
How is reverse engineering used to make samp?
Posts: 209
Threads: 19
Joined: Dec 2008
Quote:
Originally Posted by DarrenReeder
How is reverse engineering used to make samp?
|
It's still used for memory addresses and stuff.
Let's say you want to set player's money, but since you don't have GTA:SA's source, you need the memory address where GTA stores money.
Код:
*(BYTE *)0x123456 = 1337;
(BYTE is an unsigned char)
So basically, if that memory address was real, it would set the player's money to 1337.
Opcodes are also used in SA:MP.
Posts: 489
Threads: 102
Joined: Apr 2010
Reputation:
0
Ah, so it basicly looks for where certain stuff is stored when playing GTA? so, where your gun slot 1, slot 2, slot 3 etc. is stored, then they use like C++ and stuff to make it so you can use pawn to just use a function to change it??
And then thats how hacks would do it aswell??
Posts: 209
Threads: 19
Joined: Dec 2008
Quote:
Originally Posted by DarrenReeder
Ah, so it basicly looks for where certain stuff is stored when playing GTA? so, where your gun slot 1, slot 2, slot 3 etc. is stored, then they use like C++ and stuff to make it so you can use pawn to just use a function to change it??
And then thats how hacks would do it aswell??
|
Well, not everything is exactly stored in variables.
You need to use in-line assembly in C++ to call some GTA functions. Like this:
Код:
void CallGTAFunction()
{
DWORD dwFunc = 0x123456;
_asm
{
push 0
call dwFunc
}
}
This would call a function at 0x123456 memory address.
Read some Assembly tutorials for more information.
Posts: 103
Threads: 1
Joined: Aug 2006
Reputation:
0
Thanks to everyone who posted THE SAME STUFF OVER AND OVER AND OVER. It's really helpful for us.