Ist es eigentlich Zufall, dass du hier wieder auftauchst, nachdem xxfabbelxx zurückgetreten ist, Mostey?
Was hat denn der Rücktritt von fabbel damit zutun? Ich interessiere mich nur seit einiger Zeit (wieder) für die Programmierung und dachte halt, dass ich mal meine Fragen bzgl. Gamehacking hier stelle, da hier ja einige recht viel Ahnung davon haben.
Ich werde diese Sektion nicht mehr moderieren, falls du das meinst.
Quote:
Originally Posted by Raz9r
quick_exit
quick_exit is a function provided by WarRock or some self written function for escaping?
Quote:
Originally Posted by Raz9r
Use D3D9 libraries and avoid using D3DX9 where possible.
Why would someone do this? Speed reasons?
Quote:
Originally Posted by Raz9r
The other thing is to modify system interaction. Many people here hook stuff like WinSock2 send, recv, sendto and recvfrom to change certain packet. I also use SetWindowLongPtr with GWLP_WNDPROC to hook the window input procedure.
When hooking the packet functions (send, recv) is a full customization possible? So the content of every packet segment can be changed w/o any complications? (provided the expected arguments are correctly filled in)
Quote:
Originally Posted by Raz9r
There is no such thing like "address scans", but "pattern scans" do exist. Scanning for a memory pattern just means that you look for parts of memory in a specified area that did not change over the last updates and thus do not need to manually find the address again. It's not necessary, but definitely helpful for updating the cheat.
So if I wouldn't use pattern scans, updating my addresses for the cheat would be very time consuming, right?
Thank you for answering my questions and breaking it down a bit. Do you got some additional references which may help me by diving more specific into gamehacking?
quick_exit is a function provided by WarRock or some self written function for escaping?
It's a function defined by the C++11 standard. As far as I know your process will be terminated immediately -> HackShield is unable to process the ban request (don't know how they handle that in detail but my guess would be a special packet that is sent to the server).
Quote:
When hooking the packet functions (send, recv) is a full customization possible? So the content of every packet segment can be changed w/o any complications? (provided the expected arguments are correctly filled in)
Spoken in general: Yes. There might be some issues depending on your platform, compiler and such but you'd be able to log the packets or to modify the packets, yes.
Quote:
So if I wouldn't use pattern scans, updating my addresses for the cheat would be very time consuming, right?
Once again: In general: Yes.
Patterns might be the most comfortable way to find certain locations in memory after several updates.
Quote:
Thank you for answering my questions and breaking it down a bit. Do you got some additional references which may help me by diving more specific into gamehacking?
Event though I'm not Raz9r and far from being as experienced as he seems to be: I'd recommend the lena151 Tutorials (you'll find them with google), they'll teach you a basic understanding of assembled programs, that helped me a lot. And the MSDN will be your best friend for a long time ().
quick_exit is a function provided by WarRock or some self written function for escaping?
It's a function provided by the C++ Standard Library. In case your implementation of the standard library does not support it yet, use _exit from cstdlib.
Quote:
Originally Posted by Mostey
Why would someone do this? Speed reasons?
Yep.
Quote:
Originally Posted by Mostey
When hooking the packet functions (send, recv) is a full customization possible? So the content of every packet segment can be changed w/o any complications? (provided the expected arguments are correctly filled in)
There are some things to workaround, mostly with the logical timestamp. We discussed that few days ago right in this topic, so feel free to take a look at it.
Quote:
Originally Posted by Mostey
So if I wouldn't use pattern scans, updating my addresses for the cheat would be very time consuming, right?
Finding an address manually takes a few minutes, but needs to be done every update. Finding a memory pattern takes at least 15 minutes, but needs to be done only on updates changing the code a lot. Finding a pattern with a unique result can be really time-consuming.
Quote:
Originally Posted by Mostey
Thank you for answering my questions and breaking it down a bit. Do you got some additional references which may help me by diving more specific into gamehacking?
I am not allowed to link any of these here, as they don't link back to elitepvpers.
Heard some good stuff about him and red his posts, the point is that I asked these questions in public to get some other guys helped at the same time.
First of all, thanks for answering my questions, I really appreciate your help.
The fourth question was about addresses, how they are scanned, you know? I know about scanning some values with CE to get the pointer which accesses that pointer and so on but I heard about some pattern scans that are used here. I'm just questioning why people prefer this pattern scans if they could perform some address-offset actions anyway?
For detecting keys state are you using the message loop, right? Guess these architecture is highly used with the help of the win32api.
About the third point: If I got this correctly, you can't actually draw your menu to the same scene(picture) without hooking this specific function?
I will take a look at hans' D3D menu class to get into it when I find some time for it.
I'm interested in the technique, how this done and stuff and not only the statement that some guys are able too hook it FUD.
Well when i search for a new Address for example for some value about the weapon i use Cheat Engine ( With the Hackshield public bypass ) and scan for those values.
All of them are normally stored in a Weapon class. I use the Cheat Engine debugging functions ( the Cheat Engine tutorial should give you nearly all informations how to use them ) to find a static pointer and the offset for it.
In the next step i create Pattern for it so i search for a specific Binary combination which is near to the static pointer and use the FindPattern function which is easy2find with google, so i don't have to search them manually after updates.
Additionally in WarRock everything is inside the WarRock.exe and not in any modules loaded. Also the Base address stays the same so no GetModuleHandle is needed.
For detecting KeyDown event i use the API GetAsyncKeyState which makes it pretty easy to determine wether specific keys are currently being pressed ( Check out the WinApi about it )
Third point: This is correct, you need to hook it because when for example Present is called you can redirect the program flow to your own code so you can execute your Draw functions.
To find a undetected Hook on those functions got pretty hard in the last few months.
Some months ago a regular JMP hook was enough ( replacing the first 5 bytes with a jump to your function ) , but Hackshield has got more powerful and now they detect all opcode modifications on those functions and also Exception Hooks, which is where you have to think about 'How can i change the program flow to my own function when this specific Function is called'.
This is pretty hard at the beginning, its a good option to learn the basics of Assembler so you know how the program works and where you can change something ( different then .text opcodes ) to get your functions executed.
Its always a good start to check the 'Caller' and 'Callees' of the Function you wan't to Hook. Its all about trying over and over again, there is no really tutorial for it, its just experience which counts here.
I create programm for intercept packets with c++,use socket2.
I create the connect from server:109.234.77.201 port 5330;
I decode packets with xor key.
When i run my programm i get only random code.
Example:
1:Connect to server
2:Riceve packets
3: Decode;
4: printf(packet);
[Farmville2]Rock&Wood Cheat. 10/28/2012 - Facebook - 0 Replies Credits:
http://www.pwnthis.net/2012/10/farmville-2-cheats -vanishing-rocks.html
1. Gehe auf deine Farm.
2. Öffne Cheat Engine.
3. Öffne den flash plugin bei Firefox.
4. Ändere den Value type auf Text.
5. Scanne: obstruction_rock.
6. Wähle alle Ergebnisse aus und nutzen dann den roten Pfeil.
Can you help me in Cheat Engine for the rock paper scissor please ? 08/04/2011 - 4Story - 4 Replies With Cheat Engine 6 I tried to modifie the number of victories:
I win one time, I put 1 and do first scan
I win twice, I put 2 and I do next scen
I win three times and I put 3 and next scan and I found the adress number:
07482200
I modifie for put 15 and I try to leave and he didn't work I repaet operations and I try to continue but didn't work either =(
Do you know how make that ?