Bug fixes for bot

This commit is contained in:
OTCv8
2019-10-27 20:24:54 +01:00
parent 95f7b39a10
commit 12e5c1557c
10 changed files with 242 additions and 58 deletions

View File

@@ -422,7 +422,9 @@ function EnterGame.doLogin()
g_game.setProtocolVersion(g_game.getClientProtocolVersion(G.clientVersion))
g_game.setCustomProtocolVersion(0)
g_game.chooseRsa(G.host)
-- g_game.setCustomOs(2) -- windows, optional
if #server_params <= 3 then
g_game.setCustomOs(2) -- set os to windows
end
-- extra features from init.lua
for i = 4, #server_params do