Search found 1256 matches

by L'In20Cible
Sun Apr 26, 2015 8:57 pm
Forum: Plugin Development Support
Topic: How to reset the player's sound to normal on player_blind?
Replies: 55
Views: 29037

That's awesome, good job! :D
by L'In20Cible
Wed Apr 22, 2015 8:55 pm
Forum: General Discussion
Topic: Crashes upon map change.
Replies: 36
Views: 21929

I'm confused, why are you deleting your post to repost it? :rolleyes:
by L'In20Cible
Wed Apr 22, 2015 11:07 am
Forum: Plugin Releases
Topic: SourcePerms
Replies: 6
Views: 6706

I do not really have any opinion on this as I never used any AUTH system external to my own codes. You guys go for what you think the best is! :)
by L'In20Cible
Thu Apr 16, 2015 10:40 pm
Forum: Plugin Development Support
Topic: Cs:go color & some weapons
Replies: 15
Views: 15649

necavi wrote:

Hardcoding values in your code is a bad idea. Use the wrappers, instead. In this specific case: from entities.constants import RenderEffects
by L'In20Cible
Thu Apr 16, 2015 12:58 am
Forum: Plugin Development Support
Topic: get_team_index() - error
Replies: 3
Views: 2784

Woops, my fault! :)
by L'In20Cible
Sun Apr 12, 2015 6:20 pm
Forum: Plugin Development Support
Topic: point_hurt: cs go
Replies: 28
Views: 17811

I don't think a hurt method is necessary. That entity itself calls TakeDamage on the activator. Would be pointless to increment the entity count when not needed. ^^
by L'In20Cible
Sat Apr 11, 2015 9:07 pm
Forum: Plugin Development Support
Topic: CS:GO: tick_delays
Replies: 2
Views: 2412

Not a bug. Unless you disabled hibernation on CS:GO, there is no frame when there is no player. Add the following to your command line:

Code: Select all

+sv_hibernate_when_empty 0
by L'In20Cible
Sat Apr 11, 2015 9:05 pm
Forum: Plugin Development Support
Topic: Cs:go signatures
Replies: 6
Views: 4841

That's normal. You can't add a bot at this time.
by L'In20Cible
Sat Apr 11, 2015 6:43 pm
Forum: Plugin Development Support
Topic: Cs:go signatures
Replies: 6
Views: 4841

The offset didn't change and the code above didn't crash on my side.
by L'In20Cible
Tue Apr 07, 2015 6:51 pm
Forum: Plugin Development Support
Topic: point_hurt: cs go
Replies: 28
Views: 17811

Hm, yeah. Also added as a signature for orangebox but we can certainly add it as a virtual method. Replace the virtual_function section of your ../data/source-python/entities/managers/engines/csgo/CBaseEntity.ini file to the following: [virtual_function] # _ZN11CBaseEntity18PassesDamageFilterERK15CT...
by L'In20Cible
Tue Apr 07, 2015 5:06 pm
Forum: News & Announcements
Topic: Feature Requests
Replies: 28
Views: 58552

Yeah, that is how I interpreted it so that is why I replied that short answer from my phone. However, the IVoiceServer (from memory) is certainly something we need to get exported. However, I'm not sure if the PlayerEntity class itself should handle the work to hook and manage muted players.
by L'In20Cible
Tue Apr 07, 2015 5:03 pm
Forum: Plugin Development Support
Topic: point_hurt: cs go
Replies: 28
Views: 17811

You need to define the attacker as the caller:

Syntax: Select all

point.call_input("Hurt", caller=attacker.index)
by L'In20Cible
Tue Apr 07, 2015 3:00 pm
Forum: News & Announcements
Topic: Feature Requests
Replies: 28
Views: 58552

A userid can also be an index pointing to a different player.
by L'In20Cible
Tue Apr 07, 2015 3:01 am
Forum: Code examples / Cookbook
Topic: Particle effects!
Replies: 36
Views: 86837

Easiest way to do that from what I remember is to open the model in the HL Model Viewer, it lists the attachment points and shows you where they are on the model. Or dump them dynamically. :) # ../testing/testing.py # ============================================================================ # >>...
by L'In20Cible
Sun Apr 05, 2015 6:29 pm
Forum: Plugin Development Support
Topic: CSGO: check player is disconnected
Replies: 11
Views: 7748

Oh, I thought that player matching any of the is_filters were yielded.
by L'In20Cible
Sun Apr 05, 2015 2:59 pm
Forum: Plugin Development Support
Topic: CSGO: check player is disconnected
Replies: 11
Views: 7748

I don't think that makes any sense to shutdown the server if there is still players playing. He either wanted to shut it down on empty, I guess. ^^

If no, then he should rather listen player_team so he knows when a team gets empty.
by L'In20Cible
Sun Apr 05, 2015 2:26 pm
Forum: Plugin Development Support
Topic: CSGO: check player is disconnected
Replies: 11
Views: 7748

Hm yeah, good point :smile:

Syntax: Select all

@Event
def player_disconnect(game_event):
# Are we the last player on the server?
if len(PlayerIter(['t', 'ct']) == 1:
engine_server.server_command('killserver;')
by L'In20Cible
Sun Apr 05, 2015 2:09 pm
Forum: Plugin Development Support
Topic: CSGO: check player is disconnected
Replies: 11
Views: 7748

Or even shorter ^^

Syntax: Select all

@Event
def player_disconnect(game_event):
# Are we the last player on the server?
if len(list(PlayerIter())) == 1:
engine_server.server_command('killserver;')
by L'In20Cible
Sat Apr 04, 2015 9:36 pm
Forum: Plugin Development Support
Topic: CSGO: update team score
Replies: 4
Views: 3848

Ayuto just tested and seems that the KeyValue retrieved using <CTeam>.team always returns zero. We will do the change but the following proved to works, for now:

Syntax: Select all

if entity.get_property_int('m_iTeamNum') != team:
by L'In20Cible
Sat Apr 04, 2015 9:22 pm
Forum: Plugin Development Support
Topic: CSGO: update team score
Replies: 4
Views: 3848


Go to advanced search