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

Showing results 1 to 25 of 108
Search took 0.01 seconds.
Search: Posts Made By: pan0s
Forum: Plugins 11-01-2023, 22:58
Replies: 154
Views: 63,464
Posted By pan0s
Re: [L4D2] Shop [v4.5 | 20 March 2022]

It is because some map may not have the melee, so there is a checking for buying melee.

else if(StrEqual(weaponName, "weapon_melee"))
{
if (StrContains(weaponName, melee, false) ==...
Forum: Plugins 10-14-2023, 10:37
Replies: 154
Views: 63,464
Posted By pan0s
Re: [L4D2] Shop [v4.5 | 20 March 2022]

Your logic is almost correct, but there is also a situation (LoadPoints) to reset the player's SF.
If you want to keep the player's SF (round) until the player dies, just comment the line

int...
Forum: Plugins 08-09-2023, 06:39
Replies: 19
Views: 13,184
Posted By pan0s
Re: [L4D2] Menu [v1.2 | 23 May 2021]

You can change the size

char g_sCmds[21][32];
char g_sCvar_cmds[512];


Where 21 means the length of comments on the menu, 32 denotes the text length of each commend,
and 512 represents the...
Forum: Plugins 06-29-2023, 17:24
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

Try using this #73 (https://forums.alliedmods.net/showpost.php?p=2803018&postcount=73)
Forum: Plugins 06-24-2023, 05:01
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

You can comment the log message in line 465 in the source.
Forum: Plugins 05-25-2023, 17:20
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

it may conflict with some plugins, you need to check them.

Or maybe you can try to add

HookEvent("player_team", Event_BlockBroadcast, EventHookMode_Pre);

below //Join Hook
Forum: Plugins 05-15-2023, 08:09
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

Thank you for your suggestion, but I don't have time to maintain this plugin anymore.
If you want to add this feature, you can refer to the HandleCmdEff,
the constant variables are from srs_cv.inc.
Forum: Plugins 05-15-2023, 07:55
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

l4d2_srs.zip is the first release
l4d2_srs_v2.5.zip is the latest version, you can read the change log for reference.
Forum: Plugins 04-24-2023, 10:32
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

This is the problem, 172.18.240.1:27015 is private IP, and the player's address is 'loopback'.
You can check it from https://www.iplocation.net/
Forum: Plugins 04-22-2023, 16:37
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

You can check it from the server by the server command 'status'.
And then you can copy and paste the players' IP to the internet website which is for IP location check.
If the IP location website...
Forum: Plugins 04-19-2023, 22:25
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

Do the player's IP address correct?
Note that if it is not public IP, it will show [--].
Forum: Plugins 04-18-2023, 21:05
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

I provided files at #73, click it to download. You can try it.
Forum: Plugins 04-18-2023, 17:45
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

It is the reason.
Extract this file (https://drive.google.com/file/d/1HLPHtUXDT3WA4tqK0fIxJbDKcrLYOrL9/view?usp=share_link) sourcemod/data/
Note that folder GeoResolver is required into the data...
Forum: Plugins 04-17-2023, 12:41
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

First, you need to make sure that the SRS plugin is running on your server.
Second, please provide the latest error log which includes the keyword 'SRS'.
log files are in the path 'sourcemod/logs'
Forum: Plugins 03-27-2023, 11:37
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

#47 (https://forums.alliedmods.net/showpost.php?p=2790628&postcount=47)
Forum: Plugins 10-27-2022, 13:14
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

I don't set up a mysql server to test,
but it should be just like that

SELECT *
FROM (
SELECT RANK() OVER(ORDER BY t.score DESC, t.CreatedDate DESC) AS globalRank, *
FROM (SELECT * FROM...
Forum: Plugins 10-08-2022, 06:43
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

Do you have any plugin that reset player's data?

Just like eyal282 mentioned,

The solution is that you need to create a buffer attribute
Player g_playersBuffer[MAXPLAYERS + 1];
when you see...
Forum: Plugins 10-08-2022, 06:23
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

You may try changing here to MYSQL database name directly?
#define DATABASE "clientprefs" //SQLITE
Forum: Plugins 10-08-2022, 06:10
Replies: 102
Views: 34,348
Posted By pan0s
Re: [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]

It is my edited version for your reference.
#1 is highlighted.

But I have no idea why I recompile it by new version sourcemod, the display has some problems.
In fact, compiling it by old sm...
Forum: Plugins 10-08-2022, 05:56
Replies: 154
Views: 63,464
Posted By pan0s
Re: [L4D2] Shop [v4.5 | 20 March 2022]

Yes, you can do it by following my guideline..
Forum: Plugins 10-08-2022, 05:55
Replies: 154
Views: 63,464
Posted By pan0s
Re: [L4D2] Shop [v4.5 | 20 March 2022]

Search KillPoints

Replace

if(AddPoints(client, points))
CPrintToChat(client, "%T%T%T%T","SYSTEM", client, "KILLED_INFECTED", client, cvar_earn_infected_num.IntValue, "REWARD_POINTS",...
Forum: Plugins 04-29-2022, 14:25
Replies: 154
Views: 63,464
Posted By pan0s
Re: [L4D2] Shop [v4.5 | 20 March 2022]

Just follow the guideline
Way to add a new SF.
Forum: Plugins 04-29-2022, 14:24
Replies: 154
Views: 63,464
Posted By pan0s
Re: [L4D2] Shop [v4.5 | 20 March 2022]

If I don't remember wrong, handle will be cleared after map changed.
For IPreparedQuery issue, it is because every time round end/start or player joins the game, that will be called once every time....
Forum: Plugins 04-02-2022, 10:05
Replies: 154
Views: 63,464
Posted By pan0s
Forum: Plugins 03-31-2022, 20:10
Replies: 154
Views: 63,464
Posted By pan0s
Re: [L4D2] Shop [v4.5 | 20 March 2022]

put all .sp into the compile.exe
Showing results 1 to 25 of 108

 
Forum Jump

All times are GMT -4. The time now is 14:22.


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