PostDetectedBlue Bot (Lua Hack)

Posts 346–360 of 376 · Page 24 of 26
I suggest adding a minimap/radar to this hack, So it shows a box on your screen showing who's near you and traitors appear red, D appears blue, others appear green and you appear yellow.


Offtopic: @Gray why do you always type with this font/colour?
Quote Originally Posted by Pouya657 View Post
I suggest adding a minimap/radar to this hack, So it shows a box on your screen showing who's near you and traitors appear red, D appears blue, others appear green and you appear yellow.


Offtopic: @Gray why do you always type with this font/colour?
Because that are my settings.
it changes automatically for me.
[/COLOR]
Quote Originally Posted by nitroburn View Post
If you know how to alter code, try the following I quickly coded to either be able to change aimspot, or allow a random set of aimspots so you get some headshots, some chest shots. You can add more bones to aim at by adding them to BB.RandomAimSpots. It is set to enable the random aimspot by default, but if you want to disable it and go straight to headshots (or whatever you set the BB.StaticAimSpot to). Can't change the static aim spot in game at the moment. I just made this quickly, so I still have improvements and optimizations to make but it works.

Find:
Code:
BB.TimerName = BB.RandomString( 0, false, false );
BB.Unloaded = false;
BB.ToggleFade = nil;
After it ADD:
Code:
BB.StaticAimSpot = "ValveBiped.Bip01_Head1";
BB.RandomAimSpots = {"ValveBiped.Bip01_Head1","ValveBiped.Bip01_Neck1","ValveBiped.Bip01_Spine","ValveBiped.Bip01_Pelvis","ValveBiped.Bip01_Spine2","ValveBiped.Bip01_Spine4"};
BB.RandomAimSpot = "ValveBiped.Bip01_Spine";
Find:
Code:
function BB.ClosestAngle( players )
	local flAngleDifference = nil;
	local newAngle = nil;
	local viewAngles = BB.ply():EyeAngles();
		for _, ply in pairs( players ) do
After it Add:
Code:
		if (BB.CVARS.Bools["Random Aimspot"].cvar:GetBool() == true) then
		targetspot = BB.RandomAimSpot;
		else
		targetspot = BB.StaticAimSpot;
		end
Directly below where you added that the line that starts with (didn't have the whole line because I altered it and am too lazy to get the original:
Code:
		local vecPos, ang = ply:GetBonePosition( ply:LookupBone(
Replace that ENTIRE LINE with:
Code:
		local vecPos, ang = ply:GetBonePosition( ply:LookupBone( targetspot ) or 12 );
Find:
Code:
timer.Create( BB.TimerName, 0.25, 0, function( )	
	if (!BB.IsTTT || GetRoundState() != 3) then 
		table.Empty( BB.DeadPlayers );
		return;
	end
After it add:
Code:
	BB.RandomAimSpot = table.Random(BB.RandomAimSpots);


I did all of this and I get this error:
. unknown - lua/includes/modules/hook.lua:82


[ERROR] lua/blue_bot.lua:249: attempt to index field 'Random Aimspot' (a nil value)
1. ClosestAngle - lua/blue_bot.lua:249
2. v - lua/blue_bot.lua:292
3. unknown - lua/includes/modules/hook.lua:82
Quote Originally Posted by kratosim View Post
[/COLOR]



I did all of this and I get this error:
. unknown - lua/includes/modules/hook.lua:82


[ERROR] lua/blue_bot.lua:249: attempt to index field 'Random Aimspot' (a nil value)
1. ClosestAngle - lua/blue_bot.lua:249
2. v - lua/blue_bot.lua:292
3. unknown - lua/includes/modules/hook.lua:82
Oops. Look for
Code:
BB.Aimbotting = false;
BB.CVARS = {Bools = { }, Numbers = { }};
BB.CVARS.Bools["Aimbot"] = CreateClientConVar( BB.RandomPrefix.."_aimbot_enabled", "0", true, true );
after it add:
Code:
BB.CVARS.Bools["Random Aimspot"] = CreateClientConVar( BB.RandomPrefix.."_aimbot_randspot", "1", true, true );
Quote Originally Posted by nitroburn View Post
Oops. Look for
Code:
BB.Aimbotting = false;
BB.CVARS = {Bools = { }, Numbers = { }};
BB.CVARS.Bools["Aimbot"] = CreateClientConVar( BB.RandomPrefix.."_aimbot_enabled", "0", true, true );
after it add:
Code:
BB.CVARS.Bools["Random Aimspot"] = CreateClientConVar( BB.RandomPrefix.."_aimbot_randspot", "1", true, true );
I did that, now I get:
ning script blue_bot.lua...

[ERROR] lua/blue_bot.lua:255: unexpected symbol near ';'
1. unknown - lua/blue_bot.lua:0

What's going on now?

---------- Post added at 11:41 PM ---------- Previous post was at 11:23 PM ----------

Nevermind.. I fixed it... -.-

---------- Post added 06-23-2013 at 12:23 AM ---------- Previous post was 06-22-2013 at 11:41 PM ----------

Also it only targets chest... I want it to randomly aim at chest and head. Also can you make the aimbot stay locked on 1 person until they go out of view/LOS? I get tired of holding aim button and me spinning in circles flipping out...
Quote Originally Posted by kratosim View Post
I did that, now I get:
ning script blue_bot.lua...

[ERROR] lua/blue_bot.lua:255: unexpected symbol near ';'
1. unknown - lua/blue_bot.lua:0

What's going on now?

---------- Post added at 11:41 PM ---------- Previous post was at 11:23 PM ----------

Nevermind.. I fixed it... -.-

---------- Post added 06-23-2013 at 12:23 AM ---------- Previous post was 06-22-2013 at 11:41 PM ----------

Also it only targets chest... I want it to randomly aim at chest and head. Also can you make the aimbot stay locked on 1 person until they go out of view/LOS? I get tired of holding aim button and me spinning in circles flipping out...
Look at the list by default it targets chest and head. Round has to be active for it to randomize the targeting though.

Did you put the part in the timer section?
Quote Originally Posted by nitroburn View Post
Look at the list by default it targets chest and head. Round has to be active for it to randomize the targeting though.

Did you put the part in the timer section?
Ah there's my problem. I'm not even playing TTT... I'm playing GMod Tower.
Quote Originally Posted by kratosim View Post
Ah there's my problem. I'm not even playing TTT... I'm playing GMod Tower.
Change the location of:
BB.RandomAimSpot = table.Random(BB.RandomAimSpots);

You could put it before:
targetspot = BB.RandomAimSpot;

Under the closestangle function. Will target the random spots really quickly, but would work.
Is there any way to change the aimbot to a different key/button? (Besides left mouse)
Quote Originally Posted by dayzplayer251 View Post
Is there any way to change the aimbot to a different key/button? (Besides left mouse)
bind +PREFIX_aimbot to any key you want and shut off mouse1 (or leave it on if you want). PREFIX being whatever it is set to in the beginning of the hack (bluebot by default). This question has been answered a million times.
where is the download??
On the first page.
Quote Originally Posted by vmtv2 View Post
its funny because all of the posts on this thread are about getting errors
keep up the grade a coding, blue kirby
Only errors this causes are user errors. Other than that, I haven't seen an error that wasn't something I caused.
How do I choose aimbot aim key?
Suggestion: Enemy, Friend option, Where you add players to enemy or friend option that are ingame, friend = aimbot will not aim at, enemy = aimbot will target
Posts 346–360 of 376 · Page 24 of 26
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us