From 25e7b1d7a35a409aff174ab9ce2739f63b30049c Mon Sep 17 00:00:00 2001 From: BenDol Date: Tue, 4 Nov 2014 13:27:21 +1300 Subject: [PATCH] Fix logging in with 760 (until a better solution is found). --- modules/gamelib/game.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/gamelib/game.lua b/modules/gamelib/game.lua index 625da5bb..28a7bf24 100644 --- a/modules/gamelib/game.lua +++ b/modules/gamelib/game.lua @@ -34,6 +34,11 @@ function g_game.chooseRsa(host) end g_game.setRsa(OTSERV_RSA) end + + -- Hack fix to resolve some 760 login issues + if g_game.getClientVersion() <= 760 then + g_game.setCustomOs(2) + end end function g_game.setRsa(rsa, e)