Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 12:30

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

Advertisement



[HELP] Auto pickup dll metin2 priv

Discussion on [HELP] Auto pickup dll metin2 priv within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2020
Posts: 5
Received Thanks: 0
[HELP] Auto pickup dll metin2 priv

Hi I'm trying to write an auto pickup in c++ dll. When I inject dll with cheat engine or using this
metin2 closes.

Code:
#include "pch.h"
#include <Windows.h>

DWORD Call1 = 0x5084C0;

int Main()
{
	__asm
	{
		MOV ECX, DWORD PTR DS : [0x17D9ED4]
		CALL Call1
	}
	Sleep(20);
}


BOOL APIENTRY DllMain(HMODULE hModule,
	DWORD  ul_reason_for_call,
	LPVOID lpReserved
)
{
	switch (ul_reason_for_call)
	{
	case DLL_PROCESS_ATTACH:
		CloseHandle(CreateThread(nullptr, 0, (LPTHREAD_START_ROUTINE)Main(, hModule, 0, nullptr));
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}

Dupszot22 is offline  
Old 07/26/2023, 12:48   #2
Non ducor, duco.
 
Drewfire's Avatar
 
elite*gold: 0
Join Date: Jan 2014
Posts: 16,155
Received Thanks: 3,414
Try to change
Code:
CloseHandle(CreateThread(nullptr, 0, (LPTHREAD_START_ROUTINE)Main(, hModule, 0, nullptr));
to
Code:
CloseHandle(CreateThread(nullptr, 0, (LPTHREAD_START_ROUTINE)Main, hModule, 0, nullptr));
You have a random comma after Main(
Drewfire is offline  
Old 07/28/2023, 10:48   #3
 
elite*gold: 0
Join Date: Sep 2020
Posts: 5
Received Thanks: 0
Quote:
Originally Posted by Drewfire View Post
Try to change
Code:
CloseHandle(CreateThread(nullptr, 0, (LPTHREAD_START_ROUTINE)Main(, hModule, 0, nullptr));
to
Code:
CloseHandle(CreateThread(nullptr, 0, (LPTHREAD_START_ROUTINE)Main, hModule, 0, nullptr));
You have a random comma after Main(
It still does not work. I found base address of pickup item/attack but this work only if I first click on item to get ID of this item. I try ReClass to get pickup address "z" button but I only found "space bar" attack, character name, "wasd" move. If I want use pickup with mouse click I should get somehow close ID item but if If I'm not mistake, I need to call getvid. Is it possible to call the pickup with memory edit just like in the video with auto attack?

Dupszot22 is offline  
Old 07/29/2023, 15:51   #4
 
elite*gold: 0
Join Date: Sep 2020
Posts: 5
Received Thanks: 0
Update:
I found address of itemID on ground but this only work if no one is around (mob/players). If mob is around player then value change to random mobID. Static address works until it detects mob or player. I try found ID with ReClass searching by item name and item id in eq but nothing is found. If I generate pointers map in different map then pointerscan show 0 results. Is it possible to get around this to search only for item id or specific ones by name/unique id?

This is what it looks like

Dupszot22 is offline  
Old 07/31/2023, 20:23   #5
 
DonAirBerlin's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 62
Received Thanks: 18
I guess you need to search more, your goal should be a pointer to a list that contains all items (type, unique id, x pos, y pos, etc.) If you got this your work is basically done you can easily iterate over the list and do your instructions.
DonAirBerlin is offline  
Reply


Similar Threads Similar Threads
[Selling] [DMPBOT] Aeldra+ Auto Login,Farmbot,LevelBot,AutoSkill,Auto Biolog,Auto Pickup,
12/03/2023 - Metin2 Trading - 1 Replies
DMPBOT - PREMIUM (AELDRA-ZETA-ZEYA) YOU MUST CONNECT TO OUR DISCORD ADDRESS TO PURCHASE Discord
[HOW TO] MSVCR110.dll fehlt BEHEBEN | [MSVCR120.dll MSVCP110.dll MSVCP100.dll etc]
03/25/2014 - Tutorials - 2 Replies
Hier ist ein Youtube Video: MSVCR100.dll feht BEHEBEN / MSVCR110.dll fehlt MSVCR120.dll MSVCP110.dll MSVCP100.dll MSVCP120.dll - YouTube Aber den ganzen Kram könnt ihr auch als Text haben: Viele von euch kennen bestimmt das Problem das ne dll auf dem PC fehlt und das Programme dann nicht laufen. Hier ist die Lösung: Schaut erstmal nach, welche Microsoft Redistributables auf eurem PC installiert sind. Geht hierzu auf Start > Sytemsteuerung > Programme > Programme und Funktionen und...
[HowTo] Aktionsleister von Priv oder Live zu Priv übertragen
09/26/2010 - WoW Private Server - 3 Replies
Hallo !, Heute zeige ich euch wie man die Aktionsleisten und makros von Priv/live zu Priv live übertreigt 1.) Als erstes ladet ihr das addon Simple Action Sets Simple Action Sets - Addons - Curse 2.) Nun loggt euch ein. Danach findet ihr ein icon auf der minimap darauf klickt ihr drauf



All times are GMT +1. The time now is 12:31.


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.