Jump to content

Nbacon

Members
  • Posts

    251
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by Nbacon

  1. 17 hours ago, RoomScape said:

    I don't get this.

    There are some items with very little trade volume. Example Burnt bones that sell for the ge price of 230  coins but if you wanted to buy them you would have to pay about 1k each. Other examples are unfinshed pies, unfired clay items, items that no one would ever use/buy.  So example (pick a different item this one might work) if you collect 100 bones on your main account. You put them in the GE for 1k (check the margines before starting) each and on the bot buy them for 1k each. Your main has 100k and your bot has 100 burnt bones. Sell the bones at 231 on the bot and on the main buy them. So now your main has 78.9k and 100 bones. repeat till you can't trade any more money.

     

     

    https://imgur.com/a/ugzVNR7

     

  2. 26 minutes ago, Canidae said:

    You forgot to check if the interaction actually was succesful, this way you can trigger the sleep without actually having opened the pack. 

    Why would you care if the interaction is succesful? you just click and move on and if it fails come back with a second(slower) pass

  3. I think this is would be better...

            int chain[] ={0,1,2,3,4,5,6,...,28};
            int chain[] ={0,4,8,12,16,20,24,1,5,9,13,17,...};
            for (int i = 0; i < 28; i++) {
                Item item =getInventory().getItemInSlot(chain[i]);
                if (item!=null &&(item.getName().contains("pack"))){
                    getInventory().interact(chain[i],"Open");
                  	sleep....
                }
    
            }

     

    • Like 1
  4. 3 hours ago, yagizbasoglu said:

    Dont you think i cant build a better pc from aliexpress for the same price ?

    Yes, But amount of shit that go wrong. Cheep parts that are fire hazards, Fake/rebranded parts that fit but are not as good, parts that take legit months to get to you(covid or not), miss matched parts. No refunds... list could go on. With a pre-built by you get within x day (almost guaranteed )... Its plug and play...most people have a refunds...you know what you are getting... 

    Its Botting in the next 2 week for 250 dallars or possibly botting in 1-2 months for 100-150 dallars.

    In the end its your money do what ever you want.

     

     

  5. Wow....

    comment out... "mainDialog.setLayout(new BoxLayout(mainDialog, BoxLayout.PAGE_AXIS));"

    works on my pc with this test code.

    public class Main {
    
    
        public static void main(String[] args) {
            AtomicReference<GUI> gui = new AtomicReference<GUI>(new GUI());
            try {
                SwingUtilities.invokeAndWait(() -> {
                    gui.set(new GUI());
                    gui.get().open();
                });
            } catch (InterruptedException | InvocationTargetException e) {
    
                return;
            }
    
            System.out.println("Done");
        }
    
    
    }

    (linux so it might look different on windows/mac)

    https://ibb.co/qFX15fW

    • Heart 1
  6. Ok. I was mistaken on the Jpanel.Try this 

     mainDialog = new JDialog();
            mainDialog.setTitle("KO Corp");
            mainDialog.setModal(true);
            mainDialog.setLayout(new BoxLayout(mainDialog, BoxLayout.PAGE_AXIS));
            mainDialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL);
    
            JPanel mainPanel = new JPanel();
            mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.PAGE_AXIS));
            mainDialog.getContentPane().add(mainPanel);
            
            
            
            JTabbedPane tabbedPane = new JTabbedPane();
            tabbedPane.setBorder(new EmptyBorder(15,15,15,15));
            mainPanel.add(tabbedPane);

    (next time can you post the whole code so I/everone can run it)

    • Heart 1
  7. heres the 2 ways to do mutiple classes. I know there are more but these are simple.

    Type 1:

    public class Something extends MethodProvider {
    	public void doSomething(){
    		getBank().Open()
    	}
    }

    in your main script do this

    Something something = new Something()
    
    void onStart(){
            something.exchangeContext(getBot());
    }

    Type 2:

    public class Something{
    	MethodProvider mp;
    	public Something(MethodProvider mp){
    		this.mp =mp
    	}
    	public void doSomething(){
    		mp.getBank().Open()
    	}
    
    }

     

    REad your question wrong this is something you like

    Just warning scripts write like this are hard to debug and pron to errors

     

    import org.osbot.rs07.script.MethodProvider;
    import org.osbot.rs07.script.Script;
    import org.osbot.rs07.script.ScriptManifest;
    
    public abstract  class Test extends MethodProvider {
        abstract void doSomething();
        abstract  boolean done();
        abstract Test next();
    
    
    }
    
    
    public   class OpenBank extends Test {
    
    
        @Override
        void doSomething() {
            try {
                this.getBank().open();
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    
        @Override
        boolean done() {
            return getBank().isOpen();
        }
    
        @Override
        Test next() {
            return new CloseBank();
        }
    }
    public   class CloseBank extends Test {
    
    
        @Override
        void doSomething() {
    
                this.getBank().close();
    
        }
    
        @Override
        boolean done() {
            return !getBank().isOpen();
        }
    
        @Override
        Test next() {
            return new OpenBank();
        }
    }
    
    @ScriptManifest(author = "Bacon", name = "0", info = "Runtime bots", version = 0.0, logo = "")
    
    public class ScriptWithtasks extends Script {
        Test curent = new OpenBank();
    
        @Override
        public void onStart() throws InterruptedException {
            curent.exchangeContext(getBot());
    
        }
    
        @Override
        public int onLoop() throws InterruptedException {
            curent.doSomething();
    
            if (curent.done()){
                curent = curent.next();
                curent.exchangeContext(getBot());
            }
    
            return 0;
        }
    }

     

     

     

     

    Irl ProjectPact be like...

    Random person: Someone call 911.

    ProjectPact: You should try Script Factory :) 

     

     

     

     

     

    • Like 1
  8. 1 hour ago, grizlii said:

    And why without a graphic card if I may ask?

    its a savings of $50-75. When you get it set up just make so you can ssh in and it does not help with botting thats all cpu.

    1 hour ago, grizlii said:

    ll Precision T3600 Xeon 8-Core E5-2665?

    That seems fine just what ever the cheepest 8 core is.

     

  9. 2 hours ago, grizlii said:

    32+ gb, 8core [E5-2689] or [E5-2660], without a graphics card (if you can).

    the ram sticks by them selfs cost more then the pc so get as much as you need...

    clock speed dose not matter but cores do...

×
×
  • Create New...