Search found 32 matches

by canibozz
Sun Apr 15, 2018 5:16 pm
Forum: Plugin Development Support
Topic: Particle System
Replies: 5
Views: 3723

Re: Particle System

Bump, iam struggling to spawn anything in CS:GO, tried out different particles but nothings spawning. https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/addons/source-python/data/source-python/effects/CTEBloodSprite.ini Can you explain what drop_model_index = m_nDropModel spray_mode...
by canibozz
Fri Apr 13, 2018 11:34 am
Forum: Plugin Development Support
Topic: Disabling game specific sounds
Replies: 13
Views: 10296

Re: Disabling game specific sounds

'Body Drop Sounds',
'Headshot Sound',
'Death Sound',
'Weapon Shoot Sounds',
'Step sounds'

Cheers!
by canibozz
Fri Apr 13, 2018 10:45 am
Forum: Plugin Development Support
Topic: Prehooking Get Hooking Points?
Replies: 3
Views: 2773

Re: Prehooking Get Hooking Points?

I wanted to remove all weapons spawning at the round_start event.

How can i sig scan without using ollydbg?

Iam getting the error:

Code: Select all

ValueError: Could not find symbol: _Z18CreateEntityByNamePKci
by canibozz
Fri Apr 13, 2018 10:24 am
Forum: Plugin Development Support
Topic: Prehooking Get Hooking Points?
Replies: 3
Views: 2773

Prehooking Get Hooking Points?

Hello guys, browsing the forum iam seeing alot of the find_binary stuff like this: server = memory.find_binary('server', False) PICK_AIM_SPOT = server['_ZN6CCSBot14PickNewAimSpotEv'].make_function( Convention.THISCALL, (DataType.POINTER,), DataType.INT ) @PostHook(PICK_AIM_SPOT) def post_pick_aim_sp...
by canibozz
Fri Apr 13, 2018 9:22 am
Forum: Plugin Development Support
Topic: Disabling game specific sounds
Replies: 13
Views: 10296

Re: Disabling game specific sounds

I run into the same problem. Iam not expecting spoon feeding answers just maybe some code snippets. I tried to search how to PreHook the function which calls EmitSound, EmitSentenceByIndex and EmitAmbientSound. Sadly i couldn't find it in the SDK nor in the docs of sourcepython. I found a get_virtua...
by canibozz
Thu Apr 12, 2018 10:05 pm
Forum: Plugin Development Support
Topic: Particle System
Replies: 5
Views: 3723

Re: Particle System

That fixed my error but didnt help that my particle actually spawns. Found this https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/addons/source-python/data/source-python/effects/CTEBloodSprite.ini Can you explain what drop_model_index = m_nDropModel spray_model_index = m_nSprayMode...
by canibozz
Thu Apr 12, 2018 12:48 pm
Forum: Plugin Development Support
Topic: Particle System
Replies: 5
Views: 3723

Particle System

Hello, game: CSGO. since all topics are a bit outdated about the particle system and after checking the source i couldn't find a solution here i am. This is my current code: @Event('server_spawn') def load_particles(game_event): engine_server.precache_generic('particl...
by canibozz
Thu Apr 12, 2018 9:55 am
Forum: Plugin Development Support
Topic: Block Player Buttons
Replies: 10
Views: 6931

Re: Block Player Buttons

This could be improved a little bit more. Also, I just realized that we store that property in our entity data already: https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/addons/source-python/data/source-python/entities/CBaseCombatWeapon.ini#L9 Improved it further: zoomWeaponsArr =...
by canibozz
Wed Apr 11, 2018 12:19 pm
Forum: Plugin Development Support
Topic: Play Sound for Attacker
Replies: 1
Views: 1732

Play Sound for Attacker

Hello, iam trying to play a sound for the attacker. Sadly i dont know where to start to debug since i don't get any error messages, etc. Here my code so far: @EntityPreHook(EntityCondition.is_human_player, 'on_take_damage') def _pre_take_damage(stack_data): take_damage_info =...
by canibozz
Wed Apr 11, 2018 11:11 am
Forum: Plugin Development Support
Topic: Block Player Buttons
Replies: 10
Views: 6931

Re: Block Player Buttons

Here the fully working code for me: (CSGO) @OnPlayerRunCommand def on_player_run_command(player, user_cmd): primaryWeapon = player.primary if primaryWeapon is not None: next_secondary_attack = primaryWeapon.get_property_float('LocalActiveWeaponData.m_flNextSecondaryAttack') i...
by canibozz
Wed Apr 11, 2018 10:04 am
Forum: Plugin Development Support
Topic: Block Player Buttons
Replies: 10
Views: 6931

Re: Block Player Buttons

Hey decompile, thanks for your answer. Sadly the entity type player doesn't has the property 'm_flNextSecondaryAttack'. I tried: @OnPlayerRunCommand def on_player_run_command(player, user_cmd): next_secondary_attack = player.get_key_value_float('m_flNextSecondaryAttack') play...
by canibozz
Wed Apr 11, 2018 8:51 am
Forum: Plugin Development Support
Topic: Block Player Buttons
Replies: 10
Views: 6931

Re: Block Player Buttons

Hello, this is an old topic but i recently struggled while working with this. Iam using @OnPlayerRunCommand def on_player_run_command(player, user_cmd): user_cmd.buttons &= ~PlayerButtons.ATTACK2 This is working but not perfectly. The player is still be able to zoom for 1ms until my scri...

Go to advanced search