Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Select Multiple Recipients (PM)



  • Please log in to reply
19 replies to this topic

#1
OFFLINE   Chuckun

Chuckun

    Advanced Member

  • Members
  • PipPipPip
  • 126 posts
20
On a distinguished road
Firstly, I absolutely LOVE the new recipient list feature of the PM UI in 0.4. Well done for that.

I have a suggestion though - the title pretty much says it all.. Would it be possible to implement a way of selecting multiple people from the list?

The only way I can suggest doing that would be to CTRL+Click on several people from the list..

If it's not possible to captcher ctrl like that, then perhaps have it so you must double click people from the list to add to the recipient field.. But if possible, the ctrl+click option is probably the least messy for you guys..

Chuckun

#2
OFFLINE   Chuckun

Chuckun

    Advanced Member

  • Members
  • PipPipPip
  • 126 posts
20
On a distinguished road
Any chance of this coming in? Or at least any supporters of the idea? I've always wanted such functionality to the PM system but currently no MOD offers it :P

#3
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPip
  • 2671 posts
185
On the road to fame
  • LocationPoland
We will look into that, however we don't promise anything :)

#4
OFFLINE   Chuckun

Chuckun

    Advanced Member

  • Members
  • PipPipPip
  • 126 posts
20
On a distinguished road
No promise necessary :) If it's too much work for such a little thing then being a programmer I can perfectly understand it. Just thought I'd throw it out there since I have no idea what sort of work is involved due to never ever delving into the realms of ET other than playing :P

#5
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPip
  • 2671 posts
185
On the road to fame
  • LocationPoland
I don't promise anything because we were trying to implement it once before 0.4.0 release but either it was too much work at that time (just before the release) or there was some restriction coming from the engine - I don't remember now. If it's the 1st thing then we will surely add it.

#6
OFFLINE   Chuckun

Chuckun

    Advanced Member

  • Members
  • PipPipPip
  • 126 posts
20
On a distinguished road
It may very well be the engine since it was only designed to send to an array of matching players with the defined string in their name.. However, im not sure if a mod could simply do a loop, sending the PM to each player chosen in the list.. As I've said previously, I never delved into ET scripting let alone mod development, so I have no idea about the limitations and/or language it uses :)

Only way I can explain what I mean is in my own made up programming language (upon reflection, it seems to be PHP crossed with jscript) lol
message = var message;
players = array(selectedplayers);
foreach players as player {
   sendpm(player, message);
}

I hope that clearly explains what I mean by looping through selected recipients..

Edited by Chuckun, 08 December 2011 - 03:44 AM.


#7
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPip
  • 2671 posts
185
On the road to fame
  • LocationPoland
Implemented :) Available since: 0.5.2

However there is one limitation to it: server can't have the g_floodprotect cvar enabled or the flood protection cvars have to be tuned up for it. Otherwise the PM will be sent only to one player.

#8
OFFLINE   Chuckun

Chuckun

    Advanced Member

  • Members
  • PipPipPip
  • 126 posts
20
On a distinguished road

Implemented :) Available since: 0.5.2

Awesome! Thank you!

However there is one limitation to it: server can't have the g_floodprotect cvar enabled or the flood protection cvars have to be tuned up for it. Otherwise the PM will be sent only to one player.

Makes sense.. Perhaps in the future, if the engine allows it, this could be altered by changing how g_floodprotect works.. (ie, checking if it's a PM to multiple people, or a repeated PM to one person).

Great job guys!

#9
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPip
  • 2671 posts
185
On the road to fame
  • LocationPoland
yes, we could make the change on the server side, to block too quickly repeated multi message. I haven't thought about that yet though, how to do it :)

#10
OFFLINE   Chuckun

Chuckun

    Advanced Member

  • Members
  • PipPipPip
  • 126 posts
20
On a distinguished road

yes, we could make the change on the server side, to block too quickly repeated multi message. I haven't thought about that yet though, how to do it :)


I should take a look at etpub source code or something and learn roughly how these things work because I'm a decent PHP programmer so I have the correct mind for programming any language I suppose (in terms of knowing how to approach creating a method or function), that way I could probably help out with these things rather than just throw suggestions at you all the time lol. Essentially youd need to 1 - check if the flood is a PM. 2 - if its a PM, check for the names in each PM array to see if they are the same or varying . 3 - pass it if the names are not duplicates, block it if they are.

Edited by Chuckun, 08 May 2012 - 12:10 AM.


#11
ONLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPip
  • 369 posts
51
Getting Better
  • LocationCroatia
great idea Chuckun, anyway, when is 0.5.2 coming out?

#12
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPip
  • 2671 posts
185
On the road to fame
  • LocationPoland
I forgot to mention that there is another limitation: max 10 slections :) If you think it's not enough, then I can raise it. But it's the restriction to not let people spam too many players and the other thig is who would like to send PM to more than 10 people anyway? If I am wrong in my assumptions, please state your opinion :)

#13
OFFLINE   Chuckun

Chuckun

    Advanced Member

  • Members
  • PipPipPip
  • 126 posts
20
On a distinguished road

I forgot to mention that there is another limitation: max 10 slections :) If you think it's not enough, then I can raise it. But it's the restriction to not let people spam too many players and the other thig is who would like to send PM to more than 10 people anyway? If I am wrong in my assumptions, please state your opinion :)


Nah that's enough IMO. No need to send PM to everyone on the server lol.

Edited by Chuckun, 08 May 2012 - 02:41 PM.


#14
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPip
  • 2671 posts
185
On the road to fame
  • LocationPoland
Multiple PMs can now override flood protection if admin decides so. More details soon.

#15
OFFLINE   hellreturn

hellreturn

    Management

  • Management
  • PipPipPip
  • 2385 posts
108
On the road to fame

great idea Chuckun, anyway, when is 0.5.2 coming out?


When it's ready :) We never give out release dates or else u might see flood of admins asking why it's not yet released.

#16
ONLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPip
  • 369 posts
51
Getting Better
  • LocationCroatia

When it's ready :) We never give out release dates or else u might see flood of admins asking why it's not yet released.


ok np, but its good to know that ur working on it :)

#17
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPip
  • 2671 posts
185
On the road to fame
  • LocationPoland
OK, the problem with flood protection has been resolved. Multiple Private Messages work now like normal PMs.
There is the new command to send multiple messages:
ml <number of recipients> <recipients ids> <message>

ml 5 3 4 6 7 1 message
  • ml - cmd name
  • 5 - number of recipients
  • 3,4,6,7,1 - recipients ids, have to be numbers - won't work otherwise
  • message - message itself


#18
OFFLINE   Chuckun

Chuckun

    Advanced Member

  • Members
  • PipPipPip
  • 126 posts
20
On a distinguished road
Awesome! :D For once it'll be easier to use the private message 'window' than the console! Now thats a first! xD (assuming of course that you were able to implement the multi-selection thing I mentioned in my OP anyways :P)

This really is a nifty function though.. Especially if you got visual multi selection working.. I've never seen that within ET.

Keep up the great work guys, really! <3

Edited by Chuckun, 09 May 2012 - 09:39 PM.


#19
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPip
  • 2671 posts
185
On the road to fame
  • LocationPoland

assuming of course that you were able to implement the multi-selection thing I mentioned in my OP anyways

Here is the proof :) Hope you are satisfied.

Multiple PMs.jpeg

#20
OFFLINE   Chuckun

Chuckun

    Advanced Member

  • Members
  • PipPipPip
  • 126 posts
20
On a distinguished road
I am indeed! That looks incredible ^_^





Also tagged with one or more of these keywords: Implemented

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users