Knights Forum

General Category => Knights Discussion => Topic started by: Stephen on February 20, 2012, 06:24:48 PM

Title: Team chat feature request
Post by: Stephen on February 20, 2012, 06:24:48 PM
Currently team chat works by typing "/t" before your message.

At Saturday's game someone said that this is difficult to use if you are sending a lot of team messages. They suggested being able to type "/t+" and "/t-" to turn team chat on and off "permanently" (i.e., after typing /t+, all future messages are team messages, until you type /t- again).

What do people think of this, and are there any alternative suggestions? I thought that maybe, instead of typing /t codes, there could be a separate key for team chat: for example, press TAB to chat to everyone, press ` (the key above TAB) to chat to your team only. Thoughts?
Title: Re: Team chat feature request
Post by: K9 on February 22, 2012, 10:14:49 PM
I love the separate operator key idea.

Tab, as it is now, chat everyone.
'  the key typically above tab, chat with team

Much easier for my common usage, I selectively alternate between both types on the fly.

Thank you for asking.
Title: Re: Team chat feature request
Post by: Stephen on February 23, 2012, 10:24:12 AM
OK that's what we'll do then :)

* Two separate keys for chat (TAB and ` by default; but make them configurable, as I am not sure if ` exists or is in the same place on all keyboards)
* Get rid of "/t" codes since these are replaced by the above system.
Title: Re: Team chat feature request
Post by: K9 on February 23, 2012, 09:23:03 PM
Love it... ;D
Title: Re: Team chat feature request
Post by: Stephen on July 03, 2012, 04:27:01 PM
Update:

I have now implemented this feature but it does not work exactly as I described above. Instead:


(The reason to do this was to save a bit of programming time: it was taking too long to get rid of the "/t" system from the code... so I looked for a way to keep the existing "/t" code but still have a separate operator key for "team chat".)
Title: Re: Team chat feature request
Post by: ImpassIve_rus on July 03, 2012, 04:58:30 PM
Imho, that is a pretty elegant solution of problem
All ingenious is simple)
Title: Re: Team chat feature request
Post by: ImpassIve_rus on July 08, 2012, 09:55:22 PM
Today we (me, Romanio, Moo and K9. later somebody hidden under " " nickname joined us) played weekly game and have checked a new version of knights. That was very, very cool!)

For example, when we played "Destroy the book" quest with 2:2 teams it took something like 10 minutes to complete it) While one man is guarding a book, second is trying to get the wand. As soon as he done that - they both running to the pentagram, while opponents are trying to stop them)

Invisibility also works fine. I haven't checked it on teammates, but I like transparency (for knight himself and for observers at least) more than previous system)

About "`" button typing "/t " in the chat - that works. The only nuisance of current chat system (imho) is that you cannot quickly delete already written text. Because during a match you have to type fast: sometimes you make errors in your message, sometimes information which you want to tell became outdated (for example, location of the wand) before you will be able to press "Enter" and send it to the chat, so, you will have to delete your previous message to write new. In a critical situation that takes too much time).

P.S. Huh, just noticed what there is already a "Clear" button near the text box. Well, is there any way to activate it by keyboard, not mouse?
Title: Re: Team chat feature request
Post by: Stephen on July 09, 2012, 11:09:35 AM
Thanks for the report. Sorry I didn't join you yesterday... I just felt a bit too tired after working on the new release for the last few days! I will try to stop by this Sunday.

About chat... no, there is no way to activate "Clear" by keyboard, but it could be added. Any suggestions for which key it should be?

Does anybody else have any opinions about the chat system? It is fairly important for team games, so I want to get it right...
Title: Re: Team chat feature request
Post by: ImpassIve_rus on July 09, 2012, 06:09:51 PM
"Any suggestions for which key it should be?"

Well, I don't have any...

And one more question. Does the game saves setting in any way? Because I have tried "Keyboard only" control system instead of "Mouse + keyboad", but it is a bit annoying to set it up every time you run knights. Is it a bug or saving is not implemented?
Title: Re: Team chat feature request
Post by: Stephen on July 09, 2012, 06:54:03 PM
It does save settings, yes. Look in C:\Users\(your name)\AppData\Roaming\ and tell me if there is a file "knights_config.txt" there. (If you are not using Windows 7 then it might be in a different place...)
Title: Re: Team chat feature request
Post by: ImpassIve_rus on July 09, 2012, 08:43:14 PM
Well...
1) I am using Win7.
2) Where is no such file.
3) Looks like now I understand, where is a problem. There is some сyrillic symbols (obviously, they appear in Unicode and some local ASCII tables, but not in a standart) in the path (%appdata% = "C:\Users\Никита\AppData\Roaming"). I will try to solve that problem. Thanks for the answer.
Title: Re: Team chat feature request
Post by: Stephen on July 09, 2012, 08:58:37 PM
Argh... OK, I probably need to support Unicode path names. I will look into that.
Title: Re: Team chat feature request
Post by: Stephen on July 10, 2012, 08:22:26 PM
OK, I believe I have fixed this now, please could you try the following replacement exe:

http://www.knightsgame.org.uk/Knights_Unicode.exe

(Rename it to Knights.exe and save it over your current Knights.exe.) Let me know if it works for you or not!
Title: Re: Team chat feature request
Post by: ImpassIve_rus on July 11, 2012, 10:11:45 AM
Yes, that works!
=)
Title: Re: Team chat feature request
Post by: K9 on July 11, 2012, 06:36:17 PM
Thanks for the report. Sorry I didn't join you yesterday... I just felt a bit too tired after working on the new release for the last few days! I will try to stop by this Sunday.

About chat... no, there is no way to activate "Clear" by keyboard, but it could be added. Any suggestions for which key it should be?

Does anybody else have any opinions about the chat system? It is fairly important for team games, so I want to get it right...

Yes, missed you on the games, we had some fantastic rounds of action with the new team structure. 

Thank you very much for all the hard work on the game - great results!!

Thanks ImpassIve_rus for summary.  Also want to mention the intense Deathmatch rounds.

Nice to see the new player " " <-- although interesting when we tried to reference someone with no name in chats.

I like all the new features encountered including the ` team chat.
Clearing partial (outdated) text has always been painful when typing and caught in midst of zombies.  As it is now, typically unable to clear in a hurry - so I agree, if possible this could be a fix:  Use the CTRL & same key ` or tab as the clear key (if any text is already in the box) - is that easy to code?  Just an idea.  Wouldn't want to affect the current action of pressing ` or Tab by itself which leaves existing text still prepared for editing.

Getting used to Transparent/Invisible knights, great concept - was freaky at first but I like it.

Trying to rally the family for some games to push up the team factor, at least while they're available during the next couple of 'summer months'.
Title: Re: Team chat feature request
Post by: Stephen on July 14, 2012, 06:16:33 PM
Use the CTRL & same key ` or tab as the clear key (if any text is already in the box) - is that easy to code?

Yes, that is a good idea and should be easy to code. In other words Ctrl+Tab (or Ctrl+`) would mean "enter chat mode with a blank slate" while Tab (or `) on its own would mean "enter chat mode preserving existing text". Yes... that could work.

Also, there are some standard keyboard shortcuts for text boxes (like Ctrl+Backspace to "delete previous word") which I don't think work in Knights currently. Adding these might make text editing a little easier.
Title: Re: Team chat feature request
Post by: K9 on July 15, 2012, 08:08:39 PM
Excellent - no rush on those chat updates but eventually would make nice features.

By the way - we all loved today's quests and team play games - Thanks everyone..

Regarding Server List, looks like ImpassIve_rus had same idea I had was adding schedule at exact same moment - please feel free to delete my listing and leave ImpassIve's setup for voting since he also has a Saturday match established.

Thank you.
Title: Re: Team chat feature request
Post by: Stephen on July 16, 2012, 11:27:16 AM
Regarding Server List, looks like ImpassIve_rus had same idea I had was adding schedule at exact same moment - please feel free to delete my listing and leave ImpassIve's setup for voting since he also has a Saturday match established.

Done (actually I deleted Impassive's by mistake instead of yours... oh well, I guess it doesn't matter)