Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Last Chaos
You last visited: Today at 20:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Question / Request] Source / Whats Better.

Discussion on [Question / Request] Source / Whats Better. within the Last Chaos forum part of the MMORPGs category.

Reply
 
Old   #1
 
Mikail2244's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 65
Received Thanks: 9
[Question / Request] Source / Whats Better.

My Question
What is the best way to make an Last Chaos Hack?
Visual Basic or C++, i think C++ is but dont know sure.


CheatEngine or Ollydbg?
Coding with addresses and offsets is with cheat engine, but on Ollydbg u only need the address, so wich one should be better to create an hack.

Request
Does anyone have a simple source code in C++ or Visual Basic that he/she want to share to help "new" people? Just a little start how to put the address and offset in the coding script. And to let the program find Nksp.exe not window name.

Why am i asking this?
Because i wanna create my own hack application, i know it requires c++ skills or any other language but i was thinking really long about this and i MUST make one .
Thanks for all reply's
Greetings - Mikail2244
Mikail2244 is offline  
Old 05/08/2013, 21:06   #2
 
dsfgd's Avatar
 
elite*gold: 2
Join Date: Aug 2007
Posts: 599
Received Thanks: 2,927
Quote:
Originally Posted by Mikail2244 View Post
My Question
What is the best way to make an Last Chaos Hack?
Visual Basic or C++, i think C++ is but dont know sure.
If you want a simple trainer, use Visual Basic.
If you want an universal solution, which also works on latest official server, than u need to learn c / c++ / c++&cli or any other native language and make an injected dll.

Quote:
Originally Posted by Mikail2244 View Post
CheatEngine or Ollydbg?
Coding with addresses and offsets is with cheat engine, but on Ollydbg u only need the address, so wich one should be better to create an hack.
Use CheatEngine for offsets, ollydbg is usefull, but not really needed for making a trainer, but you may need it to debug your dll.

here a simple source (C++/CLI), i can't post interface.h, to much lines, you may get some errors, use google to fix them or find a C++/CLI tutorial.

main.cpp:
Code:
#include "main.h"
#include <process.h>
#include <Psapi.h> // you need to load Psapi.lib in the project settings

extern int UIMain(); // import UIMain from interface.cpp
extern int pEncrypt, pDecrypt; // import int addresses from hacks.h, hacks.h is a generic header, it contains no code, only values/offsets/names...

bool bCompare(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
	for(;*szMask;++szMask,++pData,++bMask)
		if(*szMask=='x' && *pData!=*bMask)  
			return 0;
	return (*szMask) == NULL;
}

DWORD FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
{
	for(DWORD i=0; i<dwLen; i++)
		if (bCompare((BYTE*)(dwAddress+i),bMask,szMask))  
			return (DWORD)(dwAddress+i);
	return 0;
}

void GetOffsets()
{
	MODULEINFO mbi;
	do { Sleep( 10 ); }while( !GetModuleInformation( GetCurrentProcess(), GetModuleHandle( "Engine.dll" ), &mbi, sizeof( mbi ) ));

	hModuleAddress = (DWORD)mbi.lpBaseOfDll;
	hModuleSize = mbi.SizeOfImage;
	
	//just an example how it works:
	pDecrypt  = FindPattern(hModuleAddress, hModuleSize, (PBYTE)"\x8B\x44\x24\x08\x81\xEC\x18\x01\x00\x00\x8B\xC8\x8B\xD0\x53\x55","xxxxxxxxxxxxxxxx");
	pEncrypt  = FindPattern(hModuleAddress, hModuleSize, (PBYTE)"\x8B\x44\x24\x08\x8B\x4C\x24\x04\x83\xEC\x24\x53\x55\x8B\x6C\x24","xxxxxxxxxxxxxxxx");
}

unsigned __stdcall Game(LPVOID lpParam)
{
	GetOffsets(); // <-- get offsets from pattern search
	UIMain(); // <-- start CLI (.NET) UI
	_endthread();
	return S_OK;
}

BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved)
{
	switch(dwReason)
	{
		case DLL_PROCESS_ATTACH: // we only need attach
			if( IsStarted == FALSE) // we start only 1 thread
			{
				IsStarted = TRUE;
				_beginthread(&Game, 0x1000, hModule); // note: xtrap detects this, use another methode to do it...
			}
			break;
	}
	return TRUE;
}
main.h:
Code:
#ifndef MAIN_H
#define MAIN_H

#include <windows.h>

bool IsStarted = FALSE;

bool bCompare(const BYTE* pData, const BYTE* bMask, const char* szMask);
DWORD FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask);
unsigned __stdcall Game(LPVOID lpParam);
BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved);

#endif
hacks.h:
Code:
#ifndef HACKS_H
#define HACKS_H

#pragma region Variables

	int hModuleAddress, hModuleSize;
	int pEncrypt, pDecrypt;

#pragma endregion

#endif
interface.cpp:
Code:
#include "Interface.h" //<-- this is the form, add it and do your stuff there

using namespace OffsetScanner; //<-- this is the name of your .NET Form

int UIMain()
{
	Application::EnableVisualStyles();
	Application::SetCompatibleTextRenderingDefault(false);
	Application::Run(gcnew Interface());
	return 1;
}
dsfgd is offline  
Thanks
5 Users
Old 05/08/2013, 22:56   #3
 
Luôô's Avatar
 
elite*gold: 5
Join Date: Dec 2009
Posts: 1,080
Received Thanks: 434
an example for calling the adress?
Luôô is offline  
Old 05/08/2013, 23:08   #4
 
Mikail2244's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 65
Received Thanks: 9
Thanks very usefull!
Mikail2244 is offline  
Reply

Tags
chaos, hack, question, request


Similar Threads Similar Threads
[Question/Request] Alberto's 5518 source.
03/27/2012 - CO2 Private Server - 8 Replies
Hey guys....first of all I am a noob and I am going to learn C# and C++ in this summer so please just help me.... I started using Alberto's source and I just need help and I am not trying to take your work I am just trying to learn.... Some questions please tell me what to edit and where please.. 1.How do I allow equip tower and fan and drop? 2.How do I code Toxic Fog? 3.How do I code reborn? 4.How do I allow 140 items equip? (it keeps saying Unable or Unknown Use) 5.How do I code...
[Source][Question / Request] DB -> Befehl
03/22/2012 - Flyff Private Server - 2 Replies
Meine Frage ist, wie man in der Source einstellen kann, dass die Query in ein Befehl wird. Zum beispiel ich benutzt ein Command und er führt dann diese Abfrage in der DB aus. Damit möchte ich auch etwas erreichen. Und zwar ist m_vScale_x ja der Char größe. Und ich möchte das ein Befehl so funktioniert das, wenn ich diesen Befehl ausführe, dass die m_vScale_x in biliebig geändert wird. Wäre dies möglich ? Wenn ja Wie und welche Dateien, etc.. ? :D
whats a good public source i could use?
07/22/2010 - CO2 Private Server - 33 Replies
well im looking to do some coding on a public source patch dont matter to me just looking for somthing to do thats not bins
whats the best source to start with
11/07/2008 - CO2 Private Server - 13 Replies
hey all i'm learning how to code and i can make some edits and stuff but i wanna know wich source is good to start with i know some sources that are public like lotf/shadowco/powersource wich is the best or do u have a better pls tell me ty
Whats the best source to start with?
10/14/2008 - CO2 Private Server - 7 Replies
hey all i wanna know what the best source is to start with cause i just wanna make a pserver (in future) with alot of my adds but i don't know what source i should use if anyone has a good source pls send the link to me or e-mail me [email protected]



All times are GMT +1. The time now is 20:21.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.