-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug]: Failed to Create Session #4749
Comments
Can you check with types are used in Session table + default values? |
Problem still persists after this change unfortunately. |
Please try to turn off apache and only run mysql server, then change in config.lua |
I encountered the same error while attempting to connect. I'm using only MySQL server with the OTClient by Mehah. Additionally, I'm running the MySQL server on Docker, and the environment is Windows. The issue appears to persist. |
Same problem for me. |
As far as I know Mehah's Client never worked with the current protocol (taken from his github) function g_game.getSupportedClients()
return { 740, 741, 750, 755, 760, 770, 772, 780, 781, 782, 790, 792, 800, 810, 811, 820, 821, 822, 830, 831, 840,
842, 850, 853, 854, 855, 857, 860, 861, 862, 870, 871, 900, 910, 920, 931, 940, 943, 944, 951, 952, 953,
954, 960, 961, 963, 970, 971, 972, 973, 980, 981, 982, 983, 984, 985, 986, 1000, 1001, 1002, 1010, 1011,
1012, 1013, 1020, 1021, 1022, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1050,
1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1070, 1071, 1072, 1073,
1074, 1075, 1076, 1080, 1081, 1082, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1281, 1285,
1286, 1287, 1291, 1300, 1314, 1316, 1320, 1321, 1332 }
end Unless Mehah changes that there is currently no way to connect with it |
I really had to add to this list to try to log in with client 13.10. Considering this, should we update the project's README?
|
We already got the login for Mehah's otc working, we just need to polish the details and propose a PR. TFS side:
Client side:
function g_game.getSupportedClients()
return { 740, 741, 750, 755, 760, 770, 772, 780, 781, 782, 790, 792, 800, 810, 811, 820, 821, 822, 830, 831, 840,
842, 850, 853, 854, 855, 857, 860, 861, 862, 870, 871, 900, 910, 920, 931, 940, 943, 944, 951, 952, 953,
954, 960, 961, 963, 970, 971, 972, 973, 980, 981, 982, 983, 984, 985, 986, 1000, 1001, 1002, 1010, 1011,
1012, 1013, 1020, 1021, 1022, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1050,
1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1070, 1071, 1072, 1073,
1074, 1075, 1076, 1080, 1081, 1082, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1281, 1285,
1286, 1287, 1291, 1300, 1314, 1316, 1320, 1321, 1332 }
end to: function g_game.getSupportedClients()
return { 740, 741, 750, 755, 760, 770, 772, 780, 781, 782, 790, 792, 800, 810, 811, 820, 821, 822, 830, 831, 840,
842, 850, 853, 854, 855, 857, 860, 861, 862, 870, 871, 900, 910, 920, 931, 940, 943, 944, 951, 952, 953,
954, 960, 961, 963, 970, 971, 972, 973, 980, 981, 982, 983, 984, 985, 986, 1000, 1001, 1002, 1010, 1011,
1012, 1013, 1020, 1021, 1022, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1050,
1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1070, 1071, 1072, 1073,
1074, 1075, 1076, 1080, 1081, 1082, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1281, 1285,
1286, 1287, 1291, 1300, 1310, 1314, 1316, 1320, 1321, 1332 }
end |
left side is the same as right side |
Read again, it's not.. |
ok.. i missed "--" there :D |
I am having the same issue, I followed the steps on the work around and go to the same spot as @RickParky . I am currently running the Mysql DB on a ubuntu 22 lts server and the server was compiled today and is running on windows 11. |
remove .php from
|
|
I fixed this issue on protocollogin.cpp here's the new code: // Generate and add session key
|
@froomzim what version of MySQL/MariaDB are you running? |
mysql Ver 15.1 Distrib 10.4.32-MariaDB, for Win64 (AMD64), source revision c4143f909528e3fab0677a28631d10389354c491 |
I've managed to login using this method on locahost, using xampp no problems. Thank you! |
Glad to know, gl bro |
TFSLast commits tfs OTC RedemptionLast Commits OTC g_game.disableFeature(GameSequencedPackets) Secuencia.01.1.mp4port 80 or 8080 work can login with OTC Redemption and CipSoft test in 10.6.12-MariaDB and login.php of myacc
https://downloads.ots.me/?dir=data/tibia-clients/windows/zip
https://ots.me/ots-ip-changer-12/
|
By submitting this bug issue, you agree to the following.
Does this bug crash tfs?
no
Server Version
1.6 (Release)
Operation System
Windows
OS Description
Window 11
Bug description
Upon attempting login, get error "failed to create session"
Possible Pull Requests which are to blame
Steps to reproduce
Open server -> Login = Error
Using MyAAC latest version also.
Actual Behavior
Expected Behavior
.
Backtrace
No response
The text was updated successfully, but these errors were encountered: