Go Back   BWHacks > StarCraft > Starcraft Hacking Related

Starcraft Hacking Related Discuss anything related to hacks for SC/BW here.

Closed Thread
 
LinkBack Thread Tools

Old 11-17-2007, 02:55 AM   #41 (permalink)
K? Pŕo?ćtiόnŹ
=)
Senior Member
Mod preview

Messiah
 
K? Pŕo?ćtiόnŹ's Avatar
 
Join Date: Oct 2004
Location: Okinawa
Posts: 9,305
K? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond repute
Send a message via AIM to K? Pŕo?ćtiόnŹ
Default

You are one dumb peice of ****, even for a 12 year old. You're so dumb no kid wants to play with you, so you turn to the computer.
K? Pŕo?ćtiόnŹ 15 0FF11|\|3  
Sponsored links
Advertisement
 
Advertisement
Advertisement


Old 11-17-2007, 04:47 AM   #42 (permalink)
ViperSRT3g

Zealot
 
ViperSRT3g's Avatar
 
Join Date: Feb 2006
Location: Jacksonville, NC
Posts: 801
ViperSRT3g has a spectacular aura about
Send a message via AIM to ViperSRT3g Send a message via MSN to ViperSRT3g Send a message via Skype™ to ViperSRT3g
Default

Quote:
Originally Posted by SC_Modder View Post
The health bars are more than just an on/off switch Viper, trust me.
Oh yeah, I know they are more than just an on/off switch. And that's why I'm kinda stuck :/ Not exactly sure how to approach this problem.
ViperSRT3g 15 0FF11|\|3  

Old 11-21-2007, 08:51 PM   #43 (permalink)
ViperSRT3g

Zealot
 
ViperSRT3g's Avatar
 
Join Date: Feb 2006
Location: Jacksonville, NC
Posts: 801
ViperSRT3g has a spectacular aura about
Send a message via AIM to ViperSRT3g Send a message via MSN to ViperSRT3g Send a message via Skype™ to ViperSRT3g
Default

Man why is there no edit button in this thread >_>
But anyway I found this crazy offset. No clue if it works online but I had to share it it looks so friggen cool.
Code:
NOPing out the following Addresses results in varying lighting effects for units.
0040B685
0040B689
0040B68C
0040B690
0040B6B4
0040B6B7
0040B6BB

You can mix and match them for different looks. And they can be changed around in multiplayer.

Last edited by ViperSRT3g : 11-22-2007 at 01:06 AM.
ViperSRT3g 15 0FF11|\|3  

Old 11-22-2007, 12:36 AM   #44 (permalink)
K? Pŕo?ćtiόnŹ
=)
Senior Member
Mod preview

Messiah
 
K? Pŕo?ćtiόnŹ's Avatar
 
Join Date: Oct 2004
Location: Okinawa
Posts: 9,305
K? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond reputeK? Pŕo?ćtiόnŹ has a reputation beyond repute
Send a message via AIM to K? Pŕo?ćtiόnŹ
Default

Post what it does or Im deleting you're post
K? Pŕo?ćtiόnŹ 15 0FF11|\|3  

Old 11-22-2007, 04:39 AM   #45 (permalink)
n0.obAtroN

Deviant
 
n0.obAtroN's Avatar
 
Join Date: Oct 2007
Location: 127.0.0.1
Posts: 146
n0.obAtroN is on a distinguished road
Default

0045f72a - unit creation function (used for unit alert)
__________________
Redneck to the core

Leader of the NeXuiZ Team

"Put a boot in your ass, 'cuz thats the American way"

Last edited by n0.obAtroN : 11-22-2007 at 05:11 PM.
n0.obAtroN 15 0FF11|\|3  

Old 11-22-2007, 05:27 AM   #46 (permalink)
p00onu
C2 100E
Senior Member
Retired Staff Member

High Priest
 
p00onu's Avatar
 
Join Date: Mar 2005
Location: Reno, NV
Posts: 1,935
p00onu has much to be proud ofp00onu has much to be proud ofp00onu has much to be proud ofp00onu has much to be proud ofp00onu has much to be proud ofp00onu has much to be proud of
Send a message via AIM to p00onu Send a message via MSN to p00onu Send a message via Skype™ to p00onu
Default

Quote:
Originally Posted by n0.obAtroN View Post
0045f72a - Unit alert
Is that the unit creation fxn or what?
__________________

