google-site-verification: googlebaca44933768a824.html [CSS] CRadarPlayer - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

[CSS] CRadarPlayer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [CSS] CRadarPlayer

    radar based far esp to the second...

    nothing really new but who cares? since DrizZt asked me i am going to post it...

    Code:
    struct CRadarPlayer
    {
    	__int32 bIsValid; //0000  -> not updating that much?!
    	char unknown0[12];
    	char Unknown1[32]; //0010
    	__int32 iTeam; //0030
    	__int32 iHealth; //0034
    	Vector vOrigin; //0038
    	QAngle qViewAngles; //0044
    };

    simple and crappy example usage:
    Code:
    void __stdcall new_PaintTraverse(vgui::VPANEL vguiPanel, bool forceRepaint, bool allowForce)
    {
    	_asm
    	{
    		PUSH allowForce
    		PUSH forceRepaint
    		PUSH vguiPanel
    		MOV ECX, g_pPanel
    		CALL g_dwOrgPaintTraverse
    	}
    
    	//"MatSystemTopPanel"
    	const char* pszPanelName = g_pPanel->GetName(vguiPanel);
    	if(pszPanelName[0] == 'M' 
    	&& pszPanelName[3] == 'S' 
    	&& pszPanelName[9] == 'T'
    	&& pszPanelName[12] == 'P')
    	{
    		CBaseEntity* pLocal = (CBaseEntity*)g_pEntList->GetClientEntity(g_pEngine->GetLocalPlayer());
    		if(pLocal && pLocal->IsAlive() && g_pEngine->IsInGame())
    		{
    		    CRadarPlayer* pRadarPlayer = NULL;
    		    player_info_t pInfo;
    		    int iTeam = 0;
    		    int r = 255, g = 255, b = 255;
    		    Vector vPlayer, vScreen;
    		    float fDistanceToPlayer;
    		    float fBoxradius;
    
    		    for(int index = 0; index < 32; index++)
    		    {
    		    	if(index == g_pEngine->GetLocalPlayer() - 1) continue;
    
    		    	_asm
    		    	{
    		    		MOV ECX,DWORD PTR DS:[244035C0h]
    		    		MOV EAX, index
    		    		LEA EAX,DWORD PTR DS:[EAX+EAX*4]
    		    		SHL EAX,6
    		    		LEA EAX,DWORD PTR DS:[EAX+ECX+28h]
    		    		MOV pRadarPlayer, EAX
    		    	}
    
    			    if(pRadarPlayer == NULL 
    			    || (pRadarPlayer->vOrigin.x == 0 && pRadarPlayer->vOrigin.y == 0 && pRadarPlayer->vOrigin.z == 0)
    			    || pRadarPlayer->iTeam == 0
    			    || pRadarPlayer->iHealth == 0) continue;
    
    		    	iTeam = pRadarPlayer->iTeam;
    
    		    	vPlayer = pRadarPlayer->vOrigin;
    
    			    if(vPlayer.z == (int)vPlayer.z) vPlayer.z += 32;
    			    else vPlayer.z -= 32;
    
    		    	if(gNeeded.GetVisible(pLocal->EyePosition(), vPlayer) == false)
    		    	{
    				    if(iTeam == 2)
    				    {
    				    	r = 255;
    			    		g = 80;
    				    	b = 60;
    			    	}
    			    	else if(iTeam == 3)
    			    	{
    			    		r = 80;
    			    		g = 80;
    			    		b = 255;
    			    	}
    				    else
    				    {
    				    	r = 255;
    				    	g = 255;
    				    	b = 255;
    			    	}
    			    }
    			    else
    			    {
    				    if(iTeam == pLocal->GetTeamNumber())
    				    {
    				    	if(iTeam == 2)
    				    	{
    					    	r = 255;
    					    	g = 80;
    					    	b = 60;
    					    }
    					    if(iTeam == 3)
    					    {
    					    	r = 80;
    					    	g = 80;
    					    	b = 255;
    				    	}
    				    }
    			    	else 
    			    	{
    			    		r = 150;
    			    		g = 255;
    			    		b = 60;
    			    	}
    		    	}
    
    		    	if(gNeeded.WorldToScreen(vPlayer, vScreen))
    		    	{
    		    	    fDistanceToPlayer = gNeeded.GetDistance(pLocal->GetAbsOrigin(), vPlayer);
    		    		fBoxradius = (100 / (fDistanceToPlayer / 100));
    
    		    		g_pMatSystemSurface->DrawSetColor(r, g, b, 210);
    		    		g_pMatSystemSurface->DrawOutlinedRect(vScreen.x - fBoxradius, vScreen.y - fBoxradius, vScreen.x + fBoxradius, vScreen.y + fBoxradius );
    		    	}
    		    }
    		}
    	}
    }

    have fun i guess

    :bored:
    I 0x90 you!

    #2
    Thank you :D


    Code:
    azerty: too much noob reply made me goes balistic rampaging with ban hammer

    Comment


      #3
      Awesome work!
      lolmaoman: Germans are born with a lifetime x22 login engraved into their birth certificates. True story.
      I DONT HAVE TEAMVIEWER AND IM NOT GOING TO GIVE ANY 24/7 ONLINE SUPPORT VIA STEAM, XFIRE OR OTHER IM PROGRAMS SO DONT BOTHER ASKING. THANKS.

      Comment


        #4
        Da haut er halt ein dreistes release raus unser oberhacker. D:


        Nice work, avitamin!


        E: Only thing i can add:

        client Base 24000000 Size 479000 \x8B\x0D\x00\x00\x00\x00\x3B\xCB\x5D\x74\x77\x8D\x44\x24\x0C\x50 xx????xxxxxxxxxx

        +2 bytes
        Last edited by Lawgiver; 09-17-2009, 04:20 PM.

        Comment


          #5
          aVitamin strike again!

          nice :D
          /* fibre */

          Comment


            #6
            Da haut er halt ein dreistes release raus unser oberhacker. D:
            Sry I dont speak inet leanguage.

            i search a good source code for Dods with aimbot and other stuff i know this is the same engine as counter strike source but css hacks are not work in dods.

            Comment


              #7
              Originally posted by floxy View Post
              Sry I dont speak inet leanguage.
              Good that i wrote it in german then, huh? =)

              Comment


                #8
                yep, those are the first two ones in client.dll

                Code:
                $+1D90E0 > 8B0D C0354024    MOV ECX,DWORD PTR DS:[244035C0]
                $+1D90E6 > 85C9             TEST ECX,ECX
                $+1D90E8 > 74 06            JE SHORT client.241DA0F0
                $+1D90EA > 8B01             MOV EAX,DWORD PTR DS:[ECX]
                $+1D90EC > 6A 03            PUSH 3
                $+1D90EE > FF10             CALL DWORD PTR DS:[EAX]
                $+1D90F0 > C3               RETN
                
                $+1D9130 > 56               PUSH ESI
                $+1D9131 > 8B7424 08        MOV ESI,DWORD PTR SS:[ESP+8]
                $+1D9135 > 56               PUSH ESI
                $+1D9136 > E8 F5780700      CALL client.24251A30
                $+1D913B > 8B0D C0354024    MOV ECX,DWORD PTR DS:[244035C0]
                $+1D9141 > 85C9             TEST ECX,ECX
                $+1D9143 > 74 16            JE SHORT client.241DA15B
                $+1D9145 > 8B01             MOV EAX,DWORD PTR DS:[ECX]
                $+1D9147 > FF50 04          CALL DWORD PTR DS:[EAX+4]
                $+1D914A > 83F8 03          CMP EAX,3
                $+1D914D > 75 0C            JNZ SHORT client.241DA15B
                $+1D914F > 8B0D C0354024    MOV ECX,DWORD PTR DS:[244035C0]
                $+1D9155 > 8B11             MOV EDX,DWORD PTR DS:[ECX]
                $+1D9157 > 56               PUSH ESI
                $+1D9158 > FF52 10          CALL DWORD PTR DS:[EDX+10]
                $+1D915B > 5E               POP ESI
                $+1D915C > C2 0400          RETN 4
                $+1D915F > CC               INT3
                $+1D9160 > C3               RETN
                + 0x1000
                Last edited by aVitamin; 09-18-2009, 03:03 PM.
                I 0x90 you!

                Comment


                  #9
                  just wanna say THANKS! :)

                  Comment


                    #10
                    nice <333

                    Comment


                      #11
                      Yeah, its nice. Thank you. cool006

                      Comment


                        #12
                        Re: [CSS] CRadarPlayer

                        how to use it, pls help im new :D

                        Comment


                          #13
                          Re: [CSS] CRadarPlayer

                          Originally posted by guest1337 View Post
                          how to use it, pls help im new :D
                          Lol okey I gonna help you!

                          Learn c++
                          hi@

                          Comment


                            #14
                            Re: [CSS] CRadarPlayer

                            wow this shit fucking rocks i tested it on my legit hax and its awesome

                            now i can see players thru whole map thankz <3


                            Originally posted by nico2k8
                            hey i search a pornsite with childs with 16 years. big ty

                            Comment


                              #15
                              Re: [CSS] CRadarPlayer

                              nice work man :)

                              Comment


                                #16
                                Re: [CSS] CRadarPlayer

                                i ll try it in the next time

                                Comment


                                  #17
                                  Re: [CSS] CRadarPlayer

                                  nice thx !

                                  Comment


                                    #18
                                    Re: [CSS] CRadarPlayer

                                    nice a reall nice one

                                    Comment


                                      #19
                                      Re: [CSS] CRadarPlayer

                                      Wow Thanks works fine
                                      ??m?

                                      Comment


                                        #20
                                        Re: [CSS] CRadarPlayer

                                        Hehe...dum question..but...how do i add the code lol:) to save me the imbarresment, can you then pm me instead lol:D

                                        Comment

                                        Working...
                                        X