SP for Black Mesa?

All other Source.Python topics and issues.
User avatar
Painkiller
Senior Member
Posts: 726
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

SP for Black Mesa?

Postby Painkiller » Thu May 07, 2015 8:04 pm

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

Postby L'In20Cible » Thu May 07, 2015 8:35 pm

If you can provide the ELF binaries (especially server.so and engine.so) of this game I will add its data.
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Thu May 07, 2015 8:38 pm

You should also mention that you have updated an interface. So, even if we add the data it might not work.
stonedegg
Senior Member
Posts: 141
Joined: Sun Aug 12, 2012 11:45 am

Postby stonedegg » Thu May 07, 2015 10:12 pm

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).
necavi
Developer
Posts: 129
Joined: Wed Jan 30, 2013 9:51 pm

Postby necavi » Fri May 08, 2015 12:14 am

As mentioned here: https://forums.alliedmods.net/showthread.php?t=262493 there's a big update coming, might as well wait for that.
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Sun May 10, 2015 2:33 pm

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 :)
Image
User avatar
Painkiller
Senior Member
Posts: 726
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Postby Painkiller » Mon May 11, 2015 1:59 pm

Any news on this ?
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Tue May 12, 2015 2:26 pm

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.
Image
User avatar
Painkiller
Senior Member
Posts: 726
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Postby Painkiller » Tue May 12, 2015 5:08 pm

Thanks in Advance satoon101 and Source Python Team.

Any news on this ?
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Sun May 17, 2015 2:06 pm

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.
Image
User avatar
Painkiller
Senior Member
Posts: 726
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Postby Painkiller » Sun May 17, 2015 2:12 pm

I did not want to appear pushy Satoon.

I am very happy to testing.
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Sun May 17, 2015 2:34 pm

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.
Image
User avatar
Painkiller
Senior Member
Posts: 726
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Postby Painkiller » Sun May 17, 2015 2:40 pm

Thanks Satoon

but now I have a problem I only have linux root server :(
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Sun May 17, 2015 2:43 pm

Sorry, it will likely be a few days before we get time to look into the Linux issues.
Image
User avatar
Painkiller
Senior Member
Posts: 726
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Postby Painkiller » Sun May 17, 2015 2:47 pm

Ok that's no problem.

Do it the windows always surprised only

Linux servers are more stable
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Thu May 21, 2015 3:47 am

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.
Image
User avatar
Painkiller
Senior Member
Posts: 726
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Postby Painkiller » Thu May 21, 2015 1:59 pm

Yes big thanks Ayuto.
User avatar
Painkiller
Senior Member
Posts: 726
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Postby Painkiller » Mon May 25, 2015 5:45 pm

I can tell Works good.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 19 guests