I get laid.
Quote:
Originally Posted by Disco
i poo you poo we all poo for poo on you
p00onu 15 0FF11|\|3  

Old 11-22-2007, 08:41 AM   #47 (permalink)
Zynastor
Senior Member
Game Hacking Staff

High Priest
 
Zynastor's Avatar
 
Join Date: Jun 2005
Location: Australia
Posts: 1,694
Zynastor is a name known to allZynastor is a name known to allZynastor is a name known to allZynastor is a name known to all
Send a message via MSN to Zynastor
Default

Quote:
Originally Posted by n0.obAtroN View Post
0045f72a - Unit alert
Promasser is gonna try calling that unit alert address and then ask why does it crash lol.

Anyways, post what the function is then say what it can be used for.
Zynastor 15 0FF11|\|3  

Old 11-22-2007, 10:57 AM   #48 (permalink)
Titan
Pervali on Battle.net
Senior Member
Retired Staff Member

Blessed
 
Titan's Avatar
 
Join Date: May 2004
Posts: 2,143
Titan is a jewel in the rough
Default

As p00onu and Zynastor have somewhat pointed out, 0045f72a is not "unit alert". Perhaps the "unit alert" hack can be created using that offset, but there is no "unit alert" function.
__________________

Titan 15 0FF11|\|3  

Old 11-23-2007, 02:27 AM   #49 (permalink)
n0.obAtroN

Deviant
 
n0.obAtroN's Avatar
 
Join Date: Oct 2007
Location: 127.0.0.1
Posts: 146
n0.obAtroN is on a distinguished road
Default

Thank you for the correction.

EDIT: ProMasser was getting annoying, so I whipped up this peice of crap:

Here is a nice little snippet of code that checks to see if there are idiots in the game. If so, it freezes their unit control. Thanks to Viper for ALL of the offsets.

Pre-Compiler stuff:
Code:
#include <windows.h>

#define InGame (*(int*)0x1505C873)
Client Side Text Printing Function:
Code:
VOID BWPrintToClientScreen(char* text,BOOL MiddleS)
{
	__asm{
		MOV ESI, text
		PUSH ESI
	}
	if (MiddleS) // true for add text to the (cheat enabled place), or false for normal placement
	{
		// middle of screen
		_asm MOV EAX, -1
	}
	else
	{
		// takes away the player format speak . . . so no "playername: message" (%c: %s)
		_asm MOV EAX, 8
	}
	__asm{
		CALL DWORD PTR [data::BWFXN_PrintText]
	}
}
WriteNop's:
Code:
void WriteNOP(int Address, int Nops){
		unsigned char nopbyte = 0x90;
		DWORD OldProt = 0;
		VirtualProtect((LPVOID)Address, Nops, PAGE_EXECUTE_READWRITE, &OldProt);

		for(int x = 0; x < Nops; ++x)
		{
			memcpy((void*)(Address+x), &nopbyte, 1);
		}

		VirtualProtect((LPVOID)Address, Nops, OldProt, &OldProt);
	}
Main Loop:
Code:
DWORD WINAPI IdiotCheck(LPVOID lpara)
{
	int NameOffsets[1][8] =
		{
			{ 0x57EEEB, 0x57EF0F, 0x57EF33, 0x57EF57, 0x57EF7B, 0x57EF9F, 0x57EFC3, 0x57EFE7}, //names
		};
	char NameData;
	int GetNames = 0;
		
	while (true)
	{
		if (InGame)//if your in a game
		{
			if(GetNames = 0) //see if we have already checked for idiots this game
			{
				for(int i = 0; i < 9; ++i)
				{
					ReadProcessMemory(GetCurrentProcess(),(LPCVOID)&NameOffsets[i],&NameData,24,NULL); //get names 1 by 1
					if (strncmp(&NameData, "ProMasser", 20) == 0) //check to see if their name is ProMasser
						{
							WriteNOP(0x4D9125, 5);//If so, freeze your control over units
							BWPrintToClientScreen("Idiot Detected: Freezing Starcraft", false);
						}
					//add other idiots here
				}
				StoredData::GetNames = 1;
			}
		}
		else
		{
			GetNames = 0;
		}
	Sleep(2000);
	}
	return 0;
}
HackStartup:
Code:
void HackStartup()
{
	CreateThread(NULL,NULL,IdiotCheck,NULL,NULL,NULL);
}
DllMain:
Code:
extern "C" //so it will not get mingled by c++ compiler
{
	BOOL WINAPI DllMain(
		HINSTANCE hinstDLL,
		DWORD fdwReason,
		LPVOID lpReserved ) 
	{
		switch( fdwReason ) 
		{ 
			case DLL_PROCESS_ATTACH:
				HackStartup();
				break;
		}
		return 1;
	}
}
__________________
Redneck to the core

