SmartMonsters' Bulletin Boards
Post early, post often.

       
HTML5 TriadCity client  XML
Forum Index » General
Author Message
Mark Phillips


[Avatar]
Joined: 1969.12.31 00:00:00
Messages: 2199
Location: Watsonville, CA
Offline

The new HTML5 version of the TriadCity client is available now for testing. Please see the 2013.08.22 MOTD for details.

If you decide to check it out, please use this Forum thread to share your feedback.

Thanks!

This message was edited 3 times. Last update was at 2013.10.05 12:50:32


Bartle quotiet: E80, A67, S47, K7. TriadCity characters: Mark, Poobah, Occam, Abelard.
[Email] [WWW]
Lisa Chau



Joined: 2003.06.02 00:00:00
Messages: 591
Location: Kalaheo, Kauai, HI
Offline

I prefer the new one. It's easier to read. More crisp, as you've said. Also have you noticed that copy and paste works?

Chiensha, Moorea, Vicodin, Xanax, Zoloft.
Colin Caret



Joined: 2001.12.31 00:00:00
Messages: 140
Online

Hey all,

I'm having a strange issue. Well two strange issues. When I try to login using the new HTML5 client, I get the response "Unable to Communicate with TriadCity. Bad internet connection?". Now to be fair, I recently moved to South Korea so it is possible that there is some legit internet problem causing this, but I seriously doubt that I have a 'bad connection'. The internet here is blazing fast. To test whether it was a problem on my end I tried to login using the old Java client but to my surprise the client wouldn't even load. I just get a white screen with a small message in the corner "Error. Click for details." and the details are...

java.lang.UnsupportedClassVersionError: com/smartmonsters/triadcity/client/applet/player/TriadPlayerJApplet : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.plugin2.applet.Plugin2ClassLoader.access$100(Plugin2ClassLoader.java:70)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Plugin2ClassLoader.java:1005)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Plugin2ClassLoader.java:969)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:144)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:265)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:195)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:176)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:671)
at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3097)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1517)
at java.lang.Thread.run(Thread.java:680)
Exception: java.lang.UnsupportedClassVersionError: com/smartmonsters/triadcity/client/applet/player/TriadPlayerJApplet : Unsupported major.minor version 51.0


FYI this is on a MacBook Pro (2011) running OSX 10.6.8 and Chrome v.30.0.1599.69

Hope y'all are well!

This message was edited 1 time. Last update was at 2013.10.09 23:23:07

Mark Phillips


[Avatar]
Joined: 1969.12.31 00:00:00
Messages: 2199
Location: Watsonville, CA
Offline

Hey Colin, I was wondering who in South Korea was responsible for the page views in our Google Analytics report!

You're the second to report the "Unable to Connect" problem with the HTML5 version. Others of us are fine, but, I'll search it down.

Sent you a P.M. with more info.

Re the old Java client, I hadn't realized that Chrome won't work with Java7 at all. So I've rebuilt the applet for Java6. Seems to work happily for me, but, please do test again and let me know.

Good to see you around!

--M

This message was edited 3 times. Last update was at 2013.10.10 20:50:22


Bartle quotiet: E80, A67, S47, K7. TriadCity characters: Mark, Poobah, Occam, Abelard.
[Email] [WWW]
Matthew Bonnett



Joined: 2004.04.24 00:00:00
Messages: 44
Offline

Hi, Greetings from Hong Kong.

I tried the new HTML5 client too and received the same "unable to communicate with TriadCity, bad internet connection?" message.

I then tried the java client and I was able to access the game without problems.

I should add I am on a reasonably old machine, at least 5 years old and on Windows XP, although I am using the newest Chrome browser and if I use Firefox I also get the same outcome.

Will try again later on my Windows 7 laptop.

*edit* I tried on my laptop, which was also using a different network to connect to the internet and still get the same results.

This message was edited 1 time. Last update was at 2013.10.18 05:19:03

Lisa Chau



Joined: 2003.06.02 00:00:00
Messages: 591
Location: Kalaheo, Kauai, HI
Offline

I'm in Hawaii, using the HTML5 version with no problems.

Chiensha, Moorea, Vicodin, Xanax, Zoloft.
Mark Phillips


[Avatar]
Joined: 1969.12.31 00:00:00
Messages: 2199
Location: Watsonville, CA
Offline

I've been able to recreate the "unable to connect" message by filling my wireless network full of other traffic. So, streaming a Netflix flick, downloading a big file, connecting with the vintage applet client, and connecting with the new HTML5 client simultaneously. The HTML5 client throws up the "unable to connect" error, the applet hums along nicely.

Quirk in the implementation of the new WebSocket protocol? More vulnerable to interrupts and latencies? Or a bad line somewhere in our code?

Testing to continue.

Thank you all very much for the reports!

Bartle quotiet: E80, A67, S47, K7. TriadCity characters: Mark, Poobah, Occam, Abelard.
[Email] [WWW]
Mark Phillips


[Avatar]
Joined: 1969.12.31 00:00:00
Messages: 2199
Location: Watsonville, CA
Offline

Quick update:

