Search found 1381 matches

by Ayuto
Thu Oct 14, 2021 5:34 pm
Forum: Development Status Updates
Topic: Development status update (September 2021)
Replies: 0
Views: 106

Development status update (September 2021)

It's time for another development status update! ⋅ Fixes: ⋅  Fixed OnServerOutput crashes. ⋅  Fixed calls to functions that return a boolean. ⋅  Fixed weapon restrictions for CS:S. ⋅ Additions: ⋅ Removals: ⋅ Changes: ⋅ S...
by Ayuto
Fri Oct 01, 2021 6:04 pm
Forum: Plugin Development Support
Topic: [Cs:s] Weapon limit for certain weapons by team and amount
Replies: 3
Views: 333

Re: [Cs:s] Weapon limit for certain weapons by team and amount

It was just a change on the Python side, so you just need to update the related files.
by Ayuto
Tue Sep 21, 2021 3:30 pm
Forum: Plugin Releases
Topic: Simple Teleport
Replies: 4
Views: 2791

Re: Simple Teleport

You need to configure the authorization backend:
http://wiki.sourcepython.com/general/config-auth.html
by Ayuto
Thu Sep 02, 2021 3:25 pm
Forum: Development Status Updates
Topic: Development status update (August 2021)
Replies: 0
Views: 451

Development status update (August 2021)

It's time for another development status update! Thanks to CookStar for the changes and fixes! ⋅ Fixes: ⋅  Fixed memory management issues for CFunction. ⋅  Fixed logger not closing file handlers properly when unloading plugins. ⋅ Additions: ⋅ Removal...
by Ayuto
Fri Aug 20, 2021 3:59 pm
Forum: Plugin Development Support
Topic: [Cs:s] Zombie Riot potion
Replies: 4
Views: 466

Re: [Cs:s] Zombie Riot potion

Exactly! Btw. your "full health" options adds the maximum health to the current health. I think you meant player.health = player.max_health.
by Ayuto
Thu Aug 12, 2021 9:38 pm
Forum: Plugin Development Support
Topic: Can't retrieve url from TypedCommand
Replies: 1
Views: 374

Re: Can't retrieve url from TypedCommand

Hi pepe,

yes, this is a known bug caused by the engine's CCommand class. We have it on our issue list, but haven't yet implemented a fix for that.
https://github.com/Source-Python-Dev-Te ... issues/244
by Ayuto
Thu Aug 12, 2021 11:02 am
Forum: General Discussion
Topic: A way to trigger +attack player command
Replies: 3
Views: 377

Re: A way to trigger +attack player command

If that works, we should add that to the Player class. That's really cool!
by Ayuto
Sun Aug 08, 2021 12:35 pm
Forum: Plugin Development Support
Topic: [Cs:s] Drug Command
Replies: 4
Views: 490

Re: [Cs:s] Drug Command

Just two small hints: ⋅ You can use player.dead to check whether a player is dead or alive. ⋅ To get the eye angles you can simply use player.eye_angle (it will return a QAngle) which you can treat like a list (angle[2] = <random value>). Both calls are much faster than using get...
by Ayuto
Sat Aug 07, 2021 3:20 pm
Forum: Development Status Updates
Topic: Development status update (July 2021)
Replies: 0
Views: 358

Development status update (July 2021)

It's time for another development status update! ⋅ Fixes: ⋅ None ⋅ Additions: ⋅ None ⋅ Removals: ⋅ None ⋅ Changes: ⋅ None The full changelog can be found here: https://github.com/Source-Python-Dev-Team/Source.Python/comp...
by Ayuto
Sat Aug 07, 2021 3:18 pm
Forum: Development Status Updates
Topic: Development status update (June 2021)
Replies: 0
Views: 203

Development status update (June 2021)

It's time for another development status update! ⋅ Fixes: ⋅ None ⋅ Additions: ⋅ None ⋅ Removals: ⋅ None ⋅ Changes: ⋅ None The full changelog can be found here: https://github.com/Source-Python-Dev-Team/Source.Python/comp...
by Ayuto
Mon Jul 12, 2021 3:57 pm
Forum: Plugin Development Support
Topic: Can we make player jump with source python?
Replies: 5
Views: 658

Re: Can we make player jump with source python?

