January 25, 20188 yr Simple script that kills the lesser demon at the wizard's tower. Logs out when you run out of runes. DemonMager.jar Edited January 26, 20188 yr by Heroic
January 25, 20188 yr 22 minutes ago, Heroic said: Logs out when you run out of runes. DemonMager.jar Any runes or?
January 25, 20188 yr Author 7 minutes ago, tranzystor3 said: Any runes or? It logs out everytime the client receives a game message that contains "You do not have enough". It does not watch for players saying that, only if it's a game message. if (chatbox.isVisible()) { List<String> messages = chatbox.getMessages(Chatbox.MessageType.GAME); for (String message : messages) { if (message.contains("You do not have enough")) { stop(); } } }
January 25, 20188 yr 10 minutes ago, Heroic said: It logs out everytime the client receives a game message that contains "You do not have enough". It does not watch for players saying that, only if it's a game message. if (chatbox.isVisible()) { List<String> messages = chatbox.getMessages(Chatbox.MessageType.GAME); for (String message : messages) { if (message.contains("You do not have enough")) { stop(); } } } Solid
January 25, 20188 yr So it's not gonna work for ranged as the message for ranged would be "There is no ammo in your quiver" ?
January 25, 20188 yr 1 hour ago, tranzystor3 said: So it's not gonna work for ranged as the message for ranged would be "There is no ammo in your quiver" ? Nope. Just change the message in the script though if you want it to logout for range
January 26, 20188 yr i tried to decompile it, but i either did it horribly wrong. or something isn't right. lol Can you just place a comma in the script? or do you need to place an or. if (chatbox.isVisible()) { List<String> messages = chatbox.getMessages(Chatbox.MessageType.GAME); for (String message : messages) { if (message.contains("You do not have enough" , "There is no ammo in your quiver")) { stop(); } } } if (chatbox.isVisible()) { List<String> messages = chatbox.getMessages(Chatbox.MessageType.GAME); for (String message : messages) { if (message.contains("You do not have enough")||(message.contains("There is no ammo in your quiver") ) { stop(); } } } Edited January 26, 20188 yr by sonda
January 26, 20188 yr Author 11 hours ago, sonda said: i tried to decompile it, but i either did it horribly wrong. or something isn't right. lol Can you just place a comma in the script? or do you need to place an or. if (chatbox.isVisible()) { List<String> messages = chatbox.getMessages(Chatbox.MessageType.GAME); for (String message : messages) { if (message.contains("You do not have enough" , "There is no ammo in your quiver")) { stop(); } } } if (chatbox.isVisible()) { List<String> messages = chatbox.getMessages(Chatbox.MessageType.GAME); for (String message : messages) { if (message.contains("You do not have enough")||(message.contains("There is no ammo in your quiver") ) { stop(); } } } Last one should be fine, I updated the script for it to "support" ranging.
June 22, 20187 yr On 6/13/2018 at 8:24 AM, Pennystalker said: how do i download There is a link in the OP that says DemonMager.jar Click that and download.
July 5, 20187 yr 1 hour ago, Framble said: Could you please add telegrab for dem rune med helms ? ? He hasn't logged in since February so I'll take that as a no
Create an account or sign in to comment