Search found 1256 matches

by L'In20Cible
Tue Jan 17, 2017 4:59 am
Forum: Plugin Development Support
Topic: EntityPreHook "touch" crashing
Replies: 22
Views: 17021

Re: EntityPreHook "touch" crashing

Awesome, ty!

Fun fact: translate "merde" from french to english, lol.

EDIT: Do you have a download link for this map? I'm not finding it anywhere.
by L'In20Cible
Mon Jan 16, 2017 10:11 pm
Forum: Plugin Development Support
Topic: EntityPreHook "touch" crashing
Replies: 22
Views: 17021

Re: EntityPreHook "touch" crashing

What about using OnEntityOutput instead and listening to OnStartTouch? It won't have the same behavior, though. Touch is called everytime the VPhysics is detecting a collision between two entities that have the correct solid type (every frame, but maybe different thread) while OnStartTouch (or simp...
by L'In20Cible
Sun Jan 15, 2017 3:48 pm
Forum: Plugin Development Support
Topic: EntityPreHook "touch" crashing
Replies: 22
Views: 17021

Re: EntityPreHook "touch" crashing

First step would be to debug your code to know exactly which line is crashing. @EntityPreHook(EntityCondition.equals_entity_classname('prop_physics'), 'touch') def pre_start_touch(stack): print(1) entity = make_object(Entity, stack[0]) print...
by L'In20Cible
Thu Jan 12, 2017 12:08 pm
Forum: Whatever
Topic: SRCDS Host_Error
Replies: 25
Views: 21779

Re: SRCDS Host_Error

Did you try reinstalling the server?
by L'In20Cible
Tue Jan 10, 2017 3:55 am
Forum: Plugin Development Support
Topic: Brush Entity
Replies: 4
Views: 3648

Re: Brush Entity

Code?
by L'In20Cible
Sun Jan 08, 2017 11:42 am
Forum: Plugin Development Support
Topic: MoveType
Replies: 11
Views: 7893

Re: MoveType

Code? Game?
by L'In20Cible
Sat Jan 07, 2017 7:27 am
Forum: Plugin Development Support
Topic: MoveType
Replies: 11
Views: 7893

Re: MoveType

However, I think there is more to do than just setting the property. Being networked, setting that property alone is enough to tell clients to play the animation. But I do see where you are coming from. The movement engine is most likely going to reset its value on the next frame. Hooking Entity.po...
by L'In20Cible
Tue Jan 03, 2017 12:35 am
Forum: Plugin Development Support
Topic: MoveType
Replies: 11
Views: 7893

Re: MoveType

The PlayerAnimation enumerator are the possible values for the following property:

Syntax: Select all

player.set_property_int('m_nSequence', PlayerAnimation.WALK)
by L'In20Cible
Mon Jan 02, 2017 3:19 am
Forum: Plugin Development Support
Topic: MoveType
Replies: 11
Views: 7893

Re: MoveType

I dont see <Player>.move_type anywhere in the wiki? This attribute is generated dynamically via the data files . Each entity has specific attributes depending of their inheritance hierarchy. Adding them on the wiki is difficult since they are known at run-time depending of the entity type you get a...
by L'In20Cible
Thu Dec 29, 2016 9:52 pm
Forum: Plugin Requests
Topic: [HL2:DM] es_blood to sp blood
Replies: 55
Views: 33785

Re: [HL2:DM] es_blood to sp blood

According to the SDK, the following line:

Syntax: Select all

entity.call_input('explode')
Should be:

Syntax: Select all

entity.call_input('Explode')
by L'In20Cible
Thu Dec 29, 2016 11:48 am
Forum: Plugin Requests
Topic: [HL2:DM] es_blood to sp blood
Replies: 55
Views: 33785

Re: [HL2:DM] es_blood to sp blood

I assume "es_blood" is the name of the script.
by L'In20Cible
Fri Dec 02, 2016 2:50 am
Forum: General Discussion
Topic: OnClientConnect getting Player problem
Replies: 4
Views: 4897

Re: OnClientConnect getting Player problem

tnx, but it worked when second arg was `index`, before https://github.com/Source-Python-Dev-Team/Source.Python/commit/69b8e79152f8d961b8b1bfe422c9eb63bf9987fd Well, it was simply because the listeners were not called if it was unable to get an index from the edict. As you can see there: https://git...
by L'In20Cible
Thu Dec 01, 2016 10:49 pm
Forum: General Discussion
Topic: OnClientConnect getting Player problem
Replies: 4
Views: 4897

Re: OnClientConnect getting Player problem

OnClientConnect is called before the instances are created and linked so getting a Player instance from there is not possible. Use OnClientActive instead.
by L'In20Cible
Sun Nov 27, 2016 3:09 pm
Forum: Plugin Requests
Topic: Plugins converts from Eventscripts to Source Python
Replies: 35
Views: 25861

Re: Plugins converts from Eventscripts to Source Python

You need to set the index of the message. index = index_from_userid(game_event['userid']) SayText2('\x04[Saysounds] \x03Es wird bereits der Sound {0} abgespielt!'.format(text), index=index).send(index) Please, use [python][/python] when posting python ...
by L'In20Cible
Sat Nov 26, 2016 9:24 pm
Forum: Plugin Requests
Topic: Show-Damage Plugin
Replies: 3
Views: 4581

Re: Show-Damage Plugin

Hey,

You should be able to run it using EventScripts Emulator by Ayuto.
by L'In20Cible
Fri Nov 11, 2016 11:25 pm
Forum: Whatever
Topic: Free games!!
Replies: 43
Views: 100074

Re: Free games!!

by L'In20Cible
Thu Nov 10, 2016 2:05 am
Forum: Plugin Development Support
Topic: CVEngineServer::CreateFakeClient
Replies: 12
Views: 8575

Re: CVEngineServer::CreateFakeClient

You cannot spawn fake clients as they have no AI bound to them.
by L'In20Cible
Thu Nov 10, 2016 1:59 am
Forum: Plugin Development Support
Topic: run_command hook no longer triggers
Replies: 5
Views: 4036

Re: run_command hook no longer triggers

Also, worth mentioning that OnPlayerRunCommand and OnButtonStateChanged listeners has recently been added.

Go to advanced search