Java Program / Cheat / Hack

Posts 18 of 8 · Page 1 of 1
Java Program / Cheat / Hack
Hey,

I want to create a way to change pointer values (out of a game).

Is this possible with java?
Im medium-experienced with java but since it is the only language I really can do something with, im trying to do it this way.

Any hints in terms of.. how to select the game / pointer and change it ?

Thanks <3
Quote Originally Posted by xkeana View Post
Hey,

I want to create a way to change pointer values (out of a game).

Is this possible with java?
Im medium-experienced with java but since it is the only language I really can do something with, im trying to do it this way.

Any hints in terms of.. how to select the game / pointer and change it ?

Thanks <3
If you were experienced enough,you would know how to do basic stuff but you are not.
"Changing pointer values" for what,with what and why do you think that its that easy?
Use the proper tool for the job.

These questions are really dumb because its way easier to help you out (or at least try) if you describe your problem.
The answer to your question is : You need a debugger and C++.
You can try Cheat Engine if the game itself doesnt have any kind of protection.
Quote Originally Posted by Kappatos View Post
If you were experienced enough,you would know how to do basic stuff but you are not.
"Changing pointer values" for what,with what and why do you think that its that easy?
Use the proper tool for the job.

These questions are really dumb because its way easier to help you out (or at least try) if you describe your problem.
The answer to your question is : You need a debugger and C++.
You can try Cheat Engine if the game itself doesnt have any kind of protection.


Im talking about "cheating" in a MMO

In this MMO i want to be playing with 2 characters at once. (Having the game opened x2)

I already found the pointers for the coordinates of the player.
-> Game 1 xy coords
-> Game 2 xy coords

I can read and edit those adresses values with cheat engine.

Now im looking for a way to read both (4) coords x1, x2, y1, y2
And match them.

So if im walking with player 1 -> get coords -> match with coords player 2 -> if not the same -> make them the same

Goal:
Walking with player 1, teleporting player 2 to the position of player one all the time.

Does this work withing cheat engine?
If not -> Whats the best programming language for that?
And how would you solve this problem?


I tried some stuff in c++, it is working but i dont get how to set a pointer instead of the dynamic adress in the program..
Im getting the process id's of the game, creating handles and all that stuff and it IS working!
BUT: only with the dynamic adress.. since i dont want to change the code of the program each time, i want to find a way to insert a pointer instead of the dynamic adress

for example:

The pointer is: "N3.dll"+0005C4C0 + 84 + 50 + 58





i already know i have to add the offsets to the pointers base adress...but.. yeah.
My pointers base adress is 5D220000 - N3.dll isnt it?

Or do i have to take one adress out of that deeper structure?


Thanks in advance


EDIT:

WAIT, is THIS the base adress i have to add the offsets to? :O


EDIT 2:

Nah cant be, it changes every time i restart the game..


EDIT 3: BIG BRAIN TIME??

wait wait.

it says "N3.dll"+0005C4C0
which means 5D220000 +0005C4C0 ??

= > 5D27C4C0 - N3.n3Engine_t::m_pcInstance

which is the base adress? :O
gonna try that out..

Edit:
hm.
what exactly is the base adress? and how are the offsets added to it?
the base adress is the memory adress of the started module "n3.dll" ?
Quote Originally Posted by xkeana View Post
Im talking about "cheating" in a MMO

In this MMO i want to be playing with 2 characters at once. (Having the game opened x2)

I already found the pointers for the coordinates of the player.
-> Game 1 xy coords
-> Game 2 xy coords

I can read and edit those adresses values with cheat engine.

Now im looking for a way to read both (4) coords x1, x2, y1, y2
And match them.

So if im walking with player 1 -> get coords -> match with coords player 2 -> if not the same -> make them the same

Goal:
Walking with player 1, teleporting player 2 to the position of player one all the time.

Does this work withing cheat engine?
If not -> Whats the best programming language for that?
And how would you solve this problem?


