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??
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.
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??
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.
can anyone see any errors in it. cuz it doesnt work 4 me...
You dont really need a function for this though.
im asking for help. not people telling me i shouldnt do it
sorry i cant use skype atm, im at my dads. ._. even though i added u
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
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
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
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