Search found 1253 matches

by Ayuto
Tue Oct 15, 2019 4:57 pm
Forum: Plugin Development Support
Topic: Finding a signature for Windows without a string
Replies: 3
Views: 89

Re: Finding a signature for Windows without a string

Actually, that function has two strings: HL2Player.SprintNoPower and HL2Player.SprintStart. However, if you have a function that is really difficult to find, you can try running these scripts: https://github.com/Ayuto/discover_win It first starts with simple string match searches (functions that hav...
by Ayuto
Wed Sep 11, 2019 3:40 pm
Forum: General Discussion
Topic: What is the most reasonable way to install a pypi package to source.python?
Replies: 15
Views: 1149

Re: What is the most reasonable way to install a pypi package to source.python?

You could also try to start your server with -debug. This should generate a debug.log for most games in the game server directory. It should provide some more information.
by Ayuto
Tue Sep 03, 2019 7:33 pm
Forum: Development Status Updates
Topic: Development status update (August 2019)
Replies: 0
Views: 882

Development status update (August 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
Thu Aug 01, 2019 5:50 pm
Forum: Development Status Updates
Topic: Development status update (July 2019)
Replies: 0
Views: 770

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

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

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

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

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: 13
Views: 1330

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

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

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

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

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

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

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

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

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

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

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

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.

Go to advanced search