H&H Groovy bot

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

Moderator: Phades

Dolby3d
Posts: 154
Joined: Mon Oct 17, 2011 3:51 pm

Re: H&H Groovy bot

Post by Dolby3d »

I can't get it to work because theres an unknown symbol in the run.bat.
So whenever I try to login it says: "Connection refused: connect" (when I run haven.jar, which obviously I should not be doing...)

This is what I have (at the very end theres a small square which I can't paste here because my computer doesn't recognizes it obv):

Code: Select all

java -cp groovy-1.7.5.jar -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se 
running win32 xp svp 3 and latest java
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: H&H Groovy bot

Post by borka »

Dolby3d wrote:I can't get it to work because theres an unknown symbol in the run.bat.
So whenever I try to login it says: "Connection refused: connect" (when I run haven.jar, which obviously I should not be doing...)

This is what I have (at the very end theres a small square which I can't paste here because my computer doesn't recognizes it obv):

Code: Select all

java -cp groovy-1.7.5.jar -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se 
running win32 xp svp 3 and latest java
square shouldn't be in run.bat - copy content into txt file (Notepad), save it as run.txt (ANSI) - if there's still a square delete it - then rename it to run.bat

(square is prolly a steering sign like EOL - end of line or such)
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
Dolby3d
Posts: 154
Joined: Mon Oct 17, 2011 3:51 pm

Re: H&H Groovy bot

Post by Dolby3d »

borka wrote:
Dolby3d wrote:I can't get it to work because theres an unknown symbol in the run.bat.
So whenever I try to login it says: "Connection refused: connect" (when I run haven.jar, which obviously I should not be doing...)

This is what I have (at the very end theres a small square which I can't paste here because my computer doesn't recognizes it obv):

Code: Select all

java -cp groovy-1.7.5.jar -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se 
running win32 xp svp 3 and latest java
square shouldn't be in run.bat - copy content into txt file (Notepad), save it as run.txt (ANSI) - if there's still a square delete it - then rename it to run.bat

(square is prolly a steering sign like EOL - end of line or such)
I succesfully copied the code with square to a New Text Document and then saved it as run.txt as all files type. The square was still there. So then I removed the square in run.txt and saved it as run.bat with all files type and it succesfully created a file with the .bat extension icon (moved it to groovy root folder ofc).

However I still get the same problem as before, whenever i double-click run.bat it opens command prompt for like 0.1 second and then immediately closes it (so I cant see what it says). All and all It didnt work Borka, do you have any other suggestions that might work?
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: H&H Groovy bot

Post by borka »

Code: Select all

java -cp groovy-1.7.5.jar -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se
pause
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
Dolby3d
Posts: 154
Joined: Mon Oct 17, 2011 3:51 pm

Re: H&H Groovy bot

Post by Dolby3d »

borka wrote:

Code: Select all

java -cp groovy-1.7.5.jar -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se
pause
It now says this:

Code: Select all

C:\Documents and Settings\Dolby3d\Desktop\Hearth-Haven-Groovy-Bot-master>java -c
p groovy-1.7.5.jar -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se
'java' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Dolby3d\Desktop\Hearth-Haven-Groovy-Bot-master>pause
Press any key to continue . . .
Could you please help me out?
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: H&H Groovy bot

Post by borka »

your Java is not set in environment (?!?) - so you need to put in the path i.e.

Code: Select all

"C:\Program Files\Java\jre7\bin\java.exe" -cp groovy-1.7.5.jar -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se
pause
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
Dolby3d
Posts: 154
Joined: Mon Oct 17, 2011 3:51 pm

Re: H&H Groovy bot

Post by Dolby3d »

borka wrote:your Java is not set in environment (?!?) - so you need to put in the path i.e.

Code: Select all

"C:\Program Files\Java\jre7\bin\java.exe" -cp groovy-1.7.5.jar -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se
pause
Yeah this worked, thanks
yuno
Posts: 8
Joined: Sun Nov 24, 2013 9:52 pm

Re: H&H Groovy bot

Post by yuno »

So I download it and run the run.bat file and this error pops up????
Haven main thread java.lang.unsatisfiedlinkerror: C:/users\peter\documents\hearth-haven-groovy-bot-master-1\hearth-haven-groovy-bot-master\jogl.ddl: can't load IA 32-bit .ddl on a AMD 64-bit platform

Etc, etc, etc
Any ideas on how I can fix this?
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: H&H Groovy bot

Post by borka »

can't load IA 32-bit .ddl on a AMD 64-bit platform
trying to run 32 Bit client with 64 Bit Jave or vice versa

32 Bit client with 32 Bit Java or 64 Bit client with 64 Bit Java

32 Bit client run.bat should point to c:\Program Files (x86)\ Java\jre7\bin
64 Bit client run.bat should point to c:\Program Files\ Java\jre7\bin
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
yuno
Posts: 8
Joined: Sun Nov 24, 2013 9:52 pm

Re: H&H Groovy bot

Post by yuno »

borka wrote:
can't load IA 32-bit .ddl on a AMD 64-bit platform
trying to run 32 Bit client with 64 Bit Jave or vice versa

32 Bit client with 32 Bit Java or 64 Bit client with 64 Bit Java

32 Bit client run.bat should point to c:\Program Files (x86)\ Java\jre7\bin
64 Bit client run.bat should point to c:\Program Files\ Java\jre7\bin
I tried putting this code in the run.bat
"C:\Program Files\Java\jre7\bin\java.exe" -cp groovy-1.7.5.jar -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se
pause
Same error happens. Thank you for your replies.

Return to “The Wizards' Tower”