Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 10 of 10
Search took 0.00 seconds.
Search: Posts Made By: devilesk
Forum: Scripting 10-19-2020, 14:45
Replies: 8
Views: 1,776
Posted By devilesk
Re: [L4D2] Get Ghost Spawntime

I went ahead and actually tested it and found another issue. onPluginStart needs to be OnPluginStart or else it won't fire.

Also, as Marttt mentioned, the event only fires once when you become a...
Forum: Scripting 10-16-2020, 10:56
Replies: 8
Views: 1,776
Posted By devilesk
Re: [L4D2] Get Ghost Spawntime

new spawntime = GetEventFloat(event,"spawntime");

spawntime should be a float.


if (IsHumanPlayer(client) && IsPlayerGhost && GetClientTeam(client) == 3 && spawntime < 4)

I don't know what...
Forum: General 10-14-2020, 10:24
Replies: 55
Views: 22,183
Posted By devilesk
Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b

Is this it?

Thread 0 (crashed):
0: server_srv.so!CMoveableCamera::FollowTarget() + 0x3b
eip: 0xedac084b esp: 0xffc353c0 ebp: 0xffc35488 ebx: 0x0ba3fb30
esi: 0x00000000 edi:...
Forum: General 10-12-2020, 16:24
Replies: 55
Views: 22,183
Posted By devilesk
Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b

Same crash happened on my server https://crash.limetech.org/frx2js2o3xlq
It was in the second round of a map and I tried to switch teams from infected to survivor and it crashed. I was alone on the...
Forum: Plugins 09-27-2020, 22:34
Replies: 1,106
Views: 435,537
Posted By devilesk
Re: [L4D & L4D2] Left 4 DHooks Direct (1.23) [27-Sep-2020]

Thanks for the update. I tested the new version and it's returning the correct values now. :up:
Forum: Plugins 09-27-2020, 19:07
Replies: 1,106
Views: 435,537
Posted By devilesk
Re: [L4D & L4D2] Left 4 DHooks Direct (1.23) [27-Sep-2020]

It's wrong because the game is updating the values by team. Treating it as if you're looking up values by round will give you the wrong values when the game updates them in the following two cases:...
Forum: Plugins 09-27-2020, 16:16
Replies: 1,106
Views: 435,537
Posted By devilesk
Re: [L4D & L4D2] Left 4 DHooks Direct (1.23) [27-Sep-2020]

I looked at your code and although it's different it still suffers from the same problem.

left4dhooks


l4d2_direct


The problem in both is that it's just using the round number and not...
Forum: Plugins 09-27-2020, 00:47
Replies: 1,106
Views: 435,537
Posted By devilesk
Re: [L4D & L4D2] Left 4 DHooks Direct (1.23) [27-Sep-2020]

There's an issue with a few functions like L4D2Direct_GetVSTankToSpawnThisRound because it's trying to look up the values by round rather than by team. For example, if you're trying to look up...
Forum: Extensions 10-25-2019, 18:41
Replies: 1,094
Views: 858,839
Posted By devilesk
Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown

According to the description for L4D_NotifyNetworkStateChanged, it should be called before changing networked members of GameRules. What happens if you don't do this and use functions like...
Forum: General 10-22-2019, 11:50
Replies: 4
Views: 2,227
Posted By devilesk
Re: GetEntityCount problem.

From KyleS's comment on the API page for GetEntityCount (https://sm.alliedmods.net/api/index.php?fastload=show&id=57&):


Another discussion where this came up...
Showing results 1 to 10 of 10

 
Forum Jump

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


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