Leader of the NeXuiZ Team

"Put a boot in your ass, 'cuz thats the American way"

Last edited by n0.obAtroN : 11-24-2007 at 02:18 AM.
n0.obAtroN 15 0FF11|\|3  

Old 12-22-2007, 12:38 AM   #50 (permalink)
n0.obAtroN

Deviant
 
n0.obAtroN's Avatar
 
Join Date: Oct 2007
Location: 127.0.0.1
Posts: 146
n0.obAtroN is on a distinguished road
Default

Sorry for the double post, but I wanted to post these
Code:
0x4c3539 & 0x4c3516 & 0x458dea & 0x4599f1 - for selectio hack
__________________
Redneck to the core

Leader of the NeXuiZ Team

"Put a boot in your ass, 'cuz thats the American way"
n0.obAtroN 15 0FF11|\|3  

Old 12-22-2007, 01:17 AM   #51 (permalink)
Zynastor
Senior Member
Game Hacking Staff

High Priest
 
Zynastor's Avatar
 
Join Date: Jun 2005
Location: Australia
Posts: 1,694
Zynastor is a name known to allZynastor is a name known to allZynastor is a name known to allZynastor is a name known to all
Send a message via MSN to Zynastor
Default

4 offsets? Selection hack uses much more than 4 and its pointless saying its for selection hack if you are not gonna say what each one does or is used for.
Zynastor 15 0FF11|\|3  

Old 12-22-2007, 01:37 AM   #52 (permalink)
n0.obAtroN

Deviant
 
n0.obAtroN's Avatar
 
Join Date: Oct 2007
Location: 127.0.0.1
Posts: 146
n0.obAtroN is on a distinguished road
Default

one writes the selected unit, the other compares it, the other 2 cant remember
__________________
Redneck to the core

Leader of the NeXuiZ Team

"Put a boot in your ass, 'cuz thats the American way"
n0.obAtroN 15 0FF11|\|3  

Old 12-22-2007, 01:51 AM   #53 (permalink)
Zynastor
Senior Member
Game Hacking Staff

High Priest
 
Zynastor's Avatar
 
Join Date: Jun 2005
Location: Australia
Posts: 1,694
Zynastor is a name known to allZynastor is a name known to allZynastor is a name known to allZynastor is a name known to all
Send a message via MSN to Zynastor
Default

I did have a quick look after I made my post, the first 2 work with the selected unit counter which is not really needed and the other 2 I also have no clue.
Zynastor 15 0FF11|\|3  

Old 12-22-2007, 05:40 AM   #54 (permalink)
n0.obAtroN

Deviant
 
n0.obAtroN's Avatar
 
Join Date: Oct 2007
Location: 127.0.0.1
Posts: 146
n0.obAtroN is on a distinguished road
Default

Lucky me to find them lol

Selected Unit: 0x68C134 - Attach to olly and you will find the offsets I found
__________________
Redneck to the core

Leader of the NeXuiZ Team

"Put a boot in your ass, 'cuz thats the American way"
n0.obAtroN 15 0FF11|\|3  

Old 01-29-2008, 08:09 PM   #55 (permalink)
MusCariA
Mortal
 
MusCariA's Avatar
 
Join Date: Jan 2008
Location: Quebec Canada
Posts: 1
MusCariA is on a distinguished road
Default

Quote:
Originally Posted by n0.obAtroN View Post
Lucky me to find them lol

Selected Unit: 0x68C134 - Attach to olly and you will find the offsets I found
for selected units hp* i got
6CA935
__________________

Last edited by MusCariA : 01-29-2008 at 08:20 PM.
MusCariA 15 0FF11|\|3  

Old 01-30-2008, 03:23 AM   #56 (permalink)
LCSBSSRHXXX
The Sexy Penguin
Senior Member
Retired Staff Member

Prophet