Search found 1250 matches

by Ayuto
Thu Aug 01, 2019 5:50 pm
Forum: Development Status Updates
Topic: Development status update (July 2019)
Replies: 0
Views: 162

Development status update (July 2019)

It's time for another development status update! :smile: ⋅ Fixes: ⋅ null ⋅ Additions: ⋅ nada ⋅ Removals: ⋅ niente ⋅ Changes: ⋅ nothing The full changelog can be found here: https://github.com/Source-Python-Dev-Team/Sourc...
by Ayuto
Sun Jul 21, 2019 8:41 am
Forum: General Discussion
Topic: sp dump weapon_scripts Throws a Signature Error
Replies: 2
Views: 320

Re: sp dump weapon_scripts Throws a Signature Error

Yes, this shouldn't happen. Unfortunately, the signatures used in the background change extremely often in CS:GO. Thus, we stopped keeping them up-to-date for CS:GO.
by Ayuto
Tue Jul 09, 2019 6:05 pm
Forum: Plugin Requests
Topic: [HL2:DM] Save Scores
Replies: 10
Views: 2929

Re: [HL2:DM] Save Scores

That's the same issue you already posted in 2017 and it has been solved by the version of iPlayer.
by Ayuto
Mon Jul 01, 2019 4:47 pm
Forum: Development Status Updates
Topic: Development status update (June 2019)
Replies: 0
Views: 257

Development status update (June 2019)

It's time for another development status update! :smile: ⋅ Fixes: ⋅  PlayerMixin.suit_power_load. ⋅ Additions: ⋅  Added server command post hooks. ⋅ Removals: ⋅ Changes: ⋅  Improved performance of core.echo_console (approximately ...
by Ayuto
Sun Jun 30, 2019 4:42 pm
Forum: Plugin Development Support
Topic: [CS:GO] Prevent team switch event
Replies: 8
Views: 1234

Re: [CS:GO] Prevent team switch event

