Jump to content

Clear Banned Player Data


Recommended Posts

  • Honorable Member

M2 Download Center

This is the hidden content, please
( Internal )

This is the hidden content, please
( GitHub )

It's removing (logs, characters, items, etc.) of banned accounts.

/clean

 

  • Metin2 Dev 13
  • Good 6
  • Love 12

 

Link to comment
Share on other sites

  • Premium

It leads to an issue.

If you have a player named RIPBAN1 and use your system, the person can make another account and reuse the character name "RIPBAN1".

If you say the player RIPBAN1 was banned, do your cleaning, have someone else/the banned person make another char called RIPBAN1, you will have hate upon you saying its "corruption" and that the player "was not banned at all" and all of that stuff comming from cry babies players.

Maybe you could delete all, except the player.player itself, so that that character name is not re-usable.

You could also clean from player.affect

  • Love 1
Link to comment
Share on other sites

  • Honorable Member
1 hour ago, tierrilopes said:

It leads to an issue.

If you have a player named RIPBAN1 and use your system, the person can make another account and reuse the character name "RIPBAN1".

If you say the player RIPBAN1 was banned, do your cleaning, have someone else/the banned person make another char called RIPBAN1, you will have hate upon you saying its "corruption" and that the player "was not banned at all" and all of that stuff comming from cry babies players.

Maybe you could delete all, except the player.player itself, so that that character name is not re-usable.

You could also clean from player.affect

Thanks for you message. Just delete player.player from deleter map that's all

 

Link to comment
Share on other sites

  • Bronze

Small hint. Don't put any table/container loose like that.
Keep it either in anonymous namespace or add static keyword in order to make it internal linked (just in a matter of good code style).
Additionally bear to check for nullpointers/array elements once they can cause a lot of unexpected stuff in your code.
I like the idea but I think this implementation might not be the point. The player data can still be DB's cache thus once flush session kicks in the data may be resaved.
Same applies to billing.
You might like to handle this as well.

  • Love 1
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.