WarRock EU - Code Snippets

04/09/2012 12:48 alexkyse#6781
Request:

DrawDot Function for 2D Radar

Credits Given!
04/09/2012 13:51 Phantom.#6782
Code:
void D3D9Menu::DrawDot(int x, int y, int r, int g, int b, IDirect3DDevice9* pDevice) 
{ 
    DWORD color = D3DCOLOR_ARGB( 255, r, g, b ); 
    FillRGB(x-1,y-1,2,2,color,pDevice); 
}
Enjoy^^
04/09/2012 14:07 xxfabbelxx#6783
Quote:
Originally Posted by alexkyse View Post
Request:

DrawDot Function for 2D Radar

Credits Given!
You won't find the thing you're searching for. its VIP

Quote:
Originally Posted by TradEmArk™˟ View Post
Code:
void D3D9Menu::DrawDot(int x, int y, int r, int g, int b, IDirect3DDevice9* pDevice) 
{ 
    DWORD color = D3DCOLOR_ARGB( 255, r, g, b ); 
    FillRGB(x-1,y-1,2,2,color,pDevice); 
}
Enjoy^^
selten so gelacht :D
04/09/2012 14:18 Phantom.#6784
Quote:
Originally Posted by xxfabbelxx View Post
You won't find the thing you're searching for. its VIP



selten so gelacht :D
Warum selten so gelacht? Er hat eine DrawDot Funktion Requestet, um Punkte auf seinem 2D Radar zu machen, ich gebe ihm meine und du lachst?
04/09/2012 14:48 xxfabbelxx#6785
Quote:
Originally Posted by TradEmArk™˟ View Post
Warum selten so gelacht? Er hat eine DrawDot Funktion Requestet, um Punkte auf seinem 2D Radar zu machen, ich gebe ihm meine und du lachst?
weil ich dachte dein post wäre ein schlechter trollpost gewesen und er hat eine Funktion zum berechnen gesucht.
04/09/2012 17:35 Raz9r#6786
Quote:
Originally Posted by TradEmArk™˟ View Post
Code:
void D3D9Menu::DrawDot(int x, int y, int r, int g, int b, IDirect3DDevice9* pDevice) 
{ 
    DWORD color = D3DCOLOR_ARGB( 255, r, g, b ); 
    FillRGB(x-1,y-1,2,2,color,pDevice); 
}
Enjoy^^
Es gibt a) keine D3D9-Funktion mit Namen FillRGB und b) sollte man lieber DrawPrimitive verwenden.
Nach [Only registered and activated users can see links. Click Here To Register...] ist wohl D3DPT_POINTLIST geeignet, um Punkte zu rendern.
04/09/2012 21:06 aerrow107#6787
To All of those which are going to help me:
I began writing my powerlevel bot but I'm in great need of these sources:
Auto Start/Rdy [32 + 64]
Auto Enter [32 + 64]
Auto Plant
Auto Defuse
Auto C4
Auto Nipper
Plant/Defuse Anywhere
Quick Plant/Defuse

I learned how to write the bot but still don't know how to write the sources so any help would be appreciated and the credits will be given as they deserve.
Thanks
Aerrow107.
04/09/2012 23:49 Chown¡¡qhtz#6788
Quote:
Originally Posted by aerrow107 View Post
To All of those which are going to help me:
I began writing my powerlevel bot but I'm in great need of these sources:

.
Aha, you've been beginning, but you need all the sources?
I understand your logic
04/10/2012 09:32 aerrow107#6789
I just coded everything except the sources cause i don't know how to write them thats all.But all the defines,floats and addresses are written.
Please if someone can help,I'll be so glad.
also wrote this:
if(GetAsyncKeyState(VK_F9) &1)
{
*(long*) MEM_PLANTANYWHERE = 100.0f;
}

if(GetAsyncKeyState(VK_F10) &1)
{
*(long*) MEM_PLANTANYWHERE = 5.0f;
}

if(GetAsyncKeyState(VK_F9) &1)
{
*(long*) MEM_DEFUSEANYWHERE = 100.0f;
}

