Anemone Client

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Re: Anemone Client

Postby borka » Sat Apr 11, 2015 3:44 pm

romovs wrote:
madradman wrote:How do you run and add bots to this client? This is the first boting client I used with out a extra tab at the bottem


Place your yourscriptname.groovy file in the scripts directory. Then type inside the client ":bot yourscriptname" (without the quotes).
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Anemone Client

Postby mvgulik » Sun Apr 12, 2015 5:15 pm

Also working for Anemone Client:

[Shift]+[F1]..[F12] : for running groovy script file "f1.groovy".."f12.groovy".
[Shift]+[ESC] : Stop active user script.

Note: One active/running user script per session. (corrected "per client" into "per session" ... See next post for the exception.)
Last edited by mvgulik on Mon Apr 13, 2015 8:05 am, edited 1 time in total.
mvgulik
 
Posts: 3753
Joined: Fri May 21, 2010 2:29 am

Re: Anemone Client

Postby mvgulik » Mon Apr 13, 2015 8:03 am

Might as well report/document a bug/feature in relation to active user scripts.

If the client changes to a other login state/screen, any active user script remains active, and can't be closed with [Shift]+[ESC] anymore. (States/screens as in: Player login screen, Character login screen, Playing screen.)
- Having a active user script in this state is not blocking running additional user scripts in the same session. (different/new login state).

(I'm not sure if there might be way's to get them closed (other than closing the client), I'm at least not aware of any.) ... Found one: See next post.

Example script.
Code: Select all
def sleep_test() {
   maid.doSay(">FUNCTION: sleep_test()");
   while (true) {
      Thread.sleep(1000*5);// 5 seconds
      maid.doSay("sleep_test(): Ping");
   }//while
}//func
sleep_test();return
Last edited by mvgulik on Mon Apr 13, 2015 10:43 am, edited 1 time in total.
mvgulik
 
Posts: 3753
Joined: Fri May 21, 2010 2:29 am

Re: Anemone Client

Postby mvgulik » Mon Apr 13, 2015 10:42 am

"Lingering script" update.

This approach seems to work ok, in case someone has some need/use for it.
Code: Select all
def sleep_test2() {
   maid.doSay(">FUNCTION: sleep_test2()");

   def int mf_ind = MaidFrame.index; // only pickup ones, at start of script.
   def String mf_str = MaidFrame.getSessionList()[mf_ind].toString(); // same deal.

   while (true) {
      maid.doSay("sleep_test2: Ping:"+mf_ind);

      if (MaidFrame.getSessionList()[mf_ind].toString() != mf_str) {
         maid.doSay("Target Session:"+mf_ind+" String changed. Bailout");
         return;
      }

      Thread.sleep(1000*5);// 5 seconds
   }
}
sleep_test2();return

--- --- ---
Cleaned up version at this post.
Last edited by mvgulik on Sun May 31, 2015 7:38 am, edited 1 time in total.
mvgulik
 
Posts: 3753
Joined: Fri May 21, 2010 2:29 am

Re: Anemone Client

Postby bexy » Sun Apr 19, 2015 2:54 am

Could anyone help, please? I'm having trouble getting anemone to run, so I ran the debug .bat and here is what I got:
http://puu.sh/hiQqW/533c25b45f.png

I tried replacing "java" with the file location of my java.exe for java 8 but it didn't work either
bexy
 
Posts: 31
Joined: Sat Mar 28, 2015 5:32 am

Re: Anemone Client

Postby Ninijutsu » Sun Apr 19, 2015 4:21 am

Got this error message when I tried to run it for the first time.
Code: Select all
C:\Users\Ni^2\Desktop\New folder (3)>java -Xms512m -Xmx1024m -jar maid.jar moltk
e.seatribe.se -r ./res
Catched URISyntaxException: Illegal character in path at index 17: file:/C:/User
s/Ni^2/Desktop/New%20folder%20(3)/gluegen-rt.jar, while addNativeJarLibsImpl(cla
ssFromJavaJar class com.jogamp.common.os.Platform, classJarURI jar:file:/C:/User
s/Ni%5e2/Desktop/New%20folder%20(3)/gluegen-rt.jar!/com/jogamp/common/os/Platfor
m.class, nativeJarBaseName gluegen-rt-natives-windows-amd64.jar):
Exception in thread "Haven main thread" java.lang.UnsatisfiedLinkError: Can't lo
ad library: C:\Users\Ni^2\Desktop\New folder (3)\gluegen-rt.dll
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoad
erBase.java:551)
        at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.ja
va:64)
        at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNIL
ibLoaderBase.java:96)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.j
ava:414)
        at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrar
