Search found 241 matches
- Tue Jun 21, 2016 11:21 am
- Forum: Plugin Releases
- Topic: RPG:GO
- Replies: 5
- Views: 7042
Re: RPG:GO
Thanks for your kind words! As mentioned, the plugin is still in alpha and some features are missing. But don't worry, there will be a configurable XP algorithm one day! As a matter of fact, I'll go ahead right away and see what I can do :) And thanks for the bug report! I'll try to fix it asap. Edi...
- Tue Jun 21, 2016 7:21 am
- Forum: Plugin Releases
- Topic: RPG:GO
- Replies: 5
- Views: 7042
RPG:GO
It's an RPG plugin for Source.Python. Read the GitHub page for up-to-date info, instructions, download, etc: https://github.com/Mahi/RPG-SP
Still in alpha, so some features (especially skills) are missing, and it's probably not 100% bug free.
Still in alpha, so some features (especially skills) are missing, and it's probably not 100% bug free.
- Fri Jun 03, 2016 8:27 pm
- Forum: Development Status Updates
- Topic: Development status update (May 2016)
- Replies: 1
- Views: 4256
Re: Development status update (May 2016)
Really nice job with the new features and all. Gotta love it :P
- Sat May 28, 2016 1:43 pm
- Forum: Plugin Development Support
- Topic: OnWeaponReloaded listener?
- Replies: 35
- Views: 24984
Re: OnWeaponReloaded listener?
Player.from_userid()? Seems like I can reject my oen implementation for this lol :D They took away one of the key selling points of my EasyPlayer :( https://github.com/Mahi/EasyPlayer/commit/896c3e6eca441bf51743a24653da8227c9f060b1 But seriously, it's awesome they included it. Makes everything just...
- Thu May 19, 2016 9:53 am
- Forum: Custom Packages
- Topic: SpamProofCommands
- Replies: 4
- Views: 26542
Re: SpamProofCommands
Yeah command.py seems like a good idea since you're mimicing SP's commands package. And thus leave the __init__.py empty. As far as I understand (without super in-depth familiarization to the translations package), the LangStrings class uses dict's normal __getitem__ so there's nothing done with cl_...
- Thu May 19, 2016 9:31 am
- Forum: Custom Packages
- Topic: SpamProofCommands
- Replies: 4
- Views: 26542
Re: SpamProofCommands
Good idea and package iPlayer, nice job! There are a few improvements I'd make though. First of all, you seem to define a common base class in the __init__.py which is then used in the other files of your package. This is rather bad practice, as __init__.py should contain as little as possible. It's...
- Sun May 15, 2016 10:45 am
- Forum: Plugin Releases
- Topic: Bank
- Replies: 2
- Views: 4518
Re: Bank
I believe it's called interest rate, and yeah that's a really good idea!! The current "missing features" section is my priority at the moment with this plugin, but I'll make sure to add interest rate too! Really good suggestion, thanks!
- Fri May 13, 2016 11:01 am
- Forum: Plugin Releases
- Topic: Bank
- Replies: 2
- Views: 4518
Bank
Mahi's Bank Plugin A simple bank plugin with deposit and withdraw features. Notice that this plugin is still in alpha, and although fully functional, it might contain bugs and many important features are still being worked on. Installation Instructions Go to https://github.com/Mahi/SP-Bank and pres...
- Fri Mar 25, 2016 9:30 am
- Forum: Plugin Development Support
- Topic: [CS:GO] Make Warmup last until stopped by SP
- Replies: 7
- Views: 5892
You can just use the server command to pause the timer and get the result in your second image.
Once you wish to unpause, just set it back to zero, and optionally, end the warmup immediately
Code: Select all
mp_warmup_pausetimer 1
Once you wish to unpause, just set it back to zero, and optionally, end the warmup immediately
Code: Select all
mp_warmup_pausetimer 0
mp_warmup_end
- Fri Mar 25, 2016 9:26 am
- Forum: Plugin Development Support
- Topic: [CS:GO] Make Warmup last until stopped by SP
- Replies: 7
- Views: 5892
- Mon Mar 14, 2016 12:37 pm
- Forum: News & Announcements
- Topic: Weapon Restrictions
- Replies: 7
- Views: 28216
- Mon Mar 07, 2016 4:24 am
- Forum: News & Announcements
- Topic: Python upgrade to 3.5.1 and Blade Symphony support!
- Replies: 1
- Views: 20165
- Mon Dec 14, 2015 7:59 pm
- Forum: Plugin Requests
- Topic: Snowfall for Black Mesa
- Replies: 29
- Views: 22791
And even if WORLD_ENTITY_INDEX didn't exist, I'd say using next() is much more Pythonic than for: breakL'In20Cible wrote:I think I would rather recommend using:Syntax: Select all
from entities.constants import WORLD_ENTITY_INDEX
@OnLevelInit
def level_init(map_name):
worldspawn = Entity(WORLD_ENTITY_INDEX)
- Mon Dec 14, 2015 10:52 am
- Forum: Plugin Development Support
- Topic: drawing box
- Replies: 2
- Views: 2879
- Sat Dec 05, 2015 3:49 pm
- Forum: Plugin Releases
- Topic: Warcraft: GO
- Replies: 3
- Views: 6008
Warcraft: GO
Warcraft: GO is a plugin developed by me and Predz with the "perfect" Warcraft plugin in mind. We've seen dozens of Warcraft plugins (WCS probably being the most known one) during the years of CS:S and CS:GO, but thanks to Source.Python developement team we now have access to Source engine through a...
- Fri Dec 04, 2015 8:37 pm
- Forum: Plugin Development Support
- Topic: TF2 team indexes and names for is_filters and not_filters
- Replies: 2
- Views: 2896
- Fri Dec 04, 2015 7:29 pm
- Forum: Plugin Development Support
- Topic: TF2 team indexes and names for is_filters and not_filters
- Replies: 2
- Views: 2896
TF2 team indexes and names for is_filters and not_filters
In CS:S and CS:GO the teams are indexed and named like so:
What about TF2? I'd expect them to beBut is it blu or blue? And which is first, red or blu/blue?
Code: Select all
0. un
1. spec
2. t
3. ct
What about TF2? I'd expect them to be
Code: Select all
0. un
1. spec
2. red
3. blue
- Thu Nov 26, 2015 12:28 pm
- Forum: API Design
- Topic: Store AutoUnload instances instead of going through modules?
- Replies: 4
- Views: 13916
Yeah I know I made a mistake in my program, I'm not even remotely trying to blame this on you guys. I don't think I want to merge the two functions (is there any upside of doing so?) and I will change the database module quite a lot in the near future, so I'll keep your third option in mind when I d...
- Wed Nov 25, 2015 11:06 pm
- Forum: API Design
- Topic: Store AutoUnload instances instead of going through modules?
- Replies: 4
- Views: 13916
Store AutoUnload instances instead of going through modules?
Due to a recent bug I had I started thinking about why AutoUnload works the way it does. Wouldn't it be much better to store all the instances of AutoUnload classes into lists or dicts, and then loop through the iterable when the plugin is unloaded, instead of going through the dir() of the modules?
- Wed Nov 25, 2015 10:50 pm
- Forum: Plugin Development Support
- Topic: Database connection closed in unload(), still closed after the next load()
- Replies: 2
- Views: 2923
Solved! The issue was caused because I had two functions with the same name, and apparently AutoUnload unloads things by looping over the names in modules. I wasn't aware of this and thought it registers every callback into a list and then loops through that list to unload them (why doesn't it do it...