About the inventory coordinates,
I don't have access to a computer at the moment, but iirc each cell is 30x30 big (+1 for the border)
so for example Coord(1*31,2*31) should drop na item in the (2,3) slot, but don't catch me on that. need to verify..
Anemone Client
Moderator: Phades
-
Matt-x
- Posts: 4
- Joined: Wed Jan 11, 2012 11:54 am
Re: Anemone Client
I'm not sure you actually need to multiply by 31. For example, this piece of code puts the bucket in the 2nd and 3rd top left double squares:
Is there any way to listen on mouse events ? I want my script to stop when the user clicks, for example. Is it possible with onCursorChange(Cursor Event e) ? Can someone post an example of how this method works ?
Code: Select all
maid.doDrop(bucket, (Widget)invv, new Coord(0,1));
Is there any way to listen on mouse events ? I want my script to stop when the user clicks, for example. Is it possible with onCursorChange(Cursor Event e) ? Can someone post an example of how this method works ?
-
romovs
- Posts: 1472
- Joined: Sun Sep 29, 2013 9:26 am
- Location: The Tabouret
Re: Anemone Client
You are right there is no need to multiply. No idea where that came from 
setCursorListener/waitForCursor are only for catching cursor res changes. (e.g. when arrow changes to hourglass and similar)
There are no events exposed for dealing with mouse clicks,
but just to stop the script on a click adding MaidFrame.getCurrentSession().getUI().maid.stopTask();
to MapView.mousedown method should do the job.
setCursorListener/waitForCursor are only for catching cursor res changes. (e.g. when arrow changes to hourglass and similar)
There are no events exposed for dealing with mouse clicks,
but just to stop the script on a click adding MaidFrame.getCurrentSession().getUI().maid.stopTask();
to MapView.mousedown method should do the job.
-
Deadfloor
- Posts: 7
- Joined: Thu Jul 31, 2014 1:40 am
Re: Anemone Client
I need help on how to run the client. You run the program called "maid" right? When I try to run it and I log in it says connection refused: connect. 
-
thecraftyknitter
- Posts: 10
- Joined: Wed May 07, 2014 7:01 am
Re: Anemone Client
Okay, I've tried to do the .bat file both of them, I've done both of the run bats that have been mentioned it's in the anemone folder (where the maid is) do I need to move it?
Or do I need to do something my caveman brain can't comprehend, this is the connection refused error.
Maybe someone should write a complete guide to fixing the error, because I've read this entire thread looking for ways and done the ones that people talked about, but so many people just said 'oh fixed nevermind'. So please, if you want to walk me through fixing it.
I have everything, Java is 7, I'm running from the 32bit updated version. Everything. ((enders runs fine but I want to know where the hell I am))
Or do I need to do something my caveman brain can't comprehend, this is the connection refused error.
Maybe someone should write a complete guide to fixing the error, because I've read this entire thread looking for ways and done the ones that people talked about, but so many people just said 'oh fixed nevermind'. So please, if you want to walk me through fixing it.
I have everything, Java is 7, I'm running from the 32bit updated version. Everything. ((enders runs fine but I want to know where the hell I am))
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Anemone Client
the run.bat needs to be in the Anemone client folder - try with:
if you're running 32 Bit Java on a 64 Bit Windows (with 32 Bit Anemone client)
If you're running 32 Bit Java on 32 Bit Windows (with 32 Bit Anemone client)
the difference between Anemone run.bat from Ender run.bat is maid.jar instead of haven.jar
if you're running 32 Bit Java on a 64 Bit Windows (with 32 Bit Anemone client)
Code: Select all
C:\Program Files (x86)\Java\jre7\bin\javaw.exe -Xms512m -Xmx1024m -jar maid.jar moltke.seatribe.se -r ./resIf you're running 32 Bit Java on 32 Bit Windows (with 32 Bit Anemone client)
Code: Select all
C:\Program Files\Java\jre7\bin\javaw.exe -Xms512m -Xmx1024m -jar maid.jar moltke.seatribe.se -r ./resthe difference between Anemone run.bat from Ender run.bat is maid.jar instead of haven.jar
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
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
-
thecraftyknitter
- Posts: 10
- Joined: Wed May 07, 2014 7:01 am
Re: Anemone Client
I've tracked the thing, but my java folder doesn't have the client folder. I've pasted it in all the folders, do I need to put anemone INTO java in the whole? ((I usually put everything in the downloads folder to make it easier to find)) Or did something go wrong?
Or do I need to download it into the program folder?
Or do I need to download it into the program folder?
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Anemone Client
you have a client folder (at a place where it suits you best) - inside you have a run.bat which points to the path where your Java is installed (which is Program Files)
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
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
-
thecraftyknitter
- Posts: 10
- Joined: Wed May 07, 2014 7:01 am
Re: Anemone Client
Is there supposed to be a client folder in the anemone folder?
Or is there supposed to be an anemone folder in the java folder labeled client? ((finally found it)) Because there isn't one.
Because like I said I have the run bat files everywhere. It still doesn't work right. ((I've even put java on the lowest security.)) I've done ALL of this stuff, about twenty times. It still doesn't work.
Or is there supposed to be an anemone folder in the java folder labeled client? ((finally found it)) Because there isn't one.
Because like I said I have the run bat files everywhere. It still doesn't work right. ((I've even put java on the lowest security.)) I've done ALL of this stuff, about twenty times. It still doesn't work.