Yes, you can either inject the jump button in PlayerRunCommand (maybe Player.buttons works as well) or emulate a jump e. g. by using Player.push.
by Ayuto
Mon Jul 12, 2021 3:49 pm
Forum: Plugin Development Support
Topic: enable voicechat in danger zone
Replies: 8
Views: 706

Re: enable voicechat in danger zone

Oh, I thought BroadcastVoiceData is part of a class, because you were using THISCALL, but I think you are hooking SV_BroadcastVoiceData, right? In that case your arguments were right, but the calling convention is CDECL. If args[3] is always False it can either mean that there is nothing being broad...
by Ayuto
Mon Jul 12, 2021 8:31 am
Forum: Plugin Development Support
Topic: enable voicechat in danger zone
Replies: 8
Views: 706

Re: enable voicechat in danger zone

I think another DataType.POINTER (for the acual this-pointer) is missing in your BroadcastVoiceData hook: [DataType.POINTER, DataType.POINTER, DataType.INT, DataType.CHAR, DataType.UINT] You can also try to hook IVoiceServer::SetClientListening/GetClientListening like we did here. Maybe it always te...
by Ayuto
Sun Jun 06, 2021 12:24 pm
Forum: Development Status Updates
Topic: Development status update (May 2021)
Replies: 0
Views: 660

Development status update (May 2021)

It's time for another development status update! ⋅ Fixes: ⋅  Fixed a couple of typos on the wiki. ⋅  Fixed MemberFunction not returning the correct return type. ⋅  Fixed issue #390. ⋅ Additions: ⋅  Added CPointServerCommand data. ⋅&nbs...
by Ayuto
Sun Jun 06, 2021 12:17 pm
Forum: Development Status Updates
Topic: Development status update (April 2021)
Replies: 0
Views: 268

Development status update (April 2021)

It's time for another development status update! ⋅ Fixes: ⋅  Fixed TypeManager.pointer_attribute(). ⋅  Fixed a startup crash for servers affected by #175 that are launched without a console. ⋅ Additions: ⋅ Removals: ⋅ Changes: The full chan...
by Ayuto
Sun Jun 06, 2021 12:16 pm
Forum: Development Status Updates
Topic: Development status update (March 2021)
Replies: 0
Views: 268

Development status update (March 2021)

It's time for another development status update! ⋅ Fixes: ⋅  Fixed issue #314. ⋅ Additions: ⋅ Removals: ⋅ Changes: The full changelog can be found here: https://github.com/Source-Python-Dev-Team/Source.Python/compare/master@%7B2021-03-01%7D...master@...
by Ayuto
Sun Jun 06, 2021 12:15 pm
Forum: Development Status Updates
Topic: Development status update (February 2021)
Replies: 0
Views: 266

Development status update (February 2021)

It's time for another development status update! ⋅ Fixes: ⋅  Fixed issue #385. ⋅  Fixed issue #379. ⋅  Fixed referencing of released m_pCallingConvention on Source.Python unload. ⋅ Additions: ⋅  Added ShowMenu implementation for message hoo...
by Ayuto
Mon May 03, 2021 7:29 pm
Forum: Plugin Development Support
Topic: [Cs:s] Zombie Riot admin
Replies: 4
Views: 851

Re: [Cs:s] Zombie Riot admin

What's the full code? Instead of implementing your own admin functionality, you might want to use SP's built-in auth Module, which is also integrated in the commands system: http://wiki.sourcepython.com/general/config-auth.html http://wiki.sourcepython.com/developing/module_tutorials/commands.html#u...
by Ayuto
Wed Apr 14, 2021 5:47 am
Forum: Plugin Releases
Topic: CircleDamageIndicator
Replies: 5
Views: 1224

Re: CircleDamageIndicator

Very cool stuff! Just one note: the PluginInfo class isn't meant to be created by the plugin. It's being created by SP, so it's also possible to retrieve information about unloaded plugins. To tell SP which information the instance should contain, you can create an info.ini file: http://wiki.sourcep...
by Ayuto
Thu Feb 18, 2021 2:00 pm
Forum: Plugin Development Support
Topic: Streaming audio to clients
Replies: 4
Views: 1264

Re: Streaming audio to clients

I'm currently unable to provide an example, but IIRC this was possible with some kind of a hidden MOTD. Maybe that helps to start the research?

Go to advanced search