Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- openmenu = functionERROR_nil:show()
- end
- if inGame() then
- player_name = functionif managers.platform:presence() ~= "Playing" then
- return ""
- end
- for i_0,i_1 in pairs(managers.groupai:state():all_player_criminals()) do
- -- DECOMPILER ERROR: Confused about usage of registers, missing locals? Creating them
- local l_2_6 = i_1.unit
- if i_1.unit:network():peer():id() == ERROR_nil then
- return l_2_6:base():nick_name()
- end
- end
- return ""
- end
- if not performammo then
- performammo = function managers.chat:send_message(1, managers.network.account:username(), "Hoxtalicious!!!")
- end
- end
- if not performmedic then
- performmedic = function managers.chat:send_message(1, managers.network.account:username(), "aaaaar")
- end
- end
- if not performecm then
- performecm = function managers.chat:send_message(1, managers.network.account:username(), "squak")
- end
- end
- if not performsentry then
- performsentry = function managers.chat:send_message(1, managers.network.account:username(), "pirateperfection.com")
- end
- end
- if not performtrip then
- performtrip = function managers.chat:send_message(1, managers.network.account:username(), "mutiny")
- end
- end
- chatdatshit = function managers.chat:send_message(1, managers.network.account:username(), ERROR_nil)
- end
- end
- if inGame() and managers.platform:presence() == "Playing" and isHost() then
- if not ChatBot then
- ChatBot = class()
- end
- ChatBot.init = function ERROR_nil.allow = false
- ERROR_nil.u_name = managers.network.account:username()
- ERROR_nil.owner = managers.network.matchmake:game_owner_name()
- ERROR_nil.joke = {}
- end
- ChatBot.send_message = function ERROR_nil.message = ERROR_nil
- managers.chat:send_message(1, ERROR_nil.u_name, "Bender: " .. ERROR_nil)
- end
- ChatBot.get_unit = function for i_0,i_1 in pairs(managers.groupai:state():all_player_criminals()) do
- if i_1.unit:base():nick_name() == ERROR_nil then
- ERROR_nil._unit = managers.groupai:state():all_player_criminals()[i_0].unit
- end
- end
- return ERROR_nil._unit
- end
- ChatBot.spawn_ammo = function ERROR_nil._unit = ERROR_nil:get_unit(ERROR_nil)
- ERROR_nil._pos = ERROR_nil._unit:position()
- ERROR_nil._rot = ERROR_nil._unit:rotation()
- ERROR_nil._ammo_upgrade_lvl = managers.player:upgrade_level("ammo_bag", "ammo_increase")
- ERROR_nil._ammo = AmmoBagBase.spawn(ERROR_nil._pos, ERROR_nil._rot, ERROR_nil._ammo_upgrade_lvl)
- ERROR_nil:send_message(" more bullets dropped")
- end
- ChatBot.spawn_doctor = function ERROR_nil._unit = ERROR_nil:get_unit(ERROR_nil)
- ERROR_nil._pos = ERROR_nil._unit:position()
- ERROR_nil._rot = ERROR_nil._unit:rotation()
- ERROR_nil._doctor_upgrade_lvl = managers.player:upgrade_level("ammo_bag", "ammo_increase")
- ERROR_nil._doctor = DoctorBagBase.spawn(ERROR_nil._pos, ERROR_nil._rot, ERROR_nil._doctor_upgrade_lvl)
- ERROR_nil:send_message(" bandages dropped")
- end
- ChatBot.spawn_sentry = function ERROR_nil._unit = ERROR_nil:get_unit(ERROR_nil)
- ERROR_nil._pos = ERROR_nil._unit:position()
- ERROR_nil._rot = ERROR_nil._unit:rotation()
- ERROR_nil._ammo_multiplier = managers.player:upgrade_value("sentry_gun", "extra_ammo_multiplier", 1)
- ERROR_nil._armor_multiplier = managers.player:upgrade_value("sentry_gun", "armor_multiplier", 1)
- ERROR_nil._damage_multiplier = managers.player:upgrade_value("sentry_gun", "damage_multiplier", 1)
- ERROR_nil._selected_index = nil
- ERROR_nil._shield = managers.player:has_category_upgrade("sentry_gun", "shield")
- ERROR_nil._sentry_gun_unit = SentryGunBase.spawn(ERROR_nil._unit, ERROR_nil._pos, ERROR_nil._rot, ERROR_nil._ammo_multiplier, ERROR_nil._armor_multiplier, ERROR_nil._damage_multiplier)
- if ERROR_nil._sentry_gun_unit then
- managers.network:session():send_to_peers_synched("from_server_sentry_gun_place_result", managers.network:session():local_peer():id(), ERROR_nil._selected_index, ERROR_nil._sentry_gun_unit, ERROR_nil._sentry_gun_unit:movement()._rot_speed_mul, ERROR_nil._sentry_gun_unit:weapon()._setup.spread_mul, ERROR_nil._shield)
- end
- ERROR_nil:send_message("autoguns...")
- end
- ChatBot.spawn_trip = function ERROR_nil._unit = ERROR_nil:get_unit(ERROR_nil)
- ERROR_nil._from = ERROR_nil._unit:movement():m_head_pos()
- ERROR_nil._to = ERROR_nil._from + ERROR_nil._unit:movement():m_head_rot():y() * 200
- ERROR_nil._ray = ERROR_nil._unit:raycast("ray", ERROR_nil._from, ERROR_nil._to, "slot_mask", managers.slot:get_mask("trip_mine_placeables"), "ignore_unit", {})
- if ERROR_nil._ray then
- ERROR_nil._pos = ERROR_nil._ray.position
- ERROR_nil._sensor_upgrade = managers.player:has_category_upgrade("trip_mine", "sensor_toggle")
- ERROR_nil._rot = Rotation(ERROR_nil._ray.normal, math.UP)
- ERROR_nil.__unit = TripMineBase.spawn(ERROR_nil._pos, ERROR_nil._rot, ERROR_nil._sensor_upgrade)
- ERROR_nil.__unit:base():set_active(true, ERROR_nil._unit)
- ERROR_nil:send_message(" So pretty")
- end
- end
- ChatBot.spawn_ecm = function ERROR_nil._unit = ERROR_nil:get_unit(ERROR_nil)
- ERROR_nil._from = ERROR_nil._unit:movement():m_head_pos()
- ERROR_nil._to = ERROR_nil._from + ERROR_nil._unit:movement():m_head_rot():y() * 200
- ERROR_nil._ray = ERROR_nil._unit:raycast("ray", ERROR_nil._from, ERROR_nil._to, "slot_mask", managers.slot:get_mask("trip_mine_placeables"), "ignore_unit", {})
- if ERROR_nil._ray then
- ERROR_nil._pos = ERROR_nil._ray.position
- ERROR_nil._duration_multiplier = managers.player:upgrade_value("ecm_jammer", "duration_multiplier", 1) * managers.player:upgrade_value("ecm_jammer", "duration_multiplier_2", 1)
- ERROR_nil._rot = Rotation(ERROR_nil._ray.normal, math.UP)
- ERROR_nil.__unit = ECMJammerBase.spawn(ERROR_nil._pos, ERROR_nil._rot, ERROR_nil._duration_multiplier, ERROR_nil._unit)
- ERROR_nil.__unit:base():set_active(true)
- ERROR_nil:send_message(" Hold your ears")
- end
- end
- ChatBot.tell_joke = function ERROR_nil.joke[1] = "Which month has 28 days? All of them!"
- ERROR_nil.joke[2] = "Patient: Doctor, I have a pain in my eye whenever I drink tea.\nDoctor: Take the spoon out of the mug before you drink."
- ERROR_nil.joke[3] = "- What does a lion call an antelope? \n -Fast food."
- ERROR_nil.joke[4] = "I couldn't repair your brakes, so I made your horn louder."
- ERROR_nil.joke[5] = "What's a blonde's mating call?\nI think I'm drunk."
- ERROR_nil.joke[6] = "The man: God, how long is a million years?\nGod: To me, it's about a minute.\nThe man: God, how much is a million dollars?\nGod: To me it's a penny.\nThe man: God, may I have a penny?\nGod: Wait a minute."
- ERROR_nil.joke[7] = "JUST SHUT UP AND REBOOT!!"
- ERROR_nil.joke[8] = "My software never has bugs.\nIt just develops random features."
- ERROR_nil.joke[9] = "I would love to change the world, but they won't give me the source code."
- ERROR_nil.joke[10] = "The box said 'Requires Windows 95 or better'. So I installed LINUX."
- ERROR_nil.joke[11] = "How do I set a laser printer to stun?"
- ERROR_nil.joke[12] = "Bad command or file name! Go stand in the corner."
- ERROR_nil.joke[13] = "Who's General Failure & why's he reading my disk?"
- ERROR_nil.joke[14] = "Old programmers never die, they just give up their resources."
- ERROR_nil.joke[15] = "Hey! It compiles! Ship it!"
- ERROR_nil.joke[16] = "Windows 98 supports real multitasking - it can boot and crash simultaneously."
- ERROR_nil.joke[17] = "Mr. Worf scan that ship. \nAye Captain. 300 dpi?"
- ERROR_nil.joke[18] = "Smith & Wesson: \nThe Original Point And Click Interface."
- ERROR_nil.joke[19] = "Firewall : \nDo you want to place a motion detector on port 80?"
- ERROR_nil.joke[20] = "Please send all flames, trolls, and complaints to /dev/toilet."
- ERROR_nil.joke[21] = "We are experiencing system trouble \n-- do not adjust your terminal"
- ERROR_nil.joke[22] = "I'm sorry, our software is perfect. The problem must be you."
- ERROR_nil.joke[23] = "Ah, young webmaster... java leads to shockwave. \nShockwave leads to realaudio. \nAnd realaudio leads to suffering."
- ERROR_nil.joke[24] = "Earth is 98% full ... please delete anyone you can."
- ERROR_nil.joke[25] = "Warning! No processor found! \nPress any key to continue."
- ERROR_nil.joke[26] = "Failure is not an option. It comes bundled with your Microsoft product."
- ERROR_nil.joke[27] = "How are we supposed to hack your system if it's always down?"
- ERROR_nil.joke[28] = "Paypal : \nPlease enter your credit card number to continue."
- ERROR_nil.joke[29] = "All wiyht. Rho sritched mg kegtops awound?"
- ERROR_nil.joke[30] = "Squash one bug, you'll see ten new bugs popping."
- ERROR_nil.joke[31] = "1f u c4n r34d th1s u r34lly n33d t0 g37 l41d."
- ERROR_nil.joke[32] = "REALITY is for losers who don't play videogames."
- ERROR_nil.joke[33] = "REALITY - worst game ever."
- ERROR_nil.joke[34] = "They told me I was gullible...and I believed them."
- ERROR_nil.joke[35] = "Humans are born naked, wet and hungry. Then things get worse."
- ERROR_nil.joke[36] = "Gravity always gets me down."
- ERROR_nil.joke[37] = "I don't find it hard to meet expenses. They're everywhere."
- ERROR_nil.joke[38] = "If at first you don't succeed, destroy all evidence that you tried."
- ERROR_nil.joke[39] = "I started out with nothing and I still have most of it."
- ERROR_nil.joke[40] = "I don't suffer from insanity, I enjoy every minute of it."
- ERROR_nil.joke[41] = "Lottery: A tax on people who are bad at math."
- ERROR_nil.joke[42] = "I've had amnesia as long as I can remember."
- ERROR_nil.joke[43] = "Q: How do you relate to the Soviet government? A: Like a wife: part habit, part fear and wish to God I had a different one."
- ERROR_nil.joke[44] = "Q: What is 150 yards long and eats potatoes? \nA: A Moscow queue waiting to buy meat."
- ERROR_nil.joke[45] = "Q: How does every Russian self.joke start? \nA: By looking over your shoulder."
- ERROR_nil.joke[46] = "How do pirates know that they are pirates? \nThey think, therefore they ARRRR!!!!!"
- ERROR_nil.joke[47] = "Q: What do pirates and pimps have in common? \n A: They both say YO HO! and walk with a limp!"
- ERROR_nil.joke[48] = "Q: What's a horny pirate's worst nightmare? \nA: sunken chest with no booty!"
- ERROR_nil.joke[49] = "Why are pirates so mean? They just arrrr!"
- ERROR_nil.joke[50] = "Right now I'm having amnesia and deja vu at the same time! I think I've forgotten this before?"
- ERROR_nil.joke[51] = "What do you call two fat people having a chat? -- A heavy discussion"
- ERROR_nil.joke[52] = "I don't have an attitude problem. You have a perception problem."
- ERROR_nil.joke[53] = "Fat people are harder to kidnap."
- ERROR_nil.joke[54] = "How do you seduce a fat woman? Piece of cake."
- ERROR_nil.joke[55] = "I wondered why the frisbee was getting bigger, and then it hit me."
- ERROR_nil.joke[56] = "I used to like my neighbors, until they put a password on their Wi-Fi."
- ERROR_nil.joke[57] = "I am a nobody, nobody is perfect, therefore I am perfect."
- ERROR_nil.joke[58] = "It's kinda sad watching you attempt to fit your entire vocabulary into a sentence."
- ERROR_nil.joke[59] = "So you've changed your mind, does this one work any better?"
- ERROR_nil.joke[60] = "You are depriving some poor village of its idiot."
- ERROR_nil.joke[61] = "Learn from your parents' mistakes - use birth control!"
- ERROR_nil.joke[62] = "100,000 sperm calls and you were the fastest?"
- ERROR_nil.joke[63] = "Oh my God, look at you. Was anyone else hurt in the accident?"
- ERROR_nil.joke[64] = "Do you still love nature, despite what it did to you?"
- ERROR_nil.joke[65] = "Am I getting smart with you? How would you know?"
- ERROR_nil.joke[56] = "It's better to let someone think you are an idiot than to open your mouth and prove it."
- ERROR_nil.joke[57] = "Shock me, say something intelligent."
- ERROR_nil.joke[58] = "Why don't you slip into something more comfortable -- like a coma."
- ERROR_nil.joke[59] = "Well I could agree with you, but then we'd both be wrong."
- ERROR_nil.joke[60] = "You are proof that God has a sense of humor."
- ERROR_nil.joke[61] = "Roses are red violets are blue, God made me handsome, what happened to you?"
- ERROR_nil.joke[62] = "It looks like your face caught on fire and someone tried to put it out with a hammer."
- ERROR_nil.joke[63] = "If I wanted to kill myself I'd climb your ego and jump to your IQ."
- ERROR_nil.joke[64] = "Hey baby, are your pants reflective aluminum alloy? because i can see myself in them."
- ERROR_nil.joke[65] = "Hey baby, my name’s Vista, can I crash at your place tonight!"
- ERROR_nil.joke[66] = "I'll show you my source code if you show me yours."
- ERROR_nil.joke[67] = "You are making my floppy drive hard."
- ERROR_nil.joke[68] = "Youtube Myspace and I'll Google your Yahoo!"
- ERROR_nil.joke[69] = "If I were a function(), would you call me?"
- ERROR_nil.joke[70] = "Q: What is a robot’s favorite type of music? A: Heavy metal!"
- ERROR_nil.joke[71] = "I used to have a drug problem, but now I have more money."
- ERROR_nil.joke[72] = "Reality is a crutch for people who can’t handle drugs."
- ERROR_nil.joke[73] = "A friend of mine confused her valium with her birth control pills. She now has 14 kids – but doesn’t really care."
- ERROR_nil.joke[74] = "I love drug jokes, they crack me up!"
- ERROR_nil.joke[75] = "Q: What's the difference between a drug dealer and a prostitute? \nA: A prostitute can wash her crack and sell it again."
- ERROR_nil.joke[76] = "Q: How many stoners does it take to change a lightbulb? \nA: Four. One to hold the lightbulb and three to smoke until the room starts spinning."
- ERROR_nil.joke[77] = "My doctor told me to stay away from methamphetamine. So I bought a fifteen-foot straw."
- ERROR_nil.joke[78] = "Q: What do you have in a room full of tweakers? \nA: A complete set of teeth!"
- ERROR_nil.joke[79] = "Q: What's the best thing about being a meth addict? \nA: Only one sleep till christmas."
- ERROR_nil.joke[80] = "Q: What do you get when you take ecstasy and birth control pills? \nA: A trip without the kids."
- ERROR_nil.joke[81] = "Q: What were Princess Diana's favourite drugs? \nA: Speed & Smack."
- ERROR_nil.joke[82] = "In America you find party, in Russia party finds you."
- ERROR_nil.joke[83] = "Q: What's the difference between a pile of dead bodies and a Lamborghini? \nA: I don't have a Lamborghini in my garage."
- ERROR_nil.joke[84] = "I don't worry about terrorism, I was married for 12 years!"
- ERROR_nil.joke[85] = "Q: Whats the only positive thing about Kenya? \n A: HIV."
- ERROR_nil.joke[86] = "If your aunt had balls she would be your uncle!"
- ERROR_nil.joke[87] = "Q: Why is it hard to play the card game Uno with a group of Mexicans? \nA: Because they all take the green cards."
- ERROR_nil.joke[88] = "Q: What kind of bees make milk? \nA: Boobies."
- ERROR_nil.joke[89] = "My idea of balanced diet is beer in each hand."
- ERROR_nil.joke[90] = "I went to buy some camouflage trousers the other day but I couldn't find any.."
- ERROR_nil.joke[91] = "A horse went into a bar. The barman said......Why the long face?"
- ERROR_nil.joke[92] = "The road to success is always under CONSTRUCTION!"
- ERROR_nil.joke[93] = "Is it good if a vacuum really sucks?"
- ERROR_nil.joke[94] = "I will open the door and kick you out of the window!!!"
- ERROR_nil.joke[95] = "Research shows that 90% of men don't know how to use condom, these people are called DADS....."
- ERROR_nil.joke[96] = "I called your boyfriend gay and he hit me with his purse."
- ERROR_nil.joke[97] = "An Irishman walks out of a bar.... it COULD happen."
- ERROR_nil.joke[98] = "My wife and I took out life insurance on each other -- so now it's just a waiting game."
- ERROR_nil.joke[99] = "Don't drink and drive, might hit a bump and spill it."
- ERROR_nil.joke[100] = "Virginity is not dignity, but lack of opportunity."
- return ERROR_nil.joke[ERROR_nil]
- end
- ChatBot.spawn_taser = function for i_0,i_1 in pairs(managers.groupai:state():all_player_criminals()) do
- World:spawn_unit(Idstring("units/payday2/characters/ene_tazer_1/ene_tazer_1"), i_1.unit:position(), i_1.unit:rotation()):movement():set_character_anim_variables()
- end
- end
- ChatBot.spawn_bulld = function for i_0,i_1 in pairs(managers.groupai:state():all_player_criminals()) do
- World:spawn_unit(Idstring("units/payday2/characters/ene_bulldozer_2/ene_bulldozer_2"), i_1.unit:position(), i_1.unit:rotation()):movement():set_character_anim_variables()
- end
- end
- ChatBot.spawn_bags = function if not ERROR_nil then
- ERROR_nil = 1
- end
- for i_0,i_1 in pairs(managers.groupai:state():all_player_criminals()) do
- -- WARNING: pending registers. Declaring locals.
- local l_20_8 = i_1.unit:position()
- for i = 1, ERROR_nil do
- -- DECOMPILER ERROR: Confused about usage of registers, missing locals? Creating them
- local l_20_2 = {[1] = "money", [2] = "gold", [3] = "diamonds", [4] = "coke", [5] = "meth", [6] = "turret", [7] = "person", [8] = "cage_bag", [9] = "weapon", [10] = "weapons", [11] = "painting", [12] = "circuit", [13] = "lance_bag", [14] = "ammo"}
- managers.player:server_drop_carry(({[1] = "money", [2] = "gold", [3] = "diamonds", [4] = "coke", [5] = "meth", [6] = "turret", [7] = "person", [8] = "cage_bag", [9] = "weapon", [10] = "weapons", [11] = "painting", [12] = "circuit", [13] = "lance_bag", [14] = "ammo"})[math.random(1, 14)], (managers.money:get_bag_value(l_20_2[math.random(1, 14)])), nil, nil, 0, l_20_8, Rotation(math.UP, math.random() * 360), Vector3(0, 0, 10), 0)
- end
- end
- end
- ChatBot.spawnmeone = function -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- local l_21_7 = l_21_7
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- if not R6_PC4 or type(R9_PC8) ~= "number" then
- -- WARNING: pending registers. Declaring locals.
- local l_21_3 = ERROR_nil:find("(%S*)%s*(%S*)")
- for i_0,i_1 in pairs(R9_PC8) do
- -- WARNING: pending registers. Declaring locals.
- local l_21_13 = i_1.unit:position()
- for i = 1, l_21_7 do
- managers.player:server_drop_carry(ERROR_nil, (managers.money:get_bag_value(ERROR_nil)), nil, nil, 0, l_21_13, Rotation(math.UP, math.random() * 360), Vector3(0, 0, 5), 0)
- end
- end
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- local l_21_9 = l_21_9
- ERROR_nil:send_message(ERROR_nil .. " bag spawned ")
- -- WARNING: undefined locals caused missing assignments!
- -- WARNING: F->nextEndif is not empty. Unhandled nextEndif->addr = 17
- end
- ChatBot.find_message = function if ERROR_nil:find("System:") then
- return
- end
- if ERROR_nil:find("joke") then
- ERROR_nil:send_message(ERROR_nil:tell_joke(math.random(1, 100)))
- end
- if ERROR_nil:find("ammunition") or ERROR_nil:find("Hoxtalicious!!!") then
- ERROR_nil:spawn_ammo(ERROR_nil)
- end
- if ERROR_nil:find("sentry") or ERROR_nil:find("pirateperfection.com") then
- ERROR_nil:spawn_sentry(ERROR_nil)
- end
- if ERROR_nil:find("trip") or ERROR_nil:find("mine") or ERROR_nil:find("mutiny") then
- ERROR_nil:spawn_trip(ERROR_nil)
- end
- if ERROR_nil:find("fuck") then
- ERROR_nil:send_message("Rude talking makes me angry, only I can talk like that.")
- end
- if ERROR_nil:find("crap") then
- ERROR_nil:send_message("Rude talking makes me angry, only I can talk like that.")
- end
- if ERROR_nil:find("shit") then
- ERROR_nil:send_message("Rude talking makes me angry, only I can talk like that.")
- end
- if ERROR_nil:find("bitch") then
- ERROR_nil:send_message("Rude talking makes me angry, only I can talk like that.")
- end
- if ERROR_nil:find("suck") then
- ERROR_nil:send_message("Rude talking makes me angry, only I can talk like that.")
- end
- if ERROR_nil:find("doctor") or ERROR_nil:find("medic") or ERROR_nil:find("aaaaar") then
- ERROR_nil:spawn_doctor(ERROR_nil)
- end
- if ERROR_nil:find("ecm") or ERROR_nil:find("jammer") or ERROR_nil:find("squak") then
- ERROR_nil:spawn_ecm(ERROR_nil)
- end
- if ERROR_nil:find("wtf") or ERROR_nil:find("WTF") then
- ERROR_nil:send_message("WTF what?")
- end
- if ERROR_nil:find("gogo") then
- ERROR_nil:send_message("You all go without me! I'm gonna take one last look around, you know, for, uh, stuff to steal!")
- end
- if ERROR_nil:find("dont know") then
- ERROR_nil:send_message("Stupid humans..")
- end
- if ERROR_nil:find("011100100110000101101110011001000110111101101101011000100110000101100111") then
- ERROR_nil:spawn_bags()
- end
- if ERROR_nil:find("00110011011100100110000101101110011001000110111101101101011000100110000101100111") then
- ERROR_nil:spawn_bags("3")
- end
- if ERROR_nil:find("0011000100110000011100100110000101101110011001000110111101101101011000100110000101100111") then
- ERROR_nil:spawn_bags("10")
- end
- if ERROR_nil:find("01100111011011110110110001100100") then
- ERROR_nil:spawnmeone("gold", ERROR_nil)
- end
- if ERROR_nil:find("011100000110010101110010011100110110111101101110") then
- ERROR_nil:spawnmeone("person", ERROR_nil)
- end
- if ERROR_nil:find("0110110101101111011011100110010101111001") then
- ERROR_nil:spawnmeone("money", ERROR_nil)
- end
- if ERROR_nil:find("01101101011001010111010001101000") then
- ERROR_nil:spawnmeone("meth", ERROR_nil)
- end
- if ERROR_nil:find("011011000110000101101110011000110110010101011111011000100110000101100111") then
- ERROR_nil:spawnmeone("lance_bag", ERROR_nil)
- end
- if ERROR_nil:find("0110001101100001011001110110010101011111011000100110000101100111") then
- ERROR_nil:spawnmeone("cage_bag", ERROR_nil)
- end
- if ERROR_nil:find("01100001011011010110110101101111") then
- ERROR_nil:spawnmeone("ammo", ERROR_nil)
- end
- if ERROR_nil:find("011101110110010101100001011100000110111101101110") then
- ERROR_nil:spawnmeone("weapon", ERROR_nil)
- end
- if ERROR_nil:find("01110111011001010110000101110000011011110110111001110011") then
- ERROR_nil:spawnmeone("weapons", ERROR_nil)
- end
- if ERROR_nil:find("0110010001101001011000010110110101101111011011100110010001110011") then
- ERROR_nil:spawnmeone("diamonds", ERROR_nil)
- end
- if ERROR_nil:find("01100011011011110110101101100101") then
- ERROR_nil:spawnmeone("coke", ERROR_nil)
- end
- if ERROR_nil:find("0111000001100001011010010110111001110100011010010110111001100111") then
- ERROR_nil:spawnmeone("painting", ERROR_nil)
- end
- if ERROR_nil:find("01100011011010010111001001100011011101010110100101110100") then
- ERROR_nil:spawnmeone("circuit", ERROR_nil)
- end
- if ERROR_nil:find("011101000111010101110010011100100110010101110100") then
- ERROR_nil:spawnmeone("turret", ERROR_nil)
- end
- if ERROR_nil:find("0110010101101110011001110110100101101110011001010101111100110001") then
- ERROR_nil:spawnmeone("engine_01", ERROR_nil)
- end
- if ERROR_nil:find("01100101 01101110 011001110110100101101110011001010101111100110010") then
- ERROR_nil:spawnmeone("engine_02", ERROR_nil)
- end
- if ERROR_nil:find("01100101 01101110 011001110110100101101110011001010101111100110011") then
- ERROR_nil:spawnmeone("engine_03", ERROR_nil)
- end
- if ERROR_nil:find("01100101 01101110 011001110110100101101110011001010101111100110100") then
- ERROR_nil:spawnmeone("engine_04", ERROR_nil)
- end
- if ERROR_nil:find("01100101 01101110 011001110110100101101110011001010101111100110101") then
- ERROR_nil:spawnmeone("engine_05", ERROR_nil)
- end
- if ERROR_nil:find("01100101 01101110 011001110110100101101110011001010101111100110110") then
- ERROR_nil:spawnmeone("engine_06", ERROR_nil)
- end
- if ERROR_nil:find("01100101 01101110 011001110110100101101110011001010101111100110111") then
- ERROR_nil:spawnmeone("engine_07", ERROR_nil)
- end
- if ERROR_nil:find("01100101 01101110 011001110110100101101110011001010101111100111000") then
- ERROR_nil:spawnmeone("engine_08", ERROR_nil)
- end
- if ERROR_nil:find("01101111011100000110010101101110011100110110010101110011011000010110110101100101") then
- dofiles("trainer/assets/bankbusters.lua")
- end
- ERROR_nil._rnd = math.random(1, 5)
- end
- SecretAssignmentManager.update = function if not ERROR_nil._last_upd_t then
- ERROR_nil._last_upd_t = ERROR_nil
- ChatBot.mood = 0
- return
- end
- if ChatBot.mood >= 8 then
- ChatBot:spawn_bags()
- ChatBot:send_message("Thanks for the beer, hookers and cigars.\nHere's a present for you my friend.")
- ChatBot.mood = 3
- end
- if ChatBot.mood <= -5 and not ERROR_nil._cloak then
- ChatBot:spawn_taser()
- ChatBot:send_message("Damn you are annoying, I think I'll tase you a little.")
- ERROR_nil._cloak = true
- end
- if ChatBot.mood <= -10 and not ERROR_nil._bulld then
- ChatBot:spawn_bulld()
- ChatBot:send_message("Why you didn't learn with the tasers? \nWell here you go, say hello to my little friend bull.")
- ERROR_nil._bulld = true
- end
- end
- ChatGui.receive_message = function if not alive(ERROR_nil._panel) then
- return
- end
- if not ChatBot.allow then
- ChatBot:init()
- end
- ChatBot:find_message(ERROR_nil, ERROR_nil)
- ERROR_nil._panel:child("output_panel"):child("scroll_panel"):text({text = ERROR_nil .. ": " .. ERROR_nil, font = tweak_data.menu.pd2_small_font, font_size = tweak_data.menu.pd2_small_font_size, x = 0, y = 0, align = "left", halign = "left", vertical = "top", hvertical = "top", blend_mode = "normal", wrap = true, word_wrap = true, color = ERROR_nil, layer = 0}):set_range_color(0, utf8.len(ERROR_nil) + 1, ERROR_nil)
- -- DECOMPILER ERROR: Confused about usage of registers, missing locals? Creating them
- local l_24_6 = utf8.len(ERROR_nil) + 1
- ERROR_nil._panel:child("output_panel"):child("scroll_panel"):text({text = ERROR_nil .. ": " .. ERROR_nil, font = tweak_data.menu.pd2_small_font, font_size = tweak_data.menu.pd2_small_font_size, x = 0, y = 0, align = "left", halign = "left", vertical = "top", hvertical = "top", blend_mode = "normal", wrap = true, word_wrap = true, color = ERROR_nil, layer = 0}):set_range_color(l_24_6, utf8.len(ERROR_nil._panel:child("output_panel"):child("scroll_panel"):text({text = ERROR_nil .. ": " .. ERROR_nil, font = tweak_data.menu.pd2_small_font, font_size = tweak_data.menu.pd2_small_font_size, x = 0, y = 0, align = "left", halign = "left", vertical = "top", hvertical = "top", blend_mode = "normal", wrap = true, word_wrap = true, color = ERROR_nil, layer = 0}):text()), Color.white)
- ERROR_nil._panel:child("output_panel"):child("scroll_panel"):text({text = ERROR_nil .. ": " .. ERROR_nil, font = tweak_data.menu.pd2_small_font, font_size = tweak_data.menu.pd2_small_font_size, x = 0, y = 0, align = "left", halign = "left", vertical = "top", hvertical = "top", blend_mode = "normal", wrap = true, word_wrap = true, color = ERROR_nil, layer = 0}):set_h(R15_PC81)
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- ERROR_nil._panel:child("output_panel"):child("scroll_panel"):rect(R15_PC81):set_h(R16_PC96)
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- table.insert(R15_PC81, R16_PC96)
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- ERROR_nil:_layout_output_panel()
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- if not ERROR_nil._focus then
- ERROR_nil._panel:child("output_panel"):stop()
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- ERROR_nil._panel:child("output_panel"):animate(R16_PC96, ERROR_nil._panel:child("output_panel"):alpha())
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- -- DECOMPILER ERROR: Overwrote pending register. Missing locals? Creating them
- ERROR_nil._panel:child("output_panel"):animate(R16_PC96)
- end
- -- WARNING: undefined locals caused missing assignments!
- end
- end
- if not callspawnbagrootmenu then
- callspawnbagrootmenu = functionopenmenu(spawnbagrootmenu)
- end
- end
- if not callchangebagamount then
- callchangebagamount = functionopenmenu(bagamountmenu)
- end
- end
- if not callchangereceiver then
- callchangereceiver = functionopenmenu(receivermenu)
- end
- end
- if not callspecials then
- callspecials = functionopenmenu(specialsmenu)
- end
- end
- if not bagamountmenuopt then
- bagamountmenuopt = {
- {text = "Back", callback = callspawnbagrootmenu},
- {text = "", is_cancel_button = true},
- {text = "50", callback = changebagamount, data = 50},
- {text = "10", callback = changebagamount, data = 1},
- {text = "9", callback = changebagamount, data = 1},
- {text = "8", callback = changebagamount, data = 1},
- {text = "7", callback = changebagamount, data = 1},
- {text = "6", callback = changebagamount, data = 1},
- {text = "5", callback = changebagamount, data = 1},
- {text = "4", callback = changebagamount, data = 1},
- {text = "3", callback = changebagamount, data = 1},
- {text = "2", callback = changebagamount, data = 1},
- {text = "1", callback = changebagamount, data = 1}}
- end
- if not bagamountmenu then
- bagamountmenu = SimpleMenu:new("CHANGE AMOUNTS", "..amount of bags to spawn.", bagamountmenuopt)
- end
- if not receivermenuopt then
- receivermenuopt = {
- {text = "Back", callback = callspawnbagrootmenu},
- {text = "", is_cancel_button = true},
- {text = "Team", callback = changereceiver, data = "team"},
- {},
- {text = "Player 4", callback = changereceiver, data = 4},
- {text = "Player 3", callback = changereceiver, data = 3},
- {text = "Player 2", callback = changereceiver, data = 2},
- {text = "Player 1", callback = changereceiver, data = 1},
- {},
- {text = "" .. player_name(4) .. "", callback = changereceiver, data = 4},
- {text = "" .. player_name(3) .. "", callback = changereceiver, data = 3},
- {text = "" .. player_name(2) .. "", callback = changereceiver, data = 2},
- {text = "" .. player_name(1) .. "", callback = changereceiver, data = 1}}
- end
- if not receivermenu then
- receivermenu = SimpleMenu:new("CHANGE RECEIVER(S)", "...who receives the booty?", receivermenuopt)
- end
- if not specialsopt then
- specialsopt = {
- {text = "Back", callback = callspawnbagrootmenu},
- {text = "", is_cancel_button = true},
- {chatdatshit; text = "Drop random bag on team", data = "011100100110000101101110011001000110111101101101011000100110000101100111"},
- {},
- {text = "Open depositboxes", callback = chatdatshit, data = "01101111011100000110010101101110011100110110010101110011011000010110110101100101"},
- {text = "Make me smile", callback = chatdatshit, data = "joke"}}
- end
- if not specialsmenu then
- specialsmenu = SimpleMenu:new("BEST OF BENDER", "...bender upgrades v0.420", specialsopt)
- end
- if inGame() then
- if not spawnbagopt then
- spawnbagopt = {
- {text = "Exit", is_cancel_button = true},
- {},
- {text = "Magic tricks", callback = callspecials},
- {text = "Spawn random bag", callback = chatdatshit, data = "011100100110000101101110011001000110111101101101011000100110000101100111"},
- {},
- {text = "Turret engine part", callback = chatdatshit, data = "011101000111010101110010011100100110010101110100"},
- {text = "Fusion engine", callback = chatdatshit, data = "0110010101101110011001110110100101101110011001010101111100110001"},
- {text = "Thermal drill", callback = chatdatshit, data = "011011000110000101101110011000110110010101011111011000100110000101100111"},
- {text = "Cage parts", callback = chatdatshit, data = "0110001101100001011001110110010101011111011000100110000101100111"},
- {text = "FBI server", callback = chatdatshit, data = "01100011011010010111001001100011011101010110100101110100"},
- {text = "Bodybag", callback = chatdatshit, data = "011100000110010101110010011100110110111101101110"},
- {text = "Painting", callback = chatdatshit, data = "0111000001100001011010010110111001110100011010010110111001100111"},
- {},
- {text = "Jewellery", callback = chatdatshit, data = "0110010001101001011000010110110101101111011011100110010001110011"},
- {text = "Weapons", callback = chatdatshit, data = "01110111011001010110000101110000011011110110111001110011"},
- {text = "Weapon", callback = chatdatshit, data = "011101110110010101100001011100000110111101101110"},
- {text = "Money", callback = chatdatshit, data = "0110110101101111011011100110010101111001"},
- {text = "Coke", callback = chatdatshit, data = "01100011011011110110101101100101"},
- {text = "Meth", callback = chatdatshit, data = "01101101011001010111010001101000"},
- {text = "Gold", callback = chatdatshit, data = "01100111011011110110110001100100"},
- {text = "Ammo", callback = chatdatshit, data = "01100001011011010110110101101111"}}
- end
- end
- if not spawnbagrootmenu and not spawnbagrootmenu then
- spawnbagrootmenu = SimpleMenu:new("BENDER REMOTE", "What you want?", spawnbagopt)
- end
- spawnbagrootmenu:show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement