Fix login with 9.83-10.10

This only adds protocol compatibility, the features aren't actually
implemented yet
This commit is contained in:
Mark Samman
2013-07-28 07:05:46 +02:00
parent 261642190b
commit 4a04a18835
6 changed files with 70 additions and 9 deletions

View File

@@ -37,7 +37,8 @@ function g_game.getSupportedProtocols()
810, 811, 840, 842, 850, 853, 854,
860, 861, 862, 870, 910, 940, 944,
953, 954, 960, 961, 963, 970, 971,
973, 974
973, 974, 975, 976, 977, 978, 979,
980, 1010
}
end
@@ -45,7 +46,13 @@ function g_game.getSupportedClients(protocol)
clients = {
[971] = {980},
[973] = {981},
[974] = {982}
[974] = {982},
[975] = {983},
[976] = {984},
[977] = {985},
[978] = {986},
[979] = {1001},
[980] = {1002}
}
return clients[protocol] or {protocol}
end