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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 07-08-2018 , 01:39   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #61

I use the Crasher version: https://forums.alliedmods.net/showpo...1&postcount=35,
But the translation did not work.

But it worked the purchase using Bind of Keys.

bind "f2" "say! buy ak47" - Not working
bind "f3" "say! buy molotov" - Not working
bind "f4" "say! buy katana" - Not working
bind "f5" "say! buy pills" - Not working
bind "m" "say! buy medkit" - Not working.

The new version works the translation perfectly but the bind key to buy weapon, and others items do not work anymore. only one bind key is working:
bind "f1" "say! buy" - Still working.

Is it possible to use bind keys for your version.
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie
Mi.Cura is offline
rikka0w0
Member
Join Date: May 2018
Location: Sydney, Australia / Beij
Old 07-08-2018 , 11:16   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #62

Quote:
Originally Posted by Mi.Cura View Post
I use the Crasher version: https://forums.alliedmods.net/showpo...1&postcount=35,
But the translation did not work.

But it worked the purchase using Bind of Keys.

bind "f2" "say! buy ak47" - Not working
bind "f3" "say! buy molotov" - Not working
bind "f4" "say! buy katana" - Not working
bind "f5" "say! buy pills" - Not working
bind "m" "say! buy medkit" - Not working.

The new version works the translation perfectly but the bind key to buy weapon, and others items do not work anymore. only one bind key is working:
bind "f1" "say! buy" - Still working.

Is it possible to use bind keys for your version.
I didn't change any logic of the plugin, any feature from https://bitbucket.org/evilmaniac/points-system/ should be able to work.
I don't know about the "say !buy ak47" command, but I will try to find out what causes the problem.
__________________
rikka0w0 is offline
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 07-08-2018 , 11:40   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #63

I'm not sure if the Crasher version is the same as McFlurry.
But the Crasher version worked the bind keys.

https://forums.alliedmods.net/showpo...1&postcount=35

But your job in adding the translation to this new version worked perfectly.
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie

Last edited by Mi.Cura; 07-08-2018 at 11:41.
Mi.Cura is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 07-08-2018 , 17:04   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #64

It's the same as the one from their GitHub repository. I simply added support for the custom melee weapons pack that I uploaded.
__________________

Last edited by Psyk0tik; 07-08-2018 at 17:04.
Psyk0tik is offline
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 07-08-2018 , 19:48   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #65

Quote:
Originally Posted by Crasher_3637 View Post
It's the same as the one from their GitHub repository. I simply added support for the custom melee weapons pack that I uploaded.
How strange, I do not know why bind keys do not work.

But in your version you use ps_bess.smx
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie
Mi.Cura is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 07-21-2018 , 09:00   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #66

I've been away for about a year and a half, set up a new server with my usual select plugins, I get this error with both the SM 1.71 compiler page and 1.90 itself:

Code:
/groups/sourcemod/compiler-1.7/include/float.inc(240) : warning 219: local variable "value" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/files.inc(424) : warning 219: local variable "data" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/files.inc(448) : warning 219: local variable "data" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/keyvalues.inc(177) : warning 219: local variable "r" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/keyvalues.inc(177) : warning 219: local variable "a" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/clients.inc(361) : warning 219: local variable "client" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/usermessages.inc(255) : warning 219: local variable "client" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/halflife.inc(569) : warning 219: local variable "client" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/halflife.inc(569) : warning 219: local variable "title" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/halflife.inc(591) : warning 219: local variable "client" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/commandfilters.inc(97) : warning 219: local variable "client" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/helpers.inc(46) : warning 219: local variable "client" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/helpers.inc(155) : warning 219: local variable "client" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/helpers.inc(155) : warning 219: local variable "target" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/entity_prop_stocks.inc(384) : warning 219: local variable "r" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/entity_prop_stocks.inc(384) : warning 219: local variable "a" shadows a variable at a preceding level
/groups/sourcemod/compiler-1.7/include/entity_prop_stocks.inc(539) : warning 219: local variable "client" shadows a variable at a preceding level
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(1) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(9) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(12) : error 001: expected token: ";", but found "."
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(14) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(17) : error 021: symbol already defined: "window"
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(18) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(27) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(43) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(47) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(58) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(64) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(67) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(69) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(77) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(82) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(85) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(93) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(95) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(104) : error 021: symbol already defined: "data"
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(112) : error 021: symbol already defined: "data"
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(115) : error 021: symbol already defined: "data"
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(118) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(124) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(128) : error 021: symbol already defined: "data"
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(189) : error 010: invalid function or declaration
/home/groups/sourcemod/upload_tmp/phpaRYJYA.sp(195) : error 010: invalid function or declaration

Compilation aborted.
26 Errors.

Last edited by jking; 07-21-2018 at 09:51.
jking is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 07-21-2018 , 09:17   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #67

Yeah this plugin needs to be redone. The code is a mess.
__________________
Psyk0tik is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 07-26-2018 , 20:11   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #68

I don't know but I had scripts such as below working without the annoying persistent menu at the end...

sm_buy; menuselect 3; menuselect 1; menuselect 1; wait 15; slot10 // Buy Medkit

mind you the script works but I'm trying to figure out how to get rid of the persistent menu afterwards. I've tried a variety of timings but none seem to work any longer, where wait 50 was the sweet spot for me.

Update: fixed it with "wait 15" since my connection is 70/70 mb/s but more importantly you need the server cvar of "sv_allow_wait_command 1".

Last edited by jking; 07-29-2018 at 09:19.
jking is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 07-29-2018 , 09:20   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #69

Curious, have I missed something here, so why doesn't the Katana show up in the menu?
jking is offline
Sahrechiiz
Junior Member
Join Date: Jun 2016
Old 08-13-2018 , 08:35   Re: [L4D2] Points System (v1.8.0, 2016-04-11)
Reply With Quote #70

It won't be shown if katana doesn't exist in that round.
You need to unlock it if you want it to show in every round.
Sahrechiiz 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 21:49.


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