Page 1 of 1

Source-Python for CS:S

Posted: Sun Oct 09, 2016 2:28 pm
by velocity
I tried installing source python for CS:S, but it doesn't work. Source-python doesn't get loaded at all.

The logs doesn't say anything.

I check version ld -version its 2.19 so everything should be fine. It's in Linux 14.04 Ubuntu

Re: Source-Python for CS:S

Posted: Sun Oct 09, 2016 2:32 pm
by Kill
You're doing something wrong my friend, add -debug to your startup cmdline, I've it running just fine.

Re: Source-Python for CS:S

Posted: Sun Oct 09, 2016 6:08 pm
by velocity
[Source.Python] Loading...
Traceback (most recent call last):
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/__init__.py", line 42, in load
setup_core_settings()
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/__init__.py", line 69, in setup_core_settings
from core.settings import _core_settings
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/core/settings.py", line 19, in <module>
from translations.strings import LangStrings
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/translations/strings.py", line 10, in <module>
from binascii import unhexlify
ImportError: libz.so.1: cannot open shared object file: No such file or directory
[Source.Python] Failed to load the main module.
[Source.Python] Could not initialize python.
Failed to load plugin "addons/source-python.so"
[Source.Python] Unloading...
Traceback (most recent call last):
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/__init__.py", line 57, in unload
unload_plugins()
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/__init__.py", line 298, in unload_plugins
from core.manager import core_plugin_manager
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/core/manager.py", line 12, in <module>
from plugins.manager import PluginManager
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/plugins/__init__.py", line 12, in <module>
from translations.strings import LangStrings
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/translations/strings.py", line 10, in <module>
from binascii import unhexlify
ImportError: libz.so.1: cannot open shared object file: No such file or directory
[Source.Python] Failed to unload the main module.
[Source.Python] Unloaded successfully.

Re: Source-Python for CS:S

Posted: Sun Oct 09, 2016 6:11 pm
by satoon101

Re: Source-Python for CS:S

Posted: Sun Oct 09, 2016 7:57 pm
by velocity
Works thanks.

Re: Source-Python for CS:S

Posted: Sun Oct 09, 2016 10:28 pm
by velocity
New issue:
rcon sp load <plugin>
Sub command "load" not found.

Re: Source-Python for CS:S

Posted: Sun Oct 09, 2016 10:33 pm
by decompile
They changed it recently.

It should be now 'sp plugin load/reload/etc..'

Re: Source-Python for CS:S

Posted: Mon Oct 10, 2016 9:03 pm
by velocity
yap

Re: Source-Python for CS:S

Posted: Tue Oct 11, 2016 5:53 pm
by velocity
Maybe the documentation should be updated, so other people don't fall for this :p

Re: Source-Python for CS:S

Posted: Tue Oct 11, 2016 6:08 pm
by iPlayer

Re: Source-Python for CS:S

Posted: Tue Oct 11, 2016 6:47 pm
by satoon101

Re: Source-Python for CS:S

Posted: Sat Oct 15, 2016 12:38 pm
by velocity
I saw it from the folder /Plugins/readme.md

Source.Python Plugin ReadMe

This directory is used for Source.Python plugins
to be loaded by the command "sp load".

Re: Source-Python for CS:S

Posted: Sat Oct 15, 2016 12:55 pm
by L'In20Cible