mirror of
https://github.com/YGGverse/pymaster.git
synced 2025-02-07 12:34:28 +00:00
add key request to protocol support
This commit is contained in:
parent
75487e36e8
commit
4501ee1b0d
@ -108,6 +108,7 @@ class PyMaster:
|
||||
info = data.split('\0')[1].strip('\\')
|
||||
split = info.split('\\')
|
||||
|
||||
key = None
|
||||
protocol = None
|
||||
gamedir = 'valve'
|
||||
clver = None
|
||||
@ -125,6 +126,8 @@ class PyMaster:
|
||||
clver = v
|
||||
elif k == 'protocol':
|
||||
protocol = int(v)
|
||||
elif k == 'key': # defined but not implemented yet
|
||||
key = v
|
||||
# somebody is playing :)
|
||||
elif k == 'thisismypcid' or k == 'heydevelopersifyoureadthis':
|
||||
self.fakeInfoForOldVersions(gamedir, addr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user