Search found 1256 matches

by L'In20Cible
Thu May 28, 2015 8:52 pm
Forum: Plugin Development Support
Topic: How to reset the player's sound to normal on player_blind?
Replies: 55
Views: 29009

I think you are mixing SPE syntax which used to be:

Syntax: Select all

return (HookAction.Continue/Override, <overriden return value>)


Which was kinda pointless, as if you return anything, you want it to be overriden.
by L'In20Cible
Thu May 28, 2015 7:11 pm
Forum: Plugin Development Support
Topic: How to reset the player's sound to normal on player_blind?
Replies: 55
Views: 29009

There is no enum as the returned value of the callback override the real one (if not None).
by L'In20Cible
Wed May 27, 2015 7:43 pm
Forum: Plugin Development Support
Topic: point_hurt: cs go
Replies: 28
Views: 17777

Correct, Entity.take_damage is calling Entity.on_take_damage internally: ../source-python/packages/source-python/entities/specials.py#L143
by L'In20Cible
Wed May 27, 2015 11:29 am
Forum: Plugin Development Support
Topic: Get Attackerweapon from TakeDamageInfo
Replies: 21
Views: 11893

I just tested on CS:GO and CS:S and they both worked fine for me. Not sure what to tell you, actually. What other plugins are you running? Try disable everything except last compiled source and the litle snippet you posted above.
by L'In20Cible
Wed May 27, 2015 10:49 am
Forum: Plugin Development Support
Topic: Get Attackerweapon from TakeDamageInfo
Replies: 21
Views: 11893

This works fine for me in both cases. Please, always tell the game you are testing on as you know we will ask for it.
by L'In20Cible
Tue May 26, 2015 2:03 am
Forum: Plugin Development Support
Topic: Property 'm_Effects' not found for entity type 'player'
Replies: 8
Views: 5171

Oh, didn't realize those were wrapped, I got used to loop through all classes ^^
by L'In20Cible
Sun May 24, 2015 7:31 pm
Forum: Plugin Development Support
Topic: Property 'm_Effects' not found for entity type 'player'
Replies: 8
Views: 5171

Also, as a side note, m_fEffects value are wrapped into entities.constants.EntityEffects (they are bit fields).

EDIT: Forget this post, I think I'm blind. :D
by L'In20Cible
Sun May 24, 2015 7:29 pm
Forum: Plugin Development Support
Topic: Property 'm_Effects' not found for entity type 'player'
Replies: 8
Views: 5171

Why are you using google? You can do for cls in player.server_classes: for name in cls.properties: print(name) sane thing for keyvalues, inputs, etc. Sorry for the raw text, I'm on my phone.
by L'In20Cible
Wed May 20, 2015 6:11 pm
Forum: News & Announcements
Topic: A new release! (May 19, 2015)
Replies: 23
Views: 52190

The CSS release will works fine on all OB games (which include TF2). If you means TF classic then no, we are not supporting it for now.

Welcome to the forums!
by L'In20Cible
Tue May 19, 2015 11:35 pm
Forum: News & Announcements
Topic: A new release! (May 19, 2015)
Replies: 23
Views: 52190

Try removing your ../addons/source-python.vdf file and manually type plugin_load source-python via rcon once the server is started. Does it still crashes? What OS are you running on?
by L'In20Cible
Sun May 17, 2015 2:59 am
Forum: API Design
Topic: SayFilters and SayCommands
Replies: 27
Views: 62044

What if you try commands.clients.ClientCommand with say or say_team?
by L'In20Cible
Wed May 13, 2015 11:36 pm
Forum: Plugin Development Support
Topic: Can't force a player to suicide.
Replies: 4
Views: 4006

Don't forget you have to call the writeid command manually for permanent bans beeing saved into banned_user.cfg.
by L'In20Cible
Sun May 10, 2015 11:46 pm
Forum: Plugin Development Support
Topic: Get Attackerweapon from TakeDamageInfo
Replies: 21
Views: 11893

Good point!
by L'In20Cible
Sun May 10, 2015 5:43 pm
Forum: Plugin Development Support
Topic: Get Attackerweapon from TakeDamageInfo
Replies: 21
Views: 11893

The "weapon" attribute is not filled by the engine. You need to get the attacker's active weapon. from players.entity import PlayerEntity from memory.hooks import PreHook from memory import make_object from entities import TakeDamageInfo from entities.helpers import index_from_inthandle fr...
by L'In20Cible
Thu May 07, 2015 8:35 pm
Forum: General Discussion
Topic: SP for Black Mesa?
Replies: 17
Views: 11784

If you can provide the ELF binaries (especially server.so and engine.so) of this game I will add its data.
by L'In20Cible
Fri May 01, 2015 6:44 pm
Forum: General Discussion
Topic: Crashes upon map change.
Replies: 36
Views: 21912

Say you wanted to create a skill that gives gold to a player. It would be much harder, since now you can just do player.gold += 15. But I'll think about it, maybe I can sacrifice the feature since it's not really too often that you need to access the Hero-Wars sided data in a skill :) Oh but like I...
by L'In20Cible
Fri May 01, 2015 6:12 am
Forum: General Discussion
Topic: Crashes upon map change.
Replies: 36
Views: 21912

While I do agree with you that we would be better off having our data in a completely separate dictionary, it would complicate creating heroes (and skills) and the whole idea of this mod was to make that as easy as possible. In fact I started out by creating an example hero using an ideal format, a...
by L'In20Cible
Wed Apr 29, 2015 9:45 pm
Forum: General Discussion
Topic: Crashes upon map change.
Replies: 36
Views: 21912

You are most likely crashing at this line . However, you guys are making it hard to debug using unecessary ways to achieve things. For example, this class seems more than useless to me. If you want to cache attributes: store the objects. I believe you are crashing cause this results to the same thin...

Go to advanced search