Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Debian CLI only on VPS - Problem

Featured Replies

Hi guys,

I finally pushed my bot on my debian VPS, however, there is one issue i cannot deal with, using this command:

# java -jar "BOT.jar" -debug 5005 -login ######:######  -bot ######:######:0000 -script myfancyscript:true -allow norandoms,lowcpu,lowresource,nointerface,norender -world 474 -proxy xxxxxxxxxx:xxxx

Output was:

We were unable to login automatically!
-You must update Web Walking through the Boot UI.
Debug enabled on port 5005
Starting local script with name:myfancyscript
Clearing all randoms from OSBot
Starting OSBot in low cpu mode
Starting OSBot with no interfaces, inherits lowresource
Starting OSBot in no render mode
 

But i have no possibilities to run bot through any gui. Is there any possibility to walk around this one?  

You can install a VNC server for a virtual desktop view to update the local webwalker files.

  • Author

Okay, finally installed VNC and started webwalk ... however i came to next error, where I am kind of lost.

Quote

Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
        at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
        at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:132)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at java.awt.Toolkit$2.run(Toolkit.java:860)
        at java.awt.Toolkit$2.run(Toolkit.java:855)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
        at javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:611)
        at org.osbot.BotApplication.iIiIIiiIiiii(lab:14)
        at org.osbot.Boot.main(qs:201)

Update: for those who will face similar issue, you need to set enviromental variable DISPLAY to some output which you send to null (for example export DISPLAY=:10).
 

Edited by Michal Ziak

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.