[ESRO] Loader with range patch

06/13/2011 00:17 xclusive™#46
For all the people who said is it real? is he trustworthy? In this section all threads get approved by a moderator first. Also thank you jremy well done.
06/13/2011 06:52 DeathrowMakaveli#47
Thanks it actually does work but i'm still scared to log into my main lol.
06/13/2011 08:26 KHAOHS#48
good work
here's a test file
06/13/2011 13:32 smedheaddk#49
what part of the source do i need to modify to change the range? its too long for what i need it for, wanna half it.
06/13/2011 13:58 GSILKROAD#50
Quote:
Originally Posted by smedheaddk View Post
what part of the source do i need to modify to change the range? its too long for what i need it for, wanna half it.
HWND hWnd = FindWindowA("CLIENT", 0);
DWORD pid = 0;
GetWindowThreadProcessId(hWnd, &pid);
if(pid == GetCurrentProcessId())
break;

Sleep(10);
}

float range = 5000;

If you need half write range = 2500 :pimp:
06/13/2011 14:10 lordjaggi#51
Quote:
Originally Posted by GSILKROAD View Post
HWND hWnd = FindWindowA("CLIENT", 0);
DWORD pid = 0;
GetWindowThreadProcessId(hWnd, &pid);
if(pid == GetCurrentProcessId())
break;

Sleep(10);
}

float range = 5000;

If you need half write range = 2500 :pimp:
which program to use to open the dll file?
would like to have half the range for ongs.
06/13/2011 14:28 smedheaddk#52
as far as i can tell to make the dll edited you use the source he posted in c++ and than modify the float range to how you want, its default is 5000. Ive never done anything like making a dll so im pretty stuck myself on how to make the dll work. any help would be apprieceated.
06/13/2011 15:07 smedheaddk#53
having toruble with the dll...

esroLoaderdll.cpp:
Code:
#include "windows.h"

void WriteMemory(DWORD address, LPVOID patch, DWORD size)
{
	DWORD oldProtect;
	VirtualProtect((LPVOID)address, 4, PAGE_EXECUTE_READWRITE, &oldProtect);
	memcpy((LPVOID)address, patch, size);
}

DWORD WINAPI PatchRangeThread(LPVOID lpParam) //need to wait for sro window or we get protection error
{
	while(1)
	{
		HWND hWnd = FindWindowA("CLIENT", 0);
		DWORD pid = 0;
		GetWindowThreadProcessId(hWnd, &pid);
		if(pid == GetCurrentProcessId())
			break;

		Sleep(10);
	}

	float range = 5000;
	WriteMemory(0xD10678, &range, sizeof(float));

	return 0;
}

BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
	if(ul_reason_for_call == DLL_PROCESS_ATTACH)
	{
		CreateMutexA(0, 0, "Silkroad Online Launcher");
		CreateMutexA(0, 0, "Ready");

		CreateThread(0, 0, &PatchRangeThread, 0, 0, 0);
	}
	return true;
}
i put this in c++ and when i tried to compile it i got the foloowing error:

Code:
1>------ Build started: Project: test, Configuration: Release Win32 ------
1>  test.cpp
1>test.cpp(40): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Im a nooby to all this i just copy and pasted the code, and starterd a new win 32 console appliaction and selcted dll, than pasted this. press build and results above :P
06/13/2011 15:53 KHAOHS#54
smedheaddk
which, the program that you're using
06/13/2011 17:10 _Artillery_#55
can some prove it please ? :D
06/13/2011 17:46 smedheaddk#56
Quote:
Originally Posted by pklawz View Post
smedheaddk
which, the program that you're using
c++
06/13/2011 20:08 jremy#57
Updates:

Made the loader change sro window title to your charname and made very simple keypresser (you can still use iTools, etc).

Scan (loader): [Only registered and activated users can see links. Click Here To Register...]
Scan (keypresser): [Only registered and activated users can see links. Click Here To Register...]

Screenshot: [Only registered and activated users can see links. Click Here To Register...]

Both downloads have sources included.
06/13/2011 21:49 raveSTAR*#58
Why does the gameguard updates all the time when i launch ?
06/13/2011 22:00 nonamed2k#59
works Like a real bot xD
06/13/2011 22:39 DorkaZoid#60
Quote:
Originally Posted by raveSTAR* View Post
Why does the gameguard updates all the time when i launch ?
i got an error with the game guard error 361 -.-