-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After login into account on localhost cms change the last_ip account column to unsuported core value that lead it to crash #212
Comments
Only ipv4 in 2023.. |
I tested now and old fusion doesn't change last_ip data upon login into cms. |
Old fusion never updates the IP in last_ip |
yea and that's the correct behaviour I guess |
The correct behavior is: when someone logs into the account, last_ip should be updated. that's what the column is for It's also not a fusion problem |
well just wanted you to know about it (will probably be more reports about this in the future) but I still think that account > last_ip table shoud be left for ingame logins, the cms if it need shoud have separate table or otherwise valid ipv4 format since there's no other option. |
::1 is valid The cms is allowed to update/add stuff in the auth database, but not the column? I don't quite understand that |
most likely azerothcore or probably others can't too so if we handle those emulators we should handle them completely as they are now idk |
From my point of view any external applications should play by the rules of the db they are modifying. last_ip is a varchar(15) so even if you wanted to be cool, you can't even shove ipv6 addresses there other than the short localhost one. Also you should not be mocking the project for not supporting ipv6 when its the 3.3.5.12340 wow client that does not support ipv6 |
What about the master branch? Doesn't it support IPv6? |
Yes, master branch client supports ipv6, master branch does not (yet) As for ipv6 being widespread? i dont get a v6 address from my isp so not as widespread as you might expect (and no, its not some trash tier connection) |
Maybe it's a Germany or EU thing I'll think about how to solve this |
ok seems TC fixed invalid ip crash so it is up to you to decide if you still change this for other emulators or no idk |
The problem is when someone is logged into the game, and logs into the web, the last ip is changed to v6, but one solution is to put a pseudiIP v4 from cloudflare, that's how I solved it Srry for the English. |
I will change it soon |
After login into account on localhost cms change the last_ip account column to unsuported core value (::1) that lead it to crash when using .pinfo on a character from that account if account is banned
TrinityCore/TrinityCore#28911
The text was updated successfully, but these errors were encountered: