WarRock EU - Code Snippets

02/18/2011 12:23 felixderfarmer#1951
Wie kommt man an Dumped WR.exe, ohne es i-wo zu downloaden? / Wie dumpt (?) man Warrock? :D
02/18/2011 12:43 Deda94#1952
Quote:
Originally Posted by xKito View Post
Nein Toxic Aber Wärst du so Pro Wie du es Sagst Wüstest du das Ja :)
Lern To Code N00b :)

1. Bytes sind Hexadezimal und das gehört soweit ich weis nur wenig bis garnicht in den C++ Bereich.

2. Wir haben schonmal gelabert, du hattest Angst vor mir :D Total ängstliches Kind das nichtmal übers I-Net seine Meinung sagen kann :facepalm:

3. Und könnte ja sein? Quick P/D verkürzen ja nur die Zeit die man braucht...


Fazit: Denken bevor Schreiben. :)

02/18/2011 13:35 •~•Pr0Sk1ll•~•#1953
Toxic ich geb dir Recht
wann postest die nächste Donor source?
02/18/2011 13:43 Deda94#1954
UserFinder: (by Pastor/Willi)

Code:
I share my Code for Donars. Use it, you don't need Credit me, but i belive it will be leeched.

Code:
int WHC_Userfind=0;

char UserID[100],UserIP[100];


Code:
DWORD MrChurch = *(DWORD*)WHA_ServerPointer;

if(WHC_UserFind)
	{
		int IValuve = (WHC_UserFind-1);
		if(MrChurch != 0)
		{
			DWORD wFunc_A = (WHA_D3D_UserName + (WHO_PlayerSize * IValuve));
			DWORD wFunc_B = (WHA_D3D_UserIP + (WHO_PlayerSize * IValuve));
			sprintf(UserID," %s",(void*)wFunc_A);
			sprintf(UserIP," %s",(void*)wFunc_B);
		}else{
			sprintf(UserID, " Enter Room");
			sprintf(UserIP, " Enter Room");
		}
	}

GUIDTech Code: by V1rus


Code:
i was bored and i wrote this that allow only ur warrock id to use your dll or w/e is 

Code:
void allow_specific_player(char username[100])
{
	#define Addr_UserId 0x009A1E50
	sprintf(username,"%s",Addr_UserId);
	if (strcmp(username,"Your WarRock User ID") != 0)
	{
                MessageBox(NULL,"NooB You arent allowed to use this software","Attention",NULL);
		ExitProcess(0);
	}
	return;
}
usage:
Quote:allow_specific_player("playerid");

-----------------------------------------------------------------------------------------------

Idont understand your code.

Code:
sprintf(username,"%s",Addr_UserId);
username redefined


-----------------------------------------------------------------------------------------------

Originally Posted by NoName  
that line will print ur userid on wr then compare

you get id from the var :

function ( var );

and after you change the var with the value of the address

Code:
allow_specific_player(GetValueFromUrl(...));
Code:
void allow_specific_player(char username[100])
{
        char cur_username[100];
	#define Addr_UserId 0x009A1E50
	sprintf(cur_username,"%s",Addr_UserId);
	if (strcmp(username,cur_username) != 0)
	{
                MessageBox(NULL,"NooB You arent allowed to use this software","Attention",NULL);
		ExitProcess(0);
	}
	return;
}


-----------------------------------------------------------------------------------------


Correct me if I'm wrong, but this won''t work judging by the code posted.

When calling the function, you are asking for a username to be given, however, the variable username is being used to store the username read from the game executable itself, so essentially you are overwriting the variable and not accounting for this, so it wouldn't work.

To fix this you could simply do this:
Code:
void allow_specific_player()
{
	char username[100];
	#define Addr_UserId 0x009A1E50
	sprintf(username,"%s",Addr_UserId);
	if (strcmp(username,"Your WarRock User ID") != 0)
	{
                MessageBox(NULL,"NooB You arent allowed to use this software","Attention",NULL);
		ExitProcess(0);
	}
	return;
}
Again, correct me if I'm wrong but I'm relatively sure that this solution is the remedy to this problem.

EDIT: I see that v!rus has already fixed this, sorry I didn't realise, however after reading v!rus's code and my edited code, both versions would work.
02/18/2011 14:12 •~•Pr0Sk1ll•~•#1955
cool danke für userfinder
guidtech is dann nur für dein acc?
02/18/2011 14:58 Deda94#1956
jop
02/18/2011 15:33 •~•Pr0Sk1ll•~•#1957
Quote:
Originally Posted by felixderfarmer View Post
Wie kommt man an Dumped WR.exe, ohne es i-wo zu downloaden? / Wie dumpt (?) man Warrock? :D

