mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
Fix login with 9.83-10.10
This only adds protocol compatibility, the features aren't actually implemented yet
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user