[CS 1.6] More coding

01/08/2010 11:50 Zo0YorK3h#1
I decided to put it all in oen topic instead of makigna bunch of seprate topics.

This is if you have an existing source code, if not i will release one when i get my other harddrive fixed.
Whitewalls:

Opengl.cpp
Inside glBegin, place the following for whitewalls.

PHP Code:
if(cvar.whitewall) { if(mode == GL_POLYGON) glTexEnvi(GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_DECAL);} 
declare the cvar in cvar.cpp and cvar.h.

Finished.

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

Wire models:
Opengl.cpp

PHP Code:
if(cvar.wiremodel && mode != GL_POLYGON && (mode==GL_TRIANGLES||mode==GL_TRIANGLE_STRIP||mode==GL_TRIANGLE_FAN))  
   {  
       
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);  
       
glLineWidth(2);  

   } else {  
       
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);  
   } 
Again register your cvars.
EX:Cvar.cpp: REGISTER_CVAR_INT(wiremodel ,0)
Cvar.h: int wiremodel;

-----------------------
Roundsay:
Client.cpp
PHP Code:
cmd.exec("later 5 #say [Hack Name Here]"); 
Make a cvar for it if you want an option to turn it on and off.

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

BuyBot(Autobuy)
PHP Code:
if(cvar.buybot) 
{ 
     
cmd.exec("later 0.5 #m4a1;#ak47;#deagle;#hegren;#primammo;#secammo;#defuser"); 
} 
Register cvars.
Will auto buy m4 if your on ct, or ak if your on t. If you dont use those guns just change it to like #awp or #m3 ect.

-------------------
Pinkwalls(I was bored)
Opengl.cpp
glbegin:
PHP Code:
   if(cvar.pinkwall){glColor3f( 227,0,123 );} 
Register cvars.
-----------------------------
Tut not made by me it was a .cpp file sent to me by my friend(name withheld) not sure of the original creator.

PHP Code:
/*Well, this is my tutorial on Counter-Strike coding.. Ive only been coding for Counter-Strike for
two day's but already I have a good feel in it.. This is basically going to cover setting up your
own cvar system, a basic menu w/ glowing string's, and quite a few different hack option's... I 
used panzer's 1.20 pGL Basehook to learn off of... I decided not to use a hook source because then
it would feel more like taking away from the base to make it personal rather than making one from
scratch.. I hope everyone enjoy's this, and since it's only my 2nd day into coding for Counter-
Strike, I will be sure to go over everything and what everything does from what I understand 
personally this soon on..*/

// Creating your own cvar system 
// This is actually quite simple believe it or not...
// My own CVAR struct, adjust to taste =P

struct basehookcvar_s // Once the struct is setup, you can name it w/e you want, i.e basehookcvar_s?!
{
    
float wallhack; // the float's are for the cvar's of the hack's...
    
float whitewalls;
    
float wireframe;
    
float thirdperson;
    
float bunnyhop;
    
float spinhack;
    
float nosky;
    
float nightmode;
    
float wiremodels;
    
float nigger;
    
float duckjump;
    
float menu;
};
basehookcvar_s cvar; 

//Now, since we have built our own cvar system, we are all ready to make our Menu System...
//Menu Structure

struct basehookmenu_s// Look under InitMenu(){ for more information on how this is working...
{
    
char title[16];
    
float* value;
    
float min;
    
float max;
    
float step;
};
int menuIndex = 0;
int menuItems = 11;// When adding more thing's/feat's, always make sure to update this
basehookmenu_s menu[11];// Along w/ this also =P

// Menu Drawing

void InitMenu() 
{
    
strcpy( menu[0].title, "WHack" );// Title is what is displayed on your screen
    
menu[0].value = &cvar.wallhack;// Place the value of the cvar.w/e here...
    
menu[0].min = 0;// Min is for the minumum possible setting, which would be 0 for off
    
menu[0].max = 1;// Max is for the Max amount of changes allowed before reseting back to 0/off
    
menu[0].step = 1;// Step is for the ammount it goes up... Of course we use 1...

    
strcpy( menu[1].title, "WWalls" );
    
menu[1].value = &cvar.whitewalls;
    
menu[1].min = 0;
    
menu[1].max = 1;
    
menu[1].step = 1;

    
strcpy( menu[2].title, "WFrame" );
    
menu[2].value = &cvar.wireframe;
    
menu[2].min = 0;
    
menu[2].max = 3;
    
menu[2].step = 1;

    
strcpy( menu[3].title, "CCam" );
    
menu[3].value = &cvar.thirdperson;
    
menu[3].min = 0;
    
menu[3].max = 1;
    
menu[3].step = 1;

    
strcpy( menu[4].title, "BHop" );
    
menu[4].value = &cvar.bunnyhop;
    
menu[4].min = 0;
    
menu[4].max = 1;
    
menu[4].step = 1;

    
strcpy( menu[5].title, "Spin" );
    
menu[5].value = &cvar.spinhack;
    
menu[5].min = 0;
    
menu[5].max = 1;
    
menu[5].step = 1;

    
strcpy( menu[6].title, "NoSky");
    
menu[6].value = &cvar.nosky;
    
menu[6].min = 0;
    
menu[6].max = 1;
    
menu[6].step = 1;

    
strcpy( menu[7].title, "NMode");
    
menu[7].value = &cvar.nightmode;
    
menu[7].min = 0;
    
menu[7].max = 1;
    
menu[7].step = 1;

    
strcpy( menu[8].title, "WModel");
    
menu[8].value = &cvar.wiremodels;
    
menu[8].min = 0;
    
menu[8].max = 3;
    
menu[8].step = 1;

    
strcpy( menu[9].title, "NigMode");
    
menu[9].value = &cvar.nigger;
    
menu[9].min = 0;
    
menu[9].max = 1;
    
menu[9].step = 1;

    
strcpy( menu[10].title, "DJump");
    
menu[10].value = &cvar.duckjump;
    
menu[10].min = 0;
    
menu[10].max = 1;
    
menu[10].step = 1;

}

