Jonathan

Results 17 issues of Jonathan

Some WeaponID and WeaponType names were changed to match the names used internally in CS:GO/CS:S. This will allow you to get the ID by weapon class name or pass an...

This fixes the issue(#472) of [Python string object pointer being directly set during use of string_pointer](https://github.com/Source-Python-Dev-Team/Source.Python/issues/472#issuecomment-1551965922) and mitigates the problem of [buffer overrun when using string_array](https://github.com/Source-Python-Dev-Team/Source.Python/issues/472#issuecomment-1551973691) at instance/pointer_attribute. This change...

This will allow us to deal with signature changes more quickly and accurately than before. Output at https://github.com/Source-Python-Dev-Team/Source.Python/commit/9f387830a037fffd7b4dc9d680ddb7e4ac19e767 Output ``` [Source.Python] [SP] Encountered a Warning: File '../addons/source-python/packages/source-python/__init__.py', line 168: UserWarning...

enhancement

Isn't this supposed to be set to 0 (NULL)? Code: ```python from memory import alloc pointer = alloc(4, False) pointer.set_pointer(None) ``` Output: ``` Thread 1 "srcds_linux" received signal SIGSEGV, Segmentation...

Who manages the char* set by Pointer.set_string_pointer? Is it impossible to set a string to a char* managed by a C++ object? Test Code 1: ```python from memory import alloc...

question

I don't know the current development status of Source.Python, so this is a brief note for all Source.Python users. Currently server_classes/dynamic_attributes/properties/inputs/outputs/keyvalues/get_input/call_input is only available for Entity (only for networked entity),...

This fixes the following error when unloading the plugin Output: ``` [Source.Python] [SP] Caught an Exception: Traceback (most recent call last): File "..\addons\source-python\packages\source-python\plugins\manager.py", line 437, in _unload_auto_unload_instances instance._unload_instance() File "..\addons\source-python\packages\source-python\engines\sound.py",...