Search found 1426 matches

by Ayuto
Thu Apr 07, 2016 6:40 am
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 84
Views: 176156

Better just call make_object(RecipientFilter, args[1]).add_all_players(). But I think there is a ConVar as well. Just can't remember its name.
by Ayuto
Mon Apr 04, 2016 6:09 pm
Forum: General Discussion
Topic: SP Not loading
Replies: 14
Views: 16033

Hm, that's funny, because the core.so shouldn't rely on the GLIBC library anymore. Do you have the possibility to update your GLIBC version to 2.17 or later?
by Ayuto
Sun Apr 03, 2016 5:10 pm
Forum: Development Status Updates
Topic: Development status update (March 2016)
Replies: 0
Views: 7575

Development status update (March 2016)

It's time for another development status update! :) ⋅ Fixes: ⋅  Improved performance of FireEntityOutput hook. ⋅  Fixed issue #110. ⋅  Fixed issue #114. ⋅  Fixed name conflict between _listeners._ListenerManager and listeners._ListenerManager. ⋅...
by Ayuto
Thu Mar 31, 2016 8:03 pm
Forum: General Discussion
Topic: SP Not loading
Replies: 14
Views: 16033

Are you really sure you replaced the core.so in ../addons/source-python/bin?
by Ayuto
Thu Mar 31, 2016 6:50 pm
Forum: Plugin Development Support
Topic: How to block the 'Fire in the hole.' sound in CSS?
Replies: 10
Views: 19121

Oops :o
by Ayuto
Thu Mar 31, 2016 6:13 pm
Forum: Plugin Development Support
Topic: How to block the 'Fire in the hole.' sound in CSS?
Replies: 10
Views: 19121

The user message you would want to hook is RadioText. However, there is a function called UTIL_CSRadioMessage() which is used by the engine to create the user message. So, you can simply hook this function instead: from core import PLATFORM import memory from memory import Convention from memory imp...
by Ayuto
Thu Mar 31, 2016 3:45 pm
Forum: General Discussion
Topic: SP Not loading
Replies: 14
Views: 16033

Okay, I have updated the core.so. Please re-download source-python.so and core.so:
http://build.affecta.net/job/Source.Python%20-%20Other%20Branches/game=csgo,label=master/lastSuccessfulBuild/artifact/
by Ayuto
Thu Mar 31, 2016 11:47 am
Forum: General Discussion
Topic: SP Not loading
Replies: 14
Views: 16033

by Ayuto
Wed Mar 30, 2016 8:49 pm
Forum: General Discussion
Topic: SP Not loading
Replies: 14
Views: 16033

Please post the full console output you get when starting the server.
by Ayuto
Wed Mar 30, 2016 10:36 am
Forum: General Discussion
Topic: Missing VCRUNTIME140.dll
Replies: 4
Views: 12010

The issue has been resolved already:
https://github.com/Source-Python-Dev-Team/Source.Python/issues/114

There is no need to install anything.
by Ayuto
Tue Mar 29, 2016 4:55 pm
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 84
Views: 176156

No, I assume the example in the links shows how to get ProtobufMessage object of the sent message, then you can alter it, for example, [PYTHON]buffer.set_string('msg_name', "My message")[/PYTHON] Exactly! Though, I should mention that the code in the other thread isn't working anymore, because I ha...
by Ayuto
Mon Mar 28, 2016 3:20 pm
Forum: Custom Packages
Topic: ControlledCvars
Replies: 4
Views: 84561

This might be interesting for you:
https://github.com/Source-Python-Dev-Team/Source.Python/commit/3ad0dbf8127f81ab0344938923c09069abc20586

With this listener you don't need to add the notify flag anymore.
by Ayuto
Fri Mar 25, 2016 9:05 pm
Forum: Plugin Development Support
Topic: choice_index == 0
Replies: 1
Views: 3378

Select callbacks don't get called when the close button was pressed. This behaviour is defined here: https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/addons/source-python/packages/source-python/menus/radio.py#L105 But you can easily extend and update the default behaviour by subcl...
by Ayuto
Fri Mar 25, 2016 12:39 pm
Forum: Plugin Development Support
Topic: KillerInfo
Replies: 4
Views: 7460

Actually, as far as the Delay calling close(), do we not have the ability to set that within the menu object itself? This line seems to indicate that that was at least planned at some point. Yes, it's planned, but that method just returns the data for ShowMenu which requires an integer that defines...
by Ayuto
Fri Mar 25, 2016 11:21 am
Forum: Plugin Development Support
Topic: KillerInfo
Replies: 4
Views: 7460

by Ayuto
Tue Mar 22, 2016 1:58 pm
Forum: General Discussion
Topic: Missing VCRUNTIME140.dll
Replies: 4
Views: 12010

Can you check if the directory of the installed DLL is on the PATH environment variable? I guess that's the new requirement for Python 3.5. Currently, we are shipping msvcr100.dll and msvcp100.dll with Source.Python, but they probably have been replaced with vcruntime140.dll and msvcp140.dll. I will...
by Ayuto
Thu Mar 17, 2016 12:48 pm
Forum: Plugin Development Support
Topic: Kill a player
Replies: 10
Views: 15273

I guess you are still passing player.name to PagedOption as the second parameter. That's why option.value contains a string.
by Ayuto
Thu Mar 17, 2016 10:29 am
Forum: Plugin Development Support
Topic: Kill a player
Replies: 10
Views: 15273

The problem is this line: engine.server.server_command('kill ' + option.value) It should look like this: engine_server.server_command('kill ' + option.value) However, since I'm not sure if there is a "kill" server command, I would simply use the built-in fun...
by Ayuto
Wed Mar 16, 2016 7:59 pm
Forum: Plugin Development Support
Topic: Spectator List
Replies: 2
Views: 4626

I have added a "spectators" property to the player class based on your implementation:
https://github.com/Source-Python-Dev-Team/Source.Python/commit/dee963986abb17d83c1d091c0e80fb448e842a12

Go to advanced search