Unknown command "sp"

All other Source.Python topics and issues.
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

Unknown command "sp"

Postby nullable » Tue Dec 30, 2014 12:36 pm

After update source-python from source the server can't found sp command. How can fix it?
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Tue Dec 30, 2014 12:58 pm

Which game and which OS?
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

Postby nullable » Tue Dec 30, 2014 1:01 pm

Ubuntu and csgo
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Tue Dec 30, 2014 1:12 pm

Can you show us the start log of your server? Make sure to add "+developer 5" to the command line.
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

Postby nullable » Tue Dec 30, 2014 1:16 pm

Syntax: Select all

csgoserver@horse:~$ ./csgoserver debug

Counter Strike: Global Offensive Debug
============================

Distro: Ubuntu 12.04 LTS
Arch: i686
Kernel: 3.2.0-24-virtual
Hostname: horse

Start parameters:
./srcds_run -game csgo -usercon -strictportbind -ip xxx.xxx.xxx.xxx -port 27015 +clientport 27005 +tv_port 27020 -tickrate 64 +map de_dust2 +servercfgfile csgo-server.cfg -maxplayers_override 16 +mapgroup random_classic +game_mode 0 +game_type 0 +host_workshop_collection +workshop_start_map -authkey -debug

Use for identifying server issues only!
Press CTRL+c to drop out of debug mode
WARNING! If csgo-server is already running it will be stopped

