Source-Python for CS:S

All other Source.Python topics and issues.
User avatar
velocity
Senior Member
Posts: 220
Joined: Sat May 10, 2014 6:17 pm

Source-Python for CS:S

Postby velocity » Sun Oct 09, 2016 2:28 pm

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
User avatar
Kill
Member
Posts: 88
Joined: Wed Aug 31, 2016 10:05 pm

Re: Source-Python for CS:S

Postby Kill » Sun Oct 09, 2016 2:32 pm

You're doing something wrong my friend, add -debug to your startup cmdline, I've it running just fine.
User avatar
velocity
Senior Member
Posts: 220
Joined: Sat May 10, 2014 6:17 pm

Re: Source-Python for CS:S

Postby velocity » Sun Oct 09, 2016 6:08 pm

[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.
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Re: Source-Python for CS:S

Postby satoon101 » Sun Oct 09, 2016 6:11 pm

Image
User avatar
velocity
Senior Member
Posts: 220
Joined: Sat May 10, 2014 6:17 pm

Re: Source-Python for CS:S

Postby velocity » Sun Oct 09, 2016 7:57 pm

Works thanks.
User avatar
velocity
Senior Member
Posts: 220
Joined: Sat May 10, 2014 6:17 pm

Re: Source-Python for CS:S

Postby velocity » Sun Oct 09, 2016 10:28 pm

New issue:
rcon sp load <plugin>
Sub command "load" not found.
decompile
Senior Member
Posts: 416
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

Re: Source-Python for CS:S

Postby decompile » Sun Oct 09, 2016 10:33 pm

They changed it recently.

It should be now 'sp plugin load/reload/etc..'
User avatar
velocity
Senior Member
Posts: 220
Joined: Sat May 10, 2014 6:17 pm

Re: Source-Python for CS:S

Postby velocity » Mon Oct 10, 2016 9:03 pm

yap
User avatar
velocity
Senior Member
Posts: 220
Joined: Sat May 10, 2014 6:17 pm

Re: Source-Python for CS:S

Postby velocity » Tue Oct 11, 2016 5:53 pm

Maybe the documentation should be updated, so other people don't fall for this :p
User avatar
iPlayer
Developer
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Re: Source-Python for CS:S

Postby iPlayer » Tue Oct 11, 2016 6:08 pm

Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Re: Source-Python for CS:S

Postby satoon101 » Tue Oct 11, 2016 6:47 pm

Image
User avatar
velocity
Senior Member
Posts: 220
Joined: Sat May 10, 2014 6:17 pm

Re: Source-Python for CS:S

Postby velocity » Sat Oct 15, 2016 12:38 pm

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".
User avatar
L'In20Cible
Project Leader
Posts: 1533
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Re: Source-Python for CS:S

Postby L'In20Cible » Sat Oct 15, 2016 12:55 pm


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 20 guests