I think you meant team_choice = int(command[1]) instead of team_choice = int(client_command[1]) . However, I would simply compare it to strings instead of converting it to an integer, because otherwise a player could provoke an error using the client console. It wouldn't do any harm, but could be pr...
by Ayuto
Sun Jun 30, 2019 3:05 am
Forum: Plugin Requests
Topic: [HL2:DM] Mapconfig Plugin no longer work :(
Replies: 8
Views: 621

Re: [HL2:DM] Mapconfig Plugin no longer work :(

No, I will tell you if I have something.
by Ayuto
Thu Jun 27, 2019 6:12 pm
Forum: General Discussion
Topic: Grant permission for a specific Steam Group
Replies: 2
Views: 190

Re: Grant permission for a specific Steam Group

Thank you for the example, DeaD_EyE! Though, requests is not shipped with Source.Python.

khaimovmr, here is the missing piece to grant a player permissions programmatically.
http://wiki.sourcepython.com/developing ... permission
by Ayuto
Thu Jun 20, 2019 4:54 pm
Forum: Development Status Updates
Topic: Development status update (May 2019)
Replies: 0
Views: 160

Development status update (May 2019)

It's time for another development status update! :smile: ⋅ Fixes: ⋅  "sp dump server_classes" now dumps the correct int sizes. ⋅  Fixed issue #275. ⋅ Additions: ⋅  Added core.get_core_modules(). ⋅ Removals: ⋅ Changes: &s...
by Ayuto
Thu Jun 20, 2019 3:52 pm
Forum: Plugin Development Support
Topic: CSGO Linux - Server crash on player.kick
Replies: 3
Views: 201

Re: CSGO Linux - Server crash on player.kick

Does it crash if you use my snippet above? What happens if you don't use a kick message? What's the output of "sp info" and "sm plugin list"? And could you please show me your code that causes the crash?

Edit: Yes, tested it with CS:GO on Linux.
by Ayuto
Wed Jun 19, 2019 6:43 pm
Forum: Plugin Development Support
Topic: CSGO Linux - Server crash on player.kick
Replies: 3
Views: 201

Re: CSGO Linux - Server crash on player.kick

I'm unable to reproduce the issue using this snippet: from events import Event from players.entity import Player @Event('player_say') def player_say(event): player = Player.from_userid(event['userid']) player.kick('blabla') # player.kick(&#...
by Ayuto
Sun Jun 16, 2019 6:44 pm
Forum: Plugin Development Support
Topic: [solved] Loading plugin fails (built-in module name)
Replies: 7
Views: 421

Re: Loading plugin fails (built-in module name)

Either look through those directories or load this plugin:

Syntax: Select all

import udm

print(udm.__file__)
by Ayuto
Tue Jun 11, 2019 9:08 pm
Forum: Plugin Development Support
Topic: [CS:GO] Removing Warmup HUD
Replies: 5
Views: 396

Re: [CS:GO] Removing Warmup HUD

I don't think there is another way, because it seems to be controlled by the client.

There is one last thing you could try: send some fake convar values to the client using <Player>.send_convar_value() to make the client think he's not playing in warmup mode.
by Ayuto
Sun Jun 09, 2019 6:54 am
Forum: General Discussion
Topic: [CSGO] parent-inherited permissions doesn't show in Player.permissions property
Replies: 5
Views: 442

Re: [CSGO] parent-inherited permissions doesn't show in Player.permissions property

We have overloaded the ___contains__ method: https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/addons/source-python/packages/source-python/auth/manager.py#L149 So, you can grant a player the permission something.*. If you then check if he has something.x or something.y it will retu...
by Ayuto
Sat Jun 08, 2019 5:08 am
Forum: General Discussion
Topic: [CSGO] parent-inherited permissions doesn't show in Player.permissions property
Replies: 5
Views: 442

Re: [CSGO] parent-inherited permissions doesn't show in Player.permissions property

Yes, it's intended. If you want to see all permissions, you need to call player.permissions.flatten().
by Ayuto
Mon Jun 03, 2019 4:16 am
Forum: Plugin Development Support
Topic: SayCommand: Print player's message before processing a command
Replies: 1
Views: 209

Re: SayCommand: Print player's message before processing a command

I think the player_say event should work for that case.
by Ayuto
Sun Jun 02, 2019 7:18 am
Forum: Plugin Requests
Topic: [HL2:DM] Infinite aux power for sprinting OR breathing
Replies: 20
Views: 3318

Re: [HL2:DM] Infinite aux power for sprinting OR breathing

Just commited a fix:
https://github.com/Source-Python-Dev-Te ... b201fd0b2a

I will publish a new release today (version 690).
by Ayuto
Sun Jun 02, 2019 7:13 am
Forum: Plugin Releases
Topic: Map Decal Painter
Replies: 19
Views: 3180

Re: Map Decal Painter

The first error shouldn't happen if you use the latest version from GitHub. The second error is the same error you already posted here. Your coords file is malformed.
by Ayuto
Sun Jun 02, 2019 7:06 am
Forum: Plugin Requests
Topic: [HL2:DM] Deathmsg Help
Replies: 12
Views: 2979

Re: [HL2:DM] Deathmsg Help

I fixed that already a few days ago. Just haven't created a new release:
https://github.com/Source-Python-Dev-Te ... 60f67d519d

I will do that today.
by Ayuto
Fri May 31, 2019 1:52 pm
Forum: Plugin Development Support
Topic: [CS:GO] Removing Warmup HUD
Replies: 5
Views: 396

Re: [CS:GO] Removing Warmup HUD

I first thought that it's sent by a user message, but that wasn't the case. However, this works fine: from players.entity import Player from events import Event from players.constants import HIDEHUD_MISCSTATUS @Event('player_say') def player_say(event): # Hide the warmup coun...
by Ayuto
Tue May 28, 2019 8:41 pm
Forum: Plugin Requests
Topic: [HL2:DM] Mapconfig Plugin no longer work :(
Replies: 8
Views: 621

Re: [HL2:DM] Mapconfig Plugin no longer work :(

Did you add mp_teamplay <mode> to the correct map config file?

Go to advanced search