- Joined
- Jul 25, 2009
- Sythe Gold
- 1,597
- Messages
- 19,359
Hahanerd has reported a post.
Reason:
Forum: RuneScape 2 Cheating
Assigned Moderators: Sacro, Farcast, CSkiffingt1, Sengira, KerokeroCola
Posted by: lil bobby
Original Content:
Reason:
Post: [f2p / p2p] Doubling Money Scammer [powerbot]
Forum: RuneScape 2 Cheating
Assigned Moderators: Sacro, Farcast, CSkiffingt1, Sengira, KerokeroCola
Posted by: lil bobby
Original Content:
Just a simple auto spammer that I found in the archive, but edited so it will spam "Doubling money!"
Download Link 1
or
Code:import java.awt.FlowLayout; import java.util.Random; import javax.swing.JCheckBox; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextArea; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import org.rsbot.script.Script; import org.rsbot.script.ScriptManifest; import org.rsbot.script.methods.Game; import org.rsbot.script.wrappers.RSArea; import org.rsbot.script.wrappers.RSComponent; import org.rsbot.script.wrappers.RSInterface; import org.rsbot.script.wrappers.RSTile; @ScriptManifest(authors = { "Ruuhkings/deathify317" }, name = "Money dancer") public class dancing4Money extends Script { String message; Random random = new Random(); String effect[] = {"red:", "glow1:", "glow2:", "green:", "wave:", "wave2:", "scroll:"}; String txt[] = {"Doubling Money - 1 TEST", "Doubling 100k - Trusted!", "Doubling money, 100k test"}; String txt2[] = {"Doubling Money, L.E.G.I.T", "Doubling money - Trusted!", "Doubling Money - 1 TEST", "Double Money test me - trusted"}; RSTile startTile; long timer2; boolean acceptAccepted = false; long timer = 0; public boolean isOnTradeWindow(){ if(interfaces.get(334).isValid() || interfaces.get(335).isValid()){ return true; }else{ return false; } } public boolean onStart(){ startTile = getMyPlayer().getLocation(); acceptAccepted = (JOptionPane.showInputDialog("Accept when other accepts or accept when other player adds something on trade (first = true, second = false").contains("true")); return true; } public void dance(){ if(!isOnTradeWindow()){ RSInterface inter = interfaces.get(464); if(game.getCurrentTab() == 13){ RSComponent dance = inter.getComponent(random(14,17)); if(dance != null){ if(timer < System.currentTimeMillis()){ if(!isOnTradeWindow()){ dance.doClick(); } keyboard.sendTextInstant(effect[random.nextInt(effect.length)]+""+txt[random.nextInt(txt.length)], true); timer = System.currentTimeMillis()+7000; } } }else{ game.openTab(13); } }else{ RSInterface tradeOne = interfaces.get(335); if(tradeOne != null){ RSComponent hasAccepted = tradeOne.getComponent(37); if(hasAccepted != null){ if(acceptAccepted){ if(hasAccepted.getText().contains("accepted")){ RSComponent acceptOne = tradeOne.getComponent(17); if(acceptOne != null){ acceptOne.doClick(); } } }else{ RSComponent wealth = tradeOne.getComponent(45); if(wealth != null){ if(!wealth.getText().contains("transfer")){ RSComponent acceptOne = tradeOne.getComponent(17); if(acceptOne != null){ acceptOne.doClick(); } } } } } } RSInterface tradeTwo = interfaces.get(334); if(tradeTwo != null){ RSComponent acceptTwo = tradeTwo.getComponent(21); if(acceptTwo != null){ acceptTwo.doClick(); sleep(1000); } } } } public void checkMessages(){ if(!isOnTradeWindow()){ RSInterface chatBox = interfaces.get(137); if(chatBox != null){ for(int x = 180; x < 280; x++){ if(chatBox.getComponent(x) != null && chatBox.getComponent(x).getAbsoluteY() > 330){ String curCompText = chatBox.getComponent(x).getText(); if(curCompText.contains("wishes to trade with you")){ if(!isOnTradeWindow()){ for(String y: chatBox.getComponent(x).getActions()){ if(y.contains("trade")); chatBox.getComponent(x).doAction("trade"); } sleep(1000); } }else if(curCompText.contains("accepted")){ if(timer2 < System.currentTimeMillis()){ keyboard.sendText("Thank you!", true); } }else if(curCompText.contains("declined")){ if(timer2 < System.currentTimeMillis()){ keyboard.sendText(txt2[random.nextInt(txt2.length)], true); timer2 = System.currentTimeMillis()+5000; } } } } } } } public void checkArea(){ if(!new RSArea(new RSTile(startTile.getX()-5, startTile.getY()-5), new RSTile(startTile.getX()+5, startTile.getY()+5)).contains(getMyPlayer().getLocation())){ walking.walkTo(startTile); } } @Override public int loop() { checkArea(); checkMessages(); dance(); return 100; } }
Save as: dancing4money.java
Enjoy![]()

























