Custom Client Troubleshooting flowchart.

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

Moderator: Phades

Re: Custom Client Troubleshooting flowchart.

Postby darck » Tue May 10, 2011 10:51 am

When i start it with run.bat, just say "connection refused:Connect"

My runbat:
Code: Select all
.\updater\HnH_updater.exe
"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Djava.library.path="C:\Users\Pablo\Desktop\HnH_Ender_x32" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se


No firewall -.-
darck
 
Posts: 16
Joined: Fri Nov 06, 2009 7:55 pm

Having trouble running H&H

Postby Guurak » Sat Jun 11, 2011 8:59 pm

When I click run.bat I get this:

Code: Select all
E:\Haven_and_Hearth>java -Xms256m -Xmx512m -jar haven.jar sh.seatribe.se
Exception in thread "Haven main thread" java.lang.Error: javax.imageio.IIOExcept
ion: Can't create cache file!
        at haven.MainFrame.seticon(MainFrame.java:116)
        at haven.MainFrame.<init>(MainFrame.java:134)
        at haven.MainFrame.main2(MainFrame.java:238)
        at haven.MainFrame.access$100(MainFrame.java:34)
        at haven.MainFrame$6.run(MainFrame.java:291)
        at java.lang.Thread.run(Unknown Source)
Caused by: javax.imageio.IIOException: Can't create cache file!
        at javax.imageio.ImageIO.createImageInputStream(Unknown Source)
        at javax.imageio.ImageIO.read(Unknown Source)
        at haven.MainFrame.seticon(MainFrame.java:113)
        ... 5 more
Caused by: java.io.IOException: Access is denied
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(Unknown Source)
        at java.io.File.createTempFile(Unknown Source)
        at javax.imageio.stream.FileCacheImageInputStream.<init>(Unknown Source)

        at com.sun.imageio.spi.InputStreamImageInputStreamSpi.createInputStreamI
nstance(Unknown Source)
        ... 8 more

E:\Haven_and_Hearth>pause
Press any key to continue . . .


I have tried multiple clients and I always get that message.
User avatar
Guurak
 
Posts: 33
Joined: Sun Apr 18, 2010 10:29 pm

Re: Having trouble running H&H

Postby Robertzon » Sat Jun 11, 2011 9:16 pm

Perhaps try to uninstall all JAVA files you have, you can use a program called "ccleaner" what will do the stuff for you.
www.ccleaner.com
User avatar
Robertzon
 
Posts: 1464
Joined: Mon Jan 03, 2011 11:51 pm

Re: Having trouble running H&H

Postby Guurak » Sat Jun 11, 2011 11:04 pm

I did that and then reinstalled the latest version of Java, but the error still happens.
User avatar
Guurak
 
Posts: 33
Joined: Sun Apr 18, 2010 10:29 pm

Re: Having trouble running H&H

Postby Guurak » Mon Jun 13, 2011 4:12 am

So what can I do to fix this?
User avatar
Guurak
 
Posts: 33
Joined: Sun Apr 18, 2010 10:29 pm

Re: Having trouble running H&H

Postby Phades » Wed Jun 15, 2011 6:46 am

Guurak wrote:When I click run.bat I get this:

Code: Select all
E:\Haven_and_Hearth>java -Xms256m -Xmx512m -jar haven.jar sh.seatribe.se
Exception in thread "Haven main thread" java.lang.Error: javax.imageio.IIOExcept
ion: Can't create cache file!
        at haven.MainFrame.seticon(MainFrame.java:116)
        at haven.MainFrame.<init>(MainFrame.java:134)
        at haven.MainFrame.main2(MainFrame.java:238)
        at haven.MainFrame.access$100(MainFrame.java:34)
        at haven.MainFrame$6.run(MainFrame.java:291)
        at java.lang.Thread.run(Unknown Source)
Caused by: javax.imageio.IIOException: Can't create cache file!
        at javax.imageio.ImageIO.createImageInputStream(Unknown Source)
        at javax.imageio.ImageIO.read(Unknown Source)
        at haven.MainFrame.seticon(MainFrame.java:113)
        ... 5 more
Caused by: java.io.IOException: Access is denied
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(Unknown Source)
        at java.io.File.createTempFile(Unknown Source)
        at javax.imageio.stream.FileCacheImageInputStream.<init>(Unknown Source)

        at com.sun.imageio.spi.InputStreamImageInputStreamSpi.createInputStreamI
nstance(Unknown Source)
        ... 8 more

E:\Haven_and_Hearth>pause
Press any key to continue . . .


I have tried multiple clients and I always get that message.


Fixed. The permissions on the temp folder were not set correctly. The user may have had a virus at some point, so I instructed him to run full updated virus scan in addition to correcting the permissions of his temp directory folder.
-Diadems of Odditown
Odditown loves you no matter what.
User avatar
Phades
 
Posts: 352
Joined: Tue Jan 25, 2011 9:07 pm

Re: Custom Client Troubleshooting flowchart.

Postby BangPow » Sun Jun 19, 2011 11:25 am

When I run .bat file is says : unable to access jarfile haven.jar
Before enlightenment - chop wood, carry water. After enlightenment - chop wood, carry water. ~Zen Buddhist Proverb
User avatar
BangPow
 
Posts: 427
Joined: Tue May 31, 2011 4:15 am
Location: Now.......... Awakened

Re: Custom Client Troubleshooting flowchart.

Postby UberTheNoob » Sun Jun 19, 2011 11:45 am

BangPow wrote:When I run .bat file is says : unable to access jarfile haven.jar

Have you placed the original H&H file in the client?
Oh! how did i get here?
User avatar
UberTheNoob
 
Posts: 103
Joined: Sun Dec 05, 2010 4:21 am
Location: GA

Re: Custom Client Troubleshooting flowchart.

Postby BangPow » Sun Jun 19, 2011 1:19 pm

how do i do that?
Before enlightenment - chop wood, carry water. After enlightenment - chop wood, carry water. ~Zen Buddhist Proverb
User avatar
BangPow
 
Posts: 427
Joined: Tue May 31, 2011 4:15 am
Location: Now.......... Awakened

Re: Custom Client Troubleshooting flowchart.

Postby UberTheNoob » Sun Jun 19, 2011 2:28 pm

BangPow wrote:how do i do that?

Magic. and tons of it. (jk) but srsly, how do magnets work?

What does your run.bat say?
It might not be where you placed it, but i think the .bat file is pointing in the wrong direction.
Oh! how did i get here?
User avatar
UberTheNoob
 
Posts: 103
Joined: Sun Dec 05, 2010 4:21 am
Location: GA

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 6 guests