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

[L4D2] Points System (v1.8.0, 2016-04-11)


Post New Thread Reply   
 
Thread Tools Display Modes
kaden
New Member
Join Date: Sep 2020
Old 09-28-2020 , 22:34   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #101

Quote:
Originally Posted by rtokuda View Post
Errors happen when trying to compile ps_bess.sp through Get Plugin
Best way is compile the sp file by yourself
place the file in
addons/sourcemod/scripting/ps_bess.sp
addons/sourcemod/scripting/l4d2_points_system.sp
addons/sourcemod/scripting/include/ps_natives.inc
addons/sourcemod/translations/points_system.phrases.txt
addons/sourcemod/translations/points_system_menus.phrases.txt

than drag and drop ps_bess.sp and l4d2_points_system.sp to compile.exe
after the console window show up
if no error, you will find the .smx file in
addons/sourcemod/scripting/compiled/

than copy the smx file to the plugin folder
addons/sourcemod/plugins/
kaden is offline
xsirlalo
Junior Member
Join Date: Feb 2020
Location: México
Old 09-29-2020 , 22:16   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #102

Quote:
Originally Posted by kaden View Post
Hello friends,

I am newbie for mod plugin
I am not sure is this the correct way convert the syntax for SourceMod 1.11
The code is base #90 source code change

Since L4D2 updated
Added hunting knife, riotshield, shovel, pitchfork
But not sure the hunting knife and riotshield is work or not
Code:
l4d2_points_system.sp(748) : warning 203: symbol is never used: "addPointsToTeam"
Code size:           114432 bytes
Data size:            33688 bytes
Stack/heap size:      16384 bytes
Total requirements:  164504 bytes

1 Warning.
when starting the server it shows this

Code:
L 09/30/2020 - 02:14:02: [SM] Fatal error encountered parsing translation file "points_system_menus.phrases.txt"
L 09/30/2020 - 02:14:02: [SM] Error (line 426, column 3): Section beginning without a matching ending
xsirlalo is offline
Send a message via Skype™ to xsirlalo
kaden
New Member
Join Date: Sep 2020
Old 09-29-2020 , 22:28   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #103

Sorry, the points_system_menus.phrases.txt missing "}" at the end
I reupload the file

The warning show never used.
I am not sure the function addPointsToTeam need to keep or not
therefore I didn't remove it
you can just ignore the warning

Quote:
Originally Posted by xsirlalo View Post
Code:
l4d2_points_system.sp(748) : warning 203: symbol is never used: "addPointsToTeam"
Code size:           114432 bytes
Data size:            33688 bytes
Stack/heap size:      16384 bytes
Total requirements:  164504 bytes

1 Warning.
when starting the server it shows this

Code:
L 09/30/2020 - 02:14:02: [SM] Fatal error encountered parsing translation file "points_system_menus.phrases.txt"
L 09/30/2020 - 02:14:02: [SM] Error (line 426, column 3): Section beginning without a matching ending

Last edited by kaden; 09-29-2020 at 22:34.
kaden is offline
maclarens
Senior Member
Join Date: Jul 2020
Location: Kz
Old 10-07-2020 , 14:32   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #104

How add other language?!i try in points_system.phrases.txt add near with "en" "all Survivor players" my language phrases but its not working exept english..
and im found next bug,awp and scout have same settings cvar damage..

Last edited by maclarens; 10-07-2020 at 22:59. Reason: +1 bug
maclarens is offline
TypicalType
Member
Join Date: Mar 2020
Location: Brazil
Old 10-09-2020 , 17:42   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #105

Quote:
Originally Posted by kaden View Post
Hello friends,

I am newbie for mod plugin
I am not sure is this the correct way convert the syntax for SourceMod 1.11
The code is base #90 source code change

Since L4D2 updated
Added hunting knife, riotshield, shovel, pitchfork
But not sure the hunting knife and riotshield is work or not
bruh how i change the price of the items, i dont like how medkit costs 150

Last edited by TypicalType; 10-09-2020 at 17:42.
TypicalType is offline
maclarens
Senior Member
Join Date: Jul 2020
Location: Kz
Old 10-09-2020 , 21:45   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #106

Quote:
Originally Posted by TypicalType View Post
bruh how i change the price of the items, i dont like how medkit costs 150
l4d2_points_medkit"150" in l4d2_points_system.cfg

Last edited by maclarens; 10-09-2020 at 21:46.
maclarens is offline
winged_box
Senior Member
Join Date: Aug 2013
Location: Singapore
Old 10-31-2020 , 15:06   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #107

I'm using this for coop and points doesn't seems to reset when the player disconnected from the server.

When a new player joined and takeover a bot, he has all the points from the previous player.

How can I fix this?
winged_box is offline
MarcoG18
New Member
Join Date: Oct 2014
Old 11-02-2020 , 18:46   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #108

have a problem with this version of the plugins
l4d2_points_cikill_value e l4d2_points_headshots it's giving equal points
l4d2_points_protect does not work

Infected kill = 1 pontos
Headshot kill = 1 pontos
Infected kill + headshot = 2

Special kill = 1 pontos
Special headshot kill = 1 pontos
Special kill + headshot kill = 2

just like in the older version
in this version it would look really good too



Thanks Sillium

Last edited by MarcoG18; 11-08-2020 at 08:24.
MarcoG18 is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 11-08-2020 , 08:08   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #109

@MarcoG18: the report post button is not there to ask questions about a plugin or report problems with one

You can of course ask questions here in the thread and wait for support.

I restored your post with the problem description
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
Kira20
Junior Member
Join Date: Nov 2020
Old 01-26-2021 , 12:48   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #110

I have a slight issue with this plugin, using the ones provided by user @kaden

Changing the value of: "Points to start each round/map with." from default 100 to 10 for example does not work. Points started will always be 100. Anyone else facing this issue?

EDIT:

Could someone tell me which values/functions to change in the .sp file so that players points are reset everytime they leaves or when server shuts down. The player points stay the same currently no matter when the next campaign started or when someone left and joined again later. Its also preventing me from setting how many points to start with everytime a campaign or round starts.

EDIT 2:

Nevermind, seems like I've figured it out somehow by editing a few things in the .sp. Plugin working and operating as I intended as of now with no issues.

I will provide my own edited attempt of the l4d2_points_system.sp in case anyone needs it. I don't know what I'm doing honestly, I just self-taught myself and learn few stuffs here and there throughout this site, so my "edits" in the .sp file is laughable, but it works, so yeah . In this version, I adjusted the prices of items and points earned from kills. But of course, you can change the values to your liking with the generated cfg. I also disabled/ruled-out (is that the term?) the SQL database thingy and the Steam Group thing. So there will be no more random 100 points for example every 10 minutes, neither will your points be stored anymore when server shuts down and such. This is for people that would like the "old" way how this plugin was but with newer syntax and such, including updated items list, a big thanks to user @kaden. You will still need to get the rest of the files from his post.

Please use your own Sourcemod compile.exe located in the scripting folder. It will give 3 warnings upon compilation but the plugin will compile and works fine. I've tested this several times on my own end.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_points_system.sp - 501 views - 119.5 KB)

Last edited by Kira20; 01-29-2021 at 09:06.
Kira20 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:48.


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