y(DynamicLibraryBundle.java:388)
        at com.jogamp.common.os.Platform$1.run(Platform.java:203)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.common.os.Platform.<clinit>(Platform.java:173)
        at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:82)
        at javax.media.opengl.GLCapabilities.<init>(GLCapabilities.java:84)
        at haven.HavenPanel.<clinit>(HavenPanel.java:68)
        at haven.MainFrame.<init>(MainFrame.java:149)
        at haven.MaidFrame.<init>(MaidFrame.java:18)
        at haven.MaidFrame.main2(MaidFrame.java:392)
        at haven.MaidFrame.access$200(MaidFrame.java:12)
        at haven.MaidFrame$6.run(MaidFrame.java:350)
        at java.lang.Thread.run(Unknown Source)

C:\Users\Ni^2\Desktop\New folder (3)>pause
Press any key to continue . . .
Of another era.
User avatar
Ninijutsu
 
Posts: 2224
Joined: Sat May 22, 2010 4:22 am

Re: Anemone Client

Postby romovs » Sun Apr 19, 2015 7:47 am

bexy,

Can you please scroll up the console a bit and post the whole error?


Ninijutsu,

It's probably the '^' character in your Windows user name messing up things.
Either create new account without any unusual characters or rename your current one (renaming on Windows 7)
User avatar
romovs
 
Posts: 1473
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Anemone Client

Postby Ninijutsu » Sun Apr 19, 2015 9:38 am

Thank you, you're right. I moved the folder to my C: drive and it works fine.
Of another era.
User avatar
Ninijutsu
 
Posts: 2224
Joined: Sat May 22, 2010 4:22 am

Re: Anemone Client

Postby borka » Sun Apr 19, 2015 7:17 pm

romovs wrote:bexy,
Can you please scroll up the console a bit and post the whole error?


right click on top window frame of cmd cmd window :
chose edit from menu -> choose all,
then chose edit from menu -> copy

that way you can paste all text in "Code" tags here

Looks like a jogl libaries error (...load.libary (Unknown Source)
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Anemone Client

Postby bexy » Sun Apr 19, 2015 8:57 pm

romovs wrote:bexy,

Can you please scroll up the console a bit and post the whole error?


borka wrote:right click on top window frame of cmd cmd window :
chose edit from menu -> choose all,
then chose edit from menu -> copy

that way you can paste all text in "Code" tags here

Looks like a jogl libaries error (...load.libary (Unknown Source)


Code: Select all
C:\Users\Agrippa\Desktop\anemone-24.03.15-windows-amd64>java -Xms512m -Xmx1024m
-jar maid.jar moltke.seatribe.se -r ./res
Catched FileNotFoundException: C:\Users\Agrippa\Desktop\anemone-24.03.15-windows
-amd64\gluegen-rt-natives-windows-i586.jar (The system cannot find the file spec
ified), while addNativeJarLibsImpl(classFromJavaJar class com.jogamp.common.os.P
latform, classJarURI jar:file:/C:/Users/Agrippa/Desktop/anemone-24.03.15-windows
-amd64/gluegen-rt.jar!/com/jogamp/common/os/Platform.class, nativeJarBaseName gl
uegen-rt-natives-windows-i586.jar): [ file:/C:/Users/Agrippa/Desktop/anemone-24.
03.15-windows-amd64/gluegen-rt.jar -> file:/C:/Users/Agrippa/Desktop/anemone-24.
03.15-windows-amd64/ ] + gluegen-rt-natives-windows-i586.jar -> slim: jar:file:/
C:/Users/Agrippa/Desktop/anemone-24.03.15-windows-amd64/gluegen-rt-natives-windo
ws-i586.jar!/
Exception in thread "Haven main thread" java.lang.UnsatisfiedLinkError: Can't lo
ad library: C:\Users\Agrippa\Desktop\anemone-24.03.15-windows-amd64\gluegen-rt.d
ll
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoad
erBase.java:551)
        at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.ja
va:64)
        at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNIL
ibLoaderBase.java:96)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.j
ava:414)
        at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrar
y(DynamicLibraryBundle.java:388)
        at com.jogamp.common.os.Platform$1.run(Platform.java:203)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.common.os.Platform.<clinit>(Platform.java:173)
        at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:82)
        at javax.media.opengl.GLCapabilities.<init>(GLCapabilities.java:84)
        at haven.HavenPanel.<clinit>(HavenPanel.java:68)
        at haven.MainFrame.<init>(MainFrame.java:149)
        at haven.MaidFrame.<init>(MaidFrame.java:18)
        at haven.MaidFrame.main2(MaidFrame.java:392)
        at haven.MaidFrame.access$200(MaidFrame.java:12)
        at haven.MaidFrame$6.run(MaidFrame.java:350)
        at java.lang.Thread.run(Unknown Source)

C:\Users\Agrippa\Desktop\anemone-24.03.15-windows-amd64>pause
Press any key to continue . . .
bexy
 
Posts: 31
Joined: Sat Mar 28, 2015 5:32 am

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 3 guests