Search found 118 matches

by VinciT
Wed Mar 25, 2020 4:24 pm
Forum: Plugin Development Support
Topic: [CSGO] CBaseGrenade::BounceSound() offset
Replies: 1
Views: 112

Re: [CSGO] CBaseGrenade::BounceSound() offset

Took a while, but I found it! If anyone needs the offset, add this to your CBaseGrenade.ini: [virtual_function] [[bounce_sound]] offset_linux = 240 offset_windows = 239 And here's how you'd block the flashbang bounce sound: # ../flash_bounce/flash_bounce.py # Source.Python from entities.hooks import...
by VinciT
Wed Mar 25, 2020 3:38 am
Forum: Plugin Development Support
Topic: [CSGO] CBaseGrenade::BounceSound() offset
Replies: 1
Views: 112

[CSGO] CBaseGrenade::BounceSound() offset

I know it's a long shot, since they stripped the symbols from the binaries. But does anyone know the offset for this virtual function?
by VinciT
Sat Mar 21, 2020 10:44 pm
Forum: Plugin Development Support
Topic: [CSGO] Transparent character with action on "e"
Replies: 1
Views: 105

Re: [CSGO] Transparent character with action on "e"

Give this a shot: # ../transparent_model/transparent_model.py # Source.Python from colors import Color from commands import CommandReturn from commands.client import ClientCommand from entities.constants import RenderMode, SolidType from entities.entity import Entity from listeners import OnEntityOu...
by VinciT
Sat Feb 29, 2020 5:04 am
Forum: Plugin Development Support
Topic: Perfomance of trace rays
Replies: 3
Views: 739

Re: Perfomance of trace rays

I'm assuming you're using trace rays to check for walls? If that's the case, you can avoid using a lot of rays by getting the distance between the player and the starting position and seeing if it's within a certain radius before checking for walls. # ../get_players_in_sphere/get_players_in_sphere.p...
by VinciT
Tue Oct 22, 2019 2:18 am
Forum: Plugin Development Support
Topic: [HL2DM] GetPlayerMaxSpeed crashing
Replies: 4
Views: 714

Re: [HL2DM] GetPlayerMaxSpeed crashing

I got a couple of warnings(?) during server start-up: Message type 5431 wasn't declared, but we registered job CClientJobRequestAuthList to handle it? Message type 9900 wasn't declared, but we registered job ClientJobPeerChunkRequest to handle it? Message type 9503 wasn't declared, but we registered...
by VinciT
Sat Oct 19, 2019 4:44 pm
Forum: Plugin Development Support
Topic: [HL2DM] GetPlayerMaxSpeed crashing
Replies: 4
Views: 714

[HL2DM] GetPlayerMaxSpeed crashing

I'm trying to hook CBasePlayer::GetPlayerMaxSpeed() and the server (Windows) keeps crashing the moment I load the plugin. Here's my CBasePlayer.ini: [virtual_function] [[get_player_max_speed]] offset_linux = 438 offset_windows = 437 return_type = FLOAT And the plugin code: # ../max_speed_test/max_sp...
by VinciT
Thu Oct 17, 2019 12:40 am
Forum: Plugin Development Support
Topic: Finding a signature for Windows without a string
Replies: 3
Views: 698

Re: Finding a signature for Windows without a string

Actually, that function has two strings: HL2Player.SprintNoPower and HL2Player.SprintStart. Whoops.. You're right. I guess I didn't look at the entire function. Thank you for the scripts, they helped a lot. Signature Scanning MakeSig.idc (IDA script for making signature of selected code block) Do y...
by VinciT
Tue Oct 15, 2019 3:44 pm
Forum: Plugin Development Support
Topic: Finding a signature for Windows without a string
Replies: 3
Views: 698

Finding a signature for Windows without a string

I'm using IDA to find a couple of signatures for HL2DM, and I keep getting stuck with signatures that don't have any strings. The function itself doesn't have any strings, and neither do the xrefs.
How could I get a signature for a function like that? (e.g. _ZN11CHL2_Player14StartSprintingEv)
by VinciT
Wed Oct 02, 2019 12:46 am
Forum: Plugin Development Support
Topic: [C-Strike:Source] Change Weapon Model
Replies: 11
Views: 1629

Re: [C-Strike:Source] Change Weapon Model

Jesus.. You're right. The funny thing is, that's how I had it at first. But then I switched to the incorrect one, cause I was getting really strange results (double/mirrored viewmodels). And now I know why. The player has two viewmodels, and setting the one that has the m_nViewModelIndex property se...
by VinciT
Tue Oct 01, 2019 11:38 pm
Forum: Plugin Development Support
Topic: [C-Strike:Source] Change Weapon Model
Replies: 11
Views: 1629

