Search found 1413 matches

by Ayuto
Sun Aug 02, 2015 1:49 pm
Forum: News & Announcements
Topic: Aug 2 - New Release!!
Replies: 22
Views: 46957

I have supplied a fix for that, so we just need to recompile CS:GO and the issue should be solved. https://github.com/alliedmodders/hl2sdk/pull/14
by Ayuto
Sun Aug 02, 2015 1:19 pm
Forum: API Design
Topic: PreEvent and changes to Event
Replies: 6
Views: 10592

Yes, it does. :)
by Ayuto
Sun Jul 26, 2015 7:57 pm
Forum: Plugin Development Support
Topic: CSGO: Check to training round
Replies: 4
Views: 3731

You can try to set mp_warmuptime to 0.
by Ayuto
Sun Jul 26, 2015 1:54 pm
Forum: Plugin Development Support
Topic: EntityPreHook bump_weapon lags
Replies: 8
Views: 7035

Does that also happen if you just hook the function?

Syntax: Select all

@EntityPreHook('player', 'bump_weapon')
def pre_bump_weapon(args):
pass
by Ayuto
Sat Jul 25, 2015 11:39 am
Forum: Plugin Development Support
Topic: CSGO: send CTRL+C to the server
Replies: 1
Views: 1989

The interrupt signal doesn't solve the actual problem. I guess it's interrupting the shutdown routine, which causes your server to shutdown improperly.
I have commited a fix to fix the crash on unload, so this workaround isn't required.
by Ayuto
Sat Jul 25, 2015 11:26 am
Forum: News & Announcements
Topic: New release July 2nd, 2015!!
Replies: 14
Views: 32361

by Ayuto
Wed Jul 22, 2015 9:34 pm
Forum: Plugin Development Support
Topic: Extending the plugin with C++
Replies: 9
Views: 5462

Well, on the C++ side we actually just wrap classes/functions of the SDK and create compatibility functions. And everything we have created is exposed to Python. If you do calculations with a high performance cost, I would implement them in Python at first. If you feel that it slows down your server...
by Ayuto
Wed Jul 22, 2015 4:44 pm
Forum: Plugin Development Support
Topic: Extending the plugin with C++
Replies: 9
Views: 5462

I wanted to reply earlier, but forgot to do that. :D

Which API do you mean? The Source SDK or our API? If you mean our API, you better use SP directly.
by Ayuto
Wed Jul 15, 2015 9:20 pm
Forum: News & Announcements
Topic: New release July 2nd, 2015!!
Replies: 14
Views: 32361

We are using a little workaround on CS:GO to remove entities. What happens if you remove this function instead?

Syntax: Select all

from entities.entity import Entity

def remove_entity(index):
Entity(index).call_input('Kill')
by Ayuto
Wed Jul 15, 2015 5:30 pm
Forum: General Discussion
Topic: regarding entity limits...
Replies: 4
Views: 5167

Yeah, we haven't implemented something like that, but it might be a good idea to do that. If you don't want that this is garbage collected from our brains, open a new issues for that. :D
by Ayuto
Sun Jul 12, 2015 10:27 am
Forum: Plugin Development Support
Topic: [TF2] *_from_index functions are screwed up...
Replies: 20
Views: 14998

For which game are you trying to get this working? Also instead of catching a ValueError or testing for an invalid userid your function should just require an "index" argument. It's not the task of the function to convert the userid to an index. That's the task of the caller. Moreover, you...
by Ayuto
Tue Jul 07, 2015 7:22 am
Forum: Plugin Development Support
Topic: WeaponEntity.set_color
Replies: 3
Views: 2995

Are you using the latest release? It has been fixed a few weeks ago.
by Ayuto
Sun Jul 05, 2015 4:12 pm
Forum: General Discussion
Topic: Dependencies Required
Replies: 11
Views: 8173

Which permissions did you grant your user? And to which files/directories?
by Ayuto
Thu Jul 02, 2015 9:37 pm
Forum: Code examples / Cookbook
Topic: [TF2] getting healing target + checking if player is being healed from a dispenser
Replies: 20
Views: 38078

That's how Python works. When a Python script is loaded/imported the interpreter will byte-compile it. When there are syntax errors, you will be notified. All other errors (e.g. undefined variables aka NameError) are raised at runtime. E.g. this script would cause a SyntaxError when it's loaded, bec...
by Ayuto
Thu Jul 02, 2015 7:54 pm
Forum: News & Announcements
Topic: New release July 2nd, 2015!!
Replies: 14
Views: 32361

I have updated the main post with some additional points. :)
by Ayuto
Thu Jul 02, 2015 11:09 am
Forum: Code examples / Cookbook
Topic: [TF2] getting healing target + checking if player is being healed from a dispenser
Replies: 20
Views: 38078

I'm happy that you play around with SP, but you should really test your code before posting on the forums -- at least when it comes to code examples!

There are some errors in your code.
by Ayuto
Wed Jul 01, 2015 7:00 pm
Forum: General Discussion
Topic: CSGO: match point
Replies: 4
Views: 4329

Could you rephrase your question? Personally, I didn't really understand it.
by Ayuto
Tue Jun 30, 2015 5:22 pm
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13712

One could argue that people also don't want that servers change their clan tags, health or speed. But that's one of the basic features of SP. Actually, we just need the signature/symbol of the SetName method and the sv pointer. The offset for ClientCommand will be available through the new memory br...
by Ayuto
Tue Jun 30, 2015 11:01 am
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13712

Yeah, I also think that we should include that. That would prevent people from copying and pasting the script I have made into every plugin.
by Ayuto
Fri Jun 26, 2015 1:53 pm
Forum: Plugin Development Support
Topic: CSGO: Check to training round
Replies: 4
Views: 3731

You can simply use round_announce_warmup. :)

Go to advanced search