Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 44
Search took 0.00 seconds.
Search: Posts Made By: V952
Forum: Plugins 11-13-2015, 07:53
Replies: 5
Views: 5,468
Posted By V952
Shotgun AltFire Lag-Compensation Fix

Everyone in HL2DM knows that shotgun double fire is broken due to invalid checks in SDK C++ code. The fix is very simple - you have to press IN_ATTACK and IN_ATTACK2 the same tick, but it's kinda...
Forum: Scripting 01-10-2014, 12:37
Replies: 7
Views: 2,612
Posted By V952
Re: How to force full entity data update?

Ok. I've solved my problem. The bug is caused if client receives entity destroy packet before CNetworkVar change packet or simply if the active weapon was changed. The way to solve the problem is to...
Forum: Scripting 01-09-2014, 10:36
Replies: 7
Views: 2,612
Posted By V952
Re: How to force full entity data update?

I guess this is the only way :c
Forum: Scripting 01-08-2014, 19:10
Replies: 7
Views: 2,612
Posted By V952
Re: How to force full entity data update?

sv_pushaway_clientside_size is a cvar that determines "Minimum size of pushback objects". In my case there is NO pushaway objects at all as I'm running HL2DM, not CSS! In HL2DM turbophysics is not...
Forum: Scripting 01-08-2014, 10:05
Replies: 7
Views: 2,612
Posted By V952
Re: How to force full entity data update?

Do you mean pEntity->AddEFlags(EFL_SERVER_ONLY); ? This will work only inside CEntityFactoryDictionary::Create while it's creating an entity, if I add this flag after it's already created it will do...
Forum: Scripting 01-08-2014, 09:44
Replies: 38
Views: 8,618
Posted By V952
Re: Client index 0 is invalid?