// Now that the Menu is all done, let's go ahead and draw it... Head down to HUD_Redraw...
// Menu

    
if(cvar.menu)
    {
        
gEngfuncs.pfnClientCmd("unbind mouse1");
        
gEngfuncs.pfnClientCmd("unbind mwheelup");
        
gEngfuncs.pfnClientCmd("unbind mwheeldown");
    }
    if(!
cvar.menu)
    {
        
gEngfuncs.pfnClientCmd("bind mouse1 +attack");
        
gEngfuncs.pfnClientCmd("bind mwheelup invprev");
        
gEngfuncs.pfnClientCmd("bind mwheeldown invnext");
    }
    if( 
cvar.menu )
    {
        
int x = 200;    
        
int xx = 220;
        
int y = 100;
        
int yy = 200;
        
int yyy = 316;

        
InitMenu();

        
// Draw's Glowing Hud Text 

        
DrawGlowHudString( x - 130, 84, 0, 0, 128, "Title of Hack Here =P" );
        for(
int i=0;i<menuItems;i++)
        {
            if( 
i!=menuIndex )
            {
                
DrawHudString( x - 130, 100 + (16*i), 255, 255, 255, menu[i].title );
                
DrawHudString( x - 60, 100 + (16*i), 255, 255, 255, "%2.2f", menu[i].value[0] );
            }
            else
            {
                static 
int b = 0;
                static 
bool mode = 1;
                if( 
mode )
                    
b+=10;
                else
                    
b-=10;
                if( 
b<0 )
                {
                    
b=0;mode=1;
                }
                if( 
b>255 )
                {
                    
b=255;mode=0;
                }
                
DrawGlowHudString( x - 130, 100 + (16*i), 0, 0, b, menu[i].title );
                
DrawGlowHudString( x - 60, 100 + (16*i), 0, 0, b, "%2.2f", menu[i].value[0] );
            }
        }
    }
}

// Now that we have placed it in HUD_Redraw, there's one more section we have to cover before
// it will actually be able to toggle on and off.. Head down to HUD_Key_Event for this...

// Setup Hotkey for toggleing of Menu

    
if( keynum == 147 ) // Insert
    
{
        if( 
eventcode == 1 )
            
cvar.menu=!cvar.menu;
    }

    if( 
cvar.menu && (eventcode==1) )
    {
        if( 
keynum == 128 )
        {
            if( 
menuIndex>0 ) menuIndex--;
        }
        if( 
keynum == 129 ) // downarrow
        
{
            if( 
menuIndex<menuItems-1 ) menuIndex++;
        }
        if( 
keynum == 130 ) // leftarrow
        
{
            if( 
menu[menuIndex].value )
            {
                
menu[menuIndex].value[0] -= menu[menuIndex].step;
                if( 
menu[menuIndex].value[0] < menu[menuIndex].min )
                    
menu[menuIndex].value[0] = menu[menuIndex].max;
            }
        }
        if( 
keynum == 131 ) // rightarrow
        
{
            if( 
menu[menuIndex].value )
            {
                
menu[menuIndex].value[0] += menu[menuIndex].step;
                if( 
menu[menuIndex].value[0] > menu[menuIndex].max )
                    
menu[menuIndex].value[0] = menu[menuIndex].min;
            }
        }
        if( 
keynum == 239 )
        {
            if( 
menuIndex<menuItems-1 ) menuIndex++;
        }
        if( 
keynum == 240 )
        {
            if( 
menuIndex>0 ) menuIndex--;
        }
        if( 
keynum == 241 )
        {
            if( 
eventcode )
            {
                
menu[menuIndex].value[0] += menu[menuIndex].step;
                if( 
menu[menuIndex].value[0] > menu[menuIndex].max )
                    
menu[menuIndex].value[0] = menu[menuIndex].min;
            }
        }
        if( 
keynum == 242 )
        {
            if( 
eventcode )
            {
                
menu[menuIndex].value[0] -= menu[menuIndex].step;
                if( 
menu[menuIndex].value[0] < menu[menuIndex].min )
                    
menu[menuIndex].value[0] = menu[menuIndex].max;
            }
        }
    }
}


// Well, congrat's, you have successfully made your own cvar system and menu... Now let's start
// adding some hook feature's =D

// Right above the 1st hooked client function, CL_CreateMove, place this copy/paste code for a 
// spinbot... Credit's of course goto Tetsuo for this, thank's man!

#define SPIN_REVS_PER_SECOND 5.0f   // adjust to taste, I use 5 b/c it doesnt make me lag..

//Tetsuo's copy/paste Spinhack code, thanks alot =D

void Spinhack(usercmd_t *cmd)
{
    
// thanks tetsuo for this copy/paste
    
cl_entity_t *pLocal;
    
Vector viewforward, viewright, viewup, aimforward, aimright, aimup, vTemp;
    
float newforward, newright, newup, fTime;
    
float forward = g_Originalcmd.forwardmove;
    
float right = g_Originalcmd.sidemove;
    
float up = g_Originalcmd.upmove;

    
pLocal = gEngfuncs.GetLocalPlayer();
    if(!
pLocal)
        return;

    
// this branch makes sure your horizontal velocity is not affected when fixing up the movement angles -- it isn't specific to spinning and you can use it with the source tetsuo posted in his forum too
    
if(pLocal->curstate.movetype == MOVETYPE_WALK)
    {
        
gEngfuncs.pfnAngleVectors(Vector(0.0f, g_Originalcmd.viewangles.y, 0.0f), viewforward, viewright, viewup);
    }
    else
    {
        
gEngfuncs.pfnAngleVectors(g_Originalcmd.viewangles, viewforward, viewright, viewup);
    }

    
// SPIN!!!
    
int iHasShiftHeld = GetAsyncKeyState(VK_LSHIFT);
    if(
pLocal->curstate.movetype == MOVETYPE_WALK && !iHasShiftHeld && !(cmd->buttons & IN_ATTACK) && !(cmd->buttons & IN_USE))
    {
        
fTime = gEngfuncs.GetClientTime();
        
cmd->viewangles.y = fmod(fTime * SPIN_REVS_PER_SECOND * 360.0f, 360.0f);
    }

    
// this branch makes sure your horizontal velocity is not affected when fixing up the movement angles -- it isn't specific to spinning and you can use it with the source tetsuo posted in his forum too
    
if(pLocal->curstate.movetype == MOVETYPE_WALK)
    {
        
gEngfuncs.pfnAngleVectors(Vector(0.0f, cmd->viewangles.y, 0.0f), aimforward, aimright, aimup);
    }
    else
    {
        
gEngfuncs.pfnAngleVectors(cmd->viewangles, aimforward, aimright, aimup);
    }

    
newforward = DotProduct(forward * viewforward.Normalize(), aimforward) + DotProduct(right * viewright.Normalize(), aimforward) + DotProduct(up * viewup.Normalize(), aimforward);
    
newright = DotProduct(forward * viewforward.Normalize(), aimright) + DotProduct(right * viewright.Normalize(), aimright) + DotProduct(up * viewup.Normalize(), aimright);
    
newup = DotProduct(forward * viewforward.Normalize(), aimup) + DotProduct(right * viewright.Normalize(), aimup) + DotProduct(up * viewup.Normalize(), aimup);

    
cmd->forwardmove = newforward;
    
cmd->sidemove = newright;
    
cmd->upmove = newup;
}

