|Anonymous | Login | Signup for a new account||2021-09-17 01:31 UTC|
|My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003131||Zandronum||[All Projects] Suggestion||public||2017-05-08 19:53||2021-08-07 22:05|
|Target Version||3.1||Fixed in Version||3.1-beta|
|Summary||0003131: Chat EVENT script.|
|Description||It would be really nice to have control over player chatting. This in my case would allow me to control whether people are close to eachother, so you could "hear" them talk. I don't want to have people be able tot alk to eachother from far away.|
I can also imagine this being useful in Who Dun It, where you can replace consolecommand with this EVENT script instead if it comes to preventing people chatting with eachother.
This in combination withhttp://zandronum.com/tracker/view.php?id=2836 [^] would be the most solid.
|Attached Files||3131.WAD [^] (2,544 bytes) 2021-08-07 20:33|
|I suppose this also requires a cvar to disable the chat. The function could still pick up whenever someone actually sends a message.|
|Not withstanding the fact it's a terrible "feature," the focus is on regressions and any issues with acs and decorate. Pointless stuff like this only further delays 3.0|
You're giving zero context to your post explaining why it's terrible, so I'll just assume this is another cry for negativity. Also there's no 3.1 option, so I can't really choose to show this request can be delayed, which I'm totally fine with.
Torr Samaho (administrator)
I don't get what exactly you are requesting. It sounds as if you would like to be able to selectively block chat, which would not be possible if just some new script type is triggered when somebody chats.
Quote from Fused
Why do you think this? We even already added a tracker target for 3.1.
I request the EVENT type script to be extended to also check whenever someone chats. This message should be send as argument, and the mod could utilise it. The problem is that there should also be a way to mute everybody ingame, because otherwise it won't be very useful. I want all of this so I can have chat messages appear for players that are only close to whoever send a message, instead of having a chatmessage appear globally.
I see. This isn't a big priority, so I just mean whenever 3.0 is released.
edited on: 2017-11-06 14:41
I should improve my explanation on this ticket a bit.
I have a side project which resembles Dayz. I want to have the possibility to control chatting from players to where I can decide through code who sees what a player says depending if they're close to this person. The EVENT script was just a possible solution for this, since it's generally used for similar things.
My idea was to receive the message sent, and simply log it after doing the check I want. The only problem I have is that there's no way for me to receive what a player says.
This is roughly how the code would look like. A small workaround which allows me to send the chatmessage only to individual people:https://pastebin.com/SEBFZqL1 [^]
Tunnel connections to your server and let the proxy snif chat messages. Whenever it passes them back is your choice.
Getting player position should not be a problem.
|If it could actually include the message as a string var, that could be handy for adding chat commands in a mod.|
I can think of plenty of reasons to make something like this. Part of me would like to add a filter option to filter out words I don't want to see, and I would also just like to have control over what people say before others see it. Obviously not to manipulate what they say, but rather to accept or deny what comes through.
To add to my explanation from a while ago, I can see this being useful in Zombie Horde 2 too. It would allow me to make a new teamchat where humand and zombies only share with eachother, rather than the other species. Please consider this.
3.1 now supports the event script type: GAMEEVENT_CHAT, which is called whenever a chat message is sent. The activator is always the world, arg1 is the number of the player who sent the message (-1 if the server sent the message), and arg2 is 0 if it was a global message or 1 if it was a team message.
Private chat messages will not trigger this event for good reason.
edited on: 2021-08-07 20:37
Windows 10 (1903 Build)
GeForce GTX 1060 6GB (Drivers 18.104.22.16812 - 2019-10-24)
Zandronum 3.1-alpha 64-bit (210801-2044)
1. zandronum -host -iwad doom2.wad -file 3131.wad +teamplay 1 +map MAP01 +sv_updatemaster 0
2. zandronum -iwad doom2.wad -file 3131.wad +map MAP01
3. Join the game with client.
4. Type a message. (success: arg1 = 0, arg2 = 0)
5. Type a team message. (success: arg1 = 0, arg2 = 1)
6. Use server to type a message. (success: arg1 = -1, arg2 = 0)
7. Join the game with client 2.
8. Type a message. (success: arg1 = 1, arg2 = 0)
9. Type a team message. (success: arg1 = 1, arg2 = 1)
10. Type a sayto message. (success: NONE)
11. Type a private message. (success: NONE)
|Thanks for testing and for your thorough analysis! I'll consider this resolved then.|
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
|2017-05-08 19:53||Fused||New Issue|
|2017-05-08 19:54||Fused||Note Added: 0017609|
|2017-05-08 21:51||Decay||Note Added: 0017610|
|2017-05-09 05:24||Fused||Note Added: 0017611|
|2017-05-09 06:09||Torr Samaho||Note Added: 0017613|
|2017-05-09 07:29||Fused||Note Added: 0017616|
|2017-05-13 11:15||Edward-san||Note Added: 0017638|
|2017-05-13 11:15||Edward-san||Note Deleted: 0017638|
|2017-11-06 14:36||Fused||Note Added: 0018812|
|2017-11-06 14:41||Fused||Note Edited: 0018812||View Revisions|
|2017-11-06 17:37||Filystea||Note Added: 0018815|
|2018-06-03 09:59||StrikerMan780||Note Added: 0019265|
|2018-10-09 14:17||Fused||Note Added: 0020060|
|2021-07-31 03:50||Kaminsky||Note Added: 0021656|
|2021-07-31 03:50||Kaminsky||Assigned To||=> Kaminsky|
|2021-07-31 03:50||Kaminsky||Status||new => needs testing|
|2021-07-31 03:50||Kaminsky||Target Version||=> 3.1|
|2021-07-31 03:51||Kaminsky||Relationship added||has duplicate 0002585|
|2021-08-07 20:33||arkore||File Added: 3131.WAD|
|2021-08-07 20:33||arkore||Note Added: 0021676|
|2021-08-07 20:37||arkore||Note Edited: 0021676||View Revisions|
|2021-08-07 22:05||Kaminsky||Note Added: 0021678|
|2021-08-07 22:05||Kaminsky||Status||needs testing => resolved|
|2021-08-07 22:05||Kaminsky||Fixed in Version||=> 3.1-beta|
|2021-08-07 22:05||Kaminsky||Resolution||open => fixed|
Questions or other issues? Contact Us.
|Copyright © 2000 - 2021 MantisBT Team|