Whispers.

Discussion of all aspects of the game engine, including development of new and existing features.

Moderator: Forum Moderators

Post Reply
User avatar
Tomsik
Posts: 1401
Joined: February 7th, 2005, 7:04 am
Location: Poland

Whispers.

Post by Tomsik »

Usage: /whisper [nick] [message]
Sends private message to [nick]

Right now it works only in lobby.

Note: Files are not whole files, they contain only changed parts, i marked what's exactly changed.
Attachments
files.zip
(2.16 KiB) Downloaded 328 times
Xan
Inactive Developer
Posts: 258
Joined: August 28th, 2005, 3:05 pm
Contact:

Post by Xan »

Actually, you should probably just post the whole files, since a diff can be obtained really easily.
"It is time people learned about their failures and my successes."
User avatar
Tomsik
Posts: 1401
Joined: February 7th, 2005, 7:04 am
Location: Poland

Post by Tomsik »

I have problems with accessing SVN, ("Malformed network data") so i'm not sure i have newest files. (last time i've updated it yesterday)
Boucman
Inactive Developer
Posts: 2119
Joined: March 31st, 2004, 1:04 pm

Post by Boucman »

malformed network data happens when your trying to update while someone else is comitting...

tomsik, I'm looking at your code, but could you still post it on patches.wesnoth.org

we will keep this thread to discuss the actual content of the patch, it might be usefull for other people willing to contribute and wondering how to do it :)

I usually prefer receiving a diff, it's easier to me to apply and check

thx
Fight key loggers: write some perl using vim
User avatar
Noyga
Inactive Developer
Posts: 1790
Joined: September 26th, 2005, 5:56 pm
Location: France

Post by Noyga »

Hmmm ... I would just change "/whisper" to "/msg"
"/msg" sounds more universal to me
Boucman
Inactive Developer
Posts: 2119
Joined: March 31st, 2004, 1:04 pm

Post by Boucman »

I've already told that to TOmsik on IRC, but I'm repeating it here so other people see my comments and dont do the same mistakes

1) please use svn diff to do patches, it's easier for me to apply, and it saves the precise revision number you are using
2) always submit to patches.wesnoth.org, it allows me to keep track of the patch (posting here too for discussion is ok)
3) add a changelog entry in the patch, it avoids me doing it
4) add yourself to about.cfg if your not there yet

thx
Fight key loggers: write some perl using vim
User avatar
Tomsik
Posts: 1401
Joined: February 7th, 2005, 7:04 am
Location: Poland

Post by Tomsik »

Submited on patches.wesnoth.org.
I've changed "/whisper" to "/msg".
Now you can send from/to lobby and as/to observer, but you can't send as/to player because especially in FFA it could make bad situations. (hidden aliances for example)
Boucman
Inactive Developer
Posts: 2119
Joined: March 31st, 2004, 1:04 pm

Post by Boucman »

slight problem... from the lobby you don't know who is a player and who is an observer...
Fight key loggers: write some perl using vim
User avatar
Noyga
Inactive Developer
Posts: 1790
Joined: September 26th, 2005, 5:56 pm
Location: France

Post by Noyga »

What about adding a small eye icon in front of observers names ?
User avatar
Tomsik
Posts: 1401
Joined: February 7th, 2005, 7:04 am
Location: Poland

Post by Tomsik »

Noyga wrote:What about adding a small eye icon in front of observers names ?
That's work for whole patch/commit i think.
Post Reply