//Now that we have that, we are going to have to add the cvar for it to actually work.. Goto CL_
// CreateMove and add this under memcpy(&g_Originalcmd, cmd, sizeof(usercmd_t));
 
    //Spinhack

    
if(cvar.spinhack) Spinhack(cmd);

// Now the Spinhack is successfully done.. Let's move on to something else.. Persay Bunnyhop/Duck
// jump now =D This is were it tend's to get a little tricky.. We are going to have to hook 2 part's
// along with the CL_CreateMove... Those 2 part's would include local.h along w/ HUD_PlayerMove..

// Now, to add the code for bunnyhop and duckjump... Goto CL_CreateMove above the memcpy(&g_Originalcmd, cmd, sizeof(usercmd_t)); 
// part...

// Add this there:

    // Bunnyhop/Duckjump

    
if (cvar.bunnyhop  && (cmd->buttons & IN_JUMP) && !(me.pmFlags & FL_ONGROUND)) cmd->buttons &= ~IN_JUMP;
    if (
cvar.duckjump  && !(me.pmFlags & FL_ONGROUND)  && me.pmVelocity[2]>0)  cmd->buttons |= IN_DUCK;

// Now that that is done, we have to setup our int and float for these to work in local.h... Add
// this above the current functions listed...

    
int pmFlags;  // Bunnyhop
    
float pmVelocity[3]; // Duckjump

// Now that local.h is hooked, we still have one thing we have to do... Go down to HUD_PlayerMove
// and add this:

    
me.pmFlags = a->flags; // Flags

// Now that we have successfully completed a Spinhack, Bunnyhop, and Duckjump, let's start adding
// real hack function's... Everyone ready?! It can't possibly get harder than the above, so no
// worries =D

// But before we get to ahead of ourselve's, let's be sure to add 3rdPerson while we are still in
// the hooked client function's instead of going to the OpenGL part and back up.. Go down to HUD_Redraw
// and add this above the Menu:

        //3rd Person

    
if(cvar.thirdperson)
     {
          
gEngfuncs.pfnGetCvarPointer("chase_active")->value = 1; 
          
gEngfuncs.pfnGetCvarPointer("r_drawviewmodel")->value = 0; 
     }
     
     if(!
cvar.thirdperson) 
     { 
          
gEngfuncs.pfnGetCvarPointer("chase_active")->value = 0; 
          
gEngfuncs.pfnGetCvarPointer("r_drawviewmodel")->value = 1; 
     }

// Okay, now we are ready to head down to the OpenGL section.. Go down to glBegin.. This is where
// the fun really begin's =D...
// We will start with a simple wallhack:

         //Wallhack

    
if(cvar.wallhack == 1)
    {
        if(!(
mode==GL_TRIANGLES||mode==GL_TRIANGLE_STRIP||mode==GL_TRIANGLE_FAN||mode==GL_QUADS))
        {
            
GLfloat curcol[4];
            
glGetFloatv(GL_CURRENT_COLOR, curcol); 
            
glDisable(GL_DEPTH_TEST);
            
glEnable(GL_BLEND);
            
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
            
glColor4f(curcol[0],curcol[1],curcol[2],0.5f);            
            
glClearColor(0.0f,0.0f,0.0f,0.0f);
        }
    }

// Now let's add a simple Whitewall's:

        //Whitewalls

    
if(cvar.whitewalls == 1)
    {
        if(!(
mode==GL_TRIANGLES||mode==GL_TRIANGLE_STRIP||mode==GL_TRIANGLE_FAN||mode==GL_QUADS))
        {
            
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL);
        }
    }

// Let's add nigger mode also =P (Zo0 Edit: This is to make your models black looks kinda cool, like using the negative filter in photoshop, sorry for the cvar name i didn't make it. Not intended for racsim.)

        //Nigger Mode

    
if(cvar.nigger)
    {
        if(
mode == GL_TRIANGLE_STRIP)
        {
            
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_BLEND);
        }
    }

// Now, this is where it kinda get's a bit hard... Let's add 3 different wireframe mode's, all with
// the same wireframe code, just different thickness... You can adjust the width yourself, there
// currently at the width's i prefer:

    // Wireframe-> Not all that was changed was the LineWidth, give's it a thicker look.. Skinny lines->1, Thich lines->3, Thickest->5..
    
    
if (cvar.wireframe==1) // moce 1
    
{
            if (
mode == GL_POLYGON)
            {
                
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); 
                
glLineWidth(1.0);
                
glColor3f(255,255,255);
            }
            else 
            {
                
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
            }
    }

        if (
cvar.wireframe==2) // mode 2
    
{
            if (
mode == GL_POLYGON)
            {
                
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); 
                
glLineWidth(3.0);
                
glColor3f(255,255,255);
            }
            else 
            {
                
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
            }
    }

            if (
cvar.wireframe==3) // mode 3
    
{
            if (
mode == GL_POLYGON)
            {
                
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); 
                
glLineWidth(5.0);
                
glColor3f(255,255,255);
            }
            else 
            {
                
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
            }
    }

// Now that we have added wireframe for the wall's, let's do it for the players.. Please note, you
// can only have one wireframe mode on at once.. So you cant have wiremodel's and walls on at same 
// time...

                //Wireframe Models

    
if(cvar.wiremodels==1) //mode 1
    
{
        if(
mode==GL_TRIANGLE_STRIP || mode==GL_TRIANGLE_FAN)
        {
            
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); 
            
glLineWidth(1.0); 
        } 
        else
        {
            
glPolygonMode(GL_FRONT_AND_BACK,GL_FILL);
        }
    }

        if(
cvar.wiremodels==2) //mode 2
    