The HTML5 client is pretty close to complete, except as several of y'all have pointed out there are intermittent network glitches with it.

We're really out on the bleeding edge with this one. I'm not finding a lot of production-quality software out there which uses HTML5's new networking facilities in the way we're using them. So we're kind of alone here: not much real-world lore for troubleshooting and handling glitches. Also the networking API is very terse, so we don't for example have control over how long the code will try before declaring failure to connect. I think this is leaving us vulnerable to network latency issues, which is what I think several of you have experienced.

More to follow when more is known.

Thanks much for your feedback!

--M

Bartle quotiet: E80, A67, S47, K7. TriadCity characters: Mark, Poobah, Occam, Abelard.
[Email] [WWW]
Mark Phillips


[Avatar]
Joined: 1969.12.31 00:00:00
Messages: 2199
Location: Watsonville, CA
Offline

Hey all:

Very grateful if those of you experiencing the "unable to connect" message with the HTML5 client could do me a favor. Please connect to this page, and report back on the results it displays for ports 80 and 443: http://websocketstest.com.

Thanks!

Bartle quotiet: E80, A67, S47, K7. TriadCity characters: Mark, Poobah, Occam, Abelard.
[Email] [WWW]
Lisa Chau



Joined: 2003.06.02 00:00:00
Messages: 591
Location: Kalaheo, Kauai, HI
Offline

I've had that "unable to connect" message once or twice now. It usually works fine if I just try again. Sometimes I've had to re-load the page. I've never been unable to connect if I keep trying.

Edit: by "re-load the page" I mean click Firefox's reload icon while holding down Shift. Any time I've had that "unable to connect message", shift-reload has worked.

This message was edited 1 time. Last update was at 2014.01.18 19:38:16


Chiensha, Moorea, Vicodin, Xanax, Zoloft.
Mark Phillips


[Avatar]
Joined: 1969.12.31 00:00:00
Messages: 2199
Location: Watsonville, CA
Offline

Update on "unable to connect" with the HTML5 client. Colin very graciously worked with me yesterday to test some fixes, and - woo hoo! - was able to get in. I think the root cause of the problem is now understood, and am hopeful the workaround which has allowed Colin to connect will also work for those of you in Hong Kong, Finland, Glasgow and elsewhere who've been stymied so far.

[Edit: tested successfully from Glasgow.]

Please give it a go at your convenience and let me know.

Thanks!

This message was edited 1 time. Last update was at 2014.02.18 12:39:26


Bartle quotiet: E80, A67, S47, K7. TriadCity characters: Mark, Poobah, Occam, Abelard.
[Email] [WWW]
Mark Phillips


[Avatar]
Joined: 1969.12.31 00:00:00
Messages: 2199
Location: Watsonville, CA
Offline

The HTML5 client is now the "default". The "classic" Java client remains available for those who prefer it.

Many grateful thanks to everyone who helped test, especially Lisa, Colin, Matthew, and Nina. Thanks so much!

Bartle quotiet: E80, A67, S47, K7. TriadCity characters: Mark, Poobah, Occam, Abelard.
[Email] [WWW]
Roxanne Ready



Joined: 2014.07.27 00:00:00
Messages: 4
Offline

I also get that same error, which I bug reported in-game before seeing this thread. I'm on a US military installation in Japan.

Here's my result:
http://websocketstest.com./result/343095

WebSockets supported Yes ✔
WebSocket protocol version rfc-6455
HTTP Proxy No
Browser safari 7.0.4
Antivirus No Data
WebSockets (Port 80) Yes ✔
WebSockets (Port 443) Yes ✔
WebSockets (Port 8080) Yes ✔
WebSockets (Port 443, SSL) Yes ✔

Has any progress been made on this bug? Is switching to the Java client a viable workaround?

Also of note, nothing seems to be saving when I log out (or disconnect) and log back in. May or may not be a related issue.
Mark Phillips


[Avatar]
Joined: 1969.12.31 00:00:00
Messages: 2199
Location: Watsonville, CA
Offline

Hi Roxanne, sorry to hear you're having this issue. You're welcome to try the older Java client, which is still supported, and which seems to perform better when the 'net connection is bad. Try that out and let us know what happens.

Meet you in TriadCity soon I hope!

Bartle quotiet: E80, A67, S47, K7. TriadCity characters: Mark, Poobah, Occam, Abelard.
[Email] [WWW]
Roxanne Ready



Joined: 2014.07.27 00:00:00
Messages: 4
Offline

I tried using the Java client, but it showed me a blank page when I was using Safari. Next, I switched to Google Chrome, and I turned on my Internet proxy. I was able to play using the HTML5 client without interruption, so whether it's the proxy or the browser, I'm happy enough with the fix.

However, none of my progress saved. Every time I log out and back in again, I'm in the same place, naked, with an empty inventory, no matter what I do. Help?

Edit: So I guess my biggest concern is no longer the disconnect error since I can work around that. Maybe this should be in a new thread, but maybe it's related...? Anyway, feel free to split the thread or what-not; or to leave it here for continuity.

This message was edited 1 time. Last update was at 2014.07.29 06:52:54

 
Forum Index » General
Go to: