gobot1234 / steam-ext-csgo Goto Github PK
View Code? Open in Web Editor NEWAn extension for https://github.com/Gobot1234/steam.py to interact with the CS-GO Game Coordinator.
License: MIT License
An extension for https://github.com/Gobot1234/steam.py to interact with the CS-GO Game Coordinator.
License: MIT License
Traceback (most recent call last):
File "d:\Dev\Repos\medal-bot\testing python\main.py", line 6, in
from steam.ext import commands, csgo
File "D:\Dev\Repos\medal-bot\testing python\venv\Lib\site-packages\steam\ext\csgo_init_.py", line 10, in
from .backpack import *
File "D:\Dev\Repos\medal-bot\testing python\venv\Lib\site-packages\steam\ext\csgo\backpack.py", line 22, in
from .protobufs import base, econ, struct_messages
File "D:\Dev\Repos\medal-bot\testing python\venv\Lib\site-packages\steam\ext\csgo\protobufs_init_.py", line 7, in
from ....protobufs.msg import GCProtobufMessage
ModuleNotFoundError: No module named 'steam.protobufs.msg'
well... ๐
Hi! I see that in cstrike15_gcmessages.proto or cstrike15_gcmessages.proto in node-csgo fields are optional, but there in generated protobufs not.
It not so scary, but a few problems arrives:
empty
fields with zero value);stattrek
and another quality from non-stattrek item.You can see second problem in csgofloat-inspect:
// Patch for items that are stattrak and unusual (ex. Stattrak Karambit)
if (iteminfo.killeatervalue !== null && iteminfo.quality !== 9) {
name += `${this.csgo_english['strange']} `;
}
I think i can monkey patch this in my code, but decided to tell you about problems, thanks!
Hello. I can't install this ext. Can you help?
Collecting steam-ext-csgo@ git+https://github.com/Gobot1234/steam-ext-csgo@main
Cloning https://github.com/Gobot1234/steam-ext-csgo (to revision main) to /private/var/folders/56/m1nqtvws3vx24gy0_yzn_w300000gn/T/pip-install-ak0_0um8/steam-ext-csgo_0315336f28314a959d035229c738a736
Running command git clone --filter=blob:none --quiet https://github.com/Gobot1234/steam-ext-csgo /private/var/folders/56/m1nqtvws3vx24gy0_yzn_w300000gn/T/pip-install-ak0_0um8/steam-ext-csgo_0315336f28314a959d035229c738a736
Resolved https://github.com/Gobot1234/steam-ext-csgo to commit 95586d8b567b5dfc92e0cf1b54e3ae8824c97139
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
ร Preparing metadata (pyproject.toml) did not run successfully.
โ exit code: 1
โฐโ> [14 lines of output]
Traceback (most recent call last):
File "/Users/nikitty/Desktop/git/steambot/env/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
main()
File "/Users/nikitty/Desktop/git/steambot/env/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/nikitty/Desktop/git/steambot/env/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/private/var/folders/56/m1nqtvws3vx24gy0_yzn_w300000gn/T/pip-build-env-mtunq753/overlay/lib/python3.9/site-packages/poetry/core/masonry/api.py", line 43, in prepare_metadata_for_build_wheel
poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False)
File "/private/var/folders/56/m1nqtvws3vx24gy0_yzn_w300000gn/T/pip-build-env-mtunq753/overlay/lib/python3.9/site-packages/poetry/core/factory.py", line 43, in create_poetry
raise RuntimeError("The Poetry configuration is invalid:\n" + message)
RuntimeError: The Poetry configuration is invalid:
- Additional properties are not allowed ('group' was unexpected)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
ร Encountered error while generating package metadata.
โฐโ> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
I tried to run the example script in (/examples) but got the following error: ModuleNotFoundError: No module named 'steam.app'
File "d:\Dev\Repos\medal-bot\testing python\main.py", line 6, in
from steam.ext import commands, csgo
File "D:\Dev\Repos\medal-bot\testing python\venv\Lib\site-packages\steam\ext\csgo_init_.py", line 11, in
from .client import *
File "D:\Dev\Repos\medal-bot\testing python\venv\Lib\site-packages\steam\ext\csgo\client.py", line 15, in
from ...app import CSGO
I looked through the library code and found out ...app (app.py I'm assuming) is nowhere to be found?
I installed the lib in a venv.
Am I missing something?
So after the last patch you did a new import error came up.
(Still using the example script)
Traceback (most recent call last):
File "d:\Dev\Repos\medal-bot\testing python\main.py", line 6, in
from steam.ext import commands, csgo
File "D:\Dev\Repos\medal-bot\testing python\venv\Lib\site-packages\steam\ext\csgo_init_.py", line 11, in
from .client import *
File "D:\Dev\Repos\medal-bot\testing python\venv\Lib\site-packages\steam\ext\csgo\client.py", line 13, in
from ...abc import Message, SteamID
ImportError: cannot import name 'SteamID' from 'steam.abc' (D:\Dev\Repos\medal-bot\testing python\venv\Lib\site-packages\steam\abc.py)
Am I missing something?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.