working auto login?

04/12/2013 00:12 G_man 21#1
anyone have one? or know of one? tired of dcing middle of the night xD
04/12/2013 00:20 iktov2#2
Here is a project for mine. Its not great but it works.

[Only registered and activated users can see links. Click Here To Register...]
04/12/2013 01:05 Rumil12#3
Quote:
Originally Posted by iktov2 View Post
I will post up something here in a minute. I don't know why but I'll do it anyways.
You really crack me up sometimes :D!
04/12/2013 01:19 iktov2#4
Quote:
Originally Posted by Rumil12 View Post
You really crack me up sometimes :D!
Why?
04/12/2013 01:30 G_man 21#5
Quote:
Originally Posted by iktov2 View Post
Here is a project for mine. Its not great but it works.

[Only registered and activated users can see links. Click Here To Register...]
says download not enabled
04/12/2013 01:31 Rumil12#6
Quote:
Originally Posted by iktov2 View Post
Why?
Ahh you changed your post!
04/12/2013 01:32 Felixmaster#7
lol rumil.. what you talking about :P you crazyyyy
04/12/2013 01:33 iktov2#8
Ok well, I give up. The germans and canadians control everything and I can't get a leg up.

Code:
#include <windows.h>

int* Screen = (int *)0x011DF3C8;  //Current Screen(2 server select, 3 login, 4 char select, 5 Loading map, 6 in-game)
int* SystemMenu = (int *)0x134B918; // The menu in-game when you hit Escape for logging out.
int* ServerCheck = (int *)0x11E5688; // If servers are red or green bar
DWORD* Socket = (DWORD *)0x59ABE8; // Check to see if you are connected or not,  will be 0xFFFFFFFF if disconnected

bool Disconnected() //Check if you are connected or not
{
	if(*Screen == 6 && *Socket == 0xFFFFFFFF)
	{
		return true;
	}
	else
	{
		return false;
	}
}
bool Connected()
{
	if(*Screen == 6 && *Socket != 0xFFFFFFFF)
	{
		return true;
	}
	else
	{
		return false;
	}
}
void LeftMouseDown(int ScreenX, int ScreenY)
{
	UINT_PTR adr = 0x45B140;
	__asm
	{
		PUSHAD
        PUSH ScreenY
		PUSH ScreenX
		MOV ECX,0x011BABC0
		CALL adr
	    POPAD
	}
}
void LeftMouseUp(int ScreenX, int ScreenY)
{
	UINT_PTR adr = 0x0045B1E0;
	__asm
	{
		PUSHAD
        PUSH ScreenY
		PUSH ScreenX
		MOV ECX,0x011BABC0
		CALL adr
	    POPAD
	}
}

void Logout()
{
		*SystemMenu = 1; // Bring up system menu
		LeftMouseDown(0x2D0, 0x29E); // Screen coords for logout button
		Sleep(25);
		LeftMouseUp(0x2D0, 0x29E); 
}
void Login()
{
	char Name[15] = "accntname"; 
	char Pass[21] = "accntpw";
    HWND *accbox = (HWND *)0x11BAC34;
	HWND *pwbox = (HWND *)0x11BAC38;
	Sleep(500);

	//Server select for Redemption server
	if(*Screen == 2 && *ServerCheck > 0)
	{
		LeftMouseDown(0x2A7, 0x111);
		Sleep(25);
		LeftMouseUp(0x2A7, 0x111);
	}
	
	Sleep(500);
		//Set account info into text boxes
    if(*Screen == 3)
	{
		SetWindowTextA(*accbox, Name);
		SetWindowTextA(*pwbox, Pass);
		Sleep(500);
		//Click OK button to login
		LeftMouseDown(0x308, 0x1AD);
		Sleep(25);
		LeftMouseUp(0x308, 0x1AD);
	}
	Sleep(500);
		//Click GameStart,  only have 1 character,  no need to select a character
	if(*Screen == 4)
	{
		
		//LeftMouseDown(0x4B3, 0x0A0);
		//LeftMouseUp(0x4B3, 0x0A0);
		//Sleep(100);
		LeftMouseDown(0x4FA, 0x1DF);
		LeftMouseUp(0x4FA, 0x1DF);
	}
}
DWORD HackThread()
{
	while(1)
	{
          if(Disconnected() == true)
		  {
			  Sleep(8000);
			  Sleep(5);
			  Logout();
			  Sleep(8000);
		  }
		  if(Connected() == false && *Screen != 6 && *Screen != 5)
		  {
			 Sleep(10000);
			 Login();
			 Sleep(50);
		  }
	}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
   if ( dwReason == DLL_PROCESS_ATTACH )
      { 
		        CreateThread( NULL, NULL,(LPTHREAD_START_ROUTINE) HackThread , NULL, NULL, NULL);
      }
	if (dwReason == DLL_PROCESS_DETACH)
	  {
	  }
    return TRUE;
}
Make an empty .dll project in Visual studio. Make an empty C++ file and paste that in, set to release mode and build. It should compile just fine.

It works on 2d Screen coords with a res of 1366x768, just adjust the coords where you need to.
04/12/2013 01:37 Felixmaster#9
LOL those damn germans -shakes fist angrily- is there a way to fix this on the bot? or havent you done that part yet

i did not see this code when i made this post o.O.. nice work though iktov.. and i can understand some of it! yays im learning -me gusta face-
04/12/2013 01:45 Rumil12#10
Hey iktov could u PM me the array of byte for each of these? If not thats ok too no big deal :D

And i know! now i look like a blabbering crazy old man.

nvm lol, just looked at it :P
04/12/2013 01:58 G_man 21#11
Ty iktov
04/12/2013 02:00 Felixmaster#12
[QUOTE=And i know! now i look like a blabbering crazy old man.[/QUOTE]

what do you mean look like? o.O DUN DUN DUNNNNN haha kidding :P -shifty eyes-

iktov when you say create a empty .dll project and a empty C++ one, what do you mean, iv made a .dll one but what about the C++? that part confused me, i input my acc and pw in the fields and put the x and y for my screen (atleast i THINK are in the right place) but im getting lots of errors when i try to build it.. so confuzzled come back on skype so we can split screen?
04/12/2013 03:29 G_man 21#13
Got it thanks compiled working and everything