{
        if(
mode==GL_TRIANGLE_STRIP || mode==GL_TRIANGLE_FAN)
        {
            
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); 
            
glLineWidth(3.0); 
        } 
        else
        {
            
glPolygonMode(GL_FRONT_AND_BACK,GL_FILL);
        }
    }

            if(
cvar.wiremodels==3) //mode 3
    
{
        if(
mode==GL_TRIANGLE_STRIP || mode==GL_TRIANGLE_FAN)
        {
            
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); 
            
glLineWidth(5.0); 
        } 
        else
        {
            
glPolygonMode(GL_FRONT_AND_BACK,GL_FILL);
        }
    }

// Now, let's add our nosky... To do this, we must 1st go back to the top and add this:

            //Bool for NoSKy

bool bnosky = false;

// Now, since we have our bool setup, we are ready to add the code for it work.. Go back to glBegin

            // NoSky
    
            
if (mode == GL_QUADS && cvar.nosky)
          
bnosky = true;
     else
          
bnosky = false;

// Now that is done, let's head down to glClear... This way, our wallhack doesnt fux0r up and the 
// wireframe doesnt blend on screen and make it to were u cant see shit =P

         //Used to make sure our wireframe/wallhack doesnt blend other textures..

    
if(mask==GL_DEPTH_BUFFER_BIT)
    {
        
mask+=GL_COLOR_BUFFER_BIT;
        
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
    }

// Once that is done, we are all ready to add our last function and probably my favorite... Night
// mode... So, once again, we must go back to glBegin....

         // Nightmode
     
     
if(cvar.nightmode)  
     { 
          if(
mode != GL_TRIANGLES && mode != GL_TRIANGLE_STRIP  && mode != GL_TRIANGLE_FAN  && mode != GL_QUADS) 
          { 
               
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_BLEND); 
          } 
     }

// Well, I am pretty sure that cover's everything I have learned thus far in the 2 day's I have
// coding for Counter-Strike... I was going to do this in a word doc but I relized it would be ugly
// and alot of people would probably be confused... Well, I hope this help's everyone out there who
// was just as dazed and confused as I was 2 day's ago... 


/* Credit's:

  Tetsuo -> Spin Code
  Panzer -> Leet OpenGL Base 
  Game-Deception -> Good tutorial's for OpenGL feature's
  Kalvin -> Help with menu/cvar system/fixing local.h int/float
  OGC -> Bunnyhop/Duck code
  c0re -> Helping me fix my me.pmFlags code/creating wireframe model's
  robotfood -> Making "nigger mode", also know as "nig mode".. <3 it bro =P
  My Parent's -> Bringing me into this world, Dad, your crazy =P Mom, we dont get along but I <3 you
  Everyone else -> If you helped me along the way, I appreciate it.. Sorry for forgetting you...*/ 
Maybe some epvp will start to get interested in makign CS cheats with me in the future :D
01/08/2010 13:45 allexpietz#2
german pls :P
01/08/2010 14:21 Zo0YorK3h#3
Ich beschloss, sie alle in Oen Thema setzen statt makigna Haufen seprate Themen.

Dies ist, wenn Sie eine vorhandene Quellcode haben, wenn nicht ich wird man los, wenn ich meine andere Festplatte festgelegt.
Whitewalls:

Opengl.cpp
Inside glBegin, platzieren Sie die folgende für Whitewalls.

PHP Code:
if (cvar.whitewall) (if (mode == GL_POLYGON) glTexEnvi (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL);) 
erkläre die cvar in cvar.cpp und cvar.h.

Fertig.

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

Wire-Modelle:
Opengl.cpp

PHP Code:
if (cvar.wiremodel & & mode! = GL_POLYGON & & (mode == GL_TRIANGLES | | mode == GL_TRIANGLE_STRIP | | mode == GL_TRIANGLE_FAN)) 
   ( 
       
glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); 
       
glLineWidth (2); 

   ) Else ( 
       
glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); 
   ) 
Auch hier tragen Sie Ihre cvars.
EX: Cvar.cpp: REGISTER_CVAR_INT (wiremodel, 0)
Cvar.h: int wiremodel;

-----------------------
Roundsay:
Client.cpp
PHP Code:
cmd.exec ( "5 # später sagen [Hack Name Here]"); 
Machen Sie eine cvar nicht, wenn Sie eine Option, um sie an-und abschalten wollen.

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

BuyBot (Autobuy)
PHP Code:
if (cvar.buybot) 
( 
     
cmd.exec ( "später 0,5 # m4a1; # ak47; # deagle; # hegren; # primammo; # secammo; # defuser"); 
) 
Registrieren cvars.
Will Auto kaufen m4, wenn Ihr auf CT-oder ak, wenn Ihr auf t. Wenn Sie nicht verwenden diese Waffen nur ändern Sie es wie awp oder # # m3 ect.

-------------------
Pinkwalls (Mir war langweilig)
Opengl.cpp
glBegin:
PHP Code:
   if (cvar.pinkwall) (glColor3f (227,0,123);) 
Registrieren cvars.
-----------------------------
Tut not made by me war es ein. CPP-Datei, um mich von meinem Freund geschickt (vorenthalten Name) nicht sicher, ob die ursprünglichen Schöpfer.

PHP Code:
/ * Nun, dies ist mein Tutorial auf Counter-Strike-Codierung .. Ive erst Codierung für Counter-Strike für 
zwei Tage
, sondern schon habe ich ein gutes Gefühl in ihr .. Das ist im Grunde geht zur Deckung der Einrichtung Ihres 
cvar eigenen System eine grundlegende Menü w 
/ glühenden String, und eine ganze Reihe unterschiedlicher Hack-Option ist ... I 
verwendet panzer
's 1,20 PGL Basehook zu lernen, aus der ... Ich wollte nicht einen Haken Quelle, weil dann 
es wäre mehr wie Wegnahme von der Basis bis macht es persönlich, anstatt ein von 
Grund .. Ich hoffe, dass jeder in den Genuss ist das, und da ist es nur mein 2. Tag in die Codierung für Counter - 
Strike, werde ich sicher sein, über alles, was geht und was nicht alles aus, was ich verstehe 
persönlich diese bald auf ..* / 

/ / Erstellen Sie Ihre eigenen cvar System 
/ / Das ist eigentlich ganz einfach es glauben oder nicht ... 
/ / Meine eigene CVAR struct, Anpassung an = P Geschmack 

