Southclaws / ScavengeSurvive

A PvP SA:MP survival gamemode. The aim of the game is to find supplies such as tools or weapons to help you survive, either alone or in a group.
https://scavengesurvive.com
Mozilla Public License 2.0
106 stars 55 forks source link

Redis: Accounts #418

Closed Southclaws closed 3 years ago

Southclaws commented 7 years ago

Implement and test Redis IO for accounts.

CRUD operations

Tests

Virtxmedia commented 7 years ago

Gonna write up test plan when I get back including this list!

Southclaws commented 7 years ago

Ready to player test.

Virtxmedia commented 7 years ago

Test plan ready to go!

Southclaws commented 7 years ago

Updated with more database operations.

NegativeIQ commented 7 years ago

With s****, GPCI is being updated every time player restarts samp client or even reconnects server (not sure witch one). So actually keeping list of players GPCI's would be a good thing.

Southclaws commented 7 years ago

That was done in gpci-log module but it's being replaced anyway. It's not updated every time the player restarts the client as it would be pointless. It changes based on %USERPROFILE% or something similar so changing it requires making a new windows account (or simply modifying packets).

NegativeIQ commented 7 years ago

Glad there is gpci log, and what im saying is, they do intercept and modify RPC packets. While having gpci log is quite useful i would rather tie gpci's to accounts (and still keep gpci log). You see when someone install that most known cheat, or any modification of it. Their GPCI automatically changes each time their client restarts (not server browser). So tying that information to account is useful and you could automatically send warnings to admins when lets say players GPCI changed 5 times in last 5 connections after his leave reason was LEFT (not crashed). These way we would have indication that player has installed that cheat and to keep an eye on him. And gpci is generated based on combination of username (profile) and sa-mp (gta) path.

Southclaws commented 7 years ago

That's exactly why the log was introduced years ago, but now it's going to be implemented in the extermal app that handles the MongoDB queries, not Pawn.