- 0
Sign in to follow this
Followers
0
How to prevent multiple spaces in chat room? Scammers are using this to impersonate GMs.
Asked by
latheesan
-
Recently Browsing 0 members
No registered users viewing this page.
Hi All,
I just found out about an interesting way scammers are scamming my players.
If they used multiple spaces, they can pretend to be anyone (especially GM/Admin) and trick users to give their account details away or in worst case get them to install TeamViewer etc...
Let me show you what I mean.
If I am logged in user Adam for example and I want to impersonate gm Latheesan, as "Adam", this is what I would type in a chat room:
In the game, here's a demo showing how this looks and renders:
So, in a busy chat room, players can be easily tricked into thinking a GM/Admin is talking to them and they do what they are told (even tho there's an ad/warning plastered all over the game not to give out account details >.>)
Anyway, now you know how it's done, is there a way to prevent this?
The easiest solution I can think of is to prevent multiple spaces in chat.
If this was in PHP, I would have used regex to replace multiple occurrences of spaces into one like this example:
Could effectively do something similar in Hercules as a plugin? Can someone help me out?
I am pretty sure this should be standard in Hercules, i.e. not being able to use multiple spaces (atleast a config for it or something...)
Edited by latheesanShare this post
Link to post
Share on other sites