Initial errors

I'm not getting anywhere much with the game (having tried the c, d, e and f versions). First, the display is wrong (notice the cutoff on the left-hand side in particular):

Second, as can be seen, I can't connect. I'm not sure what data I should enter, because two of the dialog boxes are obscured by the display error but I've tried entering my user info and just get "Getting name: Ransom".

Linux (SUSE 9.1), kernel 2.6.5, Firefox 1.05, Java2-jre 1.4.2.

--Blog
Website
Headstrong Games - unique board games

Login or register to tag items

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Hi,

The same applies to me. I've tried this from two different PCs (one heavily firewalled, one not). I get these messages when trying the game

Welcome to Thudgame. Connecting...
-- Connection to 217.155.157.36 failed ! ---- Reason: 'NORMAL' EXCEPTION-- Exception info: java.net.ConnectException: Connection refused: connect-- Connection to 217.155.157.36 failed ! ---- Reason: 'NORMAL' EXCEPTION-- Exception info: java.net.ConnectException: Connection refused: connect

After putting in my username & pass, I just see this

Getting name: anskia

Cheers

Anskia
Win XP/SP2 IE6.0.2900.2180 Java 1.5.0 (build 1.5.0_04-b05)


Founding PatronLibrarianDruidThudmeister

I get the same errors in every version from 2002 to 2005e. In 2005f earlier today it would load and then generate repeated errors (possibly the same, but generateed too quickly to be easily read and recorded). However, now when I go to 2005f the applet doesnt load, and Firefox's java console tells me the error is as follows:

java.lang.IllegalThreadStateException
at java.lang.Thread.start(Unknown Source)
at ThudChat.start(ThudChat.java:86)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

This is on the windows XP box (see sig).

EDIT: the loading failure only occurs in FireFox. In IE the applet loads and the scrolling errors occur: they do match the errors present in other versions

Mr Scrub


--

"LOOKS PERFECTLY LOGICAL TO ME"


Founding PatronLibrarianDruidThudmeister

As far as Im concerned, those errors go down as MOSF (my own stupid fault). My install of Java was somehow dodgey - not quite sure how - but a fresh install with newly downloaded file has solved the prob.
So Amskia and Ransom it may be worth trying a reinstall yourselves - although it seems perfectly possible that it's only me that hadn't checked before I started, and that your errors could be otherwise caused...

Mr Scrub


--

"LOOKS PERFECTLY LOGICAL TO ME"


Java works properly here elsewhere, although I suppose there could be some subtle problem. However, given it's been reported by a WinXP user as well, I suspect that it's not just me Smile

FWIW, I didn't mention the repeated error in 2005f that MrScrub reported but I see the same thing (continuous scrolling of the connection error).


--

Blog
Website
Headstrong Games - unique board games


Yay, Feedback! I love ya all! Very Happy

The "connection refused" message means just that: it means that you weren't allowed.

For that one, I have to claim it was MY stupid fault: the server was dead, and I wasn't that worried about restarting it until I had it all nicely daemonized and backgrounded and cronned and revivifying and all that jazz Smile

It now does all that, so hopefully you shouldn't get that error again.

Very sorry 'bout that!

But the whole layout thing in that screenshot - that's REALLY freaky, Ransom. See, in /theory/, the gridbag layout manager just shouldn't let that happen.

Hrm... looks kindof like the font is really wiiiide, so is pushing the text components to take up too much space. Could I see your font.properties file, if you have one? (Java font management is mindbogglingly badly designed, in that end-users have to edit their own font.properties file in order to be able to see Unicode fonts. Developers have no control over this, without making the download several megs larger by including their own unicode font in - yech!)


Where would font.properties live?

As for the layout, more information now comes to light about what's happening, because I've seen people logged in:


--

Blog
Website
Headstrong Games - unique board games


(Also: no surprise, I guess, but Opera 8 gives the same result.)


--

Blog
Website
Headstrong Games - unique board games


Hahaha! I didn't even see you come in - you bounder, screenshotting me like that! I shall have to be careful what I say on there... Razz

I'm not sure where it would live under Linux. Hrm.... you can find it with the command "locate font.properties" (or "locate -u font.properties" if you've not used locate before: it will be slow the first time, because it's building the lookup database, or "find / -name font.properties" which will be slow because it's searching the whole drive: find doesn't use a lookup database).

On out Mandrake systems, it is:

/usr/lib/jdk-1.4.2_05/jre/lib/font.properties

