Search found 1336 matches

by Ayuto
Sun Nov 15, 2020 4:44 pm
Forum: Development Status Updates
Topic: Development status update (October 2020)
Replies: 0
Views: 138

Development status update (October 2020)

It's time for another development status update! ⋅ Fixes: ⋅  Fixed CS:GO assists. ⋅  Fixed issue #357. ⋅  Fixed CS:GO mvps, score and clan_tag. ⋅  Fixed GlobalEntityList.remove_listener. ⋅  Fixed PluginHasBuiltInName not being raised in all...
by Ayuto
Fri Oct 30, 2020 3:49 pm
Forum: Plugin Requests
Topic: [Cs:s] chat command to change map
Replies: 13
Views: 502

Re: [Cs:s] chat command to change map

What's the output of "sp info". It might be a conflict with another server plugin.
by Ayuto
Fri Oct 30, 2020 8:23 am
Forum: Plugin Requests
Topic: HL2DM color text
Replies: 7
Views: 352

Re: HL2DM color text

satoon101 wrote:Don't call the plugin 'colors'. There's a package called 'colors' inside SP itself, which is what is imported and causing that error.

I thought we would have a check for that in the plug-in loading logic :confused:
by Ayuto
Wed Oct 21, 2020 5:25 am
Forum: Plugin Requests
Topic: Can Anybody port SM Plugin to Source Python?
Replies: 19
Views: 5834

Re: Can Anybody port SM Plugin to Source Python?

That's actually not a lot :grin:
by Ayuto
Sat Oct 17, 2020 5:22 pm
Forum: Development Status Updates
Topic: Development status update (September 2020)
Replies: 0
Views: 265

Development status update (September 2020)

It's time for another development status update! ⋅ Fixes: ⋅  Fixed issue #350. ⋅ Additions: ⋅  Added <BaseClient/Player>.fire_game_event. ⋅  Added CachedProperty.bind. ⋅  Added post_think offsets for CBasePlayer in TF2. ⋅  Added n...
by Ayuto
Sat Oct 17, 2020 5:16 pm
Forum: General Discussion
Topic: Unable to run ubuntu server with Source Python Ubuntu 16.04
Replies: 1
Views: 260

Re: Unable to run ubuntu server with Source Python Ubuntu 16.04

You can add the following to your startup line:

Code: Select all

-condebug +developer 1
This should generate a console.log in your /home/csgo directory. It should provide a little bit more information.
by Ayuto
Fri Oct 02, 2020 6:24 am
Forum: Plugin Development Support
Topic: [HL2DM/ANY] Hooking VphysicsCollision
Replies: 13
Views: 891

Re: [HL2DM/ANY] Hooking VphysicsCollision

Exactly! Btw. I don't think you need to register a converter. IIRC, you have to use the C++ class name (CBaseEntity in that case).
by Ayuto
Fri Sep 25, 2020 2:19 pm
Forum: General Discussion
Topic: SQL results to MS Teams using Python in table format
Replies: 6
Views: 618

Re: SQL results to MS Teams using Python in table format

You can also try one of my old snippets (Python 2 - might need to be updated for Python 3): https://pastebin.com/aR6GqVBi There might be better libraries today (I haven't searched). You will use it like this: from ascii_table import AsciiTable table = AsciiTable('Column A', 'Column B...
by Ayuto
Sun Sep 20, 2020 3:29 pm
Forum: Plugin Development Support
Topic: BaseHandle to Index conversion failure
Replies: 3
Views: 510

Re: BaseHandle to Index conversion failure

There were changes to the CTakeDamageInfo class which we haven't taken into account yet. This was a CSGO specific change.
by Ayuto
Tue Sep 01, 2020 5:04 pm
Forum: Development Status Updates
Topic: Development status update (August 2020)
Replies: 0
Views: 1053

Development status update (August 2020)

It's time for another development status update! ⋅ Fixes: ⋅  Correctly updated DynamicHooks. ⋅  Fixed a typo in one of the CFogController inputs. ⋅  Fixed issue #346. ⋅  Fixed a circular reference leak related to cached_result. ⋅ Additions:...
by Ayuto
Fri Aug 14, 2020 3:00 pm
Forum: Development Status Updates
Topic: Development status update (July 2020)
Replies: 0
Views: 1338

Development status update (July 2020)

It's time for another development status update! ⋅ Fixes: ⋅  Fixed conversion to tuple from std::vector<DataType_t>. ⋅  Fixed an issue where Non-networked entities could not be created. ⋅ Additions: ⋅ Removals: ⋅ Changes: The full changelog...
by Ayuto
Fri Jul 24, 2020 6:14 pm
Forum: Plugin Development Support
Topic: Csgo OnTakeDamage
Replies: 2
Views: 1324

Re: Csgo OnTakeDamage

A new version is now available on the download page.
by Ayuto
Fri Jul 24, 2020 12:51 pm
Forum: Plugin Development Support
Topic: Csgo OnTakeDamage
Replies: 2
Views: 1324

Re: Csgo OnTakeDamage

There was a change in the TakeDamageStructure. The hl2sdk has been already updated, so I will just need to recompile it later today. Thanks for reporting!
by Ayuto
Thu Jul 23, 2020 5:41 pm
Forum: Plugin Development Support
Topic: How to check how many players in team and get their values
Replies: 8
Views: 1529

Re: How to check how many players in team and get their values

I might be a little bit late to the party, but I would go with a dict to store all possible team counts. This works for every game -- the keys might just be a little bit different in other games. from filters.players import PlayerIter from collections import defaultdict def get_team_counts()...
by Ayuto
Sun Jul 19, 2020 5:48 pm
Forum: Code examples / Cookbook
Topic: *DELETED*
Replies: 3
Views: 2108

Re: [DEV/ASM/(Windows)] How to run assembler opcodes.

That was actually one of my thoughts as well when I created that snippet. But I refused that idea, because it would mean a lot work and I had no need for this at that point. It would just be a great exercise!
by Ayuto
Sun Jul 19, 2020 4:23 pm
Forum: Code examples / Cookbook
Topic: *DELETED*
Replies: 3
Views: 2108

Re: [DEV/ASM/(Windows)] How to run assembler opcodes.

Nice! Though, it's a little bit easier in with the Source.Python modules (plus it's compatible with Linux):
by Ayuto
Thu Jul 16, 2020 5:42 pm
Forum: Development Status Updates
Topic: Development status update (June 2020)
Replies: 0
Views: 1196

Development status update (June 2020)

It's time for another development status update! ⋅ Fixes: ⋅  Fixed a memory leak when dynamically creating menus. ⋅ Additions: ⋅  Error messages in typed commands are now translated. ⋅ Removals: ⋅ Changes: ⋅  Player.get_godmode() ...
by Ayuto
Fri Jun 26, 2020 10:05 pm
Forum: Plugin Development Support
Topic: [TF2] Hooking Server Log
Replies: 5
Views: 1175

Re: [TF2] Hooking Server Log

Or simply type "sp dump class_info class_info".
by Ayuto
Fri Jun 26, 2020 9:34 am
Forum: Plugin Development Support
Topic: [TF2] Suppress mp_tournament_whitelist output
Replies: 2
Views: 1259

Re: [TF2] Suppress mp_tournament_whitelist output

The cleanest way would be to find the correct memory address and fill the part that calls the function Msg with NOP instructions. The easiest and most stable way would be to hook the server output like shown here:
viewtopic.php?f=20&p=14278#p14278

Go to advanced search