I tried some stuff in c++, it is working but i dont get how to set a pointer instead of the dynamic adress in the program..
Im getting the process id's of the game, creating handles and all that stuff and it IS working!
BUT: only with the dynamic adress.. since i dont want to change the code of the program each time, i want to find a way to insert a pointer instead of the dynamic adress

for example:

The pointer is: "N3.dll"+0005C4C0 + 84 + 50 + 58





i already know i have to add the offsets to the pointers base adress...but.. yeah.
My pointers base adress is 5D220000 - N3.dll isnt it?

Or do i have to take one adress out of that deeper structure?


Thanks in advance


EDIT:

WAIT, is THIS the base adress i have to add the offsets to? :O


EDIT 2:

Nah cant be, it changes every time i restart the game..


EDIT 3: BIG BRAIN TIME??

wait wait.

it says "N3.dll"+0005C4C0
which means 5D220000 +0005C4C0 ??

= > 5D27C4C0 - N3.n3Engine_t::m_pcInstance

which is the base adress? :O
gonna try that out..

Edit:
hm.
what exactly is the base adress? and how are the offsets added to it?
the base adress is the memory adress of the started module "n3.dll" ?

I will give you an advice and thats it :

If you believe that your time is worth something and you are willing to learn ,there are so many tutorials and so many open courses for asm.
After reading several lines from your post,you look like a guy trying to hit a target in the dark.It can take years loading and shooting in order to hit the target which you dont even have clue where is located.
Dont fool yourself into wasting time into idiotic "cheats".
What you circled is : -> read(base(dll) + offset)
Quote Originally Posted by Kappatos View Post
I will give you an advice and thats it :

If you believe that your time is worth something and you are willing to learn ,there are so many tutorials and so many open courses for asm.
After reading several lines from your post,you look like a guy trying to hit a target in the dark.It can take years loading and shooting in order to hit the target which you dont even have clue where is located.
Dont fool yourself into wasting time into idiotic "cheats".
The address which you circled is : -> read(base(dll) + offset)
got it working like 15 mins ago! watched videos and shit all day long and went throught my code to understand what really happens step by step.

Thanks for the answers and trying to help :=)!
bro you are helping but not at all nice. Does it hurt to answer in a respectable manner?
Quote Originally Posted by xkeana View Post
got it working like 15 mins ago! watched videos and shit all day long and went throught my code to understand what really happens step by step.

Thanks for the answers and trying to help :=)!
Good for that that you spend time into learning.
I just dont get, why i cant grab the module adress... (getting the right procID)

 
code

Code:
		uintptr_t moduleBase = GetModuleBaseAdress(procId, L"n3.dll");



GetModuleBaseAdress:

uintptr_t GetModuleBaseAdress(DWORD procId, const wchar_t* modName) 
{

	uintptr_t modBaseAddr = 0;
	HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE, procId);
	if (hSnap != INVALID_HANDLE_VALUE)
	{
		MODULEENTRY32 modEntry;
		modEntry.dwSize = sizeof(modEntry);
		if (Module32First(hSnap, &modEntry))
		{
			do
			{
				
				if (_wcsicmp(modEntry.szModule, modName))
				{
					modBaseAddr = (uintptr_t)modEntry.modBaseAddr;
					break;
				}

			} while (Module32Next(hSnap, &modEntry));
		}
	}
	CloseHandle(hSnap);
	return modBaseAddr;
}


Its always returning the same bullshit, something but not the right module base adress..
The Module is called N3.dll
And in CE pointer it shows "N3.dll"+0005C4C0 (which is stable (?))
Is my code bullshit? or my brain? xD
 
N3.dll info

Btw: N3.dll this time is 5EC60000 - N3.dll (+0005C4C0 ) = 5ECBC4C0 - N3.n3Engine_t::m_pcInstance
Dunno if this is necassary maybe..


Dont get it..

Thanks in advance
Posts 18 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?