Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 19:24

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

Advertisement



NosTale hook

Discussion on NosTale hook within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2017
Posts: 40
Received Thanks: 1
NosTale hook

Hi i watched videos and tutorials etc to call game functions and i trying so don't work anyone can help me?

Screen ( Function Rest Founded )

Code -> "Internal Dll"
Code:
#include "Memory.h"
#include <Windows.h>
#include <stdio.h>
#include <fcntl.h> // for the console stuff
#include <io.h> //
#include <TlHelp32.h> // for the module operations

typedef void(__cdecl * _FuncA)();
_FuncA FuncA;

typedef void(__cdecl * _FuncB)(char * string);
_FuncB FuncB;

HANDLE CreateConsole(); 

DWORD WINAPI MainThread(LPVOID param)
{
	DWORD base = (DWORD)GetModuleHandle(NULL);

	FuncA = (_FuncA)(base + 0x310C2);
	FuncA();

	AllocConsole();
	FILE* fp;
	freopen_s(&fp, "CONOUT$", "w", stdout);
	
	//Set up
	

	while (true) 
	{
		Sleep(500);
		FuncA();
		printf("H %x \n" , base);

	}
		
	FreeLibraryAndExitThread((HMODULE)param, 0);
	return 0;
}

BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{
	switch (dwReason)
	{
	case DLL_PROCESS_ATTACH:
		CreateThread(0, 0, MainThread, hModule, 0, 0);
		break;
	default:
		break;
	}
	return TRUE;
}
Ty
NosLuna is offline  
Old 02/27/2021, 23:42   #2
 
WalrossGreat's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 871
Received Thanks: 1,229
Everything is wrong

a) The most importantly, it isn't sit function
b) The "DWORD base" is the base of main module, but...
c) ...this address isn't in the game(base) module
d) This address is in the middle of a function, but you call it like it would be at the beginning of a function
WalrossGreat is offline  
Thanks
1 User
Old 03/01/2021, 10:02   #3
 
elite*gold: 0
Join Date: Feb 2017
Posts: 40
Received Thanks: 1
Thanks WalrossGreat for help me i continue learning
NosLuna is offline  
Old 03/01/2021, 23:15   #4
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
The rest function for this patch is at adress: NostaleClientX.exe + 0x2A557C and it takes a pointer to TNTUnitManager as first parameter. To find it you can try to search for an on/off byte for rest status (like 1 for resting, 0 for not or something like this) then search what instructions write to that memory adress and trace back.

Image from cheat engine:

For calling game functions you can also use the x86 inline assembly if you're building your dll in x86 mode. To do so you can do it this way:
Hatz~ is offline  
Thanks
1 User
Old 03/02/2021, 20:33   #5
 
elite*gold: 0
Join Date: Feb 2017
Posts: 40
Received Thanks: 1
Thanks @ i try
NosLuna is offline  
Reply


Similar Threads Similar Threads
[WarRock Hook] Pretzel D3D Public Hook 15/9/2010
09/15/2010 - WarRock Hacks, Bots, Cheats & Exploits - 25 Replies
SCREENSHOT Da VirusTotal leider unter hoher Belastung steht, konnte ich keinen Scan von VT machen (die Wartezeit beträgt über eine Stunde, lol). Daher habe ich ein Scan von VirSCAN.org - Free Multi-Engine Online Virus Scanner v1.02, Supports 36 AntiVirus Engines! gemacht (unterstützt 36 Vireprogramme). SCAN DOWNLOAD



All times are GMT +1. The time now is 19:27.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.