Page 1 of 1

Cant load csgo server because unknown command "sp" and more

Posted: Fri May 05, 2023 1:18 pm
by Wazumba
Heyo! I've been trying to set up a warcraftsource server on csgo, this is my first time setting up a csgo server so it's been a lot of trial and error.
It seems like I'm currently unable to load source python and dunno why.
I'm a bit unsure if I've done a step wrong?

But since it said in the installation guide to come here if I had problems with Unknown command "sp" I am here in hopes of some help :)

The stuff I've added to the server is sourcemod, metamod, wcs-master, wcs-contents-master, eventscripts for wcs master and source python

Failed to load plugin "addons/source-python"
05.05 12:44:19 [Server] INFO [Source.Python] Unloading...
05.05 12:44:19 [Server] INFO [Source.Python] Failed to unload the main module.
05.05 12:44:19 [Server] INFO Traceback (most recent call last):
05.05 12:44:19 [Server] INFO File "/csgo/addons/source-python/packages/source-python/__init__.py", line 99, in unload
05.05 12:44:19 [Server] INFO unload_plugins()
05.05 12:44:19 [Server] INFO File "/csgo/addons/source-python/packages/source-python/__init__.py", line 441, in unload_plugins
05.05 12:44:19 [Server] INFO from plugins.manager import plugin_manager
05.05 12:44:19 [Server] INFO File "/csgo/addons/source-python/packages/source-python/plugins/__init__.py", line 12, in <module>
05.05 12:44:19 [Server] INFO from translations.strings import LangStrings
05.05 12:44:19 [Server] INFO ImportError: cannot import name 'LangStrings'
05.05 12:44:19 [Server] INFO [Source.Python] Unloaded successfully.
05.05 12:44:19 [Server] INFO failed to dlopen /csgo/addons/metamod/bin/linux64/server.so error=/csgo/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64
05.05 12:44:19 [Server] INFO Unable to load plugin "addons/metamod/bin/linux64/server"
05.05 12:44:19 [Server] INFO maxplayers set to 64
05.05 12:44:19 [Server] INFO ConVarRef cl_embedded_stream_video_playing doesn't point to an existing ConVar
05.05 12:44:19 [Server] INFO Unknown command "cl_bobamt_vert"
05.05 12:44:19 [Server] INFO Unknown command "cl_bobamt_lat"
05.05 12:44:19 [Server] INFO Unknown command "cl_bob_lower_amt"
05.05 12:44:19 [Server] INFO Unknown command "cl_viewmodel_shift_left_amt"
05.05 12:44:19 [Server] INFO Unknown command "cl_viewmodel_shift_right_amt"
05.05 12:44:19 [Server] INFO Unknown command "cl_teamid_min"
05.05 12:44:19 [Server] INFO Unknown command "cl_teamid_max"
05.05 12:44:19 [Server] INFO Unknown command "cl_teamid_overhead"
05.05 12:44:19 [Server] INFO Unknown command "cl_teamid_overhead_maxdist"
05.05 12:44:19 [Server] INFO "sv_password" = "" notify - Server password for entry into multiplayer games
05.05 12:44:19 [Server] INFO Maxplayers is deprecated, set it in gamemodes_server.txt.example or use -maxplayers_override instead.
05.05 12:44:19 [Server] INFO Usage: host_workshop_collection <fileid>
05.05 12:44:19 [Server] INFO Unknown command "net_maxfilesize"
05.05 12:44:19 [Server] INFO Unknown command "sp"
05.05 12:44:19 [Server] INFO Unknown command "sp"
05.05 12:44:19 [Server] INFO Unknown command "sp"
05.05 12:44:19 [Server] INFO Unknown command "es_load"
05.05 12:44:19 [Server] INFO Unknown command "es_load"
05.05 12:44:19 [Server] INFO Unknown command "sp"
05.05 12:44:19 [Server] INFO "sv_password" = "" notify - Server password for entry into multiplayer games
05.05 12:44:19 [Server] INFO Maxplayers is deprecated, set it in gamemodes_server.txt.example or use -maxplayers_override instead.
05.05 12:44:19 [Server] INFO Usage: host_workshop_collection <fileid>
05.05 12:44:19 [Server] INFO Unknown command "net_maxfilesize"
05.05 12:44:19 [Server] INFO Unknown command "sp"
05.05 12:44:19 [Server] INFO Unknown command "sp"
05.05 12:44:19 [Server] INFO Unknown command "sp"
05.05 12:44:19 [Server] INFO Unknown command "es_load"
05.05 12:44:19 [Server] INFO Unknown command "es_load"
05.05 12:44:19 [Server] INFO Unknown command "sp"

Re: Cant load csgo server because unknown command "sp" and more

Posted: Fri May 05, 2023 7:13 pm
by cssbestrpg
It appears you have installed incorrectly source-python, since its missinng LangStrings which it is included by default. Eventscripts doesn't work in csgo. Only Ayutos eventscripts-emulator works in csgo

Re: Cant load csgo server because unknown command "sp" and more

Posted: Sat May 06, 2023 3:40 am
by Wazumba
I got my info on how to install source python from here
http://wiki.sourcepython.com/general/installation.html

It says to extract the archive in your server’s game folder. E.g. ../my_servers/css/cstrike/ but I remember now that I couldn't find the folder so I assumed it was talking about how to install it on source. So I ended up installing it in the csgo folder but it might've been wrong?

Re: Cant load csgo server because unknown command "sp" and more

Posted: Sat May 06, 2023 6:12 am
by cssbestrpg
For example if want install source-python to css, you need extract the files at cstrike folder. For csgo you need extract the files at csgo folder.

Re: Cant load csgo server because unknown command "sp" and more

Posted: Sat May 06, 2023 3:49 pm
by Wazumba
That's what I did :/ Tried to do a clean install again with only sourcemod, metamod (which worked fine) and then added source python on again but got the same errors with unkown command "sp" for example

Re: Cant load csgo server because unknown command "sp" and more

Posted: Sat May 06, 2023 6:09 pm
by cssbestrpg
Did you try fresh download from downloads?
If did pm me with steam profile here then, so i can help via steam to install Source.Python properly

Re: Cant load csgo server because unknown command "sp" and more

Posted: Fri May 12, 2023 4:26 pm
by L'In20Cible
Launch your server with +developer 1. This should generate debug messages providing more details about why it fails to properly load.