Comments (6)
If this is at all helpful, I can share this information from the python-valve
response
'protocol': 1,
'response_type': 73,
from python-a2s.
I've fixed the NameError in version 1.1.3. Please try it and if there are still issues, provide the game name, version and mods installed.
from python-a2s.
seeing this error now on version 1.1.3
Traceback (most recent call last):
File "query_server-a2s.py", line 33, in <module>
info_dump = query_server(host, port)
File "query_server-a2s.py", line 18, in query_server
info = a2s.info(sqp_address)
File "/Users/andrew/.virtualenvs/python-valve-a2s/lib/python3.6/site-packages/a2s/info.py", line 256, in info
resp = parse_source(reader)
File "/Users/andrew/.virtualenvs/python-valve-a2s/lib/python3.6/site-packages/a2s/info.py", line 203, in parse_source
if resp.has_port:
File "/Users/andrew/.virtualenvs/python-valve-a2s/lib/python3.6/site-packages/a2s/info.py", line 91, in has_port
return bool(self.edf & 0x80)
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
thanks for your help!
from python-a2s.
Dammit, I should have seen this coming. New version is up.
from python-a2s.
that did the trick! πThank you so much!
from python-a2s.
You're welcome. Sorry for not testing this properly π¬
from python-a2s.
Related Issues (20)
- a2s.players name doesn't work for "7 Days to Die" HOT 4
- Is it possible to query every server ? HOT 1
- Question HOT 3
- How do i get an output?
- A2S_RULES not decoding correctly ? HOT 13
- [Question] Multiple Query HOT 1
- Is it possible to to see if player is on CT or T Side? HOT 1
- Rust server returning random player names instead of actual player names when using a2s.players HOT 3
- S2C_CHALLENGE support? HOT 3
- implementing player steamid's if connected using steam HOT 1
- Strange a2s.exceptions.BufferExhaustedError HOT 3
- Proposal: add A2S_PING for query server HOT 1
- Rust server names HOT 2
- query is inaccurate HOT 1
- suggestion HOT 1
- Class attribute docstrings show wrong values. HOT 3
- player_count HOT 2
- Request: Get MvM Mission and wave progress HOT 2
- Which ports need to be unblocked, for a2s to work? HOT 6
- a2s.arules has data error while a2s.rules doesnt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-a2s.