struct basehookcvar_s / / Wenn die Struktur ist Setup kann, you name it w / e Sie wollen, dh basehookcvar_s?! 
( 
float wallhack; / / der Schwimmer sind für die cvar ist der Hack'
s ... 
float Whitewalls; 
float Drahtmodell; 
float Thirdperson; 
float bunnyhop; 
float spinhack; 
float Nosky; 
float Nachtmodus; 
float wiremodels; 
float Nigger; 
float duckjump; 
    
float-Menü; 
); 
basehookcvar_s cvar; 

/ / 
Nun, da haben wir unsere eigenen cvar System eingebaut haben, sind wir alle bereit, um unsere Menü-System ... 
/ / 
Menü-Struktur 

struct basehookmenu_s 
/ / unter InitMenu Anhand () (for mehr Informationen darüber, wie das funktioniert ... 
( 
char title [16]; 
float * value; 
float min; 
float max; 
float step; 
); 
menuIndex int = 0; 
menuItems int = 11; / / Beim Hinzufügen more thing's / feat's immer sicher, dass Sie dieses Update 
basehookmenu_s menu 
[11]; / / An w / das auch = P 

/ / Menü Zeichnen 

void InitMenu 
() 
( 
strcpy (menu [0]. Titel "Whack"); / / Titel ist das, was auf Ihrem Bildschirm angezeigt 
menu 
[0]. value = & cvar.wallhack; / / Stellen Sie den Wert des cvar.w / e hier ... 
menu [0]. min = 0; / / Min ist für die möglichen Minimum-Einstellung, die 0 für ausschalten würde 
menu 
[0]. max = 1 / / Max ist für die maximale Anzahl von Änderungen vor dem Zurücksetzen zurück zur 0/off erlaubt 
menu 
[0]. Schritt = 1; / / Step ist für den Betrag es geht nach oben ... Natürlich verwenden wir 1 ... 

strcpy (Menü [1]. Titel "WWalls"); 
Menü [1]. value = & cvar.whitewalls; 
Menü [1]. min = 0; 
Menü [1]. max = 1; 
Menü [1]. Schritt = 1; 

strcpy (menu [2]. Titel "WFrame"); 
menu [2]. value = & cvar.wireframe; 
menu [2]. min = 0; 
menu [2]. max = 3; 
menu [2]. Schritt = 1; 

strcpy (menu [3]. Titel "CCAM"); 
Menü [3]. value = & cvar.thirdperson; 
Menü [3]. min = 0; 
Menü [3]. max = 1; 
Menü [3]. Schritt = 1; 

strcpy (menu [4]. Titel "Bhop"); 
menu [4]. value = & cvar.bunnyhop; 
menu [4]. min = 0; 
menu [4]. max = 1; 
menu [4]. Schritt = 1; 

strcpy (menu [5]. Titel "Spin"); 
menu [5]. value = & cvar.spinhack; 
menu [5]. min = 0; 
menu [5]. max = 1; 
menu [5]. Schritt = 1; 

strcpy (menu [6]. Titel "Nosky"); 
menu [6]. value = & cvar.nosky; 
menu [6]. min = 0; 
menu [6]. max = 1; 
menu [6]. Schritt = 1; 

strcpy (Menü [7]. Titel "nmode"); 
Menü [7]. value = & cvar.nightmode; 
Menü [7]. min = 0; 
Menü [7]. max = 1; 
Menü [7]. Schritt = 1; 

strcpy (Menü [8]. Titel "WModel"); 
Menü [8]. value = & cvar.wiremodels; 
Menü [8]. min = 0; 
Menü [8]. max = 3; 
Menü [8]. Schritt = 1; 

strcpy (Menü [9]. Titel "NigMode"); 
Menü [9]. value = & cvar.nigger; 
Menü [9]. min = 0; 
Menü [9]. max = 1; 
Menü [9]. Schritt = 1; 

strcpy (menu [10]. Titel "DJump"); 
menu [10]. value = & cvar.duckjump; 
menu [10]. min = 0; 
menu [10]. max = 1; 
menu [10]. Schritt = 1; 

) 

/ / 
Nun, da die Menü wird alles getan, lassen Sie uns fortfahren und ziehen Sie es ... Kopf nach unten zu HUD_Redraw ... 
/ / 
Menu 

if (cvar.menu) 
( 
gEngfuncs.pfnClientCmd ( "unbind mouse1"); 
gEngfuncs.pfnClientCmd ( "unbind MWHEELUP"); 
gEngfuncs.pfnClientCmd ( "unbind MWHEELDOWN"); 
) 
if (! 
cvar.menu) 
( 
gEngfuncs.pfnClientCmd ( "bind mouse1 + attack"); 
gEngfuncs.pfnClientCmd ( "bind MWHEELUP invprev"); 
gEngfuncs.pfnClientCmd ( "bind MWHEELDOWN invnext"); 
) 
if (
cvar.menu) 
( 
int x = 200; 
int xx = 220; 
int y = 100; 
int yy = 200; 
int yyy = 316; 

InitMenu (); 

/ / 
Draw Glowing Hud Text 

DrawGlowHudString 
(x - 130, 84, 0, 0, 128, "Titel der Hack hier = P"); 
for (
int i = 0; i <menuItems; i + +) 
( 
if (
i! = menuIndex) 
( 
DrawHudString (x - 130, 100 + (16 * i), 255, 255, 255, menu [i]. Title); 
DrawHudString (x - 60, 100 + (16 * i), 255, 255, 255, "% 2.2f", menu [i]. Wert [0]); 
) 
sonst 
( 
static 
int b = 0; 
static 
bool mode = 1; 
if (
Modus) 
b + = 10; 
sonst 
b
-= 10; 
if (
b <0) 
( 
b = 0; mode = 1; 
) 
if (
b> 255) 
( 
b = 255; mode = 0; 
) 
DrawGlowHudString (x - 130, 100 + (16 * i), 0, 0, b, menu [i]. Title); 
DrawGlowHudString (x - 60, 100 + (16 * i), 0, 0, b, "% 2.2f", menu [i]. Wert [0]); 
) 
) 
) 
) 

