Search found 1427 matches

by satoon101
Tue Apr 25, 2017 12:55 am
Forum: Plugin Development Support
Topic: Is current date between 2 dates
Replies: 7
Views: 66

Re: Is current date between 2 dates

datetime objects require year, month, and day, so no you couldn't. Plus, if you wanted to go something like December 14 - January 7, without the year it would not work. It's easy enough to get the current year anyway:

Syntax: Select all

from datetime import datetime

current_year = datetime.now().year
by satoon101
Sun Apr 16, 2017 3:26 pm
Forum: Plugin Development Support
Topic: anyway that i can get IpAddress and Port etc in cs:go?
Replies: 6
Views: 117

Re: anyway that i can get IpAddress and Port etc in cs:go?

I honestly don't like the idea of using ConVars, in this instance, because their values are easily changed. But, that does certainly work if you aren't worried about that issue.
by satoon101
Tue Apr 11, 2017 12:54 pm
Forum: General Discussion
Topic: Python 3.6 support?
Replies: 2
Views: 109

Re: Python 3.6 support?

It has been planned for a while, we just haven't gotten around to doing it, yet. And yes, there are a lot of nice updates in 3.6!
by satoon101
Sat Apr 08, 2017 7:19 pm
Forum: Plugin Releases
Topic: Anti Team-Flash v1.3
Replies: 10
Views: 978

Re: Anti Team-Flash v1.3

Updated plugin for newest SP changes.
by satoon101
Sat Apr 08, 2017 7:18 pm
Forum: Plugin Releases
Topic: BombSecurity v1.2
Replies: 7
Views: 743

Re: BombSecurity v1.2

Updated plugin for newest SP changes.
by satoon101
Sat Apr 08, 2017 7:18 pm
Forum: Plugin Releases
Topic: Cut Wire v1.3
Replies: 11
Views: 1839

Re: Cut Wire v1.3

Updated plugin for newest SP changes.
by satoon101
Sat Apr 08, 2017 7:17 pm
Forum: Plugin Releases
Topic: Dissolver v1.2
Replies: 5
Views: 577

Re: Dissolver v1.2

Updated plugin for newest SP changes.
by satoon101
Sat Apr 08, 2017 7:16 pm
Forum: Plugin Releases
Topic: MostDamage v1.3
Replies: 23
Views: 6070

Re: MostDamage v1.3

Updated plugin for newest SP changes.
by satoon101
Sat Apr 08, 2017 7:14 pm
Forum: Plugin Releases
Topic: Sweet and Sour Chicken v1.1
Replies: 3
Views: 298

Re: Sweet and Sour Chicken v1.1

Updated plugin to newest SP changes.

Also added messaging system to notify players when they have received a reward or punishment.
by satoon101
Wed Apr 05, 2017 10:48 pm
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 82
Views: 3177

Re: Modifying chat with sayfilter but SayCommand doesnt "register"

Ah, ok, try adding a leading space just like we have to use in our base SayText(2) implementations:
https://github.com/Source-Python-Dev-Te ... se.py#L257
by satoon101
Wed Apr 05, 2017 9:54 pm
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 82
Views: 3177

Re: Modifying chat with sayfilter but SayCommand doesnt "register"

I'm not fully sure I understand your issue with \x02. If I remember correctly, in CS:S, that color acts like \x01, but in CS:GO it is a different color (but NOT the team color, as \x03 is the team color). As for the issue with SourceMod, have you tried this: https://github.com/Source-Python-Dev-Team...
by satoon101
Wed Apr 05, 2017 12:35 am
Forum: Plugin Development Support
Topic: Fall/Damage Slowdown
Replies: 5
Views: 127

Re: Fall/Damage Slowdown

It looks like that property is located at CCSPlayer.cslocaldata.m_flVelocityModifier . So, you would need to use cslocaldata.m_flVelocityModifier to get/set the value. * Edit: also, to get all properties for a specific entity, you can simply run the following: for x in entity.properties: print(x...
by satoon101
Sun Apr 02, 2017 5:05 pm
Forum: Plugin Development Support
Topic: Help on TypedCommand
Replies: 7
Views: 127

Re: Help on TypedCommand

https://github.com/Source-Python-Dev-Te ... ands.h#L57

This todo is there specifically for that issue.
by satoon101
Sun Apr 02, 2017 3:16 pm
Forum: Plugin Development Support
Topic: Dropping Knife
Replies: 12
Views: 505

Re: Dropping Knife

I'm not sure where you found that drop_weapon pre-hook, but I imagine you would rather that be a post-hook. Removing the weapon before it has been "dropped" will have some strange side-effects, like what you are seeing.
by satoon101
Sun Apr 02, 2017 3:13 pm
Forum: Plugin Development Support
Topic: block scoreboard
Replies: 13
Views: 578

Re: block scoreboard

I doubt "+score" is sent to the server to be intercepted as a ClientCommand, but you can certainly test.
by satoon101
Sun Apr 02, 2017 3:11 pm
Forum: Plugin Development Support
Topic: Spawn Points Problem
Replies: 3
Views: 78

Re: Spawn Points Problem

I'm pretty sure that your issue is because round_start fires AFTER player_spawn . You could always try to spawn players that are on a team but dead on round_start . Though, I am not sure why you are doing this every single round. I think you would be better off waiting 1 tick after the map loads to ...
by satoon101
Fri Mar 31, 2017 10:38 pm
Forum: Plugin Development Support
Topic: Spawn Points Problem
Replies: 3
Views: 78

Re: Spawn Points Problem

We would probably need to see your code to be able to replicate and help. Also, which game are you testing this on?
by satoon101
Tue Mar 28, 2017 12:50 pm
Forum: Plugin Development Support
Topic: Detonate a smoke grenade
Replies: 17
Views: 300

Re: Detonate a smoke grenade


Go to advanced search