View Full Version : How to?
-Theblackkill
22nd December 2006, 15:53
Hello.
I code VB and Uscript, but now, I want to start hacking Battlefield.
I know you all do it with C++.
ok, how can I start?
I am reading an c++ book already, but how to use c++ special for hacks in BF2142.
How does it work?
How must I make it undetect?
How load in the game?
How is the set up?
Just tell me everything
Thnx!
xbbb
23rd December 2006, 00:15
You can also use TMK.
There is just too much stuff to explane it all here, but
all info you can find in bf2 section.
dar
23rd December 2006, 01:27
www.battlecoders.com
best place if you want to make hacks in c++ for battlefield series
bithunter_2007
17th February 2007, 04:00
@xbbb
"...but all info you can find in bf2 section."
unfortunatly not!
i scanned the whole bf2 forum, but didn't found some information about getting basepointers to score, t-score, kills, t-kills, deaths, team, squad, kit, playerposition, rank etc. for bf2.
possibly you can help me, finding the right threads (thx in advance)
@-Theblackkill
i also code at vb/vb.net and i wrote some lines of code to access processmemory. here they are:
Private Declare Function ReadProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, ByRef lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal blnheritHandle As Long, ByVal dwAppProcessId As Long) As Long
Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long
Const PROCESS_VM_READ = (&H10)
Const PROCESS_VM_WRITE = (&H20)
Const PROCESS_VM_OPERATION = (&H8)
Const PROCESS_QUERY_INFORMATION = (&H400)
Const PROCESS_READ_WRITE_QUERY = PROCESS_VM_READ + PROCESS_VM_WRITE + PROCESS_VM_OPERATION + PROCESS_QUERY_INFORMATION
Dim hProcess as Long
Public Sub OpenBF(PID as Long)as Long
hProcess= OpenProcess(PROCESS_READ_WRITE_QUERY, False, PID )
End Sub
Public Function ResolveData(Address As Long) as Long
dim Valbuffer as long
'read the pointer
ret = ReadProcessMemory(hProcess, Address, Valbuffer, Len(Valbuffer), 0&)
ResolveData=Valbuffer
End Function
Public Sub ResolveTeam()
'
'find out PID of running BF
'
OpenBF(PID)
BasePointer = ResolveData(&H9D903C)+ &H60
BasePointer = BasePointer
TeamAddress = ResolveData(BasePointer)+ &H10C
Team = ResolveData(TeamAddress )
End Sub
...that's all
NOTE: pointers are for bf2! i think bf2142 uses other pointers!
have fun
bh_07
-Theblackkill
18th February 2007, 14:23
Thnx for the information all, but PB scans now for Memory changes:(:(:
So changing the memory will result in a kick.
(Maybe there are private ways?)
if you know some bithunter_2007, please contact me;)
-Theblackkill
25th March 2007, 16:22
battlecoders = down?:disappointed:
Skitz_Viper
28th March 2007, 13:50
battlecoders = down?:disappointed:
was down. is up again now tho
swift777
30th March 2007, 19:59
Some people can't on on battlecoders, so use this website (http://250.eu) and type battlecoders.com at the top
mazzzzz
8th September 2007, 01:22
hey i didn't find this it was a link off of battlecoders.com but these tutorials shoud help a lot if you want to learn something about C++ go here (http://rapidshare.com/users/QMGT1L)
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.