Jump to content

focus953

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by focus953

  1. wait eve got banned for real world trading
  2. so yall all know that neo closed down the post for pSmithing since its been so long he updated the script so i took it into my own hands to update its 70% done i just need a little help fixing the part where when you Smithing it into bars it clicks the bar the anvil then makes one then does it all over again im trying to get it to work where it clicks the bar then anvil and some how make all or make 10 weapons or what ever then repeats this is what i have going so fare some where i need to fix it to where it will sleep everything right just cant get it to sleep package pepsip77.pSmithing.methods; import pepsip77.pSmithing.data.Data; import xobot.script.methods.GameObjects; import xobot.script.methods.Packets; import xobot.script.methods.Widgets; import xobot.script.methods.tabs.Inventory; import xobot.script.util.Time; import xobot.script.wrappers.interactive.GameObject; import xobot.script.wrappers.interactive.Item; public class Smithing { public static boolean canSmith() { return (Data.forgeItems || Data.smeltAndForge) && !Methods.inventoryContainsOres() && Inventory.Contains(Data.HAMMER_ID) && Inventory.Contains(Data.currentBar.getBarId()); } public static void doSmithing() { Data.status = "Smithing"; if(Widgets.getOpenInterface() != Data.SMITHING_INTERFACE_ID) { GameObject anvil = GameObjects.getNearest(Data.currentLocation.anvilId()); if(anvil != null) { Item bar = Inventory.getItem(Data.currentBar.getBarId()); if(bar != null) { Packets.sendAction(447, bar.getID(), bar.getSlot(), 3214); Time.sleep(400, 500); Packets.sendAction(62, anvil.uid, anvil.getX(), anvil.getY(), anvil.getId(), 1); Methods.conditionalSleep(new SleepCondition() { @Override public boolean isValid() { return Widgets.getOpenInterface() == Data.SMITHING_INTERFACE_ID; } }, 2500); } } } else { //quantity, itemid, row, col, 0 int count = Inventory.getCount(Data.currentBar.getBarId()); Packets.sendAction(867, Data.currentItem.getItemId(), Data.currentItem.getAction2Id(), Data.currentItem.getAction3Id(), 0); Methods.conditionalSleep(new SleepCondition() { @Override public boolean isValid() { return Widgets.getOpenInterface() != Data.SMITHING_INTERFACE_ID && Inventory.getCount(Data.currentBar.getBarId()) != count; } }, 1000); } } }
  3. can you add the source code to ur post plz
  4. i got the banking part fixxed just trying to work on the mining part where when it banks then goes back to mining it like mines for few sec then thinks it mined a ore then clicks a diff ore. ANYONE got any tips on fixxing the ore trying to work on the mining part where when it banks then goes back to mining it like mines for few sec then thinks it mined a ore then clicks a diff ore. ANYONE got any tips on fixing the ore would setting this if(Players.getMyPlayer().getAnimation() == 6746 || Players.getMyPlayer().getAnimation() == 12188) { status = "Mining.."; return 2000; to this if(Players.getMyPlayer().getAnimation() == 6746 || Players.getMyPlayer().getAnimation() == 12188) { status = "Mining.."; return 9500; would that idle the mining tell the ore runs out or is there another better way
  5. focus953

    Auto logs out

    So the Xobot works great but when I’m running a script sometimes it runs for hrs to 10 mins and logs out to the soul play login screen it gets kinda annoying when ur in the middle of something and it keeps logging u out
  6. yea same here i been using it longer and never been banned
  7. so i thought i should post this bug or what ever is is like 30 mins ago the site was unreachable so i keep getting spammed with errors while running bot here is the log from me getting 94 log error reports. maybe it was neo updating the website or maybe something on my end but i dont think so cuzz i tried it on my phone while not under my network and it was still not reachable Date: 2018/05/09 Operating system: Windows Java: 1.8.0_172 java.net.ConnectException: Connection refused: connect at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source) at xobot.iiIIIIIIiI.ALLATORIxDEMO(c:348) at xobot.iiIIIIIIiI.90(c:239) at xobot.iIIIiIIIii.run(c:216)
  8. do you happen to have the link to it
  9. Just trying to find out if u need java installed and wat type of java do I need to install
  10. focus953

    bot crashing

    im playing soulplay
  11. focus953

    bot crashing

    i dont know if its the bot or running the scripts cuzz for some reason in world 1 i keep crashing to desktop with no Waring message or and log of it so i went to world 2 and for some reason it dont seem to crash at the same times when i was in world 1 . and before i got spamed with logs before cuzz xobot webserver was down idk if it chould be my firewall or ip blocking accuse to the server
  12. focus953

    SoulPlay NeoMiner

    seems to be working ill let you know if anything changes
  13. game update so it wont work tell neo updates it i think
  14. yup that would do it thank you . now i can get some rest lol
  15. I’ll try it later I was up all night trying to figure it out and learning edit scripts and what they do
  16. trying to make it back the dropping was there already just trying to work out how to make it where it will use the middle banker and not the one on the end cuzz neo said soulplay messed up the pathing
  17. so im trying to change a few things on the jchopper cuzz of soulplay messing up the path so heres what i got for now but im running into a problem were i get full inv the bot stil. runs just it stuck on the dropping part of the script cuzz i changed the banking part to this NPC banker = NPCs.getNearest(494); if (!Players.getMyPlayer().isMoving() && !Bank.isOpen() && banker != null && Inventory.isFull()) { banker.interact("bank"); Time.sleep(2000); } cuzz neo said to try and use the middle banker and i had no idea how so i google and did some messing around so anyone have any way to get the script from getting stuck at the dropping stage import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JDialog; import xobot.client.callback.listeners.PaintListener; import xobot.script.ActiveScript; import xobot.script.Manifest; import xobot.script.methods.Bank; import xobot.script.methods.GameObjects; import xobot.script.methods.Players; import xobot.script.methods.NPCs; import xobot.script.methods.tabs.Inventory; import xobot.script.methods.tabs.Skills; import xobot.script.util.Filter; import xobot.script.util.Time; import xobot.script.util.Timer; import xobot.script.wrappers.interactive.GameObject; import xobot.script.wrappers.interactive.Player; import xobot.script.wrappers.interactive.NPC; @Manifest(authors = { "Josef" }, name = "jChopper") public class jChopper extends ActiveScript implements PaintListener{ public Timer t = null; int chopped = 0; int id1 = 0; int id2 = 0; int tree; private int logs = 0; int startxp = 0; int[] pickaxe = {1351, 1355, 1359, 6739}; String status = "Loading..."; public boolean onStart() { t = new Timer(System.currentTimeMillis()); JDialog frame = new JDialog(); frame.setPreferredSize(new Dimension(250,90)); frame.setLocationRelativeTo(null); frame.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); FlowLayout layout = new FlowLayout(); layout.setHgap(5); layout.setVgap(5); frame.setLayout(layout); JComboBox<String> combo = new JComboBox<String>(); combo.setPreferredSize(new Dimension(150,30)); combo.setFocusable(false); combo.addItem("Normal"); combo.addItem("Oak"); combo.addItem("Willow"); combo.addItem("Maple"); combo.addItem("Yew"); JButton button = new JButton("Start"); button.setFocusable(false); button.setPreferredSize(new Dimension(60,32)); button.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { String oretype = (String)combo.getSelectedItem(); switch(oretype) { case "Normal": id1 = 1276; id2 = 1278; break; case "Oak": id1 = 1281; break; case "Willow": id1 = 1308; id2 = 5551; break; case "Maple": id1 = 1307; break; case "Yew": id1 = 1309; break; } frame.dispose(); } }); frame.add(combo); frame.add(button); frame.setTitle("AlexChopper"); frame.pack(); frame.setVisible(true); while(frame.isVisible()) { Time.sleep(500); } startxp = Skills.getCurrentExp(Skills.WOODCUTTING); return id1 != 0; } @Override public int loop() { if(Player.getMyPlayer().isMoving()) Time.sleep(5000); if(Inventory.isFull()) { status = "Dropping.."; return depositAll(); }else { if(Players.getMyPlayer().getAnimation() != -1) { status = "Chopping.."; return 1000; } GameObject oo = GameObjects.getNearest(new Filter<GameObject>() { @Override public boolean accept(GameObject o) { if(o.getId() == id1 || (o.getId() != 0 && o.getId() == id2)) { return o.uid != tree; } return false; } }); if(oo != null && oo.isReachable()) { status = "Chopping.."; tree = oo.uid; oo.interact("chop"); Time.sleep(1000); oo.interact("chop"); return 2000; }else { return 100; } } } private final Color color1 = new Color(102, 102, 102, 218); private final Color color5 = new Color(255, 128, 0); private final Font font1 = new Font("Arial", 0, 22); public void repaint(Graphics g1) { int xp = Skills.getCurrentExp(Skills.WOODCUTTING) - startxp; int xph = (int) ((xp) * 3600000D / (t.getElapsed())); Graphics2D g = (Graphics2D)g1; g.setColor(color1); g.drawString("XP: " + xp, 380, 393); g.drawString("XP(h): " + xph, 380, 422); g.drawString(t.toElapsedString(), 380, 365); g.drawString("Status: " + status, 380, 457); g.drawString("Logs Cut: " + logs, 280, 390); g.setFont(font1); g.setColor(color5); g.drawString("Josef's Cutter", 370, 30); } public int depositAll() { NPC banker = NPCs.getNearest(494); if (!Players.getMyPlayer().isMoving() && !Bank.isOpen() && banker != null && Inventory.isFull()) { banker.interact("bank"); Time.sleep(2000); } if (Bank.isOpen()) { Bank.depositAll(); Time.sleep(1000); logs += 28; } return chopped; } }
  18. never mind i got it to work can someone make a update on this plz since 2.7 is out and its all diff now or maybe im doing something wrong
  19. how would one do that cuzz this is whats it at right now GameObject bank = GameObjects.getNearest(2213); if (!Players.getMyPlayer().isMoving() && !Bank.isOpen() && bank != null && Inventory.isFull()) { bank.interact("Bank"); Time.sleep(2000);
  20. so i been reading this script and trying to figure out how to fix the banking in camelot when it goes to bank it clicks a little offset of the bank then waits for a bit and updates and goes in the bank
  21. focus953

    SoulPlay NeoMiner

    alright thank you :)yea sorry if i seem pickie or annoying just trying to help out in anyway to let yall know about bugs
  22. focus953

    SoulPlay NeoMiner

    did u ever get a chance to fix the problem when trying to mine coal it never crosses the bridge it just ports over and over
  23. so i tested everything out just wanted to let you know the only problem i see right now is put fish id in it puts it in inv then puts it back into bank and repeats
×
×
  • Create New...