blob: 55c1c564c541029c45832cabc0c9aa19a1753f10 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import loginsrv
def login(host, port, username, password, charname):
loginsrv.connect(host, port)
loginsrv.server.username = username
loginsrv.server.password = password
loginsrv.server.char_name = charname
loginsrv.cmsg_server_version_request()
|