исправь zoomdistance -- Bot helper by _null -- Forked by DrCoomer -- I want people to…
- User
исправь zoomdistance -- Bot helper by __null -- Forked by Dr_Coomer -- I want people to note that some comments were made by me, and some were made by the original author. I try to keep what is mine and what was by the original as coherent as possible, even if my rambalings themselfs are not. Such as this long useless comment. The unfinished medi gun and inventory manager is by the original auther and such. I am just possonate about multi-boxing, and when I found this lua I saw things that could be changed around or added, so that multiboxing can be easier and less of a slog of going to each client or computer and manually changing classes, loud out, or turning on and off features. -- Library by Lnx00
--Importing the library if UnloadLib then UnloadLib() end -- I really didnt want to use LnxLib since I wanted this script to be a single be all script. Some day I will make it that, but the times I tried I couldn't export what I needed out of lnxLib.lua
---@type boolean, lnxLib ---@diagnostic disable-next-line: assign-type-mismatch local libLoaded, lnxLib = pcall(require, "lnxLib") --lnxLib is marked as a warning in my text editor because it "haS ThE POsiBiliTY tO Be NiL" assert(libLoaded, "lnxLib not found, please install it!") if lnxLib == nil then return end -- To make the text editor stop be mad :) assert(lnxLib.GetVersion() >= 0.987, "lnxLib version is too old, please update it!")
local Math = lnxLib.Utils.Math local WPlayer = lnxLib.TF2.WPlayer
-- On-load presets: -- Trigger symbol. All commands should start with this symbol. local triggerSymbol = "!";
-- Process messages only from lobby owner. local lobbyOwnerOnly = true;
-- Check if we want to me mic spamming or not. local PlusVoiceRecord = false;
-- Global check for if we want to autovote local AutoVoteCheck = false;
-- Global check for if we want ZoomDistance to be enabled local ZoomDistanceCheck = true;
-- Global check for if we want Auto-melee to be enabled local AutoMeleeCheck = false;
-- Keep the table of command arguments outside of all functions, so we can just jack this when ever we need anymore than a single argument. local commandArgs;
-- Constants local friend = -1 local myFriends = steam.GetFriends() -- Recusively creating a table of the bot's steam friends causes lag and poor performans down to a single frame. Why? Answer: LMAObox local k_eTFPartyChatType_MemberChat = 1; local steamid64Ident = 76561197960265728; local partyChatEventName = "party_chat"; local playerJoinEventName = "player_spawn"; local availableClasses = { "scout", "soldier", "pyro", "demoman", "heavy", "engineer", "medic", "sniper", "spy", "random" }; local availableOnOffArguments = { "1", "0", "on", "off" }; local availableSpam = { "none", "branded", "custom" }; local availableSpamSecondsString = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60"} -- Made chatgpt write this lmao local medigunTypedefs = { default = { 29, 211, 663, 796, 805, 885, 894, 903, 912, 961, 970 }, quickfix = { 411 }, kritz = { 35 } };
- Assistant
- User
- Assistant