Help wanted!

For the discussion of general topics about the game.
Mask
Staff
Staff
Posts: 2649
Joined: Tue Jul 15, 2003 9:21 pm

Help wanted!

Post by Mask » Thu Jan 30, 2014 10:46 pm

Hi folks,

Fang's venerable venerableness is dependent on that most ancient of technologies: Java. Since it no longer works anyway, it seems like a good time to move to a better web-based client, something that is a little less meh, and a little more COOL.

I've been looking around for some ideas and I'm thinking node.js and websockets. Does anyone fancy helping out in any capacity? :)

Thanks!

M
Nysan
Sword Grand Master
Sword Grand Master
Posts: 1745
Joined: Thu Aug 14, 2003 12:07 pm

Re: Help wanted!

Post by Nysan » Thu Jan 30, 2014 11:35 pm

I've missed something. What about it isn't working? I'm still sporting Fang on Java.
-Gilain- -Trilev- -Siros-

You do not need to change the world, merely leave it a little better than how you found it.
Mask
Staff
Staff
Posts: 2649
Joined: Tue Jul 15, 2003 9:21 pm

Re: Help wanted!

Post by Mask » Fri Jan 31, 2014 12:14 am

I had to upgrade my installation of Java today for some other thing I use (submitting boring tax returns!) and afterwards, it would no longer launch Fang, sadly :(.

In terms of clients, how many people use clients using protocols such as MCCP or MDSP?
User avatar
Algon
Sword Grand Master
Sword Grand Master
Posts: 1070
Joined: Thu Aug 14, 2003 12:44 am
Location: Waterdeep

Re: Help wanted!

Post by Algon » Fri Jan 31, 2014 5:43 am

I have run into this a few times at work. Have you tried going into the Java security from the control panel and lowering the security? This usually fixes the issue of older apps and certificates, it might prompt you to make sure you want to run the app, but it should work.
Counting bodies like sheep...to the rhythm of the war drums. ~~~ Maynard
User avatar
Lirith
Staff
Staff
Posts: 1867
Joined: Sun Nov 11, 2007 3:37 pm

Re: Help wanted!

Post by Lirith » Fri Jan 31, 2014 9:04 am

Algon wrote:I have run into this a few times at work. Have you tried going into the Java security from the control panel and lowering the security? This usually fixes the issue of older apps and certificates, it might prompt you to make sure you want to run the app, but it should work.
This is exactly what I did after about an hour of pootering around. I iz cluver. I should have just asked you.
Nysan
Sword Grand Master
Sword Grand Master
Posts: 1745
Joined: Thu Aug 14, 2003 12:07 pm

Re: Help wanted!

Post by Nysan » Sat Feb 01, 2014 1:27 am

Mask wrote:I had to upgrade my installation of Java today for some other thing I use (submitting boring tax returns!) and afterwards, it would no longer launch Fang, sadly :(.
Upgraded my Java recently as well. It stopped running Fang. I had to crack open my Java control panel and manually add the 'http://www.skynet.ie' to the 'exception site list' in the security section before it would work again. Annoying when updates break things...

Not sure if that is your problem as well, but maybe this helps someone out there.

Edit: I now get the "not secure" pop-up Algon mentioned, but I'll take a check-box "are you sure?" window over hunting down a new program to run on my mac.
-Gilain- -Trilev- -Siros-

You do not need to change the world, merely leave it a little better than how you found it.
Mask
Staff
Staff
Posts: 2649
Joined: Tue Jul 15, 2003 9:21 pm

Re: Help wanted!

Post by Mask » Tue Feb 04, 2014 3:21 pm

A very very early version of a HTML5 based client available here:

http://www.forgottenkingdoms.org/client
User avatar
Lirith
Staff
Staff
Posts: 1867
Joined: Sun Nov 11, 2007 3:37 pm

Re: Help wanted!

Post by Lirith » Tue Feb 04, 2014 10:54 pm

This is fabby.

Suggestions for changes:

Wider window so there is less text wrapping required
Automatic adjustment of vt line number if possible (current max is 35 which is enough, but if yours is ordinarily set higher then all you see is black under the wee guy. You can type in to adjust it but some people wouldn't know that, esp. new players.)
Add commands history. Up to ten but other people may think a few more would be useful.
See if any sort of logging is at all possible (this would be perfect but not sure if it can be done.)

I will add more if I think of any.
User avatar
Gwain
Sword Grand Master
Sword Grand Master
Posts: 2354
Joined: Tue Nov 01, 2005 9:25 pm
Location: Waterdeep

Re: Help wanted!

Post by Gwain » Wed Feb 05, 2014 12:34 am

When I type connect it automatically says the connection is closed. I think that might be my end though.
Justice is not neccesarily honourable, it is a tolerable business, in essence you tolerate honour until it impedes justice, then you do what is right.

Spelling is not necessarily correct :)
User avatar
Alitar
Sword Grand Master
Sword Grand Master
Posts: 1103
Joined: Thu Mar 08, 2012 5:40 am
Location: Canada

Re: Help wanted!

Post by Alitar » Wed Feb 05, 2014 7:39 am

Doesn't seem to connect from my work, but does from my home. Guessing either the port is one my work doesn't like(though I think it uses port 80 so I doubt that), or my work has some other mystical way of saying no. Alas, I had thought this might at last mean I can stop being productive... :D
"The noir hero is a knight in blood caked armour. He's dirty and he does his best to deny the fact that he's a hero the whole time."
~Frank Miller
Mask
Staff
Staff
Posts: 2649
Joined: Tue Jul 15, 2003 9:21 pm

Re: Help wanted!

Post by Mask » Wed Feb 05, 2014 10:16 am

It does use port 80, but might not work through a proxy. If you have chrome you can open developer tools, then go to network pane, then click connect, and it should give you some meaningful error message there.

Cool thing for me us that it works perfectly from my phone! HTML5 ftw.

Are there any client side web developers who might help develop the client side? I'm going to have a go at sending the data from the tactical interface in a format the browser understand and render.

But first I'll take a quick look at liriths requests!
User avatar
Alitar
Sword Grand Master
Sword Grand Master
Posts: 1103
Joined: Thu Mar 08, 2012 5:40 am
Location: Canada

Re: Help wanted!

Post by Alitar » Wed Feb 05, 2014 11:39 am

Mask wrote: If you have chrome you can open developer tools, then go to network pane, then click connect, and it should give you some meaningful error message there.

Code: Select all

connect | forgottenkingdoms.org | Success | Other | 13 B | 0 B | Pending 
That's what I got back in checking... no information comes up when clicked O.o
I wish I knew the sorceries of these fickle computers better. It seems to think it's working yet it shows the "Connection closed!" string.
"The noir hero is a knight in blood caked armour. He's dirty and he does his best to deny the fact that he's a hero the whole time."
~Frank Miller
Nylo
Sword Grand Master
Sword Grand Master
Posts: 447
Joined: Tue Jul 26, 2011 7:15 pm
Location: Ohio, USA

Re: Help wanted!

Post by Nylo » Wed Feb 05, 2014 1:12 pm

When I try it, I get to the motd, and then it closes connection.
Image
Nylo, Fighter of Tempus
Anver, Transmuter of Garl
Malic, Cleric of Tyr
Luthir, Druid of Mielikki
User avatar
Gwain
Sword Grand Master
Sword Grand Master
Posts: 2354
Joined: Tue Nov 01, 2005 9:25 pm
Location: Waterdeep

Re: Help wanted!

Post by Gwain » Wed Feb 05, 2014 11:34 pm

Though I doubt its possible, limitations of mudding and whatnot, could we in theory add the colour orange to the pallet in the game?
Justice is not neccesarily honourable, it is a tolerable business, in essence you tolerate honour until it impedes justice, then you do what is right.

Spelling is not necessarily correct :)
Mask
Staff
Staff
Posts: 2649
Joined: Tue Jul 15, 2003 9:21 pm

Re: Help wanted!

Post by Mask » Fri Feb 21, 2014 2:57 pm

I've got a much updated version of this available now:

http://www.forgottenkingdoms.org/client

It uses the auto-window sizing code that is now available to all clients to correctly size the window, I also made it a bit bigger, and tried to make sure that the keyboard focus is always correctly in the input box. I also added a history of your last 25 commands.

Please give it a try and let me know if there are further improvements that should be added.
User avatar
Lirith
Staff
Staff
Posts: 1867
Joined: Sun Nov 11, 2007 3:37 pm

Re: Help wanted!

Post by Lirith » Fri Feb 21, 2014 9:45 pm

Do any of these change affect connecting to the game with other clients? I am seeing some strangeness with Cmud when longer lines need to appear on screen. It seems to refresh the page to remove all other text before it will let that line through which it somewhat frustrating because you lose any scrollback.
User avatar
Casamir
Sword Grand Master
Sword Grand Master
Posts: 286
Joined: Tue Aug 04, 2009 2:27 am
Location: The Twilit Grottoes beneath Exham Priory
Contact:

Re: Help wanted!

Post by Casamir » Fri Feb 21, 2014 10:31 pm

I know with Zmud the room diagram seems to be colliding with the top border.
Image

Additional windows also make the bottom bar disappear.
"Get thee back into the tempest and the Night's Plutonian shore!" "'Tis as impossible that he's undrowned as he that sleeps here swims." "I'm begging you please wake me up, In all my dreams I...."
User avatar
Gwain
Sword Grand Master
Sword Grand Master
Posts: 2354
Joined: Tue Nov 01, 2005 9:25 pm
Location: Waterdeep

Re: Help wanted!

Post by Gwain » Sat Feb 22, 2014 4:11 am

memorization slots from level 6 to level 9 in memorized spells are all underlined with zmud now.
Justice is not neccesarily honourable, it is a tolerable business, in essence you tolerate honour until it impedes justice, then you do what is right.

Spelling is not necessarily correct :)
User avatar
Lirith
Staff
Staff
Posts: 1867
Joined: Sun Nov 11, 2007 3:37 pm

Re: Help wanted!

Post by Lirith » Thu Feb 27, 2014 10:09 am

The client looks good now, doesn't kick me when I try to connect.
I know we talked about logging probably being more trouble than it's worth to attempt, but is there any way that this client can have a scrollback feature? Currently, if you happened to be in a fight and someone sends you a tell for example, if it scrolls off the top of the screen then it's lost.

Editing because I immediately found a problem.
If you type in a line that is pretty long, such as a say or smote (I just did this to check the line wrapping), it closes the connection. I repeated the attempt three times and each time I tried to say a long line, it closed the connection.
Mask
Staff
Staff
Posts: 2649
Joined: Tue Jul 15, 2003 9:21 pm

Re: Help wanted!

Post by Mask » Thu Feb 27, 2014 8:43 pm

Hopefully this is now fixed, I'll try and figure out a scroll buffer. I wonder if there is some in game solution we could come up with that would help every user, not just those using this particular client?

Could have a grep command to search a buffer for a given string? Or just a way of seeing last N tells and otells, says etc?
Post Reply