Open Disinterpreter opened 3 years ago
What about the BanManager part?
What about the BanManager part?
by the rules, BanManager must work with subnet masks like 125.22.4.0/24
FYI, I already started working on this in my fork.
FYI, I already started working on this in my fork.
Can you do it compatible with IPv6? (For future)
Can you do it compatible with IPv6? (For future)
Yes, that is my plan.
Describe the solution you'd like Need to refactor these lines and replace all
inet_addr
andinet_ntoa
Additional context https://github.com/multitheftauto/mtasa-blue/blob/a0410c68945b6b3d9225c8c90af2bb6b1cda5eaa/Server/mods/deathmatch/logic/CBanManager.cpp#L519-L551 https://github.com/multitheftauto/mtasa-blue/blob/650fed6a0b55b0334b21db9d7d48e5f77606d1d4/Server/mods/deathmatch/logic/CGame.cpp#L731-L734
https://github.com/multitheftauto/mtasa-blue/search?l=C%2B%2B&q=inet_addr