/ / 
Nun, da wir es in HUD_Redraw gesetzt haben, gibt es einen weiteren Abschnitt haben wir zur Deckung vor 
/ / Es wird tatsächlich in der Lage, ein-und ausschalten .. toggle Kopf nach unten zu HUD_Key_Event für diese ... 

/ / 
Setup Hotkey für toggleing of Menu 

if (keynum == 147) / / Insert 
( 
if (
Eventcode == 1) 
cvar.menu =! cvar.menu; 
) 

if (
cvar.menu & & (Eventcode == 1)) 
( 
if (
keynum == 128) 
( 
if (
menuIndex> 0) menuIndex -; 
) 
if (
keynum == 129) / / downarrow 
( 
if (
menuIndex <menuItems-1) menuIndex + +; 
) 
if (
keynum == 130) / / leftarrow 
( 
if (
menu [menuIndex]. value) 
( 
Menü [menuIndex]. Wert [0] -= Menü [menuIndex]. Schritt; 
if (
menu [menuIndex]. Wert [0] <Menü [menuIndex]. min) 
Menü [menuIndex]. Wert [0] = Menü [menuIndex]. max; 
) 
) 
if (
keynum == 131) / / rightarrow 
( 
if (
menu [menuIndex]. value) 
( 
Menü [menuIndex]. Wert [0] + = Menü [menuIndex]. Schritt; 
if (
menu [menuIndex]. Wert [0]> menu [menuIndex]. max) 
Menü [menuIndex]. Wert [0] = Menü [menuIndex]. min; 
) 
) 
if (
keynum == 239) 
( 
if (
menuIndex <menuItems-1) menuIndex + +; 
) 
if (
keynum == 240) 
( 
if (
menuIndex> 0) menuIndex -; 
) 
if (
keynum == 241) 
( 
if (
Eventcode) 
( 
Menü [menuIndex]. Wert [0] + = Menü [menuIndex]. Schritt; 
if (
menu [menuIndex]. Wert [0]> menu [menuIndex]. max) 
Menü [menuIndex]. Wert [0] = Menü [menuIndex]. min; 
) 
) 
if (
keynum == 242) 
( 
if (
Eventcode) 
( 
Menü [menuIndex]. Wert [0] -= Menü [menuIndex]. Schritt; 
if (
menu [menuIndex]. Wert [0] <Menü [menuIndex]. min) 
Menü [menuIndex]. Wert [0] = Menü [menuIndex]. max; 
) 
) 
) 
) 


/ / 
Nun, gratulieren, Sie haben sich erfolgreich aus Ihrer eigenen cvar-System und das Menü ... Now let's start 
/ / Hinzufügen einiger Haken Feature'
s = D 

/ / Gleich oberhalb des 1. angeschlossen Client-Funktion, CL_CreateMove, platzieren Sie dieses Copy / Paste-Code für eine 
/ / Spinbot ... Credit ist natürlich lese Tetsuo dafür danken's Mann! 

# define SPIN_REVS_PER_SECOND 5.0f / / Anpassung an Geschmack, ich 5 b / c it doesnt make me Verzögerung .. 

/ / Tetsuo'
s copy / paste Spinhack Code, thanks a lot = D 

void Spinhack 
(usercmd_t * cmd) 
( 
/ / 
Tetsuo Dank für diesen copy / paste 
cl_entity_t 
* pLocal; 
Vector viewforward, ViewRight, viewup, aimforward, aimright, aimup, vTemp; 
float newforward, newright, newup, ftime; 
float forward = g_Originalcmd.forwardmove; 
float rechts = g_Originalcmd.sidemove; 
float up = g_Originalcmd.upmove; 

pLocal = gEngfuncs.GetLocalPlayer (); 
if (! 
pLocal) 
return; 

/ / 
Dieser Branche macht Sie sicher, dass horizontale Geschwindigkeit nicht beeinträchtigt wird bei der Festsetzung die Bewegungs-Winkel - es ist nicht spezifisch für die Spinnerei und Sie können es mit der Quelle tetsuo geposteten in seinem Forum zu 
if (pLocal-> curstate.movetype == MOVETYPE_WALK) 
( 
gEngfuncs.pfnAngleVectors (Vector (0.0f, g_Originalcmd.viewangles.y, 0.0f), viewforward, ViewRight, viewup); 
) 
sonst 
( 
gEngfuncs.pfnAngleVectors (g_Originalcmd.viewangles, viewforward, ViewRight, viewup); 
) 

/ / 
SPIN! 
int iHasShiftHeld = GetAsyncKeyState (VK_LSHIFT); 
if (
pLocal-> curstate.movetype == MOVETYPE_WALK & &! iHasShiftHeld & &! (cmd-> Buttons & IN_ATTACK) & &! (cmd-> Buttons & In_use)) 
( 
ftime = gEngfuncs.GetClientTime (); 
cmd-> viewangles.y = fmod (ftime SPIN_REVS_PER_SECOND * * 360.0f, 360.0f); 
) 

/ / 
Dieser Branche macht Sie sicher, dass horizontale Geschwindigkeit nicht beeinträchtigt wird bei der Festsetzung die Bewegungs-Winkel - es ist nicht spezifisch für die Spinnerei und Sie können es mit der Quelle tetsuo geposteten in seinem Forum zu 
if (pLocal-> curstate.movetype == MOVETYPE_WALK) 
( 
gEngfuncs.pfnAngleVectors (Vector (0.0f, cmd-> viewangles.y, 0.0f), aimforward, aimright, aimup); 
) 
sonst 
( 
gEngfuncs.pfnAngleVectors (cmd-> viewangles, aimforward, aimright, aimup); 
) 

newforward = DotProduct (viewforward.Normalize weiter * (), aimforward) + DotProduct (rechts * viewright.Normalize (), aimforward) + DotProduct (bis viewup.Normalize * (), aimforward); 
newright = DotProduct (viewforward.Normalize weiter * (), aimright) + DotProduct (rechts * viewright.Normalize (), aimright) + DotProduct (bis viewup.Normalize * (), aimright); 
newup = DotProduct (viewforward.Normalize weiter * (), aimup) + DotProduct (rechts * viewright.Normalize (), aimup) + DotProduct (bis viewup.Normalize * (), aimup); 

cmd-> forwardmove = newforward; 
cmd-> sidemove = newright; 
cmd-> Aufwärtsbewegung = newup; 
) 

