Legends of Elveron
Forums for Legends of Elveron

Home Guide Forum Archive
FAQ SearchRegisterLogin



Post new topic Reply to topic  [ 71 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC + 1 hour [ DST ]

Author Message
 Post subject: Re: Realm Chat
PostPosted: Fri Mar 02, 2012 07:17 
Offline
User avatar

Joined: Wed Apr 13, 2005 21:25
Posts: 1850
Location: Michigan
zip wrote:
Adding a line with new date each day will be more complicated because it's quite simple just to use the posted timedate.
There is no need for it, but more of a 'It would be cool if. . .' idea.
Quote:
The look of VB chat is quite similar to the style I already created so I think we'll start with that.
If you like the looks of the smf-style, it's probably easy to just cheat it the same way I cheated when I posted an example.

SpaceNumber = MaxRulerNameLength - RulerNameLength
ChatName = "1 space for each SpaceNumber" + "RulerName"
Display = ChatName [Time]: Message

And use a mono-spaced font for displaying the name & date. It's not very elegant, but it should work.

The max string length of a ruler name is 20. It' shouldn't look too out of place if the ruler name is short. The max kingdom name is also 20, this makes me want to test what it would look like.

Examples

VB chat using both ruler & kingdom name:
Code:
[18:38] 12345678901234567890 of 12345678901234567890: Anyone online?
[18:38] Normal of Smallvile: Yes
[18:39] 12345678901234567890 of 12345678901234567890: Can you get me a farsight of the big dworf in # 454
[18:40] Normal of Smallvile: In RB
[18:50] 12345678901234567890 of 12345678901234567890: Thanks
VB chat using only ruler name:
Code:
[18:38] 12345678901234567890: Anyone online?
[18:38] Normal: Yes
[18:39] 12345678901234567890: Can you get me a farsight of the big dworf in # 454
[18:40] Normal: In RB
[18:50] 12345678901234567890: Thanks
Smf-style using only ruler name:
Code:
12345678901234567890 [18:38]: Anyone online?
              Normal [18:38]: Yes
12345678901234567890 [18:39]: Can you get me a farsight of the big dworf in # 454
              Normal [18:40]: In RB
12345678901234567890 [18:50]: Thanks
              Normal [18:40]: NP
                FIVE [18:40]: This smf-stye does have a downside when cheating the system.
              Normal [18:40]: Really?
                FIVE [18:40]: Yes, if every kingdom has a short name
                FIVE [18:40]: The extra space on the side looks silly. 
              Normal [18:40]: It's not so bad
                FIVE [18:40]: I also have mixed feelings of what the post looks like if the text takes up more than 1 line of space.  Look at what happens when someone post longer messages than a quick hello.  The text will wrap to the line below.
              Normal [18:40]: It does look silly for the text to go under the ruler name and timestamp.
                FIVE [18:40]: And I don't know of anyway to cheat this out without screwing up other things.
              Normal [18:40]: So really the easy readability is only there when reading very short and very long messages, but looks kinda stupid when the messages take up a couple of lines.
                FIVE [18:40]: Maybe cheaters never prosper?
              Normal [18:40]: :(


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Fri Mar 02, 2012 11:31 
Offline
Site Admin
User avatar

Joined: Fri Mar 12, 2004 01:04
Posts: 2140
Location: Sweden
I will play around with some html later this weekend. Making good layouts in html is far more complicated than just draw some squares on a paper.


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Sat Mar 03, 2012 17:05 
Offline
Site Admin
User avatar

Joined: Fri Mar 12, 2004 01:04
Posts: 2140
Location: Sweden
Do to list updated.


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Tue Mar 06, 2012 21:48 
Offline
Site Admin
User avatar

Joined: Fri Mar 12, 2004 01:04
Posts: 2140
Location: Sweden
I did some testing today, just playing around and the chat works quite well. I have only tried it in it's own window but I plan to add it to the bottom of the new layout (testing purpose) with a button show/hide chat or something similar. Still some work left but hopefully I can upload something for testing this weekend.

EDIT
The resize feature I want to add to the realm chat content will probably be very easy to add. Reading the docs for the framework I'm using it's only like element.makeResizable(options) and then the element can be resized.


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Thu Mar 08, 2012 01:15 
Offline
Site Admin
User avatar

Joined: Fri Mar 12, 2004 01:04
Posts: 2140
Location: Sweden
In my development copy I have just added the chat to the layout, made the height resize option. Tested it in Chrome and FF. It's not much work left now. I must make some more testing in IE and Safari. Make a hide link. It will be interesting to see if I need to upgrade the memory on the server.


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Sat Mar 10, 2012 01:38 
Offline
Site Admin
User avatar

Joined: Fri Mar 12, 2004 01:04
Posts: 2140
Location: Sweden
I have uploaded the chat but not made it public yet. After I had uploaded it I found some minor style adjustments which I have corrected but there could be more stylish problems which I would like to find before I make the chat public.

I still expect to bring the chat online tomorrow.


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Sat Mar 10, 2012 12:34 
Offline
Site Admin
User avatar

Joined: Fri Mar 12, 2004 01:04
Posts: 2140
Location: Sweden
I have now added the realm chat to the sidebar. You must have test status flag enabled to see the link in the sidebar.

I had of course some problem to get the chat to work in IE6 (please upgrade the browser because it old), it will work but you have to open it in a new window which isn't optimal. I doubt there is anyone using IE6 now days, maybe 1 or 2, hehe.

The chat window can be resized if you clickdrag on the Message bar. I'm not sure if everyone will find out this without knowing it.
Maybe you have some suggestions how this could be made better?

Right now I have limited the post sizes to 100 signs and it will only store 200 posts. Those values will be increased later.

Right now I know that chars like ÅÄÖ isn't working. Those characters will only show as ??? but I probably know how to correct this.

Please post bugs when you find them.
Also give input on the layout. Maybe you use a browser which shows the layout differently from the browser I have tested. Please always give input on which browser you use.


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Sat Mar 10, 2012 14:08 
Offline
User avatar

Joined: Wed Jul 06, 2005 02:17
Posts: 2749
Location: Finland
Quote:
You cannot post a message that countains more than 100 characters


That's pretty harsh, but I guess it's manageable. What bugs me more is that enter doesn't send the message but changes the line within the chatbox instead. With a 100 character limit, I see no reason for it working that way, I think enter should just send, as it makes communicating much faster.

Also, resizing the chat window is glitchy. First I managed the hide the whole window and couldnt bring it back so I randomly clicked onto the background and now the chat is taking up the whole screen and I can't resize it again because the upper bar and the rest of the chat is hidden somewhere out of screen.

_________________
www.ceekayed.com


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Sat Mar 10, 2012 15:11 
Offline
Site Admin
User avatar

Joined: Fri Mar 12, 2004 01:04
Posts: 2140
Location: Sweden
The 100 characters limit is only now when we test the chat, that will be increased later.

I'll check if it's possible to send the message with enter directly but that will also force me to make alt+enter to make a new line and I'm not sure that's possible. I'll at least try to fix this.

The resize of the chat window have not been a problem for me if I don't try to resize the chat above the window on top. The problem is that if you click hide realm chat and then show again then the realm chat opens with same size as before you hide it. Doing like this should resize it back to standard. I will correct this.

Did you have any other problems with the resize of the chat? Which browser are you using?


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Sat Mar 10, 2012 15:32 
Offline
User avatar

Joined: Wed Jul 06, 2005 02:17
Posts: 2749
Location: Finland
Thanks for the quick fix.

My browser is firefox 10.0.2

The resizing seems to be buggy so that from what I can understand, when you click the bar, it should follow your mouse cursor, but it does it only when you're moving the cursor down. If you want to resize the chat bigger, you'll have to click and drag the bar upwards (and that doesn't work always either). Also, it doesnt seem to recognize all clicks especially when you're trying to end the resizing procedure by clicking the bar again, which leads to some pretty awkward moments when you click outside the bar and the chat suddenly jumps to fill your whole screen.

_________________
www.ceekayed.com


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Sat Mar 10, 2012 16:04 
Offline
Site Admin
User avatar

Joined: Fri Mar 12, 2004 01:04
Posts: 2140
Location: Sweden
I have not submitted any fixes yet. I just installed FF 10 but I have not yet been able to reproduce any problems with the resize.

I'll spend some hours later this evening.

Thanks for testing, and please continue to test!


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Sat Mar 10, 2012 17:28 
Offline

Joined: Sat Jul 02, 2011 23:33
Posts: 116
I prefer the way the enter key works at the moment only the 100 characters make it useless.

Could be that I am wrong the 100 character limit is a perfect match.

If people want to send a message why is it so hard to press Tap key followed by Enter key?


Last edited by Nost Gam on Sat Mar 10, 2012 18:24, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Sat Mar 10, 2012 17:46 
Offline

Joined: Sat Jul 02, 2011 23:33
Posts: 116
is there or will there be any commands in this chat?

Like

/vote_war yes

or

/show newspaper


By the way BIG kudos Zip this is a very huge and AWESOME move by you!


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Sat Mar 10, 2012 21:14 
Offline
Site Admin
User avatar

Joined: Fri Mar 12, 2004 01:04
Posts: 2140
Location: Sweden
Nost Gam wrote:
I prefer the way the enter key works at the moment

I'll add it as an option to send messages directly if I manage to find a solution for it.


Nost Gam wrote:
is there or will there be any commands in this chat?

Like

/vote_war yes

or

/show newspaper


By the way BIG kudos Zip this is a very huge and AWESOME move by you!

I have not coded any command right now as I first wanted to get a working chat. It will be fun to add good features when we have tested this chat so suggestions are welcome.

The only commands at the moment are some bbcode which you can add, like [b] for bold just like in this global council. I'm plan to add buttons like in the forum later.


I have tried the chat in the phone but that didn't work as expected.


Top
 Profile  
 
 Post subject: Re: Realm Chat
PostPosted: Sat Mar 10, 2012 21:46 
Offline

Joined: Sat Jul 02, 2011 23:33
Posts: 116
zip wrote:
I have tried the chat in the phone but that didn't work as expected.


What was wrong? I just tried my phone (galaxy note) It works but it does somehow jump the chat around on whichever page I got in the background.


Top
 Profile  
 
Display posts from previous:  Sort by  

All times are UTC + 1 hour [ DST ]

Post new topic Reply to topic  [ 71 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  





Elveron - the online strategy game
Elveron phpBB3 style by Ulf Frisk and Michael Schaeffer
Copyright © Ulf Frisk, Michael Schaeffer 2007.
Powered by phpBB® Forum Software © phpBB Group