Page 1 of 1

SP for Black Mesa?

Posted: Thu May 07, 2015 8:04 pm
by Painkiller
Hello Source Python Team,

could you make source python to support black mesa source?

http://steamcommunity.com/app/362890/

When i launch it, i'll get the following error:

Code: Select all

[SP] Caught an Exception:
Traceback (most recent call last):
  File '../addons/source-python/packages/source-python/__init__.py', line 38, in load
    setup_sp_command()
  File '../addons/source-python/packages/source-python/__init__.py', line 120, in setup_sp_command
    from core.command import _core_command
  File '../addons/source-python/packages/source-python/core/command.py', line 17, in <module>
    from core import dumps
  File '../addons/source-python/packages/source-python/core/dumps.py', line 28, in <module>
    from weapons.scripts import weapon_scripts
  File '../addons/source-python/packages/source-python/weapons/scripts.py', line 46, in <module>
    SP_DATA_PATH.joinpath('weapons', 'scripts', 'global_pointers.ini')))
  File '../addons/source-python/packages/source-python/memory/manager.py', line 702, in create_global_pointers_from_file
    self.global_pointer(cls, *data)
  File '../addons/source-python/packages/source-python/memory/manager.py', line 676, in global_pointer
    raise ValueError('Unable to find the global pointer.')
 
ValueError: Unable to find the global pointer.



Thanks in Advance

Painkiller

Posted: Thu May 07, 2015 8:35 pm
by L'In20Cible
If you can provide the ELF binaries (especially server.so and engine.so) of this game I will add its data.

Posted: Thu May 07, 2015 8:38 pm
by Ayuto
You should also mention that you have updated an interface. So, even if we add the data it might not work.

Posted: Thu May 07, 2015 10:12 pm
by stonedegg
Uploaded all files from server/bin/ and server/bms/bin/:
https://mega.co.nz/#!nAoj3bjZ!1Gis2p_ygIF8o9k9v-u04GS3VckZnSTkwt6c4Z4rpZU

EngineTraceInterface003 has been updated to EngineTraceInterface004 (SP crashed server on startup).

Posted: Fri May 08, 2015 12:14 am
by necavi
As mentioned here: https://forums.alliedmods.net/showthread.php?t=262493 there's a big update coming, might as well wait for that.

Posted: Sun May 10, 2015 2:33 pm
by satoon101
Glad to see they finally got the game released on Steam :D We will certainly work on getting support for the game (both SP and MP) working properly.

On another note, glad to see ynh doing well :)

Posted: Mon May 11, 2015 1:59 pm
by Painkiller
Any news on this ?

Posted: Tue May 12, 2015 2:26 pm
by satoon101
We did start a new branch yesterday to work on this. It will take some time to get all of the issues sorted out, so please be patient.

Posted: Tue May 12, 2015 5:08 pm
by Painkiller
Thanks in Advance satoon101 and Source Python Team.

Any news on this ?

Posted: Sun May 17, 2015 2:06 pm
by satoon101
It has been 5 days, so feel free to bump with your edit instead of just editing. I just happened to notice it.

As far as news goes, we haven't had any updates to the new branch in a few days. There are still a couple things that we need to sort out before completing the updates. Having said that, I will attach a 'working' build here that you can begin to test with. Please report any issues with it here, so that we know what else we might need to work on.

Posted: Sun May 17, 2015 2:12 pm
by Painkiller
I did not want to appear pushy Satoon.

I am very happy to testing.

Posted: Sun May 17, 2015 2:34 pm
by satoon101
That's understandable, and we appreciate that.

Unfortunately, I am having some building errors on Linux, so only Windows is supported at this time. There are a few changes to both the source and python sides that have not been committed to the code base. These changes are necessary to be able to load the plugin, but are only temp fixes and not permanent ones. Once we find permanent solutions, we will push the proper changes.

https://github.com/Source-Python-Dev-Team/Source.Python/releases/tag/7e875dd

Also, this will work on both the server and client, so you can test for both multi-player and single player.

Posted: Sun May 17, 2015 2:40 pm
by Painkiller
Thanks Satoon

but now I have a problem I only have linux root server :(

Posted: Sun May 17, 2015 2:43 pm
by satoon101
Sorry, it will likely be a few days before we get time to look into the Linux issues.

Posted: Sun May 17, 2015 2:47 pm
by Painkiller
Ok that's no problem.

Do it the windows always surprised only

Linux servers are more stable

Posted: Thu May 21, 2015 3:47 am
by satoon101
A big thanks to Ayuto who fixed all of the Linux compile errors today!!! There is a new BMS release out which has both Linux and Windows binaries.
https://github.com/Source-Python-Dev-Team/Source.Python/releases/tag/4b0c8b7

The release does have one change still that has not been implemented to the code base. Without this fix, loading SP on a BMS server would fail due to an error. Unfortunately, it will be a lot more difficult to fix than we had first thought/hoped.

Posted: Thu May 21, 2015 1:59 pm
by Painkiller
Yes big thanks Ayuto.

Posted: Mon May 25, 2015 5:45 pm
by Painkiller
I can tell Works good.