Re: [C-Strike:Source] Change Weapon Model

Thanks for the pointers, L'In20Cible. I've updated the code in my post.
by VinciT
Mon Sep 30, 2019 10:28 pm
Forum: Plugin Development Support
Topic: [C-Strike:Source] Change Weapon Model
Replies: 11
Views: 1629

Re: [C-Strike:Source] Change Weapon Model

Thank you again, learned a lot by your well commented code. No problem! Glad I could help. The weapon still is opposite handed, i don't really know why. That's pretty odd, on my end the AK is showing up correctly: https://streamable.com/m01qm Maybe we have different models? I got the model from cs-...
by VinciT
Mon Sep 30, 2019 1:55 am
Forum: Plugin Development Support
Topic: [C-Strike:Source] Change Weapon Model
Replies: 11
Views: 1629

Re: [C-Strike:Source] Change Weapon Model

Hi RegWin32, welcome to the community! Hope you're having fun with SP. From what I can tell, you'll need to change two models. The firstperson model (viewmodel) and the thirdperson one (worldmodel). You can change the viewmodel by getting the predicted_viewmodel of the player and changing the m_nMod...
by VinciT
Fri Mar 01, 2019 9:13 pm
Forum: Plugin Development Support
Topic: [CSGO] TempEntityPreHook not working
Replies: 6
Views: 1207

Re: [CSGO] TempEntityPreHook not working

Awesome! That's exactly what I needed. Thanks L'In20Cible.
by VinciT
Fri Mar 01, 2019 5:40 pm
Forum: Plugin Development Support
Topic: [CSGO] TempEntityPreHook not working
Replies: 6
Views: 1207

Re: [CSGO] TempEntityPreHook not working

That's odd. There are no TempEntities being created but the hook does get called in SourceMod. Only when other players are firing their weapons though. The plugin I linked does work. I even added a debug print line to make sure the TempEntHook gets called. Here's the compiled plugin (couldn't attach...
by VinciT
Fri Mar 01, 2019 3:25 am
Forum: Plugin Development Support
Topic: [CSGO] TempEntityPreHook not working
Replies: 6
Views: 1207

[CSGO] TempEntityPreHook not working

I'm trying to hook the TempEntity (Shotgun Shot) used for weapon tracers and sounds, but it doesn't seem to work. # ../temp_ent_hook_test/temp_ent_hook_test.py # Source.Python from core import echo_console from effects.hooks import TempEntityPreHook @TempEntityPreHook('Shotgun Shot')...
by VinciT
Mon Feb 11, 2019 3:59 pm
Forum: Plugin Requests
Topic: Command: Weapon Speed modifier
Replies: 7
Views: 2286

Re: Command: Weapon Speed modifier

Whoops, don't know how I managed to replace that dot with an underscore, fixed!
by VinciT
Mon Feb 11, 2019 5:23 am
Forum: Plugin Requests
Topic: Command: Weapon Speed modifier
Replies: 7
Views: 2286

Re: Command: Weapon Speed modifier

Got it. I've replaced the hook with the listener in the post above. Thanks for your input guys!
by VinciT
Sun Feb 10, 2019 11:20 pm
Forum: Plugin Requests
Topic: Command: Weapon Speed modifier
Replies: 7
Views: 2286

Re: Command: Weapon Speed modifier

Changing weapon.set_datamap_property_float() to weapon.set_network_property_float() was causing this error when I tried earlier: [SP] Caught an Exception: Traceback (most recent call last): File "..\addons\source-python\packages\source-python\commands\typed.py", line 589, in on_command res...
by VinciT
Sun Feb 10, 2019 7:56 pm
Forum: Plugin Requests
Topic: Command: Weapon Speed modifier
Replies: 7
Views: 2286

Re: Command: Weapon Speed modifier

Was a bit busy lately so I couldn't make this sooner, hope you still need this. First things first, the fire rate part of the plugin works great in both CSS and CSGO, but the no spread / no recoil part only works flawlessly in CSS. In CSS, no matter what the player is doing while shooting (jumping, ...
by VinciT
Thu Nov 15, 2018 4:10 pm
Forum: Plugin Releases
Topic: [CSS/CSGO] Warcraft: Source
Replies: 78
Views: 17299

Re: [CSS/CSGO] Warcraft: Source

Awesome! I think WCS was the gamemode I played the most in CS:S, can't wait to play around with this.

Go to advanced search