Page 1 of 1

[SP] Version: 700 for [BMS]

Posted: Sun Aug 30, 2020 5:03 pm
by Painkiller
Apparently there are problems if you want to use SP for BMS.

Can anyone help here ?

Code: Select all

[SP] Encountered a Warning:
  File '../addons/source-python/packages/site-packages/mutagen/id3/_specs.py', line 666: DeprecationWarning
    invalid escape sequence \s

2020-08-30 18:57:10 - sp   -   WARNING   
[SP] Encountered a Warning:
  File '../addons/source-python/packages/site-packages/mutagen/id3/_specs.py', line 666: DeprecationWarning
    invalid escape sequence \s

Re: [SP] Version: 700 for [BMS]

Posted: Sun Aug 30, 2020 5:29 pm
by satoon101
That's just a warning, not an error, about something being deprecated in a 3rd-party package included with SP. Does something not work for you outside of this?

Re: [SP] Version: 700 for [BMS]

Posted: Sun Aug 30, 2020 5:36 pm
by Painkiller
Yes, if SP is loaded you will not be able to access the server. ( You can not join )

Re: [SP] Version: 700 for [BMS]

Posted: Sun Aug 30, 2020 6:12 pm
by DeaD_EyE
Try to update the package mutagen. I guess they fixed this warning.

Re: [SP] Version: 700 for [BMS]

Posted: Sun Aug 30, 2020 6:17 pm
by satoon101
No, I wouldn't update it manually. We will need to do that in the SP code base and make sure updating doesn't cause us any issues.

Re: [SP] Version: 700 for [BMS]

Posted: Sun Aug 30, 2020 6:52 pm
by Painkiller
I had drawn it fresh on it

Re: [SP] Version: 700 for [BMS]

Posted: Mon Aug 31, 2020 1:40 pm
by DeaD_EyE
satoon101 wrote:No, I wouldn't update it manually. We will need to do that in the SP code base and make sure updating doesn't cause us any issues.


It's not a problem for a user to replace on his machine one dependency of source python and this won't affect your master.
If it does not work -> users problem

The warning should not affect the code execution.

Re: [SP] Version: 700 for [BMS]

Posted: Mon Aug 31, 2020 4:05 pm
by satoon101
It seems like the server is crashing when SP is loaded and a player joins. If I remove SP, I am able to join the server just fine. My test that crashed was just SP loaded, no SP scripts themselves were loaded. We'll have to figure out what is causing the crash and get it fixed.

Re: [SP] Version: 700 for [BMS]

Posted: Mon Aug 31, 2020 4:15 pm
by satoon101
DeaD_EyE wrote:
satoon101 wrote:No, I wouldn't update it manually. We will need to do that in the SP code base and make sure updating doesn't cause us any issues.


It's not a problem for a user to replace on his machine one dependency of source python and this won't affect your master.
If it does not work -> users problem

The warning should not affect the code execution.

That's not entirely true. If we are using some code that causes the DeprecationWarning, and that code is actually deprecated in the newer version, it won't give a warning, but instead raise an error. Warnings in general, and especially DeprecationWarnings, are normally fine and can be ignored. When you go to update the package, that's where they come into play. I'm not saying that is what this specific instance is, as I believe I have seen it before and it was just that another library we use used a deprecated functionality. So really, we would need to update both packages to make sure everything works correctly. But, again, the warning itself doesn't harm anything and for now can just be ignored. There is absolutely no reason for anyone to manually update a 3rd-party package shipped with SP.

Re: [SP] Version: 700 for [BMS]

Posted: Wed Sep 02, 2020 7:44 am
by Painkiller
What would be the next step for me to get it running?

Code: Select all


    TS3 Admin
    Dashboard
    Game Monitor
    Cron
    Administration
    painkiller

RocKs [Public/Clan] Server (18+) FastDL

Loaded 8167 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_textures.vpk for pure server operation.

Loaded 8167 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_textures.vpk for pure server operation.

Loaded 14 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_materials.vpk for pure server operation.

Loaded 14 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_materials.vpk for pure server operation.

Loaded 5741 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_models.vpk for pure server operation.

Loaded 5741 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_models.vpk for pure server operation.

Loaded 113 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_misc.vpk for pure server operation.

Loaded 113 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_misc.vpk for pure server operation.

Loaded 4506 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_sounds_misc.vpk for pure server operation.

Loaded 4506 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_sounds_misc.vpk for pure server operation.

Loaded 767 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_sound_vo_english.vpk for pure server operation.

Loaded 767 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_sound_vo_english.vpk for pure server operation.

Loaded 5090 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_maps.vpk for pure server operation.

