Thanks for explaining, that makes it a bit more clear. I thougt it was really strange behaviour. You're right that jpg's for backgrounds are better quality but for buttons, when transparency is needed, gif's are still the only option. I also think it's a bit confusing and not logical anymore to keep that behaviour than looks for both jpg and then gif.. you just want what is requested in the roomsfile.
On the windows server i get exactly the same 404 error as on the Linux server when i request a picture in a browser that doesn't exist in the media dir.
And when i do a request in the roomsfile for a picture that doesn't exist on the windows pserver.. in the error log file this is logged:
Quote:
Originally Posted by
[Mon Sep 28 17:13:04 2009] [error] [client 192.168.1.7] File does not exist: /palacechat/palace/media/roomrigh.jpg
[Mon Sep 28 17:17:56 2009] [error] [client 192.168.1.7] File does not exist: /palacechat/palace/media/roomrigh.gif
So you are right and you can see the win pserver looks first for jpg and then for gif.
I thought at first it was perhaps an Apache configuration difference, but as far as i know i couldn't see it. BTW On my linux server i don't use the the http server of the palace server but the one that came with the linux installation.
Until now we've used our own sun compatible Instant Palace java client which i decompiled an compiled again after removing some programming code which were causing problems. I don't really know what i was doing however.. i'm not a java programmer and it was pure luck that it worked again with java sun ;-).
The only problem with this client we had until a few month ago (now we have more problems) was that chatters freezed on prop changes and they had to log in again. Not a really big problem for us because our chat is only accessible for the java client. The only thing we couldn't do anymore was pin a chatter because a pinned chatter wears a prop. Your java client doesn't freeze up with prop changes i noticed. Our Java client BTW didn't had any problems loading gif's on both the linux and windows pserver.
I tried to switch to your java client version because the last few month some chatters freeze after a while, ie when they open the roomslist or the userslist or going private and they have to log-in again. Also loading takes a very long time for some chatters. Other chatters (including me) don't have that problem at all. Not much luck with your client however.. still the same problems althoug room changes are faster. Some chatters have more problems with your client, others don't. I decided to make both clients available for chatters.
I don't know if these problems are caused by a different JRE sun version or a problem on my server. I don't use the standard 512x384 room format but widescreen 640x400. But i switched to that format more than a year ago and didn't cause any problems then.
I do however get an error message in the sun java console when i enter the chat with your and my client, i however don't have any problems with freezing or loading:
With My Java client:
Quote:
Originally Posted by
Exception in thread "AWT-EventQueue-3" java.lang.NullPointerException
at sun.font.FontDesignMetrics.stringWidth(Unknown Source)
at af.a([DashoPro-V1.0-0420])
at ck.c([DashoPro-V1.0-0420])
at cz.paint([DashoPro-V1.0-0420])
at sun.awt.RepaintArea.paintComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
With Your Client:
Quote:
Originally Posted by
Exception in thread "AWT-EventQueue-3" java.lang.NullPointerException
at sun.font.FontDesignMetrics.stringWidth(Unknown Source)
at communities.pob.User2D.draw(User2D.java:60)
at communities.pob.Room2D.draw(Room2D.java:269)
at communities.Palace2DCanvas.paint(Palace2DCanvas.ja va:92)
at sun.awt.RepaintArea.paintComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I also notice in the sun console that all the 104 avatars are loaded before entering the chat, but i think this was allways the case.