if(GetAsyncKeyState(VK_F10) &1)
{
*(long*) MEM_DEFUSEANYWHERE = 5.0f;

but it's still not working...
Thanks
04/10/2012 11:25 __BuRn3R#6790
Quote:
Originally Posted by aerrow107 View Post
I just coded everything except the sources cause i don't know how to write them thats all.But all the defines,floats and addresses are written.
Please if someone can help,I'll be so glad.
also wrote this:
if(GetAsyncKeyState(VK_F9) &1)
{
*(long*) MEM_PLANTANYWHERE = 100.0f;
}

if(GetAsyncKeyState(VK_F10) &1)
{
*(long*) MEM_PLANTANYWHERE = 5.0f;
}

if(GetAsyncKeyState(VK_F9) &1)
{
*(long*) MEM_DEFUSEANYWHERE = 100.0f;
}

if(GetAsyncKeyState(VK_F10) &1)
{
*(long*) MEM_DEFUSEANYWHERE = 5.0f;

but it's still not working...
Thanks
Thats Sh!t.

if (PAny)
{
*(BYTE*)(MEM_PLANTANYWHERE) = 0x1;
}

if (DAny)
{
*(WORD*)(MEM_DEFUSEANYWHERE) = 1;
}
04/10/2012 11:53 aerrow107#6791
Quote:
Originally Posted by _BuRn3R_ View Post
Thats Sh!t.

if (PAny)
{
*(BYTE*)(MEM_PLANTANYWHERE) = 0x1;
}

if (DAny)
{
*(WORD*)(MEM_DEFUSEANYWHERE) = 1;
}
Ty Burner and if you still can help me on the other sources,ill be so glad.
I really wish to release a powerlevel bot but im soo far...
Thanks
04/10/2012 16:05 Chown¡¡qhtz#6792
Quote:
Originally Posted by aerrow107 View Post
Ty Burner and if you still can help me on the other sources,ill be so glad.
I really wish to release a powerlevel bot but im soo far...
Thanks
All the sources you have been requested can be found here.
Just use the Search Function
04/10/2012 16:38 aerrow107#6793
Yeah but I can't find the no-menu sources thats all.
Infact I wrote some in here but still not working even the auto plant/defuse burner posted:
//~~~~~~~~~~~~~~~~Hack Start~~~~~~~~~~~~~~~~
void Plant ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(BYTE*)(MEM_PLANTANYWHERE) = 0x1; //Plant Anywhere
}

void Defuse ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(WORD*)(MEM_DEFUSEANYWHERE) = 1; //Defuse Anywhere
}

void Start ()
{
SetCursorPos(452,84); //Auto Ready/Start
keybd_event(VK_LBUTTON,0,0,0);
}

void AutoPlant/Defuse () //Auto Plant/Defuse
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
keybd_event(0x46,0,0,0);
Sleep(250);
}

void Enter () //Auto Enter
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
keybd_event(VK_RETURN, 0,0, 0);
}

void NoSpawn ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)MEM_NOSPAWN1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)NoSpawnWait1, &t , sizeof(t));
VirtualProtect((void*)MEM_NOSPAWN1, sizeof(t), Protection, 0);

VirtualProtect((void*)MEM_NOSPAWN2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)NoSpawnWait2, &t , sizeof(t));
VirtualProtect((void*)MEM_NOSPAWN2, sizeof(t), Protection, 0);
}
Ill be glad if someone help me out to do my first warrock powerlevel bot.

P.S Also I couldnt find
Quick Plant/Defuse
Auto C4
and
Auto Nipper
sources.
04/10/2012 18:10 Chown¡¡qhtz#6794
Quote:
Originally Posted by aerrow107 View Post
Yeah but I can't find the no-menu sources thats all.
Infact I wrote some in here but still not working even the auto plant/defuse burner posted:
//~~~~~~~~~~~~~~~~Hack Start~~~~~~~~~~~~~~~~
void Plant ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(BYTE*)(MEM_PLANTANYWHERE) = 0x1; //Plant Anywhere
}

void Defuse ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(WORD*)(MEM_DEFUSEANYWHERE) = 1; //Defuse Anywhere
}

void Start ()
{
SetCursorPos(452,84); //Auto Ready/Start
keybd_event(VK_LBUTTON,0,0,0);
}

void AutoPlant/Defuse () //Auto Plant/Defuse
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
keybd_event(0x46,0,0,0);
Sleep(250);
}

void Enter () //Auto Enter
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
keybd_event(VK_RETURN, 0,0, 0);
}

void NoSpawn ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)MEM_NOSPAWN1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)NoSpawnWait1, &t , sizeof(t));
VirtualProtect((void*)MEM_NOSPAWN1, sizeof(t), Protection, 0);

VirtualProtect((void*)MEM_NOSPAWN2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)NoSpawnWait2, &t , sizeof(t));
VirtualProtect((void*)MEM_NOSPAWN2, sizeof(t), Protection, 0);
}
Ill be glad if someone help me out to do my first warrock powerlevel bot.

P.S Also I couldnt find
Quick Plant/Defuse
Auto C4
and
Auto Nipper
sources.
this is all for nomenu. And Please stop asking.
I Told you, that you find all sources in this biiiiiig thread.
04/10/2012 18:19 xSnipdownx#6795
request 5slot