Everything posted by Token
-
Reducing osbots mem usage
The -allow lowcpu flag is provided at CLI level because it's probably the most common setting we use while botting and the whole point of using CLI is starting a lot faster (support for goldfarming). It has the same effect as the lowcpu checkbox in your settings but access to it is provided from outside the client. -allow lowresource will disable things like debuggers, script and client paint, the window theme which you cannot modify after the client has been started so this is only possible from CLI. @@Globbee If a script is not working in lowresource mode, that has nothing to do with the client or lowresource mode as the only way it can affect scripts is by disabling the paint thread so the onPaint() method is no longer called. If scripters write their script code or their script depends in any way on the paint thread that is just blatantly wrong and you should inform them.
-
Reducing osbots mem usage
What was the previous memory allocation?
-
Reducing osbots mem usage
You are most likely running out of memory. You can troubleshoot this by opening a command prompt and starting OSBot with the following command java -jar client.jar -login osbotusername:osbotpassword -mem d It will print an error and the default memory allocation in my case 3616MB Memory allocation not a valid number, using default Setting memory at 3616MB If your default memory allocation is not 4 digit then this is your problem and you can fix it by starting OSBot from command line with the flag -mem 1024 That prevents becoming unresponsive, in order to actually reduce the memory usage your only solution would be using scripts that don't require webwalking at all
-
Purchased Script no activated
Send @Maldesto a PM and he will look into it
-
Purchased Script no activated
Then paypal has not yet processed your payment
-
Purchased Script no activated
Refresh the script selector
-
A constructive rant, Mirror mode & premium scripts
Welcome to OSBot If you want to test the client you can do so by starting it without a script running, there's not much to test about the client itself. Client is only relevant to scripters because most of the methods we call in our scripts come from the client, however the way a script communicates with the client classes should not affect you as an end user. However there are free scripts that are actually working such as my first script if you really don't care about ban rates as it's quite a high ban rate activity. I guess everyone has their own personal opinions on mirror mode - what we know for sure is it doesn't increase ban rates. Whether it actually decreases them and how much is hard to tell. You can see all scripts on the SDN page from where you can also check the script's thread for more info. If you feel the need for a larger supply of free mining and woodcutting scripts you are always welcome to publish your own on this site.
-
osbot cli
That means there is no file called osbot.jar at the current location. Here's a basic tutorial on using the windows command prompt xxx
-
Questions on botting
Not going to happen. Don't ruin your life by expecting to make money from botting because you won't make a penny. Get a bot running for at least 30 days then consider starting a gold farm otherwise it's quite pointless.
-
Juggles AIO Fighter
The script freezes because the current onLoop iteration ends upon throwing an exception and it never reaches the return statement to tell it how long to sleep until next onLoop iteration, which results in executing code with no sleeps at all taking up to 100% CPU. Catching exceptions like that in onLoop will ensure that your script always sleeps between onLoop iterations and won't ever freeze when throwing exceptions. I use the guava library just to output the exception to OSBot's logger because e.printStackTrace won't send the stacktrace to the logger. You can also do something like this to output the stacktrace in the logger though which may be very similar to the implementation by google in guava public static String getStackTraceAsString(Exception e) { String st = ""; for (StackTraceElement el : e.getStackTrace()) { st += el.toString(); } return st; }
-
Juggles AIO Fighter
I guess I was drunk and didn't fill all the GUI fields (didn't add food quantity) Food: "Trout" HP to eat at: 9 Enemy: "Chaos Guard" Just a suggestion to avoid client freezing when an exception is thrown @[member='Override'] public int onLoop() throws InterruptedException { try { // script code } catch (Exception e) { log(Throwables.getStackTraceAsString(e)); } return 69; } You can validate user input at start to prevent any errors and the Throwables class is found in the guava library here https://github.com/google/guava which you may find useful when writing java code. Nice script anyway, 10/10 would leech again
-
RS07 GE Flipping
Yes that is all you can obtain through configs now. You can grab the data you need using the GrandExchange class though.
-
RS07 GE Flipping
Yes, jagex deleted a few configs for farming and GE not long time ago
-
When Jagex wont let you enter the DMM Tournament
Did you have lots of accounts on the same IP?
-
how do i use a proxy with osbot and adding them to the list?
Click enable proxy, type in the ip and port then just start OSBot. The new ip:port will be automatically added to the list and will replace the nulls, you can check that simply by opening another client. If your proxy is not working or you typed in the wrong information, you will see something like "bot initialization error - please check the forums for the bot status"
-
Grats on 200K OSBOT!
and 35K banned members
-
GUI Help
public class GUI extends JFrame { private JPanel contentPane; private Boolean finished = false; public Boolean isFinished() { return finished; } public Rock getSelection() { return (Rock) comboBox.getSelectedItem(); } JComboBox<Rock> comboBox; public GUI() { setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); setBounds(100, 100, 450, 300); contentPane = new JPanel(); contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); contentPane.setLayout(new BorderLayout(0, 0)); setContentPane(contentPane); JButton btnNewButton = new JButton("Start"); btnNewButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent arg0) { finished = true; } }); contentPane.add(btnNewButton, BorderLayout.WEST); comboBox = new JComboBox<Rock>(); comboBox.setModel(new DefaultComboBoxModel<Rock>(Rock.values())); contentPane.add(comboBox, BorderLayout.CENTER); setVisible(true); } } Where Rock.java is defined as public enum Rock { TIN(3151), IRON(215), CLAY(45), COAL(211); private int color; Rock(int color) { this.color=color; } public int getColor() { return color; } } Using modified color is a much better way to distinguish rocks. Every rock type has lots of ids based on the mesh but the color is the same for all of them, hence it's a better approach. You can either use the enum model comboboxes or get enum fields using the Enum#valueOf() on a String based model. EDIT: those rock colors are not real, it's just for the sake of the example, I can't be bothered opening eclipse and looking through my projects for my actual Rock enum
-
Account sales 100 post requirement
100 post can take 30 mins to 50 mins with a minimum of decency not to be considered "shitposting" But you wouldn't support 100 post count either in that case though so why does it matter You mean something like this? Not hard to bypass a mod's judgement on "shitposting" I got 4 likes in the last 30 mins, my like count is at about half my post count They can't create another account, the IP check is very easy to do and account sale threads require staff approval Interacting != spamming, it's easier for people who actually care about the community therefore less likely to scam, and A LOT harder for scammers
-
Account sales 100 post requirement
Can we replace this with a 10 post likes requirement? It's even easier to obtain than 100 posts, provided that you aren't just spamming the forums with nonsense. Post likes cannot be farmed easily as account threads are subject to staff approval who can verify IP, and they definitely prove more participation in the community than posting "gl", "support" and asking for trials on all script threads as you will receive feedback from the community that proves you managed to post some quality content, even if it's only 3 posts.
-
Advice on scripts....
Feel free to ask opinion based questions in the shitbox instead of spamming the forums, as it doesn't fit in the General Help section
-
everyones thoughts on lms?
Nop, not much luck but It will take you many attempts to achieve your goals :doge: :doge:
-
everyones thoughts on lms?
Yes it's good
-
Why have 100postcount before selling an account?
Forums look nicer with more diversity so if every scammer spammed 100 posts before scamming, the spam/off topic section would have a more diverse fauna rather than just @Krys and @The Hero of Time
-
g.e help
Parsing without reflection means you have to know the structure of the JSON. All you have to do if read the document and interpret it as fields and values { "item": { "name":"Cannonball", "id":2, "price":340 } } translates into public class Item { private String name; private Integer id; private Integer price; } So you can read the page into a string, get rid of "item": { } and " ", split by , and you will have field:value pairs which you can insert into your Item instances
-
g.e help
Write your own JSON parser that doesn't rely on reflection