Re: [Tutorial] Removing '^' for character creation
Quote:
Originally Posted by
Donald Duck
It's something I personally prefer, because you can do more with it. For example log the one that is creating a character with ^ (and therefore has edited his system.mrs). It depends on your wishes.
Point of that post was to refer people to the function in the MatchServer.
You can log anyone attempting to use the symbol ^ as well via a procedure; you could create an entire new column or table for cheaters attempting to do this, actually.
Re: [Tutorial] Removing '^' for character creation
So this blocks ^ entirely, with other ALT codes, or without it?
EDIT: Ok, I think it blocks ^ entirely, without other ALT codes.
Re: [Tutorial] Removing '^' for character creation
IF (@Param LIKE '%^%')
BEGIN
SELECT -1
END
Re: [Tutorial] Removing '^' for character creation
Quote:
Originally Posted by
gWX0
You can log anyone attempting to use the symbol ^ as well via a procedure; you could create an entire new column or table for cheaters attempting to do this, actually.
I know that, and I thought about posting that in the same post. However, it requires more work than doing a simple fputs to a .txt file. As I stated before, it's just what you want.
Re: [Tutorial] Removing '^' for character creation
Quote:
Originally Posted by
Donald Duck
I know that, and I thought about posting that in the same post. However, it requires more work than doing a simple fputs to a .txt file. As I stated before, it's just what you want.
No, it's the exact same amount of work - to modify what Phail posted:
Code:
IF (@Param LIKE '%^%')
BEGIN
INSERT INTO BadUsers VALUES (@ParamName)
END
Re: [Tutorial] Removing '^' for character creation
Quote:
Originally Posted by
gWX0
No, it's the exact same amount of work - to modify what Phail posted:
Code:
IF (@Param LIKE '%^%')
BEGIN
INSERT INTO BadUsers VALUES (@ParamName)
END
PHP Code:
if (strstr(Charname, "^")) {
//Do a fputs.
}
Re: [Tutorial] Removing '^' for character creation
Re: [Tutorial] Removing '^' for character creation
Quote:
Originally Posted by
rickjames01
Bad 1/10
says the moron who bumped a post from like 6 months ago.