Search found 1776 matches

by satoon101
Wed Oct 10, 2018 10:06 pm
Forum: Plugin Requests
Topic: [HL2:DM] looneytrails
Replies: 1
Views: 4974

Re: [HL2:DM] looneytrails

by satoon101
Thu Oct 04, 2018 1:02 am
Forum: General Discussion
Topic: Sourcepython on Linux (seems very unstable)
Replies: 9
Views: 8313

Re: Sourcepython on Linux (seems very unstable)

The alpha issue is not a problem with SP itself. It's the nature of that functionality in CS:GO. Valve did add a cvar that enables setting the player alpha, iirc, but I don't remember what it is. If you are teleporting within a hooked function, you will have to use a 1 tick delay. I am not sure abou...
by satoon101
Wed Oct 03, 2018 2:37 am
Forum: General Discussion
Topic: Failed to load addons/source-python
Replies: 23
Views: 23512

Re: Failed to load addons/source-python

That's basically what they tried for me, twice, but it still gave me the same error. I hope you have better luck than I did.
by satoon101
Mon Oct 01, 2018 1:32 am
Forum: General Discussion
Topic: Failed to load addons/source-python
Replies: 23
Views: 23512

Re: Failed to load addons/source-python

I have had success with both https://eoreality.net and https://www.nfoservers.com for CS:S. I have not attempted to create a CS:GO server.
by satoon101
Sun Sep 23, 2018 6:35 pm
Forum: General Discussion
Topic: Downloadables
Replies: 5
Views: 6315

Re: Downloadables

If I remember correctly, that can happen if you don't have the files setup correctly on your download server (when using sv_downloadurl).
by satoon101
Sun Sep 23, 2018 6:23 pm
Forum: General Discussion
Topic: Not display command in chat
Replies: 2
Views: 3753

Re: Not display command in chat

Syntax: Select all

from commands import CommandReturn
from commands.say import SayCommand

@SayCommand('!test')
def _test_command(command, index, team_only):
# stop command from showing in chat
return CommandReturn.BLOCK
by satoon101
Fri Sep 14, 2018 12:11 am
Forum: Plugin Development Support
Topic: Encoding problem with configs
Replies: 5
Views: 6423

Re: Encoding problem with configs

That looks good to me. If you would, create a pull request for that, please. There are only two very minor changes I would make, and that is adding a space between the comma and encoding in 2 places.
by satoon101
Sat Aug 18, 2018 10:38 pm
Forum: Plugin Development Support
Topic: Weapons
Replies: 2
Views: 4092

Re: Weapons

The weapon class inherits from the Entity class. It requires an index, not a string. @SayCommand('!knife') def sayHintText(say, index, team_only=None): player = Player(index) weapon = player.get_weapon('weapon_knife') if weapon is not None: player.acti...
by satoon101
Sun Aug 12, 2018 4:03 pm
Forum: Plugin Development Support
Topic: Changing entity collision group?
Replies: 6
Views: 6030

Re: Changing entity collision group?

Notice that the second line under a class declaration in the documentation lists the "Bases" (or inherited classes) of that class. http://wiki.sourcepython.com/developing/modules/entities.entity.html#entities.entity.Entity The documentation would grow exponentially if we listed all functio...
by satoon101
Sun Aug 12, 2018 3:53 pm
Forum: Plugin Development Support
Topic: Changing entity collision group?
Replies: 6
Views: 6030

Re: Changing entity collision group?

NONE is from CollisionGroup.NONE: https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/src/core/modules/entities/entities_constants_wrap.cpp#L357 To set it, just use the CollisionGroup enum: from entities.constants import CollisionGroup Entity(index).collision_group = Collisio...
by satoon101
Sun Aug 12, 2018 2:02 pm
Forum: Plugin Development Support
Topic: BaseEntity?
Replies: 2
Views: 3376

Re: BaseEntity?

No, it has not been removed. What exact issue are you having?
by satoon101
Sun Aug 12, 2018 2:06 am
Forum: Plugin Development Support
Topic: box
Replies: 17
Views: 14230

Re: Bounding box

There are no attribute .position Sorry, I added that after having tested. KeyError '8' in y.group and other variables. I tested with default models on CS:S, so if there's a hitgroup 8, you're likely using another game and/or custom model. That line really isn't necessary, I only included it to show...
by satoon101
Sat Aug 11, 2018 11:57 pm
Forum: Plugin Development Support
Topic: box
Replies: 17
Views: 14230

Re: Bounding box

I haven't tried, but you might check into using the bones/hitboxes: https://github.com/Source-Python-Dev-Team/Source.Python/blob/b6e6e7fe978d8a7a5d733a8b427236eaa2dae4e7/src/core/modules/studio/studio_wrap.cpp Example: from players.constants import HitGroup from players.entity import Player player =...
by satoon101
Sat Aug 11, 2018 2:28 pm
Forum: Plugin Releases
Topic: GG-Assists v1.0.1
Replies: 4
Views: 13233

Re: GG-Assists v1.0.1

in your version we use all the points when we write assists at the same time ? I hadn't looked at the code in a while, but no, you only level up once when using the assists command. I do not have a command for simply showing you your points without attempting to redeem them. If you attempt to redee...
by satoon101
Thu Aug 09, 2018 10:37 pm
Forum: Plugin Releases
Topic: GG-Assists v1.0.1
Replies: 4
Views: 13233

Re: GG-Assists v1.0.1

Hmm, yeah, I could certainly work on an "Assists Perks" plugin. Give me some time and I'll see if I have some time to get it to a point where it is testable. Thanks for the suggestion!! As for the sound and advert suggestions, those both sound like good ideas. I actually need to create an ...
by satoon101
Thu Aug 09, 2018 3:49 am
Forum: Plugin Releases
Topic: [CSGO] Floating Damage Numbers
Replies: 22
Views: 69730

Re: [CSGO] Floating Damage Numbers

Really cool plugin! Very interesting way of going about it. Nice work!
by satoon101
Thu Aug 09, 2018 3:48 am
Forum: Plugin Development Support
Topic: hegrenade detonate
Replies: 7
Views: 6828

Re: hegrenade detonate

One other quick note, if you just add the detonate directly in the 'if' clause, you can just change the 'break' to 'return' and remove the 'else' entirely. @Event('grenade_bounce') def _grenade_bounce(game_event): coords = Vector(*[game_event[x] for x in 'xyz']...
by satoon101
Thu Aug 09, 2018 3:46 am
Forum: Plugin Development Support
Topic: New Project: Porting Saxton Hale mod for Source.Python
Replies: 27
Views: 23169

Re: New Project: Porting Saxton Hale mod for Source.Python

that's actually pretty nice though, having all the cvars in a single container for the manager makes it easier to get specific, named values though. Not really. I mean, you're still creating them explicitly anyway, so why not have explicit variable names for each? Then, if another module needs acce...
by satoon101
Tue Aug 07, 2018 9:33 pm
Forum: Plugin Development Support
Topic: hegrenade detonate
Replies: 7
Views: 6828

Re: hegrenade detonate

I think the Problem with grenade_bounce was that it does not give you a way to identify the nade (Index for example) Yeah, you have to loop through all grenades and see which one is at the origin for the x, y, and z coordinates from the event. # Untested @Event('grenade_bounce') def...
by satoon101
Tue Aug 07, 2018 7:59 pm
Forum: Plugin Development Support
Topic: hegrenade detonate
Replies: 7
Views: 6828

Re: hegrenade detonate

Would the grenade_bounce event work for what you are trying to do? You can get the exact grenade by using the x, y, and z coordinates in the event.

Go to advanced search