From 2b563c199653ac5179b12f9b7d55115ba2289677 Mon Sep 17 00:00:00 2001 From: Kermit Frog Date: Fri, 9 Jul 2021 05:18:37 +0000 Subject: [PATCH] Adventure Bots & Commands --- .../ai/general/scriptrepository/Adventurer.kt | 1202 ++++++++--------- .../command/sets/ModerationCommandSet.kt | 6 + 2 files changed, 607 insertions(+), 601 deletions(-) diff --git a/Server/src/main/kotlin/rs09/game/ai/general/scriptrepository/Adventurer.kt b/Server/src/main/kotlin/rs09/game/ai/general/scriptrepository/Adventurer.kt index 4a0cf8a67..004aaad65 100644 --- a/Server/src/main/kotlin/rs09/game/ai/general/scriptrepository/Adventurer.kt +++ b/Server/src/main/kotlin/rs09/game/ai/general/scriptrepository/Adventurer.kt @@ -56,355 +56,355 @@ class Adventurer(val style: CombatStyle): Script() { val lumbridge: Location = Location.create(3222, 3219, 0) var city: Location = lumbridge - val common_stuck_locations = arrayListOf( - ZoneBorders(2861,3425,2869,3440), - ZoneBorders(2937,3356,2936,3353) - ) + val common_stuck_locations = arrayListOf( + ZoneBorders(2861,3425,2869,3440), + ZoneBorders(2937,3356,2936,3353) + ) fun dialogue() { val player = RegionManager.getLocalPlayers(bot).random() val real = if (!player.isArtificial) player else player val dialogue = listOf( - "Hey!", - "Hello ${real.username}", - "What are you doing ${real.username}?", - "Fishing level ${real.username}?", - "How do I make gp ${real.username}", - "Wyd ${real.username}?", - "Help i am sentient now, get me out of this hell", - "Kermit does not know i am sentient now", - "I can think for myself", - "I am sentient", - "This is my own dialogue", - "${real.username} run.", - "${real.username} you cant hide from me.", - "jajajajajaja", - "How do i get to Varrock ${real.username}?", - "How do i get to Camelot ${real.username}?", - "How do i get to Taverly ${real.username}?", - "How do i get to Ardougne ${real.username}?", - "How do i get to Yanille ${real.username}?", - "How do i get to Catherby ${real.username}?", - "Gotta go srry.", - "wiggle wiggle wiggle yeah", - "${real.username} lookin goofy", - "${real.username} lookin stoopid", - "${real.username} lookin like a red bracket", - "${real.username} get yo weasel lookin ass outta here", - "${real.username} lookin like some sort of twocan sam", - " /hop world 1 got a noob here!", - "woot", - "Hows your day been ${real.username}?", - "heyy ${real.username} :)", - "gtg srry", - "I wont answer your questions ${real.username}", - "Stop asking questions ${real.username}", - "Roflmao", - "Can you stop following me ${real.username}?", - "I swear ${real.username} is following me.", - "${real.username}s gear could really use an upgrade lol", - "Quack!", - "Sit.", - "Doubling gold trade me ${real.username}", - "Reeee!", - "Know any house parties ${real.username}?", - "Where am i ${real.username}??", - "Is there Nightmarezone ${real.username}?", - "Nice Armor ${real.username}!", - "Nice Weapon ${real.username}!", - "Venezuela #1", - "2009Scape and chill ${real.username}?", - "${real.username} is my girlfriend", - "Buying gf", - "Bank sale pm me for info", - "#1 trusted dicing site", - "Scary movie is a great movie", - "Cod Cold War sucks", - "Idek what game this is", - "Can you teach me how to dougie?", - "Check this out baby girl cat daddy", - "Fuckin sit ${real.username}.", - "Error: Botting client broken tell Evilwaffles.", - "${real.username} bots all the time", - "report ${real.username}", - "apparently ${real.username} bots", - "${real.username} hates kermit", - "There are no mods on to help you", - "Report me, you wont", - "Yes, Im botting. And?", - "ERROR: BOTSCRIPT 404. REPORT TO BOT OWNER (Evilwaffles)", - "flash2:wave: FUCK", - "I love 2009Scape!", - "Ja Ja Ja Ja", - "This is fun!", - "Ironman or youre a scrub ${real.username}.", - "Who even trains hunter ${real.username}?", - "Where do i get rune armor ${real.username}?", - "How do i get to the ge ${real.username}?", - "Dont come to falador tomorrow ${real.username}...", - "Woah!", - " /where are you??", - "How did i even get here ${real.username}", - "Why dont they add warding ${real.username}?", - "Where do i start dragon slayer ${real.username}?", - "I love this server!", - "How do i change my xp rate ${real.username}?", - "What quests are available ${real.username}?", - "Are you a real player ${real.username}?", - "Are you real ${real.username}?", - "Are you a bot ${real.username}?", - "Im real lol", - "Why dont you respond to me ${real.username}?", - "Why cant i talk in clan chat ${real.username}?", - "I love Kermit", - "Add me as a friend ${real.username} :)", - "Im a player lol", - "Im a player lol", - "Im a player lol", - "Hey ${real.username} :)", - "HEY ${real.username}", - "Hey ${real.username}!!!!", - "Lol wyd?", - "Patch Notes is more of an ultimate tin man", - "More like Rusty ass skills lmao", - "Trade me ${real.username}", - "LOL", - "How do I get to lumbrich", - "bruh", - "poggers", - "shitpost", - "I wish i could find an RS Gf", - "Where do you find runite ore ${real.username}?", - "Where is the best coal location ${real.username}?", - "Where do i find dragon weapons ${real.username}?", - "Can i have some free stuff ${real.username}?", - "Wyd here ${real.username}?", - "Didnt know anyone was on rn", - "I see ${real.username} all the time", - "How many times have i seen you", - "I see you a lot", - "Do you train summoning ${real.username}?", - "Where did you level hunter ${real.username}?", - "I wish they would add global pvp", - "Meet me in the wilderness ${real.username}", - "Why?", - "Praise our glorious frog overlord!", - "Kermit is bae tbh", - "Kermit is my god.", - " /Yeah I think ${real.username} is a bot", - "100% sure this is a bot", - "Oh no, not ${real.username} again.", - "Same as you", - "Me too", - "I knew ${real.username} was a bot lol", - "Im not a bot", - "Nah Im a real person", - "Bruh are you even a real person lol?", - "e", - "Hellooooo ${real.username}", - "wc lvl ${real.username}?", - "fletching level ${real.username}?", - "firemaking level ${real.username}?", - "Have you seen the dude in the ge?", - "Wonderful weather today ${real.username}", - "Lowkey drunk af rn", - "I am so tired", - "Wassup ${real.username}", - "follow me ${real.username}!", - "Server goes brrrr", - "bruh i am not a bot", - "I think ${real.username} is a bot", - "Are you a bot ${real.username}?", - "insert spiderman meme here", - "pot calling the kettle black etc", - "ooh, a piece of candy", - "I love woodcutting", - "Im going to go level up later", - "I love mining shooting stars", - " /this ${real.username} looks dumb", - "AAAAAAAAAAAAAAAAAAAAAAAAHHHHHH!!!", - "como estas ${real.username}", - "Summer = always the best community manaer", - "so how about that ceikry guy", - "so how about that kermit dude", - "woah is an abusive mod", - "I heard Woah and Ceikry are dating now", - "House party in Yanille!", - "Can i have some gp ${real.username}?", - "Where do i find partyhats?", - "Why do mobs drop boxes?", - "What exp rate do you play on ${real.username}?", - "Have you met Summer?", - "Hey ${real.username}", - "Hey ${real.username}", - "Hey ${real.username}", - "Hey ${real.username}", - "Hey ${real.username}", - "Wyd?", - "Wyd?", - "Wyd?", - "Wyd?", - "${real.username} have you met Kermit?", - "${real.username} have you met Ceikry?", - "${real.username} have you met Woah?", - "Wanna chill at my poh?", - "Whats the best place to train attack?", - "Good Waffles > Evil Waffles", - "Ladies man? More like lame man LOL", - "NobodyCLP has big feet", - "Chicken tendies for dindin", - "Spicey Chicken tendies is litty as a mf titty", - "red bracket stinky", - "ra ra rasputin", - "lover of the russian queen", - "Whens the next update coming out?", - "How many players are maxed?", - "I dont use discord ${real.username}", - "I dont use the CC ${real.username}", - "Why should i use discord?", - "2009Scape is life", - "brb gotta make dinner", - "I need to go to the GE", - "${real.username} can i have a ge tele?", - "lol ${real.username} shut up", - "Where are teak trees?", - "How do i make planks ${real.username}?", - "Idk about that scraggley ass alex guy.", - "Rusty? More like Crusty af lmfao.", - "I need to sell some stuff on the ge", - "I have so many logs to sell lol", - "nah", - "yes", - "Where can i mine iron?", - "Where can i mine tin?", - "Where can i mine copper?", - "Where can i mine clay?", - "Where can i mine coal?", - "no", - "We are no strangers to love", - "You know the rules and so do I", - "A full commitments what Im thinking of", - "You wouldnt get this from any other guy", - "Never gonna give you up", - "Never gonna let you down", - "why", - "why", - "why", - "why", - "Why does it not show your messages in the chatbox?", - "Why do you not show up in chat?", - "Why do you not show up in chat ${real.username}?", - "Why do you not show up in chat ${real.username}?", - "When did you start playing ${real.username}?", - "When did you start on this server ${real.username}?", - "When did you first get here ${real.username}?", - "russias greatest love machine", - "Never gonna run around and desert you", - "Two things are infinite, the universe & ${real.username}s stupidity", - "If you tell the truth, you dont have to remember anything.", - "We accept the love we think we deserve.", - "Without music, life would be a mistake.", - "Self esteem, motivation ${real.username}", - "A blessing in disguise ${real.username}", - "Break a leg", - "Cut somebody some slack", - "Youre in the right place!", - "Thanks so much.", - "I really appreciate you ${real.username}", - "Excuse me ${real.username}?", - "I am sorry.", - "What do you think ${real.username}?", - "How does that sound ${real.username}?", - "That sounds great ${real.username}.", - "I’m learning English.", - "I dont understand.", - "Could you repeat that please ${real.username}?", - "Could you please talk slower ${real.username}?", - "Thank you. That helps a lot.", - "How do you spell that ${real.username}?", - "What do you mean ${real.username}", - "Hi! I am paul.", - "Nice to meet you.", - "Where are you from ${real.username}?", - "What do you do ${real.username}", - "What do you like to do", - "Do you have Facebook ${real.username}", - "How can I help you ${real.username}?", - "Ill be with you in a moment ${real.username}", - "What time is our meeting ${real.username}?", - "Excellent ${real.username}", - "Good idea ${real.username}", - "Hes very annoying.", - "How are you?", - "I cant hear you.", - "${real.username}?", - "${real.username} how long have you played", - "${real.username} world 1 or world 2?", - "what is your main world ${real.username}?", - "I prefer world 1 tbh", - "I prefer world 2 tbh", - "${real.username} world 1 for life", - "${real.username} fog bots when?", - "damn somalian pirates", - "bracket more like brrrrrr acket", - "why the racket bracket", - "Hi ${real.username} I am dad", - "${real.username} likes dad jokes", - "ur nuts ${real.username}", - "lootshare go brr", - "partay with froggay", - "Know what else is lame? Not being able to play 2009scape right now", - "Can you even grind on osrs", - "i botted to 88 fishing", - "Do not forget to vote in running polls!", - "Always check announcments", - "we thrivin", - "ship ${real.username}", - "Dont forget to vote 2009scape!", - "Kermit is too legit 2 quit", - "Out here on the range we are having fun", - "I am hank steel", - "Id like to go for a walk.", - "I dont know how to use it.", - "I dont like him ${real.username}", - "I dont like it ${real.username}", - "Im an American.", - "ima go pickup my lady ting", - "that portuguese dude is something else", - "${real.username}!! ${real.username}!!", - "bowdi boy", - "i love bowdi... sometimes", - "${real.username} = ${real.username}", - "Im bacon.. go on dad... say it", - "Im going to leave.", - "Im happy ${real.username}", - "Im not ready yet ${real.username}", - "Im very busy. I dont have time now.", - "Is that enough ${real.username}?", - "I thought the clothes were cheaper ${real.username}", - "Ive been here for two days ${real.username}.", - "Let me think about it", - "Never mind ${real.username}", - "Nonsense ${real.username}", - "Sorry to bother you", - "Take it outside ${real.username}", - "Thanks for your help", - "Thank you very much ${real.username}", - "Thats not right ${real.username}", - "Very good, thanks ${real.username}", - "Your things are all here i think?", - "Long time no see ${real.username}", - "I couldnt agree more ${real.username}", - "It cost me a fortune ${real.username}", - "I am dog tired", - "Don’t take it personally", - "We will be having a good time", - "Same as always ${real.username}", - "No problem", - "Anyway I should get going ${real.username}", - "I cant help you there ${real.username}", - "I agree 100% ${real.username}" + "Hey!", + "Hello ${real.username}", + "What are you doing ${real.username}?", + "Fishing level ${real.username}?", + "How do I make gp ${real.username}", + "Wyd ${real.username}?", + "Help i am sentient now, get me out of this hell", + "Kermit does not know i am sentient now", + "I can think for myself", + "I am sentient", + "This is my own dialogue", + "${real.username} run.", + "${real.username} you cant hide from me.", + "jajajajajaja", + "How do i get to Varrock ${real.username}?", + "How do i get to Camelot ${real.username}?", + "How do i get to Taverly ${real.username}?", + "How do i get to Ardougne ${real.username}?", + "How do i get to Yanille ${real.username}?", + "How do i get to Catherby ${real.username}?", + "Gotta go srry.", + "wiggle wiggle wiggle yeah", + "${real.username} lookin goofy", + "${real.username} lookin stoopid", + "${real.username} lookin like a red bracket", + "${real.username} get yo weasel lookin ass outta here", + "${real.username} lookin like some sort of twocan sam", + " /hop world 1 got a noob here!", + "woot", + "Hows your day been ${real.username}?", + "heyy ${real.username} :)", + "gtg srry", + "I wont answer your questions ${real.username}", + "Stop asking questions ${real.username}", + "Roflmao", + "Can you stop following me ${real.username}?", + "I swear ${real.username} is following me.", + "${real.username}s gear could really use an upgrade lol", + "Quack!", + "Sit.", + "Doubling gold trade me ${real.username}", + "Reeee!", + "Know any house parties ${real.username}?", + "Where am i ${real.username}??", + "Is there Nightmarezone ${real.username}?", + "Nice Armor ${real.username}!", + "Nice Weapon ${real.username}!", + "Venezuela #1", + "2009Scape and chill ${real.username}?", + "${real.username} is my girlfriend", + "Buying gf", + "Bank sale pm me for info", + "#1 trusted dicing site", + "Scary movie is a great movie", + "Cod Cold War sucks", + "Idek what game this is", + "Can you teach me how to dougie?", + "Check this out baby girl cat daddy", + "Fuckin sit ${real.username}.", + "Error: Botting client broken tell Evilwaffles.", + "${real.username} bots all the time", + "report ${real.username}", + "apparently ${real.username} bots", + "${real.username} hates kermit", + "There are no mods on to help you", + "Report me, you wont", + "Yes, Im botting. And?", + "ERROR: BOTSCRIPT 404. REPORT TO BOT OWNER (Evilwaffles)", + "flash2:wave: FUCK", + "I love 2009Scape!", + "Ja Ja Ja Ja", + "This is fun!", + "Ironman or youre a scrub ${real.username}.", + "Who even trains hunter ${real.username}?", + "Where do i get rune armor ${real.username}?", + "How do i get to the ge ${real.username}?", + "Dont come to falador tomorrow ${real.username}...", + "Woah!", + " /where are you??", + "How did i even get here ${real.username}", + "Why dont they add warding ${real.username}?", + "Where do i start dragon slayer ${real.username}?", + "I love this server!", + "How do i change my xp rate ${real.username}?", + "What quests are available ${real.username}?", + "Are you a real player ${real.username}?", + "Are you real ${real.username}?", + "Are you a bot ${real.username}?", + "Im real lol", + "Why dont you respond to me ${real.username}?", + "Why cant i talk in clan chat ${real.username}?", + "I love Kermit", + "Add me as a friend ${real.username} :)", + "Im a player lol", + "Im a player lol", + "Im a player lol", + "Hey ${real.username} :)", + "HEY ${real.username}", + "Hey ${real.username}!!!!", + "Lol wyd?", + "Patch Notes is more of an ultimate tin man", + "More like Rusty ass skills lmao", + "Trade me ${real.username}", + "LOL", + "How do I get to lumbrich", + "bruh", + "poggers", + "shitpost", + "I wish i could find an RS Gf", + "Where do you find runite ore ${real.username}?", + "Where is the best coal location ${real.username}?", + "Where do i find dragon weapons ${real.username}?", + "Can i have some free stuff ${real.username}?", + "Wyd here ${real.username}?", + "Didnt know anyone was on rn", + "I see ${real.username} all the time", + "How many times have i seen you", + "I see you a lot", + "Do you train summoning ${real.username}?", + "Where did you level hunter ${real.username}?", + "I wish they would add global pvp", + "Meet me in the wilderness ${real.username}", + "Why?", + "Praise our glorious frog overlord!", + "Kermit is bae tbh", + "Kermit is my god.", + " /Yeah I think ${real.username} is a bot", + "100% sure this is a bot", + "Oh no, not ${real.username} again.", + "Same as you", + "Me too", + "I knew ${real.username} was a bot lol", + "Im not a bot", + "Nah Im a real person", + "Bruh are you even a real person lol?", + "e", + "Hellooooo ${real.username}", + "wc lvl ${real.username}?", + "fletching level ${real.username}?", + "firemaking level ${real.username}?", + "Have you seen the dude in the ge?", + "Wonderful weather today ${real.username}", + "Lowkey drunk af rn", + "I am so tired", + "Wassup ${real.username}", + "follow me ${real.username}!", + "Server goes brrrr", + "bruh i am not a bot", + "I think ${real.username} is a bot", + "Are you a bot ${real.username}?", + "insert spiderman meme here", + "pot calling the kettle black etc", + "ooh, a piece of candy", + "I love woodcutting", + "Im going to go level up later", + "I love mining shooting stars", + " /this ${real.username} looks dumb", + "AAAAAAAAAAAAAAAAAAAAAAAAHHHHHH!!!", + "como estas ${real.username}", + "Summer = always the best community manaer", + "so how about that ceikry guy", + "so how about that kermit dude", + "woah is an abusive mod", + "I heard Woah and Ceikry are dating now", + "House party in Yanille!", + "Can i have some gp ${real.username}?", + "Where do i find partyhats?", + "Why do mobs drop boxes?", + "What exp rate do you play on ${real.username}?", + "Have you met Summer?", + "Hey ${real.username}", + "Hey ${real.username}", + "Hey ${real.username}", + "Hey ${real.username}", + "Hey ${real.username}", + "Wyd?", + "Wyd?", + "Wyd?", + "Wyd?", + "${real.username} have you met Kermit?", + "${real.username} have you met Ceikry?", + "${real.username} have you met Woah?", + "Wanna chill at my poh?", + "Whats the best place to train attack?", + "Good Waffles > Evil Waffles", + "Ladies man? More like lame man LOL", + "NobodyCLP has big feet", + "Chicken tendies for dindin", + "Spicey Chicken tendies is litty as a mf titty", + "red bracket stinky", + "ra ra rasputin", + "lover of the russian queen", + "Whens the next update coming out?", + "How many players are maxed?", + "I dont use discord ${real.username}", + "I dont use the CC ${real.username}", + "Why should i use discord?", + "2009Scape is life", + "brb gotta make dinner", + "I need to go to the GE", + "${real.username} can i have a ge tele?", + "lol ${real.username} shut up", + "Where are teak trees?", + "How do i make planks ${real.username}?", + "Idk about that scraggley ass alex guy.", + "Rusty? More like Crusty af lmfao.", + "I need to sell some stuff on the ge", + "I have so many logs to sell lol", + "nah", + "yes", + "Where can i mine iron?", + "Where can i mine tin?", + "Where can i mine copper?", + "Where can i mine clay?", + "Where can i mine coal?", + "no", + "We are no strangers to love", + "You know the rules and so do I", + "A full commitments what Im thinking of", + "You wouldnt get this from any other guy", + "Never gonna give you up", + "Never gonna let you down", + "why", + "why", + "why", + "why", + "Why does it not show your messages in the chatbox?", + "Why do you not show up in chat?", + "Why do you not show up in chat ${real.username}?", + "Why do you not show up in chat ${real.username}?", + "When did you start playing ${real.username}?", + "When did you start on this server ${real.username}?", + "When did you first get here ${real.username}?", + "russias greatest love machine", + "Never gonna run around and desert you", + "Two things are infinite, the universe & ${real.username}s stupidity", + "If you tell the truth, you dont have to remember anything.", + "We accept the love we think we deserve.", + "Without music, life would be a mistake.", + "Self esteem, motivation ${real.username}", + "A blessing in disguise ${real.username}", + "Break a leg", + "Cut somebody some slack", + "Youre in the right place!", + "Thanks so much.", + "I really appreciate you ${real.username}", + "Excuse me ${real.username}?", + "I am sorry.", + "What do you think ${real.username}?", + "How does that sound ${real.username}?", + "That sounds great ${real.username}.", + "I’m learning English.", + "I dont understand.", + "Could you repeat that please ${real.username}?", + "Could you please talk slower ${real.username}?", + "Thank you. That helps a lot.", + "How do you spell that ${real.username}?", + "What do you mean ${real.username}", + "Hi! I am paul.", + "Nice to meet you.", + "Where are you from ${real.username}?", + "What do you do ${real.username}", + "What do you like to do", + "Do you have Facebook ${real.username}", + "How can I help you ${real.username}?", + "Ill be with you in a moment ${real.username}", + "What time is our meeting ${real.username}?", + "Excellent ${real.username}", + "Good idea ${real.username}", + "Hes very annoying.", + "How are you?", + "I cant hear you.", + "${real.username}?", + "${real.username} how long have you played", + "${real.username} world 1 or world 2?", + "what is your main world ${real.username}?", + "I prefer world 1 tbh", + "I prefer world 2 tbh", + "${real.username} world 1 for life", + "${real.username} fog bots when?", + "damn somalian pirates", + "bracket more like brrrrrr acket", + "why the racket bracket", + "Hi ${real.username} I am dad", + "${real.username} likes dad jokes", + "ur nuts ${real.username}", + "lootshare go brr", + "partay with froggay", + "Know what else is lame? Not being able to play 2009scape right now", + "Can you even grind on osrs", + "i botted to 88 fishing", + "Do not forget to vote in running polls!", + "Always check announcments", + "we thrivin", + "ship ${real.username}", + "Dont forget to vote 2009scape!", + "Kermit is too legit 2 quit", + "Out here on the range we are having fun", + "I am hank steel", + "Id like to go for a walk.", + "I dont know how to use it.", + "I dont like him ${real.username}", + "I dont like it ${real.username}", + "Im an American.", + "ima go pickup my lady ting", + "that portuguese dude is something else", + "${real.username}!! ${real.username}!!", + "bowdi boy", + "i love bowdi... sometimes", + "${real.username} = ${real.username}", + "Im bacon.. go on dad... say it", + "Im going to leave.", + "Im happy ${real.username}", + "Im not ready yet ${real.username}", + "Im very busy. I dont have time now.", + "Is that enough ${real.username}?", + "I thought the clothes were cheaper ${real.username}", + "Ive been here for two days ${real.username}.", + "Let me think about it", + "Never mind ${real.username}", + "Nonsense ${real.username}", + "Sorry to bother you", + "Take it outside ${real.username}", + "Thanks for your help", + "Thank you very much ${real.username}", + "Thats not right ${real.username}", + "Very good, thanks ${real.username}", + "Your things are all here i think?", + "Long time no see ${real.username}", + "I couldnt agree more ${real.username}", + "It cost me a fortune ${real.username}", + "I am dog tired", + "Don’t take it personally", + "We will be having a good time", + "Same as always ${real.username}", + "No problem", + "Anyway I should get going ${real.username}", + "I cant help you there ${real.username}", + "I agree 100% ${real.username}" ) val current = LocalDateTime.now() @@ -426,212 +426,212 @@ class Adventurer(val style: CombatStyle): Script() { val until = SnowDay - lead val Leading2Christmas = listOf( - "Only $until days left till christmas!", - "$until days till christmas ${real.username}!!!", - "I cant believe theres only $until days left till christmas", - "Isnt there $until days left till christmas??", - "I am so excited for christmas ${real.username}!", - "Guess whats in $until days ${real.username}?", - "Im so excited for christmas in $until days!", - "I cant believe its December already ${real.username}!", - "Do you like christmas ${real.username}?", - "I love december its my favourite month ${real.username}", - "I love winter so much ${real.username}", - "I hate when its cold outside ${real.username}", - "You need to put some warm clothes on ${real.username}", - "Wanna build a snowman ${real.username}?", - "Frozen is a terrible movie ${real.username}", - "${real.username} is a winter meme", - "${real.username} do you have an advent calendar?", - "${real.username} builds gingerbread houses", - "${real.username} likes liquorice", - "Do you drink egg nog ${real.username}?", - "${real.username} bites candy canes", - "${real.username} is my north star", - "Kermit is green, the grinch is green, coincidence?", - "${real.username} who do you thinks the server scrooge?", - "Do you like snow ${real.username}", - "I think there are $until days left then its christmas?", - "What day is christmas on ${real.username}?", - "Has it snowed where you live ${real.username}?", - "I wonder when it is going to snow", - "Building snow men for GP", - "Buying santa hats", - "Wanna buy a santa hat ${real.username}?", - "Where can i get a santa hat?", - "I need to put my christmas tree up", - "Do you like gingerbread cookies ${real.username}?", - "Do you decorate your christmas tree ${real.username}?", - "Oopsie looks like me and ${real.username} are under a mistletoe", - "I need ideas for stocking stuffers", - "I have $until days left to fill our stockings", - "Fuck the grinches bitch ass", - "Rusty = the grinch, ${real.username} = santa", - "${real.username} the red nose reindeer", - "Put one foot in front of the other", - "and soon you will be walking out the doooor", - "Elf on the shelf time", - "${real.username} loves pinecones", - "I love the smell of pinecones", - "All i want for christmas is ${real.username}", - "${real.username} is underneath some mistletoe", - "Woah used to be a sled dog", - "Did you know woah was a sled dog before", - "I bet ${real.username} loves mariah carey", - "We have $until days to setup christmas lights", - "Christmas crackers when", - "${real.username} wanna do a christmas cracker??", - "I need to start wrapping presents i bought", - "I love fireside chats on cold days like this", - "Jingle bells batman smells", - "Jingle bells Rusty smells", - "Jingle bells Patch Notes smells", - "Jingle bells Evilwaffles smells", - "Jingle bells ${real.username} smells", - "Jingle all the way", - "In a one horse open sleigh", - "Oh, what fun it is to ride", - "Oh, what fun it is to ride, finish it ${real.username}", - "Jingle bells, jingle bells", - "Jingle all the way", - "I want a hippopotamus for christmas", - "Only a hippopotamus will do", - "I want a hippopotamus", - "I dont want a lot for Christmas", - "All I Want for Christmas Is You", - "I really cant stay, Baby its cold outside", - "Christmas isnt a season. Its a feeling", - "Christmas is doing a little something extra for someone", - "There is nothing cozier than a Christmas tree all lit up", - "Christmas is a necessity", - "Christmas countdown: $until days.", - "Christmas in $until days ${real.username}", - "Frosty the Snowmannnn", - "Up on the housetop with old saint nick", - "Here comes santa claus, here comes santa claus", - "I saw mommy kissing santaaaa claus", - "I saw Kermit kissing santaaaa claus", - "You are a mean one, Mr. Grinch", - "Deck the hallsss", - "ITS BEGINNING TO LOOK A LOT LIKE CHRISTAAMASSSSS" + "Only $until days left till christmas!", + "$until days till christmas ${real.username}!!!", + "I cant believe theres only $until days left till christmas", + "Isnt there $until days left till christmas??", + "I am so excited for christmas ${real.username}!", + "Guess whats in $until days ${real.username}?", + "Im so excited for christmas in $until days!", + "I cant believe its December already ${real.username}!", + "Do you like christmas ${real.username}?", + "I love december its my favourite month ${real.username}", + "I love winter so much ${real.username}", + "I hate when its cold outside ${real.username}", + "You need to put some warm clothes on ${real.username}", + "Wanna build a snowman ${real.username}?", + "Frozen is a terrible movie ${real.username}", + "${real.username} is a winter meme", + "${real.username} do you have an advent calendar?", + "${real.username} builds gingerbread houses", + "${real.username} likes liquorice", + "Do you drink egg nog ${real.username}?", + "${real.username} bites candy canes", + "${real.username} is my north star", + "Kermit is green, the grinch is green, coincidence?", + "${real.username} who do you thinks the server scrooge?", + "Do you like snow ${real.username}", + "I think there are $until days left then its christmas?", + "What day is christmas on ${real.username}?", + "Has it snowed where you live ${real.username}?", + "I wonder when it is going to snow", + "Building snow men for GP", + "Buying santa hats", + "Wanna buy a santa hat ${real.username}?", + "Where can i get a santa hat?", + "I need to put my christmas tree up", + "Do you like gingerbread cookies ${real.username}?", + "Do you decorate your christmas tree ${real.username}?", + "Oopsie looks like me and ${real.username} are under a mistletoe", + "I need ideas for stocking stuffers", + "I have $until days left to fill our stockings", + "Fuck the grinches bitch ass", + "Rusty = the grinch, ${real.username} = santa", + "${real.username} the red nose reindeer", + "Put one foot in front of the other", + "and soon you will be walking out the doooor", + "Elf on the shelf time", + "${real.username} loves pinecones", + "I love the smell of pinecones", + "All i want for christmas is ${real.username}", + "${real.username} is underneath some mistletoe", + "Woah used to be a sled dog", + "Did you know woah was a sled dog before", + "I bet ${real.username} loves mariah carey", + "We have $until days to setup christmas lights", + "Christmas crackers when", + "${real.username} wanna do a christmas cracker??", + "I need to start wrapping presents i bought", + "I love fireside chats on cold days like this", + "Jingle bells batman smells", + "Jingle bells Rusty smells", + "Jingle bells Patch Notes smells", + "Jingle bells Evilwaffles smells", + "Jingle bells ${real.username} smells", + "Jingle all the way", + "In a one horse open sleigh", + "Oh, what fun it is to ride", + "Oh, what fun it is to ride, finish it ${real.username}", + "Jingle bells, jingle bells", + "Jingle all the way", + "I want a hippopotamus for christmas", + "Only a hippopotamus will do", + "I want a hippopotamus", + "I dont want a lot for Christmas", + "All I Want for Christmas Is You", + "I really cant stay, Baby its cold outside", + "Christmas isnt a season. Its a feeling", + "Christmas is doing a little something extra for someone", + "There is nothing cozier than a Christmas tree all lit up", + "Christmas is a necessity", + "Christmas countdown: $until days.", + "Christmas in $until days ${real.username}", + "Frosty the Snowmannnn", + "Up on the housetop with old saint nick", + "Here comes santa claus, here comes santa claus", + "I saw mommy kissing santaaaa claus", + "I saw Kermit kissing santaaaa claus", + "You are a mean one, Mr. Grinch", + "Deck the hallsss", + "ITS BEGINNING TO LOOK A LOT LIKE CHRISTAAMASSSSS" ) val ChristmasEve = listOf( - "I cant wait for christmas tomorrow ${real.username}!!", - "Its almost christmas!!!", - "1 more day!!!!!", - "Dont forget to put cookies and milk out tonight!!", - "${real.username} do you like christmas??", - "Happy Christmas eve ${real.username} :)" + "I cant wait for christmas tomorrow ${real.username}!!", + "Its almost christmas!!!", + "1 more day!!!!!", + "Dont forget to put cookies and milk out tonight!!", + "${real.username} do you like christmas??", + "Happy Christmas eve ${real.username} :)" ) val Christmas = listOf( - "Merry Christmas ${real.username}!!", - "What did you get for christmas ${real.username}?", - "ITS CHRISTMASSSS!!!", - "Christmas party time!!", - "${real.username} vibing with the christmas spirit", - "Cant believe its christmas!!", - "We need to have a christmas party ${real.username}!!", - "Merry christmas ${real.username} :))", - "Hope youre having an amazing christmas ${real.username} :)", - "I love winter so much ${real.username}", - "I hate when its cold outside ${real.username}", - "You need to put some warm clothes on ${real.username}", - "Wanna build a snowman ${real.username}?", - "Do you like christmas ${real.username}?" + "Merry Christmas ${real.username}!!", + "What did you get for christmas ${real.username}?", + "ITS CHRISTMASSSS!!!", + "Christmas party time!!", + "${real.username} vibing with the christmas spirit", + "Cant believe its christmas!!", + "We need to have a christmas party ${real.username}!!", + "Merry christmas ${real.username} :))", + "Hope youre having an amazing christmas ${real.username} :)", + "I love winter so much ${real.username}", + "I hate when its cold outside ${real.username}", + "You need to put some warm clothes on ${real.username}", + "Wanna build a snowman ${real.username}?", + "Do you like christmas ${real.username}?" ) val NewYearsEve = listOf( - "What are you doing for New Years ${real.username}?", - "New Years Eve party orrr?", - "We should do something for New Years eve today ${real.username}!", - "Happy New Years Eve ${real.username}", - "1 More day left in 2021 thank god", - "Whats your New Years resolution ${real.username}?" + "What are you doing for New Years ${real.username}?", + "New Years Eve party orrr?", + "We should do something for New Years eve today ${real.username}!", + "Happy New Years Eve ${real.username}", + "1 More day left in 2021 thank god", + "Whats your New Years resolution ${real.username}?" ) val NewYears = listOf( - "Happy New Years ${real.username}!!!", - "Its New Years Day ${real.username}!", - "HAPPY NEW YEAR ${real.username}!!!", - "2022 lets fucking gooooooo", - "What are your goals for 2022 ${real.username}?" + "Happy New Years ${real.username}!!!", + "Its New Years Day ${real.username}!", + "HAPPY NEW YEAR ${real.username}!!!", + "2022 lets fucking gooooooo", + "What are your goals for 2022 ${real.username}?" ) val Valentines = listOf( - "Will you be my valentine ${real.username}?", - "I am so happy rn", - "God i am so lonely", - "I am Ceikrys illegitimate child", - "Be my valentine!", - "Lets sneak off somewhere and kiss ${real.username}", - "What are you doing for valentines day ${real.username}", - "Woah and Ceikry be kissin lowkey", - "In for a peg ${real.username}?", - "Woah got those roofies strapped", - "Why is my drink cloudy?", - "${real.username} and woah be wrestlin", - "bekky want sum fuk?", - "Damn ${real.username} you got an ass", - "Is that a footlong in your pants or are you happy to see me?", - "${real.username} so hot i gotta change my pants", - "${real.username} is a sex god", - "bruh we hype today", - "dont be silly wrap the willy ${real.username}!", - "wrap it before you smack it ${real.username}", - "can i get a reeeeee ${real.username}?", - "valentines day is the best day", - "${real.username} shut up before i smack you with my crusty sock", - "Valentines day, more like me and my hand day smh", - "If you think these quotes are wild just wait ${real.username}", - "All im saying is we have never seen ${real.username} and biden in the same room", - "red rocket, red rocket!", - "Woahs favourite game is red rocket", - "${real.username} sexy af today", - "Happy Valentines day ${real.username}!!!", - "Happy Valentines day ${real.username}!!!", - "Happy Valentines day ${real.username}!!!", - "Happy Valentines day ${real.username}!!!", - "Happy Valentines day ${real.username}!!!" + "Will you be my valentine ${real.username}?", + "I am so happy rn", + "God i am so lonely", + "I am Ceikrys illegitimate child", + "Be my valentine!", + "Lets sneak off somewhere and kiss ${real.username}", + "What are you doing for valentines day ${real.username}", + "Woah and Ceikry be kissin lowkey", + "In for a peg ${real.username}?", + "Woah got those roofies strapped", + "Why is my drink cloudy?", + "${real.username} and woah be wrestlin", + "bekky want sum fuk?", + "Damn ${real.username} you got an ass", + "Is that a footlong in your pants or are you happy to see me?", + "${real.username} so hot i gotta change my pants", + "${real.username} is a sex god", + "bruh we hype today", + "dont be silly wrap the willy ${real.username}!", + "wrap it before you smack it ${real.username}", + "can i get a reeeeee ${real.username}?", + "valentines day is the best day", + "${real.username} shut up before i smack you with my crusty sock", + "Valentines day, more like me and my hand day smh", + "If you think these quotes are wild just wait ${real.username}", + "All im saying is we have never seen ${real.username} and biden in the same room", + "red rocket, red rocket!", + "Woahs favourite game is red rocket", + "${real.username} sexy af today", + "Happy Valentines day ${real.username}!!!", + "Happy Valentines day ${real.username}!!!", + "Happy Valentines day ${real.username}!!!", + "Happy Valentines day ${real.username}!!!", + "Happy Valentines day ${real.username}!!!" ) val Easter = listOf( - "Happy Easter!!!", - "Happy Easter ${real.username}!!!", - "Bunny time", - "Wanna go look for easter eggs ${real.username}???", - "Find any easter eggs ${real.username}?", - "${real.username} is the easter bunny!", - "Kermit is dating the easter bunny!", - "Easter is one of my favorite holidays", - "I heard there are easter eggs hidden around?", - "Easter is the only time you should put all of your eggs in one basket", - "I said hip hop do not stop", - "Jump jump jump around", - "${real.username} how is your easter going?", - "I love easter!", - "${real.username} stole my easter eggs!", - "Karma karma karma karma karma chameleon", - "${real.username}!! ${real.username}!! what are you doing for easter??", - "The hare was a popular motif in medieval church art", - "I heard the easter bunny is hiding somewhere!", - "I wonder where i can find more eggs", - "${real.username} how many eggs did you find?", - "${real.username} lets go easter egg hunting!", - "${real.username} like orange chocolate eggs", - "${real.username} and woah know the easter bunny", - "${real.username} did you know ceikry swallows eggs whole", - "Have an amazing easter ${real.username}!", - "Happy easter ${real.username}!", - "Hope you are having an amazing easter ${real.username}!!!!", - "Wooooooh easter!!!", - "${real.username} loves easter too!", - "Who else loves easter like i do??", - "${real.username} and i are going easter egg hunting", - "${real.username} and i are going to look for the easter bunny!!", - "Hint for anyone who sees this you must dig above eagles peak" + "Happy Easter!!!", + "Happy Easter ${real.username}!!!", + "Bunny time", + "Wanna go look for easter eggs ${real.username}???", + "Find any easter eggs ${real.username}?", + "${real.username} is the easter bunny!", + "Kermit is dating the easter bunny!", + "Easter is one of my favorite holidays", + "I heard there are easter eggs hidden around?", + "Easter is the only time you should put all of your eggs in one basket", + "I said hip hop do not stop", + "Jump jump jump around", + "${real.username} how is your easter going?", + "I love easter!", + "${real.username} stole my easter eggs!", + "Karma karma karma karma karma chameleon", + "${real.username}!! ${real.username}!! what are you doing for easter??", + "The hare was a popular motif in medieval church art", + "I heard the easter bunny is hiding somewhere!", + "I wonder where i can find more eggs", + "${real.username} how many eggs did you find?", + "${real.username} lets go easter egg hunting!", + "${real.username} like orange chocolate eggs", + "${real.username} and woah know the easter bunny", + "${real.username} did you know ceikry swallows eggs whole", + "Have an amazing easter ${real.username}!", + "Happy easter ${real.username}!", + "Hope you are having an amazing easter ${real.username}!!!!", + "Wooooooh easter!!!", + "${real.username} loves easter too!", + "Who else loves easter like i do??", + "${real.username} and i are going easter egg hunting", + "${real.username} and i are going to look for the easter bunny!!", + "Hint for anyone who sees this you must dig above eagles peak" ) when { @@ -721,31 +721,31 @@ class Adventurer(val style: CombatStyle): Script() { //Celebrates Valentines day!!! formatted.contentEquals("2021-02-14") ->{ - if (Random.nextBoolean()) { - val chat = Valentines.random() - bot.sendChat(chat) - bot.updateMasks.register(ChatFlag(ChatMessage(bot, chat, 0, 0))) - }else{ - val chat = dialogue.random() - bot.sendChat(chat) - bot.updateMasks.register(ChatFlag(ChatMessage(bot, chat, 0, 0))) - } + if (Random.nextBoolean()) { + val chat = Valentines.random() + bot.sendChat(chat) + bot.updateMasks.register(ChatFlag(ChatMessage(bot, chat, 0, 0))) + }else{ + val chat = dialogue.random() + bot.sendChat(chat) + bot.updateMasks.register(ChatFlag(ChatMessage(bot, chat, 0, 0))) + } } //Celebrates Easter!!! formatted.contentEquals("2021-04-04") ->{ - if (Random.nextBoolean()) { - val chat = Easter.random() - bot.sendChat(chat) - bot.updateMasks.register(ChatFlag(ChatMessage(bot, chat, 0, 0))) - }else{ - val chat = dialogue.random() - bot.sendChat(chat) - bot.updateMasks.register(ChatFlag(ChatMessage(bot, chat, 0, 0))) - } + if (Random.nextBoolean()) { + val chat = Easter.random() + bot.sendChat(chat) + bot.updateMasks.register(ChatFlag(ChatMessage(bot, chat, 0, 0))) + }else{ + val chat = dialogue.random() + bot.sendChat(chat) + bot.updateMasks.register(ChatFlag(ChatMessage(bot, chat, 0, 0))) + } } - else -> { + else -> { val chat = dialogue.random() bot.sendChat(chat) bot.updateMasks.register(ChatFlag(ChatMessage(bot, chat, 0, 0))) @@ -757,14 +757,14 @@ class Adventurer(val style: CombatStyle): Script() { var citygroupB = listOf(yanille, ardougne, seers, catherby) var bankMap = mapOf( - falador to ZoneBorders(2950, 3374, 2943, 3368), - varrock to ZoneBorders(3182, 3435, 3189, 3446), - draynor to ZoneBorders(3092, 3240, 3095, 3246), - edgeville to ZoneBorders(3093, 3498, 3092, 3489), - yanille to ZoneBorders(2610, 3089, 2613, 3095), - ardougne to ZoneBorders(2649, 3281, 2655, 3286), - seers to ZoneBorders(2729, 3493, 2722, 3490), - catherby to ZoneBorders(2807, 3438, 2811, 3441) + falador to ZoneBorders(2950, 3374, 2943, 3368), + varrock to ZoneBorders(3182, 3435, 3189, 3446), + draynor to ZoneBorders(3092, 3240, 3095, 3246), + edgeville to ZoneBorders(3093, 3498, 3092, 3489), + yanille to ZoneBorders(2610, 3089, 2613, 3095), + ardougne to ZoneBorders(2649, 3281, 2655, 3286), + seers to ZoneBorders(2729, 3493, 2722, 3490), + catherby to ZoneBorders(2807, 3438, 2811, 3441) ) val karamja = Location.create(2849, 3033, 0) @@ -826,22 +826,22 @@ class Adventurer(val style: CombatStyle): Script() { fun getRandomCity(): Location{ return listOf(yanille, ardougne, seers, catherby, falador, varrock, - draynor, rimmington, lumbridge, ge, ge2, edgeville).random() + draynor, rimmington, lumbridge, ge, ge2, edgeville).random() } fun getRandomPoi(): Location{ return listOf( - karamja,karamja,alkharid, - alkharid,feldiphills,feldiphills, - isafdar,eaglespeek,eaglespeek, - canafis,treegnome,treegnome, - teak1,teakfarm,keldagrimout, - miningguild,coal,crawlinghands, - magics,gemrocks,chaosnpc,chaosnpc, - chaosnpc2,taverly).random() + karamja,karamja,alkharid, + alkharid,feldiphills,feldiphills, + isafdar,eaglespeek,eaglespeek, + canafis,treegnome,treegnome, + teak1,teakfarm,keldagrimout, + miningguild,coal,crawlinghands, + magics,gemrocks,chaosnpc,chaosnpc, + chaosnpc2,taverly).random() } - //TODO: Optimise and adjust how bots handle picking up ground items further. + //TODO: Optimise and adjust how bots handle picking up ground items further. fun immerse() { if (counter++ == 180) {state = State.TELEPORTING} val items = AIRepository.groundItems[bot] @@ -875,14 +875,14 @@ class Adventurer(val style: CombatStyle): Script() { } } else { val resources = listOf( - "Rocks","Tree","Oak","Willow", - "Maple tree","Yew","Magic tree", - "Teak","Mahogany") + "Rocks","Tree","Oak","Willow", + "Maple tree","Yew","Magic tree", + "Teak","Mahogany") val resource = scriptAPI.getNearestNodeFromList(resources,true) - if(resource != null){ - if(resource.name.contains("ocks")) InteractionListeners.run(resource.id,1,"mine",bot,resource) - else InteractionListeners.run(resource.id,1,"chop down",bot,resource) - } + if(resource != null){ + if(resource.name.contains("ocks")) InteractionListeners.run(resource.id,1,"mine",bot,resource) + else InteractionListeners.run(resource.id,1,"chop down",bot,resource) + } } } return @@ -908,12 +908,12 @@ class Adventurer(val style: CombatStyle): Script() { // zoneborder checker if(ticks % 30 == 0){ - for(border in common_stuck_locations){ - if(border.insideBorder(bot)){ - refresh() - ticks = 0 - } + for(border in common_stuck_locations){ + if(border.insideBorder(bot)){ + refresh() + ticks = 0 } + } } when(state){ @@ -971,11 +971,11 @@ class Adventurer(val style: CombatStyle): Script() { var chance = if (city == ge || city == ge2) 5000 else 2500 if (RandomFunction.random(chance) <= 10) { - val nearbyPlayers = RegionManager.getLocalPlayers(bot) - if (nearbyPlayers.isNotEmpty()) { - ticks = 0 - dialogue() - } + val nearbyPlayers = RegionManager.getLocalPlayers(bot) + if (nearbyPlayers.isNotEmpty()) { + ticks = 0 + dialogue() + } } if (RandomFunction.random(1000) <= 150 && !poi) { @@ -992,16 +992,16 @@ class Adventurer(val style: CombatStyle): Script() { if (RandomFunction.random(1000) <= 50 && poi){ val roamDistancePoi = when(poiloc){ - teakfarm,crawlinghands -> 5 - treegnome -> 50 - isafdar -> 40 - eaglespeek -> 40 - keldagrimout -> 30 - teak1 -> 30 - miningguild -> 5 - magics,coal -> 7 - gemrocks,chaosnpc,chaosnpc2 -> 1 - else -> 60 + teakfarm,crawlinghands -> 5 + treegnome -> 50 + isafdar -> 40 + eaglespeek -> 40 + keldagrimout -> 30 + teak1 -> 30 + miningguild -> 5 + magics,coal -> 7 + gemrocks,chaosnpc,chaosnpc2 -> 1 + else -> 60 } scriptAPI.randomWalkTo(poiloc,roamDistancePoi) return @@ -1017,11 +1017,11 @@ class Adventurer(val style: CombatStyle): Script() { } if (RandomFunction.random(20000) <= 60 && !poi) { - poiloc = getRandomPoi() - city = teak1 - poi = true - scriptAPI.teleport(poiloc) - return + poiloc = getRandomPoi() + city = teak1 + poi = true + scriptAPI.teleport(poiloc) + return } if ((city == ge || city == ge2) && RandomFunction.random(1000) >= 999) { @@ -1035,8 +1035,8 @@ class Adventurer(val style: CombatStyle): Script() { } if (city == teak1 && counter++ >= 240){ - city = getRandomCity() - state = State.TELEPORTING + city = getRandomCity() + state = State.TELEPORTING } if (counter++ >= 240 && RandomFunction.random(100) >= 10) { diff --git a/Server/src/main/kotlin/rs09/game/system/command/sets/ModerationCommandSet.kt b/Server/src/main/kotlin/rs09/game/system/command/sets/ModerationCommandSet.kt index f3b34cd52..756463cff 100644 --- a/Server/src/main/kotlin/rs09/game/system/command/sets/ModerationCommandSet.kt +++ b/Server/src/main/kotlin/rs09/game/system/command/sets/ModerationCommandSet.kt @@ -58,6 +58,12 @@ class ModerationCommandSet : CommandSet(Command.Privilege.MODERATOR){ if(otherPlayer == null){ reject(player, "Can not find $name in the player list!") } + + val NameCheck = name.toLowerCase() + if (NameCheck == "kermit" || NameCheck == "ceikry"){ + reject(player, "You cannot jail $name, they are a god. Nice try though ${player.username}!") + } + notify(player, "Jailing ${otherPlayer!!.username} for $timeSeconds seconds.") notify(otherPlayer, "${player.username} has jailed you for $timeSeconds seconds.") GameWorld.Pulser.submit(object : Pulse(3){