mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
Added latest protocol/client support for cipservers
This commit is contained in:
@@ -212,8 +212,6 @@ function save()
|
||||
}
|
||||
end
|
||||
|
||||
table.dump(hotkeys)
|
||||
|
||||
hotkeyList = hotkeys
|
||||
g_settings.setNode('game_hotkeys', hotkeySettings)
|
||||
g_settings.save()
|
||||
|
@@ -37,14 +37,15 @@ 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
|
||||
973, 974
|
||||
}
|
||||
end
|
||||
|
||||
function g_game.getSupportedClients(protocol)
|
||||
clients = {
|
||||
[971] = {980},
|
||||
[973] = {981}
|
||||
[973] = {981},
|
||||
[974] = {982}
|
||||
}
|
||||
return clients[protocol] or {protocol}
|
||||
end
|
||||
|
Reference in New Issue
Block a user