Loaded 5090 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/bms/bms_maps.vpk for pure server operation.

Loaded 496 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/hl2/hl2_misc.vpk for pure server operation.

Loaded 224 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/hl2/hl2_sounds_misc.vpk for pure server operation.

Loaded 1223 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/hl2/hl2_textures.vpk for pure server operation.

Loaded 2 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/hl2/hl2_materials.vpk for pure server operation.

Loaded 421 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/hl2/hl2_models.vpk for pure server operation.

Loaded 5 VPK file hashes from /home/ogp_agent/OGP_User_Files/30/platform/platform_misc.vpk for pure server operation.

server_srv.so loaded for "Black Mesa"

[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.so.

Parent cvar in server.dll not allowed (sk_xorteb_dispel_dmg)

Init MultiPlayer Params

Init MultiPlayer Params

CampaignManager:  Campaign file "campaigns/campaign_bm_sp.txt" is malformed, failed to parse.

failed to dlopen /home/ogp_agent/OGP_User_Files/30/bms/addons/metamod/bin/linux64/server.so error=/home/ogp_agent/OGP_User_Files/30/bms/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64

Unable to load plugin "addons/metamod/bin/linux64/server"

[Source.Python] Loading...

[Source.Python] Loaded successfully.

maxplayers set to 20

Looking up breakpad interfaces from steamclient

Calling BreakpadMiniDumpSystemInit

'config.cfg' not present; not executing.

Unknown command "r_farz"

'userconfig.cfg' not present; not executing.

ConVarRef dev_loadtime_map_start doesn't point to an existing ConVar

maxplayers set to 20

Unknown command "startupmenu"

WARNING: Port 27005 was unavailable - bound to port 27019 instead

Network: IP 178.63.54.240, mode MP, dedicated Yes, ports 28220 SV / 27019 CL

Initializing Steam libraries for secure Internet server

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.

FillInMachineIDInfo took a total of 0 milliseconds

Setting breakpad minidump AppID = 362890

Looking up breakpad interfaces from steamclient

Calling BreakpadMiniDumpSystemInit

Setting breakpad minidump AppID = 346680

No account token specified; logging into anonymous game server account.  (Use sv_setsteamaccount to

Error loading cfg/pure_server_minimal.txt

L 09/02/2020 - 09:45:43: [SM] Failed to load plugin "nextmap.smx": Nextmap is incompatible with this game.

ConVarRef room_type doesn't point to an existing ConVar

Executing dedicated server config file server.cfg

Using map cycle file 'cfg/mapcycle.txt'.

Unknown command "gb_flashlight_PosX"

Unknown command "gb_flashlight_PosY"

Unknown command "gb_flashlight_PosZ"

Unknown command "gb_flashlight_Intensity"

Unknown command "gb_flashlight_Col"

Unknown command "gb_flashlight_Range"

Unknown command "gb_flashlight_phi"

Unknown command "gb_flashlight_oldfalloff_quad"

Unknown command "gb_flashlight_oldfalloff_linear"

Unknown command "sk_zombie_one_slash_left_viewpunch"

Unknown command "sk_zombie_one_slash_right_viewpunch"

Unknown command "sk_zombie_both_slash_viewpunch"

Unknown command "cl_xort_light_col_R"

Unknown command "cl_xort_light_col_G"

Unknown command "cl_xort_light_col_B"

Unknown command "cl_xort_light_intensity"

Unknown command "cl_xort_light_range"

Unknown command "cl_xort_light_ttl_Zap"

Unknown command "cl_xort_light_ttl_dispel"

Unknown command "cl_envportal_light_col_R"

Unknown command "cl_envportal_light_col_G"

Unknown command "cl_envportal_light_col_B"

Unknown command "joy_xcontroller_found"

Unknown command "r_bloomtintr_nextgen"

Unknown command "r_bloomtintg_nextgen"

Unknown command "r_bloomtintb_nextgen"

Unknown command "r_bloomtintexponent_nextgen"

Unknown command "r_bloom_nextgen_threshold"

Unknown command "mat_bloom_nextgen"

ConVarRef sk_suitcharger doesn't point to an existing ConVar

Team 0: 0 spawnpoints.

Team 1: 0 spawnpoints.

Team 2: 0 spawnpoints.

Team 3: 0 spawnpoints.

Server is hibernating

Connection to Steam servers successful.

Public IP is 178.63.54.240.

Assigned anonymous gameserver Steam ID [A:1:1998537735:15481].

CBlackMesaWorkshopBase::Initialize

CBlackMesaWorkshopServer::InitWorkshopItemsForDedicatedServer

No subscribed_file_ids.txt found.

VAC secure mode is activated.

CBlackMesaWorkshopBase::OnQuerySusbcribedAddons

You are subscribed to 0 addons.


Aktualisierungsrate des Logs:
RCON Befehle    
   

<< Zurück
User Links

    Dashboard
    Game Monitor
    FTP - File Transfer Protocol

Open Game Panel

    OGP Website
    OGP Wiki
    Downloads

Fast Discussion Forum

    OGP Discussion Forums
    Support
    Feature Request
    Patches/Contributions
    Game Config Help (XML files)

Revolution Thema - 177 Abfragen durchgeführt
Copyright © Open Game Panel 2020 - Alle Rechte vorbehalten - Version anzeigen
 

Re: [SP] Version: 700 for [BMS]

Posted: Wed Sep 02, 2020 11:50 pm
by L'In20Cible
satoon101 wrote:It seems like the server is crashing when SP is loaded and a player joins. If I remove SP, I am able to join the server just fine. My test that crashed was just SP loaded, no SP scripts themselves were loaded. We'll have to figure out what is causing the crash and get it fixed.


It crashes when the internal hook on Player.run_command is being registered because the dispatch tables were outdated. Should be fixed into 46bf8f5.

Re: [SP] Version: 700 for [BMS]

Posted: Thu Sep 03, 2020 7:09 am
by Painkiller
I have downloaded from the download directory
(http://downloads.sourcepython.com/relea ... 6-2020.zip)

Newly downloaded and have (http://wiki.sourcepython.com/general/updating.html)
the applied.

Unfortunately HLSW does not recognize BMS to make a sp update via the console.

My Open Game Panel does not have a direct console to perform an update.

So I used the old method.
Unfortunately there is now the problem that the server restarts every 10 seconds.


I found this in the SP logs

Code: Select all

2020-09-03 09:10:58 - sp   -   MESSAGE   [SP] Plugin 'jet' was unable to be loaded.
2020-09-03 09:10:58 - sp   -   MESSAGE   [SP] Loading plugin 'parachute'...
2020-09-03 09:10:58 - sp   -   MESSAGE   [SP] Successfully loaded plugin 'parachute'.
2020-09-03 09:10:58 - sp   -   MESSAGE   [SP] Loading plugin 'savescore'...
2020-09-03 09:10:58 - sp   -   MESSAGE   [SP] Successfully loaded plugin 'savescore'.
2020-09-03 09:10:58 - sp   -   MESSAGE   [SP] Loading plugin 'webshort'...
2020-09-03 09:10:58 - sp   -   MESSAGE   [SP] Successfully loaded plugin 'webshort'.
2020-09-03 09:10:58 - sp   -   MESSAGE   [SP] Loading plugin 'welcome'...
2020-09-03 09:10:58 - sp   -   MESSAGE   [SP] Successfully loaded plugin 'welcome'.
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Loading plugin 'dethmsg'...
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Unable to load plugin 'dethmsg'. Missing file ../addons/source-python/plugins/dethmsg/dethmsg.py
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Loading plugin 'earbleed'...
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Successfully loaded plugin 'earbleed'.
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Loading plugin 'gamedesc'...
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Successfully loaded plugin 'gamedesc'.
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Loading plugin 'jet'...
2020-09-03 09:11:15 - sp   -   EXCEPTION   
[SP] Caught an Exception:
Traceback (most recent call last):
  File "../addons/source-python/packages/source-python/plugins/command.py", line 164, in load_plugin
    plugin = self.manager.load(plugin_name)
  File "../addons/source-python/packages/source-python/plugins/manager.py", line 194, in load
    plugin._load()
  File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _load
    self.module = import_module(self.import_name)
  File "../addons/source-python/plugins/jet/jet.py", line 21, in <module>
    info = PluginInfo()

TypeError: __init__() missing 1 required positional argument: 'name'


2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Plugin 'jet' was unable to be loaded.
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Loading plugin 'parachute'...
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Successfully loaded plugin 'parachute'.
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Loading plugin 'savescore'...
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Successfully loaded plugin 'savescore'.
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Loading plugin 'webshort'...
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Successfully loaded plugin 'webshort'.
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Loading plugin 'welcome'...
2020-09-03 09:11:15 - sp   -   MESSAGE   [SP] Successfully loaded plugin 'welcome'.


Greeting Pain

Translated with http://www.DeepL.com/Translator (free version)

Re: [SP] Version: 700 for [BMS]

Posted: Mon Sep 14, 2020 8:29 am
by Painkiller
Are there already new insights so that you can use SP again?