|
@ -289,10 +289,10 @@ def make_steam64(id=0, *args, **kwargs): |
|
|
universe = EUniverse.Public |
|
|
universe = EUniverse.Public |
|
|
# 64 bit |
|
|
# 64 bit |
|
|
elif value < 2**64: |
|
|
elif value < 2**64: |
|
|
accountid = value & 0xFFFFFFFF |
|
|
accountid = int(value & 0xFFFFFFFF) |
|
|
instance = (value >> 32) & 0xFFFFF |
|
|
instance = int((value >> 32) & 0xFFFFF) |
|
|
etype = (value >> 52) & 0xF |
|
|
etype = int((value >> 52) & 0xF) |
|
|
universe = (value >> 56) & 0xFF |
|
|
universe = int((value >> 56) & 0xFF) |
|
|
# invalid account id |
|
|
# invalid account id |
|
|
else: |
|
|
else: |
|
|
accountid = 0 |
|
|
accountid = 0 |
|
|