/ / 
Nun, da wir das haben, werden wir haben, die cvar für sie tatsächlich arbeiten add .. Springen CL_ 
/ / CreateMove und stell unter memcpy (& g_Originalcmd, cmd, sizeof (usercmd_t)); 
  
    / / 
Spinhack 

    
if (cvar.spinhack) Spinhack (cmd); 

/ / 
Nun ist die Spinhack ist erfolgreich abgeschlossen .. Let's move on, etwas anderes .. Persay Bunnyhop / Ente 
/ / Jump now = D Dies ist wäre es eher, eine etwas schwierig zu erhalten .. Wir gehen zu müssen, Haken 2-teilig'
s 
/ / Zusammen mit dem CL_CreateMove ... Die 2-teilige würde gehören local.h entlang w / HUD_PlayerMove .. 

/ / 
Nun zu erhalten, fügen Sie den Code für bunnyhop und duckjump ... Springen CL_CreateMove über dem memcpy (& g_Originalcmd, cmd, sizeof (usercmd_t)); 
/ / 
Teil ... 

/ / 
Fügen Sie diese dort: 

    / / 
Bunnyhop / Duckjump 

if (cvar.bunnyhop & & (cmd-> Buttons & IN_JUMP) & &! (me.pmFlags & FL_ONGROUND)) cmd-> Buttons & = ~ IN_JUMP; 
    if (
cvar.duckjump & &! (me.pmFlags & FL_ONGROUND) & & me.pmVelocity [2]> 0) cmd-> Buttons | = IN_DUCK; 

/ / 
Nun, da dies geschehen ist, müssen wir unsere int Setup und Schwimmer für diese in den local.h Arbeit ... Hinzufügen 
/ / Das oberhalb des aktuellen aufgeführten Funktionen ... 

int pmFlags; / / Bunnyhop 
    float pmVelocity 
[3]; / / Duckjump 

/ / Nun, da local.h angeschlossen ist, haben wir noch ein, was wir zu tun haben ... Go HUD_PlayerMove bis 
/ / Und stell: 

me.pmFlags = a-> flags; / / Flags 

/ / Jetzt, wo wir erfolgreich abgeschlossen haben, ein Spinhack, Bunnyhop und Duckjump, let's start Hinzufügen 
/ / Hack echte Funktion ... Alle bereit?! Es kann unmöglich noch härter werden als die oben genannten, so dass keine 
/ / Sorgen = D 

/ / Doch bevor wir zu vor ourselve ist, wollen wir sicher sein, um 3rdPerson hinzufügen können, während wir uns noch in 
/ / Die Haken-Client-Funktion, anstatt zu gehen, die OpenGL-Teil und wieder zurück bis .. Runter zu HUD_Redraw 
/ / Und fügen Sie diese über das Menü: 

/ / 3. Person 

if (cvar.thirdperson) 
     ( 
          gEngfuncs.pfnGetCvarPointer ( "chase_active") -> value = 1; 
          gEngfuncs.pfnGetCvarPointer ( "r_drawviewmodel") -> value = 0; 
     ) 
      
if (! cvar.thirdperson) 
     ( 
          gEngfuncs.pfnGetCvarPointer ( "chase_active") -> value = 0; 
          gEngfuncs.pfnGetCvarPointer ( "r_drawviewmodel") -> value = 1; 
     ) 

/ / Okay, jetzt sind wir bereit, den Kopf gesenkt, die OpenGL Abschnitt .. Runter zu .. glBegin Hier 
/ / Der Spaß wirklich beginnen'
s = D. .. 
/ / 
Wir beginnen mit einem einfachen wallhack: 

/ / 
Wallhack 

if (cvar.wallhack == 1) 
( 
if (! (
mode == GL_TRIANGLES | | mode == GL_TRIANGLE_STRIP | | mode == GL_TRIANGLE_FAN | | mode == GL_QUADS)) 
( 
GLfloat CurCol [4]; 
glGetFloatv (GL_CURRENT_COLOR, CurCol); 
glDisable (GL_DEPTH_TEST); 
glEnable (GL_BLEND); 
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); 
glColor4f (CurCol [0], CurCol [1], CurCol [2], 0.5f); 
glClearColor (0.0f, 0.0f, 0.0f, 0.0f); 
) 
) 

/ / 
Nun fügen wir eine einfache Whitewall's: 

/ / Whitewalls 

if (cvar.whitewalls == 1) 
( 
if (! (mode == GL_TRIANGLES | | mode == GL_TRIANGLE_STRIP | | mode == GL_TRIANGLE_FAN | | mode == GL_QUADS)) 
( 
glTexEnvi (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL); 
) 
) 

/ / Addieren Nigger-Modus auch = P (Zo0 Edit: Dies ist, um Ihre Modelle schwarz sieht irgendwie cool, wie mit den negativen Filter in Photoshop, sorry für die cvar Namen ich nicht machen. Nicht für racsim bestimmt.) 

/ / Nigger Mode 

if (cvar.nigger) 
( 
if (mode == GL_TRIANGLE_STRIP) 
( 
glTexEnvi (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_BLEND); 
) 
) 

/ / Dies ist nun, wo es erhalten ist ein bisschen hart irgendwie ... Let'
s add 3 verschiedene Drahtgitter-Modus ist, alle mit 
/ / Die gleiche Drahtmodell-Code, nur unterschiedlicher Dicke ... Sie können die Breite selbst, es 
/ / I derzeit auf die Breite ist gefallen: 

/ / 
Wireframe-> Nicht alles, was geändert wurde, die Linienbreite, geben an, eine dickere look .. Skinny Linien-> 1, Thich Linien-> 3, dicksten-> 5 .. 

if (
cvar.wireframe == 1) / / moce 1 
( 
if (
mode == GL_POLYGON) 
( 
glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); 
glLineWidth (1,0); 
glColor3f (255.255.255); 
) 
sonst 
( 
glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); 
) 
) 

if (
cvar.wireframe == 2) / / mode 2 
( 
if (
mode == GL_POLYGON) 
( 
glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); 
glLineWidth (3,0); 
glColor3f (255.255.255); 
) 
sonst 
( 
glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); 
) 
) 

if (
cvar.wireframe == 3) / / mode 3 
( 
if (
mode == GL_POLYGON) 
( 
glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); 
glLineWidth (5,0); 
glColor3f (255.255.255); 
) 
sonst 
( 
glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); 
) 
) 

