Raised This Month: $19 Target: $400
 4% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Dragokas
Forum: Scripting Yesterday, 17:45
Replies: 3
Views: 139
Posted By Dragokas
Re: #define directive parameter inside a string

Surely, it requires you casting or format specifier.

Hack:


#define SQL_STATEMENT_NOT_EXPIRED(%1) FormatInline("DurationMinutes != 0 AND TimestampGiven + 60 * DurationMinutes < %i", %1)
...
Forum: Plugins 05-09-2021, 14:17
Replies: 40
Views: 10,084
Posted By Dragokas
Forum: Plugins 05-09-2021, 13:49
Replies: 2
Views: 1,392
Posted By Dragokas
Forum: Plugins 05-08-2021, 10:39
Replies: 40
Views: 10,084
Posted By Dragokas
Forum: Scripting 05-08-2021, 08:48
Replies: 10
Views: 330
Posted By Dragokas
Re: [L4D] How accurately calculate tank damage with SDKHook?

cravenge, sorry, I don't understand the relationship to my topic. I don't change damage, only measure.
Forum: Scripting 05-07-2021, 13:56
Replies: 10
Views: 330
Posted By Dragokas
Re: [L4D] How accurately calculate tank damage with SDKHook?

Just as a final, for somebody else.

SDKHook version:


#pragma semicolon 1
#pragma newdecls required

#include <sourcemod>
#include <sdktools>
Forum: Scripting 05-07-2021, 13:16
Replies: 10
Views: 330
Posted By Dragokas
Re: [L4D] How accurately calculate tank damage with SDKHook?

Marttt, nice, I undertood what you suggested.

I did some tests, and now I know how it works.

When you do the last shoot (before incap), the damage is > than tank hp elapsed.
This is where...
Forum: Scripting 05-07-2021, 12:43
Replies: 10
Views: 330
Posted By Dragokas
Forum: Scripting 05-07-2021, 12:28
Replies: 10
Views: 330
Posted By Dragokas
Re: [L4D] How accurately calculate tank damage with SDKHook?

Thank you, Lux.



"player_hurt" still returns sometimes 984, but sometimes even 999.


public void OnPluginStart()
{
...
Forum: Scripting 05-07-2021, 08:16
Replies: 10
Views: 330
Posted By Dragokas
[L4D] How accurately calculate tank damage with SDKHook?

Hi,

I want to get damage deal to tank by player (solo) using SDKHook method.

Let's say tank hp is exactly 1000:


sm_cvar z_tank_health 1000
Forum: Scripting 05-07-2021, 05:51
Replies: 3
Views: 139
Posted By Dragokas
Re: #define directive parameter inside a string

#define SQL_STATEMENT_NOT_EXPIRED(%1) "DurationMinutes != 0 AND TimestampGiven + 60 * DurationMinutes < "...%1

public void OnPluginStart()
{
PrintToServer(SQL_STATEMENT_NOT_EXPIRED("10"));
}
Forum: Scripting 05-04-2021, 11:50
Replies: 14
Views: 1,022
Posted By Dragokas
Re: [L4D] is there a way to unblock certain map blocks?

It depends. Anyway, not a case when I did so. Actually, it's also interesting for me, what are conditions for breaking compatibility.


If you override TLS update by separate VPK with those .nav,...
Forum: General 05-04-2021, 08:23
Replies: 0
Views: 114
Posted By Dragokas
[L4D] Crash on CUserManager::DeleteUserBySteamID

I don't have much info about it. Crash is rare.

Any ideas?

Program terminated with signal 6, Aborted.
#0 0xf777dd55 in __kernel_vsyscall ()
#0 0xf777dd55 in __kernel_vsyscall ()
#1 ...
Forum: Scripting 05-03-2021, 15:37
Replies: 26
Views: 1,604
Posted By Dragokas
Re: [L4D2] Tank hits multi players with one punch in Coop?

I remember Silvers also implemented a walkaround against this not so long (at least, in the latest plugins).
Forum: Scripting 05-03-2021, 15:34
Replies: 26
Views: 1,604
Posted By Dragokas
Re: [L4D2] Tank hits multi players with one punch in Coop?

btw, Forgetest, I made pull request for adding L4D1 linux support (without breaking anything else).
Forum: Scripting 05-03-2021, 15:30
Replies: 14
Views: 1,022
Posted By Dragokas
Re: [L4D] is there a way to unblock certain map blocks?

You guys can order a paid request from @Vit_amin (https://forums.alliedmods.net/member.php?u=265639) for editing .nav and anything related to bots navigation. He is a professional.
But, ensure Valve...
Forum: Scripting 05-03-2021, 15:23
Replies: 14
Views: 1,022
Posted By Dragokas
Re: [L4D] is there a way to unblock certain map blocks?

No. You are able to partially remove static as well with .lmp, but you'll receive a weird behaviour like "floating" collision.
But, that requires you have original source code of the map.

The...
Forum: Plugins 05-02-2021, 11:37
Replies: 40
Views: 10,084
Posted By Dragokas
Forum: Plugins 05-02-2021, 11:30
Replies: 8
Views: 536
Posted By Dragokas
Forum: Plugins 05-02-2021, 11:23
Replies: 8
Views: 536
Posted By Dragokas
Re: [L4D1 & L4D2] Zombie limits

Updated.



For better witch number controlling experience it is recommended to use together with [L4D1 & L4D2] Multi witches (https://forums.alliedmods.net/showthread.php?t=332146), allowing to...
Forum: Plugins 05-01-2021, 12:46
Replies: 8
Views: 536
Posted By Dragokas
Re: [L4D1 & L4D2] Zombie limits

Ok, I checked, it doesn't produce acid.
Forum: Plugins 05-01-2021, 12:31
Replies: 8
Views: 536
Posted By Dragokas
Re: [L4D1 & L4D2] Zombie limits

Die within 0.1 sec for safe purposes (and, likely leave her spit). Does it matter? Anyway, it is spawned in safe place.
Otherwise, particles can infinitely cycle.
Forum: Plugins 05-01-2021, 11:29
Replies: 8
Views: 536
Posted By Dragokas
[L4D1 & L4D2] Zombie limits

Purpose:
- Prevents server lags / low sv, when map/director decides to spawn too many zombies.


Description:
- Plugin instantly kills common zombies / special infected when their total...
Forum: Plugins 04-29-2021, 14:51
Replies: 24
Views: 2,771
Posted By Dragokas
Re: [L4D1 & L4D2] Votemute (no black screen)

Are you sure you joined with mic on?

According to your logs there are 15 seconds elapsed since client 1 joined the team until start to speak.



If this is the case, I dunno how to construct...
Forum: Plugins 04-29-2021, 13:59
Replies: 24
Views: 2,771
Posted By Dragokas
Re: [L4D1 & L4D2] Votemute (no black screen)

I forgot to say, this feature cannot work with SM < lower 1.11.

Log missing required info.
Showing results 1 to 25 of 500

 
Forum Jump

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


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