Search found 90 matches

by necavi
Wed Jan 27, 2016 8:10 pm
Forum: General Discussion
Topic: Modding Idea needs your recommendations
Replies: 18
Views: 11754

128 is definitely enough, anything above that is well past human perception and is just wasting CPU cycles.
by necavi
Mon Jan 25, 2016 5:17 pm
Forum: Plugin Development Support
Topic: NewPerms/SourcePerms questions
Replies: 9
Views: 6490

I'll figure out a system for it. Likely the way I said before.
by necavi
Mon Jan 25, 2016 2:37 pm
Forum: Plugin Development Support
Topic: NewPerms/SourcePerms questions
Replies: 9
Views: 6490

I think that that would be a good idea. And as for the priority, if we end up having a static int value for it I would have it be a part of the command decorator, separate from the permission string. Something like respect_immunity=True, only allowing you to target people lower than yourself. Quite ...
by necavi
Mon Jan 25, 2016 4:45 am
Forum: Plugin Development Support
Topic: NewPerms/SourcePerms questions
Replies: 9
Views: 6490

1. We'll likely go for something like that, definitely have to consider it a bit more, however.

2. True, most places follow the convention of it being an "admin" system, even when its used by everyone. Being in the admins file gives you absolutely no permissions except those that you define.
by necavi
Mon Jan 25, 2016 4:34 am
Forum: Plugin Development Support
Topic: NewPerms/SourcePerms questions
Replies: 9
Views: 6490

1. Nothing is setup for that yet, I'll have to think about how best to handle that, if you have any ideas I would love to hear them.
2. Yes! That was certainly a very large part of the idea behind this system! :) Normal users, donors, etc
by necavi
Sat Jan 23, 2016 6:56 pm
Forum: Plugin Development Support
Topic: Custom auth providers
Replies: 4
Views: 3995

I'd be happy to help if you encounter any issues. It is an extremely simple system, however and 90% of the documentation for http://forums.sourcepython.com/showthread.php?808-SourcePerms applies to NewPerms as well.
by necavi
Fri Jan 22, 2016 2:35 pm
Forum: Whatever
Topic: Sphinx wiki - Javascript enabled
Replies: 2
Views: 4512

This is a bit of an odd issue that popped up recently. We decided to ignore it for now, as the wiki is moving to a more permanent home soon. If the issue still occurs there we'll correct it.
by necavi
Fri Jan 15, 2016 4:11 pm
Forum: Plugin Development Support
Topic: Get units/s
Replies: 8
Views: 6651

__len__ is pretty explicitly for containers only. I don't see much benefit to doing len(vector) over vector.length, really.
by necavi
Thu Jan 14, 2016 4:24 pm
Forum: API Design
Topic: Sourcemod (or Mani?) Style Player Filtering
Replies: 5
Views: 20080

I like it quite a bit! I almost argued in favour of names, then remembered just how bad of an idea it is to target players by name (especially partial name). I'm reasonably certain that most of the people (especially those who would target by name) who use these commands will use them through the ad...
by necavi
Wed Jan 13, 2016 5:32 pm
Forum: API Design
Topic: Sourcemod (or Mani?) Style Player Filtering
Replies: 5
Views: 20080

It lacks the parentheses you mentioned, but I finally had the opportunity to set this up, unfortunately I can't decide which package it should go in. Filters.Players? A new module in Commands? (it is basically entirely used for command filtering) Anyway, here's the code. import re set_matching = re....
by necavi
Wed Jan 13, 2016 3:38 pm
Forum: Plugin Development Support
Topic: Print to client console?
Replies: 4
Views: 3641

by necavi
Sun Dec 20, 2015 6:51 pm
Forum: Plugin Requests
Topic: Killcam
Replies: 20
Views: 23229

Yes this is possible, you'll have to attach the player's camera to another entity, likely and enable a screen overlay that makes everything black and white, it won't look terribly good but it might work.
by necavi
Sat Dec 19, 2015 5:37 pm
Forum: Plugin Development Support
Topic: SQL anyone?
Replies: 11
Views: 8108

There was talk of PyMySQL + SQLAlchemy but I wanted to make sure that everyone was onboard with it before adding them. Since then I've had almost no time to work on anything SP, unfortunately, but I'm entirely certain that these both could be added.
by necavi
Sun Dec 06, 2015 4:34 am
Forum: Plugin Development Support
Topic: SourceMod Access
Replies: 4
Views: 5009

Which natives in particular are you missing?
by necavi
Thu Dec 03, 2015 2:16 am
Forum: Plugin Development Support
Topic: Modifying bot profile values
Replies: 4
Views: 3407

I will have to look into that, thanks! I'm still not entirely certain that it'll do what I need, but I'm definitely going to explore it.
by necavi
Thu Dec 03, 2015 12:41 am
Forum: Plugin Development Support
Topic: Modifying bot profile values
Replies: 4
Views: 3407

Changes to the DB would affect all bots at the same difficulty level and this is intended to be a dynamic system with vast changes during runtime. From what I have read thus far the profile is only read in once per map change which is insufficient for my needs.
by necavi
Wed Dec 02, 2015 10:57 pm
Forum: Plugin Development Support
Topic: Modifying bot profile values
Replies: 4
Views: 3407

Modifying bot profile values

Hello, I'm trying to figure out how to change the bot_profile values (typically found in bot_profile.db) for bots individually. It seems that there's a CCSBot->GetProfile() method but I'm unsure of how best to access it. This is intended to be used on a bot-by-bot basis so simply changing the bot_di...
by necavi
Wed Nov 18, 2015 10:30 pm
Forum: Plugin Development Support
Topic: Questions on working with entities IO calls and keyvalues
Replies: 19
Views: 12934

I have always done so in the same tick with no issue, yes, that was the entire premise of this plugin, basically: https://github.com/necavi/Merx
by necavi
Wed Nov 18, 2015 8:00 pm
Forum: Plugin Development Support
Topic: Questions on working with entities IO calls and keyvalues
Replies: 19
Views: 12934

Also you should never globally enable cheats, its best to strip the cheat flag from the intended command, run it, and then immediately put the flag back.
by necavi
Sun Nov 08, 2015 2:33 am
Forum: Whatever
Topic: Issue with starting the CSS server
Replies: 5
Views: 6533

-strictportbind will cause it to error if it can't bind ports (e.g. 27015), default behaviour is just to try 27016 and so on.

Go to advanced search