Darkcity Posted July 11, 2022 Report Share Posted July 11, 2022 There are many problems on how multiplyers game names are mentioned by the players. We need to put follwoing restrcition on the game name. Character limit: The game name shouldn't be longer than 50 chatacters (atleast not >100). Some people fill in the screen with game name. Profanity check: We should check for profanity in game name hosted by the player. If someone is using profanity in it then he should have same penality as lobyy profanity usages. I think these basic changes should be there. @Stan` what do you think?. 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted July 11, 2022 Report Share Posted July 11, 2022 According to the code max_length is 256. https://github.com/0ad/0ad/blob/master/binaries/data/mods/public/gui/gamesetup_mp/gamesetup_mp.xml <object name="hostServerName" type="input" size="50%+10 40 100%-20 64" style="ModernInput" max_length="256"> <action on="Load"> this.caption = getDefaultGameName(); </action> </object> Copy pasting 1iRxTqgcZJ8p6QrvodHmbcWdz5UxTWhg3rbL5UUNoYtpiM2kb9NyKbG7oqBU5KLo4V3uQJxktySIz9snnVJVF5eZZnYBP7WX5DuukBAXfssLNWTxxTB8Vf26dWlK9fZ0EwX4o7K6wBauDJyKN0QGTbzReYKwSCbaUpufkZlGwNAJWEbZYOhGO8SgASvk8twI4L2uIRtWAr4816fuoKPhitn3VJPgInsyzDxqSJr46M7PoMqxE75PUEjz2E1eY67iQ Stops at i. On 11/07/2022 at 4:27 PM, Darkcity said: Profanity check: We should check for profanity in game name hosted by the player. If someone is using profanity in it then he should have same penality as lobyy profanity usages. Expand @rossenburg @Dunedan @user1 can we have a bot for this ? Quote Link to comment Share on other sites More sharing options...
rossenburg Posted July 12, 2022 Report Share Posted July 12, 2022 On 11/07/2022 at 4:40 PM, Stan` said: According to the code max_length is 256. https://github.com/0ad/0ad/blob/master/binaries/data/mods/public/gui/gamesetup_mp/gamesetup_mp.xml <object name="hostServerName" type="input" size="50%+10 40 100%-20 64" style="ModernInput" max_length="256"> <action on="Load"> this.caption = getDefaultGameName(); </action> </object> Copy pasting 1iRxTqgcZJ8p6QrvodHmbcWdz5UxTWhg3rbL5UUNoYtpiM2kb9NyKbG7oqBU5KLo4V3uQJxktySIz9snnVJVF5eZZnYBP7WX5DuukBAXfssLNWTxxTB8Vf26dWlK9fZ0EwX4o7K6wBauDJyKN0QGTbzReYKwSCbaUpufkZlGwNAJWEbZYOhGO8SgASvk8twI4L2uIRtWAr4816fuoKPhitn3VJPgInsyzDxqSJr46M7PoMqxE75PUEjz2E1eY67iQ Stops at i. @rossenburg @Dunedan @user1 can we have a bot for this ? Expand Possible Quote Link to comment Share on other sites More sharing options...
Dunedan Posted July 14, 2022 Report Share Posted July 14, 2022 On 11/07/2022 at 4:40 PM, Stan` said: can we have a bot for this ? Expand I believe reporting and having mods deal with it is the better way to handle that. When talking about writing code, I'd rather prefer reporting functionality directly integrated into 0ad to make it easier to report offenses with all contextual information already attached in a standardized way. 2 Quote Link to comment Share on other sites More sharing options...
Grapjas Posted July 14, 2022 Report Share Posted July 14, 2022 On 11/07/2022 at 4:27 PM, Darkcity said: Character limit: The game name shouldn't be longer than 50 chatacters (atleast not >100). Some people fill in the screen with game name. Expand it's part of ⚙ D4385 Multiplayer lobby ui enchancements (wildfiregames.com). I restricted it to 100 there from 256 as it currently is. Quote Link to comment Share on other sites More sharing options...
Stan` Posted July 14, 2022 Report Share Posted July 14, 2022 On 14/07/2022 at 7:18 PM, Dunedan said: I believe reporting and having mods deal with it is the better way to handle that. When talking about writing code, I'd rather prefer reporting functionality directly integrated into 0ad to make it easier to report offenses with all contextual information already attached in a standardized way. Expand Does Xmpp allow that somehow? Quote Link to comment Share on other sites More sharing options...
Dunedan Posted July 15, 2022 Report Share Posted July 15, 2022 On 14/07/2022 at 8:17 PM, Stan` said: Does Xmpp allow that somehow? Expand You can transport arbitrary data over XMPP, so that would certainly be possible using XMPP. However, any webservice exposing an HTTP-endpoint to submit such information to would do as well. Quote Link to comment Share on other sites More sharing options...
Stan` Posted July 15, 2022 Report Share Posted July 15, 2022 Maybe something for @rossenburg Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.