/ / 
Nun, da haben wir Drahtmodell für die Mauer, machen wir's doch für die Spieler hat .. Bitte beachten Sie 
/ / Kann nur ein Drahtgitter-Modus auf einmal .. So you cant have wiremodel und Wände zur gleichen 
/ / Zeit ... 

/ / Wireframe Models 

if (cvar.wiremodels == 1) / / mode 1 
( 
if (mode == GL_TRIANGLE_STRIP | | mode == GL_TRIANGLE_FAN) 
( 
glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); 
glLineWidth (1,0); 
) 
sonst 
( 
glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); 
) 
) 

if (cvar.wiremodels == 2) / / mode 2 
( 
if (mode == GL_TRIANGLE_STRIP | | mode == GL_TRIANGLE_FAN) 
( 
glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); 
glLineWidth (3,0); 
) 
sonst 
( 
glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); 
) 
) 

if (cvar.wiremodels == 3) / / mode 3 
( 
if (mode == GL_TRIANGLE_STRIP | | mode == GL_TRIANGLE_FAN) 
( 
glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); 
glLineWidth (5,0); 
) 
sonst 
( 
glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); 
) 
) 

/ / Nun fügen wir unserem Nosky ... Um dies zu tun, müssen wir 1. gehen zurück an den Anfang und stell: 

/ / Bool für Nosky 

bool bnosky = false; 

/ / Nun, da haben wir unsere Setup bool, sind wir bereit, um den Code hinzuzufügen für sie arbeiten .. Go back to glBegin 

/ / Nosky 

if (mode == GL_QUADS & & cvar.nosky) 
          bnosky = true; 
     sonst 
          bnosky = false; 

/ / Jetzt ist das geschehen ist, let'
s head down, um glClear ... Auf diese Weise unsere wallhack doesnt fux0r und die 
/ / 
Wireframe doesnt Mischung auf dem Bildschirm und machen es sich u cant see shit = P 

/ / Wird verwendet, um sicherzustellen, dass unsere Drahtmodell / wallhack doesnt Mischung anderen Texturen .. 

if (
mask == GL_DEPTH_BUFFER_BIT) 
( 
Maske + = GL_COLOR_BUFFER_BIT; 
glClearColor (0.0f, 0.0f, 0.0f, 0.0f); 
) 

/ / 
Sobald das erledigt ist, sind wir alle bereit, unsere letzte Funktion hinzuzufügen und wahrscheinlich my favorite ... Nacht 
/ / Mode ... Also, noch einmal, wir müssen zurück zu .... glBegin 

/ / Nachtmodus 

     
if (cvar.nightmode) 
     ( 
          if (
mode! = GL_TRIANGLES & & mode! = GL_TRIANGLE_STRIP & & mode! = GL_TRIANGLE_FAN & & mode! = GL_QUADS) 
          ( 
               
glTexEnvi (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_BLEND); 
          ) 
     ) 

/ / 
Nun, ich bin ziemlich sicher, dass die Deckung alles, was ich bisher in den 2 Tage habe ich gelernt hat 
/ / Codierung für Counter-Strike ... Ich wollte diese in ein Word-Dokument tun, als mir klar, es wäre hässlich 
/ / Und eine Menge Leute würden wahrscheinlich verwechselt werden ... Nun, ich hoffe dies dazu beitragen, die alle da draußen, die 
/ / 
War wie betäubt und verwirrt wie ich war 2 Tage vor der ... 


/ * 
Credit's: 

  Tetsuo -> Spin-Code 
  Panzer -> Leet OpenGL Base 
  Game-Deception -> gutes Tutorial für OpenGL-Funktion ist 
  Kalvin -> Hilfe für menu / cvar System / Festsetzung local.h int / float 
  OGC -> Bunnyhop / Duck-Code 
  c0re -> Helping me fix my me.pmFlags Code / Anlegen Drahtmodell'
s 
  robotfood 
-> Making "Nigger-Modus", auch bekannt als "nig-Modus" .. <3 it bro = P 
  Meine Eltern 
-> bringen mich in dieser Welt, Papa, Ihr verrückt = P Mom, we dont auskommen, aber ich <3 you 
  Alle anderen 
-> Wenn Sie mir geholfen auf dem Weg, I appreciate it .. Sorry für das Vergessen Sie ...*/ 
Vielleicht epvp startet in makign CS Cheats mich interessieren in die Zukunft: D

Sorry for bad translation, i used google translator.
Sorry für die schlechte Übersetzung, habe ich Google Translator.
01/08/2010 16:16 .SketchBear#4
give credits im sure thats not your work
01/08/2010 18:00 Zo0YorK3h#5
I've made all that myself except the last part of the tutorial, i can't credit him, becuase he never signed his work.

Read this part:
Tut not made by me it was a .cpp file sent to me by my friend(name withheld) not sure of the original creator. The friend who sent me the last part dosen't want his name known, but was not crated by him.

Though he credited the people who helped him:
Tetsuo -> Spin Code
Panzer -> Leet OpenGL Base
Game-Deception -> Good tutorial's for OpenGL feature's
Kalvin -> Help with menu/cvar system/fixing local.h int/float
OGC -> Bunnyhop/Duck code
c0re -> Helping me fix my me.pmFlags code/creating wireframe model's
robotfood -> Making "nigger mode", also know as "nig mode".. <3 it bro =P
My Parent's -> Bringing me into this world, Dad, your crazy =P Mom, we dont get along but I <3 you
Everyone else -> If you helped me along the way, I appreciate it.. Sorry for forgetting you...*/

He had help from Game_Deception forums, and some of the community of VAC Disabled. (panzer, Tetsuo, c0re)
But i made everythign down to pinkwalls, wasn't hard if you know C++ and your way around OpenGL.
01/09/2010 14:05 wurstbrot123#6
You should also show them how to hook
GlBegin for example and read the mode there.
Otherwise this code is pretty useless for beginner of course
02/19/2010 20:38 hackerboyy11#7
The original tutorial is posted on GD.
02/20/2010 22:52 .Retro<3#8
Goodjob
02/21/2010 15:08 Bot_interesierter#9
Quote:
Originally Posted by wurstbrot123 View Post
You should also show them how to hook
GlBegin for example and read the mode there.
Otherwise this code is pretty useless for beginner of course
people who don't know how to hook shouldn't mess with stuff like this to begin with...