Search found 1426 matches

by Ayuto
Sun Jan 16, 2022 2:30 pm
Forum: Development Status Updates
Topic: Development status update (December 2021)
Replies: 3
Views: 230888

Development status update (December 2021)

It's time for another development status update! ⋅ Fixes: ⋅  Fixed issue #400 and #404. ⋅  Fixed issue #244. ⋅  Fixed issue #211. ⋅  Fixed issue #208. ⋅  Fixed issue #299. ⋅ Additions: ⋅  Exported more property and funct...
by Ayuto
Sun Jan 16, 2022 2:22 pm
Forum: Development Status Updates
Topic: Development status update (November 2021)
Replies: 0
Views: 55892

Development status update (November 2021)

It's time for another development status update! ⋅ Fixes: ⋅  Fixed an issue with certain weapons restrictions not working properly. ⋅  Fixed an animation error when setting a model to Player. ⋅  Fixed crash of non-precached model for Entity.set_model. ⋅&n...
by Ayuto
Sun Jan 16, 2022 2:18 pm
Forum: Development Status Updates
Topic: Development status update (October 2021)
Replies: 0
Views: 54454

Development status update (October 2021)

It's time for another development status update! ⋅ Fixes: ⋅ Additions: ⋅  Added PlayerMixin.snap_to_position(origin=None, angles=None). ⋅ Removals: ⋅ Changes: ⋅  Entity is now inheriting from Pointer. The full changelog can be found here: h...
by Ayuto
Sat Dec 04, 2021 12:51 pm
Forum: Module/Package Submissions
Topic: Newer SQLAlchemy version
Replies: 2
Views: 143884

Re: Newer SQLAlchemy version

Nice to see you here, Mahi!

It's not just SQLAlchecmy which needs an update but all of our site packages as well as the Python version itself. Python 3.10 has been released in october, but we are still on 3.6 :eek:
by Ayuto
Mon Nov 22, 2021 8:39 pm
Forum: Plugin Development Support
Topic: conversion error on index_from_pointer
Replies: 42
Views: 169138

Re: conversion error on index_from_pointer

I guess the try/except is required, because the hook also gets called for non-networked entities. However, you are right. Raising an exception is quite expensive, which is shown by a quick test (internally, we are working without exception, but with true/false): object IndexFromPointer2( CPointe...
by Ayuto
Thu Oct 14, 2021 5:34 pm
Forum: Development Status Updates
Topic: Development status update (September 2021)
Replies: 0
Views: 57210

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: 11004

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: 70794

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: 57099

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: 13156

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: 6579

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: 12587

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: 15203

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: 56500

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: 56460

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: 6
Views: 102473

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: 20084

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: 20084

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: 56080

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: 55948

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...

Go to advanced search