-
Posts
251 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by Nbacon
-
I personaly would over ride the login handler... you do loss a some things... but will it do what you ask.
-
Sounds like a memory leak your script. It is making a lot of objects and not letting go of them; the Garbage collector cant get rid of them... In all of my shitty programs I have never ran out of memory in the JVM...
-
Logging out after a certain amount of time?
Nbacon replied to CheckingItOut's topic in Scripting Help
random(60)*random(1000) ... you are using 2 random vars for things that are units.... this should work ... random(5*60,6*60)*60*1000; -
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
-
Use the ge with Items that have a large price diffence (like they buy for 10k and sell back for 30 gp) and are easy to make. Just merch the money on to a non-restricted account and trade it to a main.
-
trying to make my script eat while it is webwalking?
Nbacon replied to mitsuki's topic in Scripting Help
I think these might help? -
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
-
Our loops do the same exact thing and will fuck up in the same way..... but mine can do diffent chaining types...
-
Script stops when paused or when logged back in from a dc/break
Nbacon replied to Syndo's topic in Scripting Help
Post code in a git or paste bin, no way to know what the problem is with out see the code. -
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.... } }
-
Does Authentication work when you run it out side, solo[by it self]? I was have problems with google Sheets API and clojue and might have the fix.
-
I want to build a cheap pc for botting osrs ?
Nbacon replied to yagizbasoglu's topic in General Help
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. -
Are you using an emulator? because I think that is a dead give way.
-
I want to build a cheap pc for botting osrs ?
Nbacon replied to yagizbasoglu's topic in General Help
Look at this. https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2334524.m570.l1313&_nkw=Dell+T3600+8+core&_sacat=0&LH_TitleDesc=0&_osacat=0&_odkw=Dell+T3600 (We don't know your budget you might want the world but are not willing to pay for it) -
I want to build a cheap pc for botting osrs ?
Nbacon replied to yagizbasoglu's topic in General Help
I don't know what you mean.... I gave a recommandation for a full pc that is just plug and play at your door within the week. -
I want to build a cheap pc for botting osrs ?
Nbacon replied to yagizbasoglu's topic in General Help
look into Dell precision T3600 on ebay with 8 cores for $150-300. get one without a graphics card to save money. I can run 8 mirror-10 and 20 injection -
Tried making gui with tabs now script wont even start
Nbacon replied to skillerkidos1's topic in Scripting Help
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 -
Tried making gui with tabs now script wont even start
Nbacon replied to skillerkidos1's topic in Scripting Help
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) -
Tried making gui with tabs now script wont even start
Nbacon replied to skillerkidos1's topic in Scripting Help
Were is JFrame frame? (I think that is your problem) -
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
-
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. That seems fine just what ever the cheepest 8 core is.
-
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...
-
I recommend this all the time Dell precision T3600 150-300 dollars on ebay hits way above its price range