so hier ich habs aus "meinem" Forum kopiert
Code:
befolgt einfach was hier steht dann klappt es(leider ohne screens wen mir jmd sagt wie ich screens mache dann adde ich sie^^)
also zuerst braucht ihr
dieses Programm:[url=http://www.4shared.com/get/jAk2DIOM/CHimpREC_v1001.html;jsessionid=709703F7F32FC36147C5114E5BE985E5.dc285]CHimpREC[/url]

dann entpackt das
nun startet ihr warrock und CHimpREC
dann in der Menü Leiste oben
während warrock läuft die datei warrock.exe auswählen
dann füllt sich im unteren Kasten ein Text(braucht ihr nicht^^
dann in der mitte steht rechts ->DUMP<-
Drückt das dann wählt warrock.exe aus (Verzeichnis:...Warrock\system\warrock.exe)
und wählt euren speicherort und bennent die Datei um zB dumped_warrock.exe
02/18/2011 15:37 .Eragon#1958
deinem?! xD wohl eher meinem :P
aber ist ja auch egal.....

Mein Hack crasht!! immer noch das gleiche prob. wie vorher.....warrock crasht wenn der ladebildschirm da ist...
02/18/2011 16:05 •~•Pr0Sk1ll•~•#1959
omg Eragon ich hab extra "meinem" ->"<- gemacht^^
ya bei mir geht blos D3D und slots^^
02/18/2011 16:10 felixderfarmer#1960
Quote:
Originally Posted by •~•Pr0Sk1ll•~• View Post
so hier ich habs aus "meinem" Forum kopiert
Code:
befolgt einfach was hier steht dann klappt es(leider ohne screens wen mir jmd sagt wie ich screens mache dann adde ich sie^^)
also zuerst braucht ihr
dieses Programm:[url=http://www.4shared.com/get/jAk2DIOM/CHimpREC_v1001.html;jsessionid=709703F7F32FC36147C5114E5BE985E5.dc285]CHimpREC[/url]

dann entpackt das
nun startet ihr warrock und CHimpREC
dann in der Menü Leiste oben
während warrock läuft die datei warrock.exe auswählen
dann füllt sich im unteren Kasten ein Text(braucht ihr nicht^^
dann in der mitte steht rechts ->DUMP<-
Drückt das dann wählt warrock.exe aus (Verzeichnis:...Warrock\system\warrock.exe)
und wählt euren speicherort und bennent die Datei um zB dumped_warrock.exe
Danke, hab ich kurz vor deinem Post auch bei YT schon gefunden :D
02/18/2011 16:27 •~•Pr0Sk1ll•~•#1961
ya ok tdm anstatt danke zu sagen
kannst auch danke drücken
02/18/2011 17:57 _TradEmArk_˜#1962
Ey das is Voll kacke:
Wenn ich Meinen Hack [Updated]
mit WarRock starte Kommt Direkt "WarRock.exe Funktioniert Nichtmehr" Ohne das WarRock überhaupt Offen war Wer kann Mir Helfn?
02/18/2011 17:59 •~•Pr0Sk1ll•~•#1963
kommentier ml alles aus dasde im nuen update geaddet hast
ya bei mir kommt menü etc aber nur D3D un slots worken -.-"
02/18/2011 18:09 _TradEmArk_˜#1964
Das weiß ich Doch Nichtmehr :O
Aber ich Hatte meine Base vor Dem Update Gesichert ich Downloade mir Die Mal und teste Es Nochmal
02/18/2011 18:30 •~•Pr0Sk1ll•~•#1965
felix sag pls wen du grade einst?
trademark ya musst einfach paar sachen auskommentieren
PS:du bist der beste public Coder für mich =)
zu meinem problem ich hab sowas
Code:
while( 1 )
{
hackfunktionen
sleep(25);
}
addys sind richtig es kommen keine fehler aber
es klappt nur D3D und die slots -.-"
hab keine asm hacks drinne
pls hilfe hab b8 und e9 detour[working]
und alles mit dem im code hats mal geklappt nur ich hab iwas gelöscht
-.-"
muss ich vllt den sleepwert erhöhen? hab ~35-40 funktionen da drin