But I think the ultimate answer won't lie there, but will lie in me having to automagically mess around with the sizes of the components - scale a 20 character field into a 10 char one and stuff, to scale to fit depending on the local font settings.

I could also allow people to specify the size of the java applet window, or make it "rip-offable" so you can put it in its own rezisable window rather than a statically sized applet page.

Given it's completely unusable on your system the way I have it now, I clearly have to do something.


It lives in much the same place here Smile

# @(#)font.properties.linux	1.7 02/03/07
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
#

# Component Font Mappings
#
serif.0=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1
serif.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

serif.italic.0=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1
serif.italic.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

serif.bold.0=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1
serif.bold.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

serif.bolditalic.0=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1
serif.bolditalic.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

sansserif.0=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

sansserif.italic.0=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.italic.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

sansserif.bold.0=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.bold.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

sansserif.bolditalic.0=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.bolditalic.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

monospaced.0=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

monospaced.italic.0=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.italic.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

monospaced.bold.0=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.bold.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

monospaced.bolditalic.0=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.bolditalic.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

dialog.0=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

dialog.italic.0=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.italic.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

dialog.bold.0=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.bold.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

dialog.bolditalic.0=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.bolditalic.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

dialoginput.0=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

dialoginput.italic.0=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.italic.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

dialoginput.bold.0=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.bold.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

dialoginput.bolditalic.0=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.bolditalic.1=--standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

# Missing Glyph Character
#
default.char=274f

# Component Font Character Encodings
#
fontcharset.serif.0=sun.io.CharToByteISO8859_1
fontcharset.serif.1=sun.awt.CharToByteSymbol

fontcharset.sansserif.0=sun.io.CharToByteISO8859_1
fontcharset.sansserif.1=sun.awt.CharToByteSymbol

fontcharset.monospaced.0=sun.io.CharToByteISO8859_1
fontcharset.monospaced.1=sun.awt.CharToByteSymbol

fontcharset.dialog.0=sun.io.CharToByteISO8859_1
fontcharset.dialog.1=sun.awt.CharToByteSymbol

fontcharset.dialoginput.0=sun.io.CharToByteISO8859_1
fontcharset.dialoginput.1=sun.awt.CharToByteSymbol

# Exclusion Ranges
#

# XFontSet Information
#
fontset.serif.plain=\
-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1

fontset.serif.italic=\
-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1

fontset.serif.bold=\
-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1

fontset.serif.bolditalic=\
-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1

fontset.sansserif.italic=\
-b&h-lucida-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.sansserif.bold=\
-b&h-lucida-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.sansserif.bolditalic=\
-b&h-lucida-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.sansserif.plain=\
-b&h-lucida-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.monospaced.italic=\
-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.monospaced.bold=\
-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.monospaced.bolditalic=\
-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.monospaced.plain=\
-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.dialog.italic=\
-b&h-lucida-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.dialog.bold=\
-b&h-lucida-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.dialog.bolditalic=\
-b&h-lucida-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.dialog.plain=\
-b&h-lucida-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.dialoginput.italic=\
-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.dialoginput.bold=\
-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.dialoginput.bolditalic=\
-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.dialoginput.plain=\
-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.default=\
-b&h-lucida-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1

--

Blog
Website
Headstrong Games - unique board games


I think the reason for this is partly that I never set the font size (I kindof wanted people to be able to use their preferred default, if they'd set one, but I guess that's not gonna work), and partly because font sizes are measured in real-world sizes such as "points", and everything else on the screen is measured in pixels. So changing the screen resolution, non-text components will have different sizes, but the text components will remain the same size.

How fun! For some value of fun.

Only way I can see of making this work on all systems at all resolutions is to make font sizes scale dynamically so that the component are the right approximate percentage of the available applet size. The skinners will definitely want to kill me for that, but I can see no other option.

I'll try to have a dynamically scaling version ready for you to test by tonight.


Okeydoke, I've not dynamically scaled it, but this is a first attempt at fixing the problem - see if the latest version here (2005h) works for you.

http://game.thudguild.com/

Here's hoping!


Sorry for the late reply - I was at Greenbelt (ask Lee, if he's not told you already Smile ). The latest version now works properly! Very Happy


--

Blog
Website
Headstrong Games - unique board games


YESS! Very Happy Thank you, you wunnerful betatester, you! Then I'll keep plugging away at other stuff instead.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.