Search found 90 matches

by necavi
Fri Nov 06, 2015 7:46 am
Forum: Plugin Development Support
Topic: SayText2 stops displaying after time
Replies: 2
Views: 2497

That is a completely unrelated error caused by the SMAC SM plugin, I believe that that one is caused by a translation not being loaded, ensure that you installed it correctly and copied all translation files to the server.
by necavi
Fri Nov 06, 2015 3:08 am
Forum: API Design
Topic: Sourcemod (or Mani?) Style Player Filtering
Replies: 5
Views: 20356

Sourcemod (or Mani?) Style Player Filtering

In developing the auth module I realized that, more than ever, a standardized method for filtering players in commands. As my development history is primarily concentrated on Sourcemod I personally believe that we should copy their semantics, with a few of our own additions. For those not familiar w...
by necavi
Wed Nov 04, 2015 4:57 pm
Forum: Plugin Development Support
Topic: How to get weapon's max ammo?
Replies: 5
Views: 4539

Bloody hell that's useful!
by necavi
Wed Nov 04, 2015 3:41 pm
Forum: Plugin Development Support
Topic: How to get weapon's max ammo?
Replies: 5
Views: 4539

If I remember correctly you're going to have to find the GetMaxAmmo (or something very similar) signature for the weapon entity - it isn't as easy as a simple entity property, unfortunately.
by necavi
Mon Jul 13, 2015 1:23 am
Forum: Code examples / Cookbook
Topic: [TF2] getting healing target + checking if player is being healed from a dispenser
Replies: 20
Views: 38443

Thank you backraw, that's pretty much exactly what I would've said, I just kept forgetting to type it out.
by necavi
Sun Jul 12, 2015 4:48 pm
Forum: Plugin Development Support
Topic: [TF2] *_from_index functions are screwed up...
Replies: 20
Views: 15026

Everything I've seen you mention is cross-game.
by necavi
Wed Jul 08, 2015 3:21 pm
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13728

Side note: Valve evidently has no problem changing player's names purely for gameplay purposes. http://imgur.com/VIhKzmL
by necavi
Sat Jul 04, 2015 11:15 am
Forum: Code examples / Cookbook
Topic: [TF2] getting healing target + checking if player is being healed from a dispenser
Replies: 20
Views: 38443

I'll try to write something up on it tomorrow.
by necavi
Fri Jul 03, 2015 3:17 am
Forum: Code examples / Cookbook
Topic: [TF2] getting healing target + checking if player is being healed from a dispenser
Replies: 20
Views: 38443

Pycharm has a free (and open source) version that basically just cuts out the web development stuff.
by necavi
Thu Jul 02, 2015 9:33 pm
Forum: Code examples / Cookbook
Topic: [TF2] getting healing target + checking if player is being healed from a dispenser
Replies: 20
Views: 38443

No. Although I did already suggest an IDE which will do most of that sort of thing for you.
by necavi
Thu Jul 02, 2015 5:02 pm
Forum: Code examples / Cookbook
Topic: [TF2] getting healing target + checking if player is being healed from a dispenser
Replies: 20
Views: 38443

You may want to look into: http://wiki.sourcepython.com/pages/filters.players

Also typically None is a bit of a special case and is compared using "is" (i.e. variable is None) rather than "==", as None is a singleton.
by necavi
Tue Jun 30, 2015 6:01 pm
Forum: Plugin Development Support
Topic: New Project: Porting Saxton Hale mod for Source.Python
Replies: 27
Views: 22865

I would strongly recommend running: https://www.jetbrains.com/pycharm/ as it would've picked up all of what satoon mentioned except for the pi constant. I can help you set it up with SourcePython if you'd like (the libraries can be a little tricky).
by necavi
Tue Jun 30, 2015 5:59 pm
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13728

While I completely understand where you're coming from there, Satoon, it is a fairly common administrative action, if someone has a name you don't like it is very common to change it rather than outright kicking them. Similar to how it is generally agreed upon that mic/chat spamming is better served...
by necavi
Tue Jun 30, 2015 6:39 am
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13728

I'd be curious as to what those reasons are, especially when there's completely different ways of changing the name in CS:S and CS:GO, seems better to support that all at one point rather than making everyone have their own method of doing it. (Unless there's already a method on the player to do it ...
by necavi
Fri Jun 05, 2015 5:27 am
Forum: Plugin Releases
Topic: Admin Commands
Replies: 9
Views: 11783

Ah, something went a little screwy at some point. Loads fine with the newest version.
by necavi
Fri Jun 05, 2015 4:50 am
Forum: Plugin Releases
Topic: Admin Commands
Replies: 9
Views: 11783

Probably an interface change from the newer version of SP? I'll take a look at it shortly.
by necavi
Fri Jun 05, 2015 12:20 am
Forum: General Discussion
Topic: Python's eval() function
Replies: 9
Views: 7236

Read up on it? SourcePython's eval is the same as any other python eval, to my knowledge. There's a fuckton of information on the internet for you.
by necavi
Fri Jun 05, 2015 12:03 am
Forum: General Discussion
Topic: Python's eval() function
Replies: 9
Views: 7236

It absolutely is. There's no true way to sandbox it, but you can do things to help restrict it if you like.
by necavi
Thu Jun 04, 2015 9:30 pm
Forum: Plugin Development Support
Topic: Navigation data/meshes
Replies: 2
Views: 2783

https://github.com/AnthonyIacono/War3SourceV2/tree/master/Nav Here's some information on how to parse it if you can't find anything easily accessible in the engine.
by necavi
Thu Jun 04, 2015 8:13 am
Forum: Plugin Development Support
Topic: Angle of Incidence
Replies: 14
Views: 10424

Not easily. Maybe you should tell us what your end result is supposed to be?

Go to advanced search