Jump to content

APA Sand Crabs


Apaec

Recommended Posts

  • 1 month later...

im having issues booting up the script. 

Quote

[INFO][Bot #1][11/19 11:28:22 AM]: Loaded 4 built-in random solvers!
[INFO][Bot #1][11/19 11:28:22 AM]: Starting script: APA Sand Crabs v3.16
[ERROR][Bot #1][11/19 11:28:22 AM]: Error in script onStart(): APA Sand Crabs
java.lang.NoClassDefFoundError: Could not initialize class java.util.HashMap$UnsafeHolder
    at java.util.HashMap.readObject(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at uk.co.ramyun.sandcrabs.x.nUL.A(l:217)
    at uk.co.ramyun.sandcrabs.e.aux.C(a:614)
    at uk.co.ramyun.sandcrabs.e.aux.<init>(a:696)
    at uk.co.ramyun.sandcrabs.core.Main.onStart(ja:138)
    at org.osbot.rs07.event.ScriptExecutor.IIiIiiiIiIii(hg:127)
    at org.osbot.rs07.event.ScriptExecutor.start(hg:349)
    at org.osbot.YA.IIiIiiiIiIii(ir:283)
    at org.osbot.Cc.IIiIiiiIiIii(pt:238)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
[INFO][Bot #1][11/19 11:28:22 AM]: Terminating script APA Sand Crabs...
[INFO][Bot #1][11/19 11:28:22 AM]: Script stopped: APA Sand Crabs v3.16 by Apaec.
[INFO][Bot #1][11/19 11:28:22 AM]: Script APA Sand Crabs has exited!
 

 

Link to comment
Share on other sites

On 11/19/2021 at 11:29 AM, iamdaddyy said:

Error in script onStart(): APA

Hey,

I see someone else has also reported issues for this. I'm investigating now - it's a bit of a strange issue but i'm hopeful that a simple server-side recompile should fix it.

In the mean time, if you start the script without a save file (you can delete this via the OSBot `data/` folder), it should (hopefully 🤞) work fine.

-Apa

Link to comment
Share on other sites

  • 2 weeks later...
8 minutes ago, airess said:

@Apaecbro, can you tell me if this script has a low ban rate? I am currently using ahk on sand, but i have a limiting the number of accounts I can use. this script would allow me to run more accounts, but i need to know if it really has a low ban rate. the ahk I'm using rarely gets 2 days of banishment.

With mirror mode 0% ban rate with common sense.

Edited by Larsen
Link to comment
Share on other sites

When launching with java 64 bit the script won't start. 

Log

[INFO][Bot #1][12/07 11:39:22 PM]: Starting script: APA Sand Crabs v3.16
[ERROR][Bot #1][12/07 11:39:22 PM]: Error in script onStart(): APA Sand Crabs
java.lang.ExceptionInInitializerError
    at java.util.HashMap.readObject(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at uk.co.ramyun.sandcrabs.x.nUL.A(l:217)
    at uk.co.ramyun.sandcrabs.e.aux.C(a:614)
    at uk.co.ramyun.sandcrabs.e.aux.<init>(a:696)
    at uk.co.ramyun.sandcrabs.core.Main.onStart(ja:138)
    at org.osbot.rs07.event.ScriptExecutor.IIiIiiiIiIii(hg:127)
    at org.osbot.rs07.event.ScriptExecutor.start(hg:349)
    at org.osbot.YA.IIiIiiiIiIii(ir:283)
    at org.osbot.Cc.IIiIiiiIiIii(pt:238)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied ("java.lang.reflect.ReflectPermission" "suppressAccessChecks")
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at org.osbot.lPt8.checkPermission(bx:228)
    at java.lang.reflect.AccessibleObject.setAccessible(Unknown Source)
    at java.util.HashMap$UnsafeHolder.getLoadFactorField(Unknown Source)
    at java.util.HashMap$UnsafeHolder.<clinit>(Unknown Source)
    ... 30 more
[INFO][Bot #1][12/07 11:39:22 PM]: Terminating script APA Sand Crabs...
[INFO][Bot #1][12/07 11:39:22 PM]: Script stopped: APA Sand Crabs v3.16 by Apaec.
[INFO][Bot #1][12/07 11:39:22 PM]: Script APA Sand Crabs has exited!
 

Link to comment
Share on other sites

Thanks for letting me know - I thought this issue had been resolved but it's clearly still a problem. I've not been able to recreate this locally, so it's proving quite hard to debug and I imagine it's potentially an OS thing. But i've requested the script be recompiles so I hope that that resolves things. In the interim, i'd suggest just running the script without a save file for now. I know that's a little annoying - hopefully you won't have to do that for long 🤞

Link to comment
Share on other sites

On 12/10/2021 at 9:07 PM, Apaec said:

Thanks for letting me know - I thought this issue had been resolved but it's clearly still a problem. I've not been able to recreate this locally, so it's proving quite hard to debug and I imagine it's potentially an OS thing. But i've requested the script be recompiles so I hope that that resolves things. In the interim, i'd suggest just running the script without a save file for now. I know that's a little annoying - hopefully you won't have to do that for long 🤞

what do you mean by running the script without a save file? i cant get the script to run..

Link to comment
Share on other sites

Error on startup.

 

ERROR][Bot #1][12/15 08:25:44 PM]: Error in script onStart(): APA Sand Crabs
java.lang.NoClassDefFoundError: Could not initialize class java.util.HashMap$UnsafeHolder
    at java.util.HashMap.readObject(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at uk.co.ramyun.sandcrabs.x.nUL.A(l:217)
    at uk.co.ramyun.sandcrabs.e.aux.C(a:614)
    at uk.co.ramyun.sandcrabs.e.aux.<init>(a:696)
    at uk.co.ramyun.sandcrabs.core.Main.onStart(ja:138)
    at org.osbot.rs07.event.ScriptExecutor.IIiIiiiIiIii(hg:127)
    at org.osbot.rs07.event.ScriptExecutor.start(hg:349)
    at org.osbot.YA.IIiIiiiIiIii(ir:283)
    at org.osbot.Cc.IIiIiiiIiIii(pt:238)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

EDIT: It seems that the script works fine until you try and save/load your settings. 

Edited by str1de
Link to comment
Share on other sites

19 hours ago, str1de said:

Error on startup.

 

ERROR][Bot #1][12/15 08:25:44 PM]: Error in script onStart(): APA Sand Crabs
java.lang.NoClassDefFoundError: Could not initialize class java.util.HashMap$UnsafeHolder
    at java.util.HashMap.readObject(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at uk.co.ramyun.sandcrabs.x.nUL.A(l:217)
    at uk.co.ramyun.sandcrabs.e.aux.C(a:614)
    at uk.co.ramyun.sandcrabs.e.aux.<init>(a:696)
    at uk.co.ramyun.sandcrabs.core.Main.onStart(ja:138)
    at org.osbot.rs07.event.ScriptExecutor.IIiIiiiIiIii(hg:127)
    at org.osbot.rs07.event.ScriptExecutor.start(hg:349)
    at org.osbot.YA.IIiIiiiIiIii(ir:283)
    at org.osbot.Cc.IIiIiiiIiIii(pt:238)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

EDIT: It seems that the script works fine until you try and save/load your settings. 

Hey,

Correct- looks like this issue is associated with the saving/loading mechanism on some operating systems. I've not been able to recreate this, but i've requested a script SDN recompile so I am hoping that fixes things. In the mean time, please run the script without a save file - that should hopefully be a short term mitigation :)

-Apa

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...