Search found 114 matches

by VinciT
Tue Oct 22, 2019 2:18 am
Forum: Plugin Development Support
Topic: [HL2DM] GetPlayerMaxSpeed crashing
Replies: 4
Views: 323

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: 323

[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: 166

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: 166

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: 1006

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: 1006

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: 1006

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: 1006

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: 890

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: 890

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: 890

[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: 1675

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: 1675

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: 1675

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: 1675

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: 73
Views: 11382

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.
by VinciT
Sat Oct 20, 2018 8:54 pm
Forum: Plugin Development Support
Topic: [CSGO] Hooking AcceptInput
Replies: 10
Views: 3434

Re: [CSGO] Hooking AcceptInput

Ayuto, you're amazing! It works! Thank you so much.
by VinciT
Sat Oct 20, 2018 5:30 pm
Forum: Plugin Development Support
Topic: [CSGO] Hooking AcceptInput
Replies: 10
Views: 3434

Re: [CSGO] Hooking AcceptInput

-------------------------------------------------------- Checksum : 405a773ffd84ab3fe11824740fa5cb2b Date : 2018-10-20 17:27:09.301686 OS : Windows-8.1-6.3.9600 Game : csgo SP version : 663 Github commit : d13b5c9e380d021166ac6ab5ce487fafeea686e7 Server plugins: 00: Source.Python, (C) 2012-2018, So...
by VinciT
Sat Oct 20, 2018 4:35 pm
Forum: Plugin Development Support
Topic: [CSGO] Hooking AcceptInput
Replies: 10
Views: 3434

Re: [CSGO] Hooking AcceptInput

I tried using the offset with only one argument, to see if it would work, and it does! No more crashing. (<_memory.Pointer object at 0x0EDB4DA0>, 'Use') [[accept_input]] offset_linux = 41 offset_windows = 40 arguments = STRING return_type = BOOL But there's a problem - the buttons ar...
by VinciT
Sat Oct 20, 2018 3:44 pm
Forum: Plugin Development Support
Topic: [CSGO] Hooking AcceptInput
Replies: 10
Views: 3434

Re: [CSGO] Hooking AcceptInput

Thanks for the quick replies! Sadly, it's still crashing. I'm trying to get the player that used a func_button to trigger something else (in this case a func_door). I tried using the OnEntityOutput listener for this, but it doesn't trigger for some entities. So I thought I should hook the input inst...

Go to advanced search