philippj / SteamworksPy

A working Python API system for Valve's Steamworks.
MIT License
212 stars 39 forks source link

function 'GetAnalogActionData' #87

Open hamsandvich opened 1 year ago

hamsandvich commented 1 year ago

This is what im getting after setting up everything and using the Basic Example.

Traceback (most recent call last): File "c:\Users\logan\Desktop\SteamWorks Testing\test.py", line 22, in steamworks = STEAMWORKS() File "C:\Users\logan\AppData\Local\Programs\Python\Python310\lib\site-packages\steamworks-2.0.0-py3.10.egg\steamworks__init.py", line 52, in init File "C:\Users\logan\AppData\Local\Programs\Python\Python310\lib\site-packages\steamworks-2.0.0-py3.10.egg\steamworks__init__.py", line 104, in _initialize File "C:\Users\logan\AppData\Local\Programs\Python\Python310\lib\site-packages\steamworks-2.0.0-py3.10.egg\steamworks__init__.py", line 117, in _load_steamworks_api File "C:\Users\logan\AppData\Local\Programs\Python\Python310\lib\ctypes\init.py", line 387, in getattr func = self.getitem(name) File "C:\Users\logan\AppData\Local\Programs\Python\Python310\lib\ctypes\init.py", line 392, in getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: function 'GetAnalogActionData' not found. Did you mean: 'GetAnalogActionHandle'?

Is this a issue cause im using Python 3.10.10?

hamsandvich commented 1 year ago
Code_4L3Kdm8anx
hamsandvich commented 1 year ago

Interesting.

Something must of broke in the newer release.

When i downgraded to https://github.com/philippj/SteamworksPy/releases/tag/1.6.4

Everything started working.

BigMeatyClaws commented 3 months ago

For anyone still looking, it's because the method call is deprecated. https://partner.steamgames.com/doc/api/ISteamController