...
// Hook:
SDKHook(pEntity, SDKHook_OnTakeDamage, OnEntityTakeDamage);
...
...
public Action:OnEntityTakeDamage(victim, &attacker, &inflictor, &Float:damage, &damagetype)
{
...
//...
Forum: Scripting 01-08-2014, 09:12
Replies: 38
Views: 8,618
Posted By V952
Re: Client index 0 is invalid?

Try using OnTakeDamage virtual function hook. While in callback - use SDKHooks's TakeDamage function to damage entities; it'll not cause recursive event re-firing.
Forum: Scripting 01-08-2014, 09:10
Replies: 38
Views: 8,618
Posted By V952
Re: Client index 0 is invalid?

And your event will be fired again, where attacker == victim && attacker's team == victim's team...
Forum: Scripting 01-08-2014, 08:58
Replies: 38
Views: 8,618
Posted By V952
Re: Client index 0 is invalid?

You are performing recursive damaging of yourself and getting your callback fired again and again and again.... this is not the correct way of doing it.
Forum: Scripting 01-08-2014, 00:09
Replies: 38
Views: 8,618
Posted By V952
Re: Client index 0 is invalid?

Oh my....

Nothing strange here?
P.S.: Second line.
Forum: Scripting 01-08-2014, 00:01
Replies: 10
Views: 2,753
Posted By V952
Re: How to get an entity's owner?

Try to use m_hOwnerEntity instead of m_hOwner. Add classname check because not all entities have m_hOwner field, you will have a bunch of errors.
P.S.: To catch primary attack of the weapon you have...
Forum: Scripting 01-07-2014, 23:31
Replies: 7
Views: 2,612
Posted By V952
How to force full entity data update?

Mod: HL2DM
Problem: When I die with a prop in my gravity gun, clientside is trying to predict it's position even though I'm already dead and the gravity gun is removed from the world. When I try to...
Forum: Coding MM:S Plugins & SM Extensions 11-21-2013, 05:41
Replies: 369
Views: 259,680
Posted By V952
Re: Signature Request Thread

Mod: HL2DM
OS: Windows
-Empty server without SourceMod or MetaMod
-There is my C++ plugin

Sometimes I have crashes in vphysics.dll, but I haven't use it in my plugin yet. I have this signature:...
Forum: Scripting 06-12-2013, 14:11
Replies: 7
Views: 3,403
Posted By V952
Re: Play audio files via Voice Chanel of SourceTV bot?

This is a known thing to all of us...
Firstly set sv_use_steam_voice to 0.
Then you have to set voice_inputfromfile 1.
Fake clients are "players" too and their game dir is a server dir, so if you...
Forum: Scripting 06-11-2013, 20:19
Replies: 7
Views: 3,403
Posted By V952
Re: Play audio files via Voice Chanel of SourceTV bot?

I've found the way... but to get it finaly work i have to figure out how to force bot to hold +voicerecord. Does anyone know how to do this?
Forum: Coding MM:S Plugins & SM Extensions 05-26-2013, 12:00
Replies: 369
Views: 259,680
Posted By V952
Re: Signature Request Thread

I found it!

"CSatchelCharge_CreateEffects"
{
"library" "server"
"windows"...
Forum: Coding MM:S Plugins & SM Extensions 05-26-2013, 10:52
Replies: 369
Views: 259,680
Posted By V952
Re: Signature Request Thread

I've opened IDA and found this sequence... it's:

void CSatchelCharge::Spawn( void )

not

void CSatchelCharge::CreateEffects( void )

Not sure if i can fix this by myself... i have no...
Forum: Coding MM:S Plugins & SM Extensions 05-26-2013, 05:52
Replies: 369
Views: 259,680
Posted By V952
Re: Signature Request Thread

Hmm... the detour works, but when it's fired, npc_satchel is not spawned O_o
DETOUR_DECL_STATIC0(CSatchelCharge_CreateEffects, void)
{...
Forum: Coding MM:S Plugins & SM Extensions 05-26-2013, 05:24
Replies: 369
Views: 259,680
Posted By V952
Re: Signature Request Thread

Thank you very much for your help, you saved my day:)
Forum: Coding MM:S Plugins & SM Extensions 05-20-2013, 07:35
Replies: 369
Views: 259,680
Posted By V952
Re: Signature Request Thread

As it goes well, could you please find the same for npc_satchel:3
void CSatchelCharge::CreateEffects(void)
Forum: Coding MM:S Plugins & SM Extensions 05-20-2013, 07:17
Replies: 369
Views: 259,680
Posted By V952
Re: Signature Request Thread

Thank you too much :3
Compiling extension to check this)
...Oh yeah! Works perfect!
Forum: Coding MM:S Plugins & SM Extensions 05-09-2013, 18:01
Replies: 369
Views: 259,680
Posted By V952
Re: Signature Request Thread

void CGrenadeFrag::CreateEffects(void)
Game - HL2DM
Forum: Scripting 05-01-2013, 14:52
Replies: 7
Views: 3,403
Posted By V952
Re: Play audio files via Voice Chanel of SourceTV bot?

Hey, developers, as soon as anybody has undefined symbol "client" you are the first. When difficult questions... noone answers :down:
Forum: Scripting 05-01-2013, 06:59
Replies: 5
Views: 1,285
Posted By V952
Re: Displaying info in MOTD

Yes the method exists and is confirmed in pre-orangebox HL2DM, but i realy don't know how to do this. I was trying to make some progress on it, but i failed. Also for your purpose it'd be much easier...
Forum: Scripting 05-01-2013, 06:54
Replies: 7
Views: 3,403
Posted By V952
Play audio files via Voice Chanel of SourceTV bot?

Hello everyone! I'm working on HL2DM. I saw one man made SourceTV bot speaking via Voice Chat by playing some phrases and music WITHOUT uploading them to client. I was interested in it and googling...
Showing results 1 to 25 of 44

 
Forum Jump

All times are GMT -4. The time now is 09:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode