google-code-export / p-g-qvm

Automatically exported from code.google.com/p/p-g-qvm
Other
1 stars 0 forks source link

chat channels: /part /join /0 - /9 #77

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Attached patch adds the following commands:

/join <channel 0 - 9> (password)
  Joins a channel with optional password
/part <channel 0 - 9>
  parts a channel

/0 /1 ... /9
  send a message to that channel to all users also joined with the same
password.

Due to server<-->qvm design limitations, channels must be rejoined on a map
restart.

Welcome to irc :/

Original issue reported on code.google.com by Rez...@gmail.com on 26 Mar 2008 at 3:50

Attachments:

GoogleCodeExporter commented 9 years ago
You could save the channels to a cvar with the CVAR_ARCHIVE flag, they will be
restored on the next map so you could read them to restore the channels.

Also, what does the password do?

Original comment by amanieu on 26 Mar 2008 at 4:04

GoogleCodeExporter commented 9 years ago
Wait.

You mean trem+irc?

FUCKING AWESOME!!!!

Just a few questions. Are the channels that can be joined specified server 
side, or
by the client who connects?

Original comment by Paradox460 on 30 Mar 2008 at 10:10

GoogleCodeExporter commented 9 years ago
1st @ para:

* these are all client commands, they are quite simply channels 0 through 9.

* however each channel can have a password set per user, only other players 
that have
the same password for that channel will see their messages. this makes it very
versatile and we could all '/join 0 op>', other players that '/join 0' or use 
any
other password wont see us chatting.

2nd @ updated patch (obsoletes previous attachment):

* using /0 /1, etc. with no chat text will print current password and who is 
also
joined to that channel using the same password.

* if !registered, player channels are saved between map changes and disconnects 
(see
next point)

* adds a g_chat cvar, default is 'chat.dat'
  this is the file where persistant channel data is stored (data about each
registered user's channels and passwords).

Original comment by Rez...@gmail.com on 3 Apr 2008 at 5:54

Attachments:

GoogleCodeExporter commented 9 years ago
Version 3 of the patch adds admin command !seen, admin flag 'D' - same as 
!listadmins.

!seen name|admin#
  will print out the last time the player was on the server
  supports name search - will print first 10 matches.

This data is saved in chat.dat and is why !seen is not a separate patch.

Original comment by Rez...@gmail.com on 3 Apr 2008 at 8:15

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by Paradox460 on 4 Apr 2008 at 1:49