Page 1 of 1

A new release!

Posted: Sat Apr 04, 2015 10:25 am
by Ayuto
We have posted a new release again!

The changelog can be found here:
https://github.com/Source-Python-Dev-Team/Source.Python/compare/2eb3a29...master

As always, the download can be found in the release section on the GitHub page:
https://github.com/Source-Python-Dev-Team/Source.Python/releases

Posted: Wed Apr 15, 2015 3:37 am
by satoon101
There were some fairly major changes made the last few days, so we felt it necessary to post another new build!!
https://github.com/Source-Python-Dev-Team/Source.Python/releases

Posted: Wed Apr 15, 2015 2:29 pm
by qazuar
Whenever i attempt to use <BaseEntity>.take_damage() im getting the following error:

[SP] Loading plugin 'test'...

[SP] Caught an Exception:
Traceback (most recent call last):
File '..\addons\source-python\packages\source-python\plugins\manager.py', line
78, in __missing__
instance.globals['load']()
File '..\addons\source-python\plugins\test\test.py', line 22, in load
BaseEntity(index).take_damage(1.0)
File '..\addons\source-python\packages\source-python\entities\specials.py', li
ne 143, in take_damage
self.take_damage(take_damage_info)
File '..\addons\source-python\packages\source-python\entities\specials.py', li
ne 131, in take_damage
take_damage_info.damage = damage

Boost.Python.ArgumentError: Python argument types in
None.None(TakeDamageInfo, TakeDamageInfo)
did not match C++ signature:
None(class CTakeDamageInfo {lvalue}, float)


[SP] Plugin 'test' was unable to be loaded.

Posted: Wed Apr 15, 2015 3:18 pm
by satoon101
Whoops. Forgot to rename the virtual method inside the take_damage method to on_take_damage. This caused the method to re-call itself. I will commit that fix and post a new release. Thank you for reporting.

*Edit - done:
https://github.com/Source-Python-Dev-Team/Source.Python/releases

Posted: Mon May 18, 2015 3:57 pm
by Mahi
Any approximate when a new release for CS:GO and The Orange Box would be coming out? :)

Posted: Mon May 18, 2015 4:37 pm
by Ayuto
Maybe today or tomorrow. :)

Posted: Mon May 18, 2015 4:56 pm
by Mahi
Well, perfect :) You guys the best!