Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-09-2009, 04:04 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
onRemotePlayerChats(obj, str) for NPC's

PHP Code:
onRemotePlayerChats(objstr) - another player is saying somethingplayer objecttext 
It would be awesome if it would trigger when an NPC's chat is changed as well, or at the very least, get an onRemoteNPCChats(obj, str).
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #2  
Old 09-09-2009, 04:10 PM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by xXziroXx View Post
well, or at the very least, get an onRemoteNPCChats(obj, str).
This would make much more sense I would think, but I'm not sure exactly how it would work since simply reading when the npc's chat changes wouldn't always work if the NPC, for example, repeats itself (assuming that's how the function would be called, since the client can easily tell when a player chats due to the chat bar but it's not so simple for npcs).
Reply With Quote
  #3  
Old 09-09-2009, 06:54 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
I would like to have a way to change the own player.chat locally. Yea, I know, sounds awkward. Let me explain. Let's say the player enters "Hi there" into the chat bar and hits enter. Let's also assume that some dork added "there" to the clientside swear filter. Last, but not least, the player has this swear filter enabled (it's optional ), but most of the other players don't. My goal: filter the word locally for the player, and show it to those who have the filter disabled.
Way too complicated explanation for such an easy thing. Well, you hopefully know what I mean anyway.
Reply With Quote
  #4  
Old 09-09-2009, 09:33 PM
Pelikano Pelikano is offline
Registered User
Pelikano's Avatar
Join Date: Oct 2008
Posts: 1,133
Pelikano has a little shameless behaviour in the past
Quote:
Originally Posted by Crow View Post
I would like to have a way to change the own player.chat locally. Yea, I know, sounds awkward. Let me explain. Let's say the player enters "Hi there" into the chat bar and hits enter. Let's also assume that some dork added "there" to the clientside swear filter. Last, but not least, the player has this swear filter enabled (it's optional ), but most of the other players don't. My goal: filter the word locally for the player, and show it to those who have the filter disabled.
Way too complicated explanation for such an easy thing. Well, you hopefully know what I mean anyway.
like in a game not allowed to be discussed on the forums?

Last edited by pooper200000; 09-10-2009 at 03:30 AM.. Reason: No discussion of other MMORPGs.
Reply With Quote
  #5  
Old 09-09-2009, 09:46 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Crow View Post
I would like to have a way to change the own player.chat locally. Yea, I know, sounds awkward. Let me explain. Let's say the player enters "Hi there" into the chat bar and hits enter. Let's also assume that some dork added "there" to the clientside swear filter. Last, but not least, the player has this swear filter enabled (it's optional ), but most of the other players don't. My goal: filter the word locally for the player, and show it to those who have the filter disabled.
Way too complicated explanation for such an easy thing. Well, you hopefully know what I mean anyway.
Then just use something like this clientside:
PHP Code:
function onRemotePlayerChats(temp.objtemp.chat)
{
  
temp.obj.chat _FILTERFUNCTON(temp.chat);

Other players won't see the change because it is clientside.
__________________
Skyld
Reply With Quote
  #6  
Old 09-09-2009, 09:46 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Crow View Post
I would like to have a way to change the own player.chat locally. Yea, I know, sounds awkward. Let me explain. Let's say the player enters "Hi there" into the chat bar and hits enter. Let's also assume that some dork added "there" to the clientside swear filter. Last, but not least, the player has this swear filter enabled (it's optional ), but most of the other players don't. My goal: filter the word locally for the player, and show it to those who have the filter disabled.
Way too complicated explanation for such an easy thing. Well, you hopefully know what I mean anyway.
Well you could just use onRemotePlayerChat, which is clientside; All you have to do is have this function for those who want swear filters, and have it filter the remote player's chat. As it's clientside, it will only apply to the player who is running the swear filter, and not for all the players it is actually censoring.
Reply With Quote
  #7  
Old 09-10-2009, 05:37 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
I guess I forgot to tell you guys that onRemotePlayerChats() doesn't get triggered when you yourself chat.

Edit: Also, it seems you misunderstood me, Dusty. I want to achieve a swear filter which each player can toggle for themselves, so they either see every swear word, or they don't. There's not supposed to be a mix between visible swear words and censored ones.
Reply With Quote
  #8  
Old 09-10-2009, 05:40 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Crow View Post
I guess I forgot to tell you guys that onRemotePlayerChats() doesn't get triggered when you yourself chat.
So your own chat doesn't get filtered? Kind of see it as a benefit... I mean, if I want others to be censored, that's good. I mean, what difference does it make if my own chat is filtered? That just means while I may not want to hear curse words, those who don't care can hear them, even from me.

However, I wouldn't be opposed to a sort of player.localchat var or something.

edit: That's exactly what onRemotePlayerChats() will achieve. I can toggle on swear filter and then use onRemotePlayerchats() to censor the chat of all the other players on my screen without actually changing what they say. They get to swear and I get to censor it for myself.
Reply With Quote
  #9  
Old 09-10-2009, 05:44 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Well, I think it's a bit awkward if your own chat doesn't get filtered.
Reply With Quote
  #10  
Old 09-10-2009, 05:50 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Crow View Post
Well, I think it's a bit awkward if your own chat doesn't get filtered.
Well if they don't want to see cursing then maybe they shouldn't curse? Or just go ahead and censor their chat anyways with onPlayerChats to show everyone else they have their chat censored.
Reply With Quote
  #11  
Old 09-10-2009, 05:50 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Crow View Post
Well, I think it's a bit awkward if your own chat doesn't get filtered.
It would be filtered for other people who have the swear filter, though. Plus, it would stop people trying to evade the swear filter so much by modifying the word beyond recognition, because they wouldn't even be aware what was filtered and what wasn't.
__________________
Skyld
Reply With Quote
  #12  
Old 09-10-2009, 06:01 PM
Cloven Cloven is offline
Delteria
Cloven's Avatar
Join Date: Dec 2006
Location: Florida, United States
Posts: 542
Cloven has a spectacular aura about
Send a message via AIM to Cloven
Quote:
Originally Posted by Skyld View Post
It would be filtered for other people who have the swear filter, though. Plus, it would stop people trying to evade the swear filter so much by modifying the word beyond recognition, because they wouldn't even be aware what was filtered and what wasn't.
And it's relatively easy to filter out the commonly used filter evasion tactics. Most people simply just do not do it.

Personally speaking I think a word filter is useless. It would be much more efficient and logical to have an option to ignore/unignore an individual player's chat in-game, which would simply prevent the ignored player's chat from being displayed to the ignoring player at all.
Reply With Quote
  #13  
Old 09-10-2009, 06:04 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Cloven View Post
And it's relatively easy to filter out the commonly used filter evasion tactics. Most people simply just do not do it.

Personally speaking I think a word filter is useless. It would be much more efficient and logical to have an option to ignore/unignore an individual player's chat in-game, which would simply prevent the ignored player's chat from being displayed to the ignoring player at all.
If such a private filter is implemented most people would not need to try to evade it as it's so low-key that it'd be nearly impossible to tell who has their chat filtered and who doesn't. It's so non-invasive that most would have no need to try to avoid it.
Reply With Quote
  #14  
Old 09-10-2009, 06:17 PM
Cloven Cloven is offline
Delteria
Cloven's Avatar
Join Date: Dec 2006
Location: Florida, United States
Posts: 542
Cloven has a spectacular aura about
Send a message via AIM to Cloven
Quote:
Originally Posted by DustyPorViva View Post
If such a private filter is implemented most people would not need to try to evade it as it's so low-key that it'd be nearly impossible to tell who has their chat filtered and who doesn't. It's so non-invasive that most would have no need to try to avoid it.
I don't disagree, I just don't see the need to implement a filter where a simple ignore option should otherwise be available. If a person is truly offended by another player's chat, "filtering" one or two words isn't going to change the obvious meaning of the offending statement, thus the offensiveness still remains and the filter has just been invalidated.

Consider: "You're an a55hole noob loser." > "You're an ******* noob loser."

There is no difference between the two as both are obviously meant to be insulting. The fact that the insulting nature of the statement doesn't change is reason enough to simply have an ignore option.

Just my opinion of course, but again, I see little to no real logic in implementing a filter. Being completely ignored has a much more dramatic impact on asinine people, as it is generally the attention they garner from upsetting people that provides them with the motivation to do so. Remove the motivation, the behavior tends to change. For those people who don't care, my suspicion is that they don't care to the extent that it will lead to their no longer being able to play for other reasons (committing violations that leave them jailed and/or banned for periods of time).
Reply With Quote
  #15  
Old 09-10-2009, 06:24 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Cloven View Post
I don't disagree, I just don't see the need to implement a filter where a simple ignore option should otherwise be available. If a person is truly offended by another player's chat, "filtering" one or two words isn't going to change the obvious meaning of the offending statement, thus the offensiveness still remains and the filter has just been invalidated.

Consider: "You're an a55hole noob loser." > "You're an ******* noob loser."

There is no difference between the two as both are obviously meant to be insulting. The fact that the insulting nature of the statement doesn't change is reason enough to simply have an ignore option.

Just my opinion of course, but again, I see little to no real logic in implementing a filter. Being completely ignored has a much more dramatic impact on asinine people, as it is generally the attention they garner from upsetting people that provides them with the motivation to do so. Remove the motivation, the behavior tends to change. For those people who don't care, my suspicion is that they don't care to the extent that it will lead to their no longer being able to play for other reasons (committing violations that leave them jailed and/or banned for periods of time).
Because there are varying degrees of what people want to tolerate? Some people just don't like to hear cursing, it doesn't mean they don't ever want to hear what a person has to say. Most of the time it doesn't even come down to insults. Sometimes people just don't like to hear/see the words, whether they are meant in an insulting way or not. If this is a private thing, why does it matter to anyone else what this person wants to censor for their own personal benefit?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:10 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.