Continue? [y/N]y
[ FAIL ] Stopping csgo-server: is already stopped
[ OK ] Starting debug mode csgo-server:
./srcds_run: 32: ./srcds_run: pushd: not found
./srcds_run: 35: ./srcds_run: popd: not found
Enabling debug mode
Server will auto-restart if there is a crash.
LD_LIBRARY_PATH=/home/csgoserver/serverfiles/bin:/home/csgoserver/serverfiles:/home/csgoserver/serverfiles/bin:
#Using breakpad minidump system
Using breakpad crash handler
#
#Console initialized.
#Loading VPK file hashes for pure server operation.
#Game.dll loaded for "Counter-Strike: Global Offensive"
#CGameEventManager::AddListener: event 'server_pre_shutdown' unknown.
#CGameEventManager::AddListener: event 'game_newmap' unknown.
#CGameEventManager::AddListener: event 'finale_start' unknown.
#CGameEventManager::AddListener: event 'round_start' unknown.
#CGameEventManager::AddListener: event 'round_end' unknown.
#CGameEventManager::AddListener: event 'difficulty_changed' unknown.
#CGameEventManager::AddListener: event 'player_connect' unknown.
#CGameEventManager::AddListener: event 'player_disconnect' unknown.
#GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
Failed to load gamerulescvars.txt, game rules cvars might not be reported to management tools.
Server is hibernating
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
No web api auth key specified - workshop downloads will be disabled.
Unable to load plugin "addons/source-python"
maxplayers set to 64
Unknown command "allow_spectators"
Unknown command "mp_consistency"
Unknown command "mp_fadetoblack"
Unknown command "mp_flashlight"
Unknown command "mp_footsteps"
Unknown command "mp_forcechasecam"
Unknown command "mp_hostagepenalty"
Unknown command "mp_logecho"
Unknown command "mp_logfile"
Unknown command "mp_logmessages"
Unknown command "mp_winlimit"
Unknown command "sv_aim"
Unknown command "sv_airmove"
Unknown command "sv_clienttrace"
Unknown command "sv_clipmode"
Unknown command "sv_maxunlag"
Unknown command "sv_maxupdaterate"
Unknown command "sv_proxies"
Unknown command "sv_restartround"
Unknown command "sv_send_logos"
Unknown command "sv_send_resources"
Unknown command "sv_stepsize"
Unknown command "sv_timeout"
Unknown command "sv_unlag"
Unknown command "sv_unlagsamples"
Unknown command "sv_unlagp"
Unknown command "pausable"
Unknown command "sys_ticrate"
Unknown command "allow_spectators"
Unknown command "decalfrequency"
Unknown command "edgefriction"
Can't use cheat cvar host_framerate in multiplayer, unless the server has sv_cheats set to 1.
Server waking up from hibernation
maxplayers set to 64
Unknown command "sp"
Unknown command "sp"
Unknown command "sp"
Unknown command "sp"
Setting mapgroup to 'random_classic'
Usage: host_workshop_collection <fileid>
Usage: workshop_start_map <fileid>
---- Host_NewGame ----
#######################################
Map de_dust2 missing stringtable dictionary, don't ship this way!!!
Run with -stringtables on the command line or convar
stringtable_alwaysrebuilddictionaries enabled to build the string table
#######################################
Host_NewGame on map de_dust2
GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
ConVarRef room_type doesn't point to an existing ConVar
bot_autodifficulty_threshold_high - 5.0
bot_autodifficulty_threshold_low - -2.0
bot_chatter - normal
bot_defer_to_human_goals - 0
bot_defer_to_human_items - 1
bot_difficulty - 1
bot_quota - 10
bot_quota_mode - normal
bot_allow_grenades - 1
bot_allow_pistols - 1
bot_allow_sub_machine_guns - 1
bot_allow_shotguns - 1
bot_allow_rifles - 1
bot_allow_snipers - 1
bot_allow_machine_guns - 1
mp_playercashawards - 1
cash_player_bomb_defused - 300
cash_player_bomb_planted - 300
cash_player_damage_hostage - -30
cash_player_interact_with_hostage - 150
cash_player_killed_enemy_default - 300
cash_player_killed_enemy_factor - 1
cash_player_killed_hostage - -1000
cash_player_killed_teammate - -300
cash_player_rescued_hostage - 1000
cash_player_respawn_amount - 0
cash_player_get_killed - 0
mp_teamcashawards - 1
cash_team_elimination_bomb_map - 3250
cash_team_elimination_hostage_map_t - 1000
cash_team_elimination_hostage_map_ct - 2000
cash_team_hostage_alive - 0
cash_team_hostage_interaction - 500
cash_team_loser_bonus - 1400
cash_team_loser_bonus_consecutive_rounds - 500
cash_team_planted_bomb_but_defused - 800
cash_team_rescued_hostage - 0
cash_team_terrorist_win_bomb - 3500
cash_team_win_by_defusing_bomb - 3250
cash_team_win_by_hostage_rescue - 3500
cash_team_win_by_time_running_out_bomb - 3250
cash_team_win_by_time_running_out_hostage - 3250
mp_afterroundmoney - 0
mp_buytime - 90
mp_buy_anywhere - 0
mp_buy_during_immunity - 0
mp_startmoney - 800
mp_maxmoney - 16000
mp_death_drop_defuser - 1
mp_death_drop_grenade - 2
mp_death_drop_gun - 1
mp_deathcam_skippable - 1
mp_defuser_allocation - 0
mp_give_player_c4 - 1
mp_free_armor - 0
mp_molotovusedelay - 15.0
mp_weapons_allow_zeus - 1
mp_weapons_allow_map_placed - 0
mp_weapons_glow_on_ground - 0
mp_ct_default_melee - weapon_knife
mp_ct_default_secondary - weapon_hkp2000
mp_ct_default_primary -
mp_ct_default_grenades -
mp_t_default_melee - weapon_knife
mp_t_default_secondary - weapon_glock
mp_t_default_primary -
mp_t_default_grenades -
mp_buy_allow_grenades - 1
mp_freezetime - 6
mp_force_pick_time - 15
mp_halftime - 0
mp_match_can_clinch - 1
mp_maxrounds - 0
mp_roundtime - 5
mp_roundtime_defuse - 0
mp_roundtime_hostage - 0
mp_timelimit - 5
mp_warmuptime - 30
mp_warmup_pausetimer - 0
mp_halftime_pausetimer - 0
mp_default_team_winner_no_objective - -1
mp_hostagepenalty - 10
mp_solid_teammates - 1
sv_allow_votes - 1
sv_alltalk - 0
sv_deadtalk - 0
sv_ignoregrenaderadio - 0
mp_teammates_are_enemies - 0
mp_damage_scale_ct_body - 1.0
mp_damage_scale_ct_head - 1.0
mp_damage_scale_t_body - 1.0
mp_damage_scale_t_head - 1.0
mp_friendlyfire - 0
ff_damage_reduction_bullets - 0.1
ff_damage_reduction_grenade - 0.25
ff_damage_reduction_grenade_self - 1
ff_damage_reduction_other - 0.25
mp_limitteams - 2
spec_freeze_panel_extended_time - 0.0
spec_freeze_time - 5.0
mp_forcecamera - 1
mp_respawn_immunitytime - 4.0
mp_respawn_on_death_t - 0
mp_respawn_on_death_ct - 0
mp_display_kill_assists - 1
mp_use_respawn_waves - 0
mp_respawnwavetime_ct - 10.0
mp_respawnwavetime_t - 10.0
mp_randomspawn - 0
mp_randomspawn_los - 1
mp_radar_showall - 0
mp_force_assign_teams - 0
sv_gravity - 800
sv_accelerate - 5.5
sv_stopspeed - 80
sv_airaccelerate - 12
sv_wateraccelerate - 10
sv_waterfriction - 1
sv_friction - 5.2
sv_bounce - 0
sv_maxvelocity - 3500
sv_maxspeed - 320
mp_ggprogressive_round_restart_delay - 15.0
mp_ggtr_bomb_defuse_bonus - 1.0
mp_ggtr_bomb_detonation_bonus - 1.0
mp_ggtr_bomb_pts_for_flash - 4
mp_ggtr_bomb_pts_for_he - 3
mp_ggtr_bomb_pts_for_molotov - 5
mp_ggtr_bomb_pts_for_upgrade - 2.0
mp_ggtr_bomb_respawn_delay - 0.0
mp_ggtr_end_round_kill_bonus - 1
mp_ggtr_halftime_delay - 0.0
mp_ggtr_last_weapon_kill_ends_half - 0
sv_arms_race_vote_to_restart_disallowed_after - 0
Executing dedicated server config file
Server logging enabled.
Server logging data to file logs/L141_000_170_097_27015_201412301310_000.log
L 12/30/2014 - 13:10:51: Log file started (file "logs/L141_000_170_097_27015_201412301310_000.log") (game "/home/csgoserver/serverfiles/csgo") (version "5858")
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
L 12/30/2014 - 13:10:51: server_cvar: "cash_player_bomb_defused" "200"
L 12/30/2014 - 13:10:51: server_cvar: "cash_player_bomb_planted" "200"
L 12/30/2014 - 13:10:51: server_cvar: "cash_player_interact_with_hostage" "300"
L 12/30/2014 - 13:10:51: server_cvar: "cash_player_killed_enemy_default" "200"
L 12/30/2014 - 13:10:51: server_cvar: "cash_player_killed_enemy_factor" "0.5"
L 12/30/2014 - 13:10:51: server_cvar: "cash_team_elimination_bomb_map" "2700"
L 12/30/2014 - 13:10:51: server_cvar: "cash_team_elimination_hostage_map_t" "2000"
L 12/30/2014 - 13:10:51: server_cvar: "cash_team_elimination_hostage_map_ct" "2300"
L 12/30/2014 - 13:10:51: server_cvar: "cash_team_loser_bonus" "2400"
L 12/30/2014 - 13:10:51: server_cvar: "cash_team_loser_bonus_consecutive_rounds" "0"
L 12/30/2014 - 13:10:51: server_cvar: "cash_team_planted_bomb_but_defused" "200"
L 12/30/2014 - 13:10:51: server_cvar: "cash_team_terrorist_win_bomb" "2700"
L 12/30/2014 - 13:10:51: server_cvar: "cash_team_win_by_defusing_bomb" "2700"
L 12/30/2014 - 13:10:51: server_cvar: "cash_team_win_by_hostage_rescue" "3000"
L 12/30/2014 - 13:10:51: server_cvar: "cash_team_win_by_time_running_out_hostage" "2000"
L 12/30/2014 - 13:10:51: server_cvar: "cash_team_win_by_time_running_out_bomb" "2700"
L 12/30/2014 - 13:10:51: server_cvar: "mp_freezetime" "5"
L 12/30/2014 - 13:10:51: server_cvar: "mp_friendlyfire" "1"
L 12/30/2014 - 13:10:51: server_cvar: "mp_maxrounds" "15"
L 12/30/2014 - 13:10:51: server_cvar: "mp_roundtime" "3"
L 12/30/2014 - 13:10:51: server_cvar: "mp_roundtime_hostage" "2"
L 12/30/2014 - 13:10:51: server_cvar: "mp_roundtime_defuse" "3"
L 12/30/2014 - 13:10:51: server_cvar: "mp_timelimit" "0"
L 12/30/2014 - 13:10:51: server_cvar: "sv_alltalk" "1"
exec: couldn't exec gamemode_casual_server.cfg
PrecacheScriptSound 'atv_impact_medium' failed, no such sound script entry
Commentary: Could not find commentary data file 'maps/de_dust2_commentary.txt'.
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
L 12/30/2014 - 13:10:52: "GOTV<2><BOT><>" connected, address ""
PutClientInServer: no info_player_start on level
L 12/30/2014 - 13:10:52: "GOTV<2><BOT><>" entered the game
Initializing Steam libraries for secure Internet server
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 730
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Logging into anonymous gameserver account.
L 12/30/2014 - 13:10:52: World triggered "Round_Start"
GOTV broadcast active.
Connection to Steam servers successful.
Assigned anonymous gameserver Steam ID [A:1:2288944130(5044)].
VAC secure mode is activated.
GC Connection established for server version 154, instance idx 1
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Tue Dec 30, 2014 1:23 pm

I think you missed this part:
Ayuto wrote:Make sure to add "+developer 5" to the command line.
Image
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Tue Dec 30, 2014 1:23 pm

You haven't set "developer" to 5. But since "[Source.Python] Loading..." doesn't even show up I guess that you forgot to copy "source-python.so" to your addons folder.
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

Postby nullable » Tue Dec 30, 2014 1:44 pm

Ayuto, where can I get this file?
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Tue Dec 30, 2014 1:47 pm

You can either download the current release, which includes that file and the core.so, or you can build them yourself. There are a few requirements that you may or may not have on your system, but once you have the requirements, it should be as simple as running the Build.sh file and selecting csgo to build the files and then copying the to the correct directories.

The source-python.so goes in the ../addons/ directory while the core.so goes in the ../addons/source-python/bin/ directory.
Image

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 68 guests