Skip 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.

Anyone who has used Kryo HELP

Featured Replies

So I'm writing a webwalker and using Kryo to serialize the web object. The file (as far as I am aware) saves perfectly fine, but when it loads I am presented with the following error:


java.lang.NoClassDefFoundError: com/esotericsoftware/reflectasm/ConstructorAccess

I believe this is caused by the lack of a no-args constructor, though all my classes have one for that specific reason. 

 

Here is the code I am using to load the file:

    public static WeightedGraph read(String filename) {
        WeightedGraph retrievedObject = new WeightedGraph();
        try (Input input = new Input(new FileInputStream(filename))) {
            Kryo kryo = new Kryo();
            retrievedObject = (WeightedGraph) kryo.readClassAndObject(input);
            System.out.println("Retrieved from file: " + retrievedObject.getVertices().size() + " nodes");
        } catch (FileNotFoundException ex) {
            Logger.getLogger(WeightedGraph.class.getName()).log(Level.SEVERE, null, ex);
        }
        return retrievedObject;
    }

If anyone has used Kryo and experienced a similar problem please respond.

maybe abit offtopic but arent you advertising other bot in your signature?

  • Author

maybe abit offtopic but arent you advertising other bot in your signature?

I better change it... xD

I better change it... xD

lol.

 

now thats better.

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.