Thread: Runboost Shit

Results 1 to 15 of 15
  1. #1
    GreenMelon2.0's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    60
    Reputation
    10
    Thanks
    6

    Angry Runboost Shit

    Ok, im making a Runboost hack for me and a few freinds to troll around on, i have written up some code but it doesnt seem to work. im calling it in createmove

    what its ment to do is move to center urself on the guy under you head

    Any Help Is Appecited. ._.

    CorrectMove func from https://www.mpgh.net/forum/showthread.php?t=1063626 - thanks Orinion77

    Code:
    void pRunBoost(CUserCmd* cmd){
    	
    
    	// variables
    	// me
    	CBaseEntity* me = Interfaces.ClientEntList->GetClientEntity(Interfaces.Engine->GetLocalPlayer());
    	// other entity
    	CBaseEntity* ent;
    	// highest ent
    	int highestent = Interfaces.ClientEntList->GetHighestEntityIndex();
    	// my pos
    	Vector mepos;
    	// other players pos
    	Vector entpos;
    	// other pos to get angles
    	Vector pos;
    	// angle to pass into move correction
    	Vector ang;
    	// initialise angles.
    	ang.x = 0;
    	ang.y = 0;
    	ang.z = 0;
    	// IF I DONT EXIST
    
    	// IF I AM NOT ALIVE
    	if (!(me->isAlive())){ return; }
    
    	// if im jumping
    
    	if (cmd->buttons & IN_JUMP){ return; }
    
    
    
    	for (int i = 0; i >= highestent; i++){
    		// get ent here
    		ent = Interfaces.ClientEntList->GetClientEntity(i);
    		// check ent out
    
    		// if ent doesnt exist / just in case so no chance of crashing game
    		if (!ent)
    			continue;
    			// IF ENT NOT ALIVE
    			if (!(ent->isAlive())){ continue; }
    			// IF ENT IS DORMANT
    			if (ent->GetDormant()){ continue; }
    
    			// get ents pos
    			entpos = ent->GetOrigin();
    	               // Get My POS
    	               mepos = me->GetOrigin();
    
    			// is under me - probably where i fucked up?
    			if (!(entpos.y < mepos.y && entpos.y + 90 > mepos.y)) 
    				continue; 
    			// is he directly under me
    			if (!(entpos.x - 20 < mepos.x && entpos.x + 20 > mepos.x))
    				continue;
    
    			if (!(entpos.z - 20 < mepos.z && entpos.z + 20 > mepos.z))
    				continue;
    
    					// Get Angle to Move
    
    					// transfer to 0,0,0
    					pos.x = entpos.x - mepos.x;
    					pos.y = entpos.y - mepos.y;
    					pos.z = entpos.z - mepos.z;
    
    					// get angle
    					ang.x = tan(pos.z / pos.x);
    
    					// move player - dont think it ever reaches here. as i never move at all
    					QAngle old;
    					Interfaces.Engine->GetViewAngles(old);
    					CorrectMovement(ang, cmd, 650.0f, 0);
    
    				}
    				// return to createmove
    				return;
    			}

    if it can be fixed. im guessing alot of people will be runboosting in comp soon XD

    - - - Updated - - -

    wait can i change title ._. just noticed it.
    Last edited by GreenMelon2.0; 02-16-2016 at 11:23 PM.

  2. #2
    Jasmine's Avatar
    Join Date
    Feb 2015
    Gender
    female
    Location
    Your heart <3
    Posts
    481
    Reputation
    19
    Thanks
    1,760
    My Mood
    Amused
    What's so hard about run boosting that you need a hack?

    1.) Get teammate on your head.
    2.) Stay crouched.
    3.) When teammate jumps and lands run forward.
    4.) Profit??

  3. #3
    GreenMelon2.0's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    60
    Reputation
    10
    Thanks
    6
    nah. im making a hack for my freinds to use cuz they suck at it ._.


    also it would be a pretty neat thing to run across the whole map on a freinds head ._.
    Last edited by GreenMelon2.0; 02-17-2016 at 02:22 AM.

  4. #4
    Mendacious's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    87
    Reputation
    22
    Thanks
    274
    well. how neat. thanks

  5. #5
    GreenMelon2.0's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    60
    Reputation
    10
    Thanks
    6
    can anyone see any errors in it. cuz it doesnt work 4 me...

  6. #6
    rwby's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Location
    client.dll
    Posts
    1,631
    Reputation
    142
    Thanks
    6,724
    You dont really need a function for this though.

  7. #7
    GreenMelon2.0's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    60
    Reputation
    10
    Thanks
    6
    im asking for help. not people telling me i shouldnt do it

  8. #8
    _NightWare's Avatar
    Join Date
    Feb 2016
    Gender
    male
    Location
    Netherlands
    Posts
    724
    Reputation
    274
    Thanks
    2,302
    My Mood
    Inspired
    Quote Originally Posted by GreenMelon2.0 View Post
    im asking for help. not people telling me i shouldnt do it
    Hit me up on skype, i'll help you out. (Tomorrow )
    Last edited by _NightWare; 02-17-2016 at 02:55 PM.

    Feel free to leave a thanks or +rep if I helped you.

    ಠ_ರೃ
    Script Squad






    [IMG]https://roblo*****m?rbxp=135887430[/IMG]

  9. #9
    GreenMelon2.0's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    60
    Reputation
    10
    Thanks
    6
    sorry i cant use skype atm, im at my dads. ._. even though i added u

  10. #10
    _NightWare's Avatar
    Join Date
    Feb 2016
    Gender
    male
    Location
    Netherlands
    Posts
    724
    Reputation
    274
    Thanks
    2,302
    My Mood
    Inspired
    Ok, I'll give a brief rundown of my idea; first person holds ctrl, second person jumps ontop of his head.
    Then the first person lets go of ctrl, when the second person jumps the first one will automatically stand up.
    As soon as this happens player one will wait for an X amount of time and then starts running forward (untilo the bind is released).
    You could do this with a hack, but a script would be just as capable and UD.

    I'll make the script for you if interested, but I can't code hacks yet.

    If anyone wants to make this themselves be sure to give credit
    Last edited by _NightWare; 02-19-2016 at 03:22 AM.

    Feel free to leave a thanks or +rep if I helped you.

    ಠ_ರೃ
    Script Squad






    [IMG]https://roblo*****m?rbxp=135887430[/IMG]

  11. #11
    GreenMelon2.0's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    60
    Reputation
    10
    Thanks
    6
    nah sorry. i want this built into my hack for sake of it being easyer to do. because having another scrpit that one would have to perfectly time with another player to do would be annoying. i have a feeling its my sdks getplayerpos. i think it just returns 0,0,0 for some reason. i will look into it. could someone put it in there interal to see if it works on theres so i can know its my sdk or the function inself

  12. #12
    _NightWare's Avatar
    Join Date
    Feb 2016
    Gender
    male
    Location
    Netherlands
    Posts
    724
    Reputation
    274
    Thanks
    2,302
    My Mood
    Inspired
    oh you intended to make it so that the bottom player mimics the top player? I didn't get that at first

    Feel free to leave a thanks or +rep if I helped you.

    ಠ_ರೃ
    Script Squad






    [IMG]https://roblo*****m?rbxp=135887430[/IMG]

  13. #13
    GreenMelon2.0's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    60
    Reputation
    10
    Thanks
    6
    im making the top player mimic the bottom player. not bottom mimic top. ._. but yes.

    - - - Updated - - -

    can i get someone to send me the getorigin CBaseEntity index, just to make sure i have it correct?

  14. #14
    reaLD's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Location
    0x2F13A80
    Posts
    143
    Reputation
    10
    Thanks
    1,075
    My Mood
    Relaxed
    Quote Originally Posted by GreenMelon2.0 View Post
    im making the top player mimic the bottom player. not bottom mimic top. ._. but yes.

    - - - Updated - - -

    can i get someone to send me the getorigin CBaseEntity index, just to make sure i have it correct?
    Maybe here is your adress ^^ didn't looked at the thread but it's up 2 date^^
    https://www.mpgh.net/forum/showthread.php?t=1028223

  15. #15
    GreenMelon2.0's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    60
    Reputation
    10
    Thanks
    6
    no sorry. it doesnt have most internal things in it. its just adresses for external writing (or im retarded), it doesnt have cbaseentity structures and shi... Stuff in it

Similar Threads

  1. Holy Shit
    By Dave84311 in forum General
    Replies: 39
    Last Post: 08-29-2010, 05:16 AM
  2. Random Shit
    By Dave84311 in forum General
    Replies: 15
    Last Post: 09-22-2007, 06:58 PM
  3. Post the scariest shit you have seen!
    By arunforce in forum General
    Replies: 26
    Last Post: 08-17-2007, 11:16 PM
  4. Fuckin shit :(
    By i eat trees in forum General
    Replies: 11
    Last Post: 02-18-2006, 09:02 PM
  5. Wicked shit :)
    By Dave84311 in forum General
    Replies: 13
    Last Post: 02-10-2006, 04:59 PM