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

[L4D2] Skills


Post New Thread Reply   
 
Thread Tools Display Modes
sonic155
Senior Member
Join Date: Mar 2019
Old 09-15-2021 , 18:36   Re: [L4D2] Skills
Reply With Quote #151

Quote:
L 09/15/2021 - 00:17:41: [SM] Exception reported: Client index 1079 is invalid
L 09/15/2021 - 00:17:41: [SM] Blaming: l4d2_critical_shot_m.smx
L 09/15/2021 - 00:17:41: [SM] Call stack trace:
L 09/15/2021 - 00:17:41: [SM] [0] GetClientTeam
L 09/15/2021 - 00:17:41: [SM] [1] Line 241, l4d2_critical_shot_m.sp::OnTakeDamage
L 09/15/2021 - 00:17:44: [SM] Exception reported: Client index 1079 is invalid
L 09/15/2021 - 00:17:44: [SM] Blaming: l4d2_critical_shot_m.smx
L 09/15/2021 - 00:17:44: [SM] Call stack trace:
L 09/15/2021 - 00:17:44: [SM] [0] GetClientTeam
L 09/15/2021 - 00:17:44: [SM] [1] Line 241, l4d2_critical_shot_m.sp::OnTakeDamage
L 09/15/2021 - 00:19:59: [SM] Exception reported: Client index 1076 is invalid
L 09/15/2021 - 00:19:59: [SM] Blaming: l4d2_critical_shot_m.smx
L 09/15/2021 - 00:19:59: [SM] Call stack trace:
L 09/15/2021 - 00:19:59: [SM] [0] GetClientTeam
L 09/15/2021 - 00:19:59: [SM] [1] Line 241, l4d2_critical_shot_m.sp::OnTakeDamage
L 09/15/2021 - 00:20:04: [SM] Exception reported: Client index 1076 is invalid
L 09/15/2021 - 00:20:04: [SM] Blaming: l4d2_critical_shot_m.smx
L 09/15/2021 - 00:20:04: [SM] Call stack trace:
L 09/15/2021 - 00:20:04: [SM] [0] GetClientTeam
L 09/15/2021 - 00:20:04: [SM] [1] Line 241, l4d2_critical_shot_m.sp::OnTakeDamage
L 09/15/2021 - 00:20:04: [SM] [3] AcceptEntityInput
L 09/15/2021 - 00:20:04: [SM] [4] Line 4715, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp::CreateExplosion
L 09/15/2021 - 00:20:04: [SM] [5] Line 3343, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp::Explode_Chemical
L 09/15/2021 - 00:20:04: [SM] [6] Line 2868, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp::Explode_Effects
L 09/15/2021 - 00:20:04: [SM] [7] Line 2797, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp:etonate_Grenade
L 09/15/2021 - 00:20:04: [SM] [8] Line 2748, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp::Timer_Detonate
L 09/15/2021 - 00:20:05: [SM] Exception reported: Client index 1076 is invalid
L 09/15/2021 - 00:20:05: [SM] Blaming: l4d2_critical_shot_m.smx
L 09/15/2021 - 00:20:05: [SM] Call stack trace:
L 09/15/2021 - 00:20:05: [SM] [0] GetClientTeam
L 09/15/2021 - 00:20:05: [SM] [1] Line 241, l4d2_critical_shot_m.sp::OnTakeDamage
L 09/15/2021 - 00:20:05: [SM] [3] AcceptEntityInput
L 09/15/2021 - 00:20:05: [SM] [4] Line 4715, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp::CreateExplosion
L 09/15/2021 - 00:20:05: [SM] [5] Line 3343, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp::Explode_Chemical
L 09/15/2021 - 00:20:05: [SM] [6] Line 2868, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp::Explode_Effects
L 09/15/2021 - 00:20:05: [SM] [7] Line 2830, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp::Timer_Repeat_Explod e
L 09/15/2021 - 00:20:05: [SM] Exception reported: Client index 1076 is invalid
L 09/15/2021 - 00:20:05: [SM] Blaming: l4d2_critical_shot_m.smx
L 09/15/2021 - 00:20:05: [SM] Call stack trace:
L 09/15/2021 - 00:20:05: [SM] [0] GetClientTeam
L 09/15/2021 - 00:20:05: [SM] [1] Line 241, l4d2_critical_shot_m.sp::OnTakeDamage
L 09/15/2021 - 00:20:05: [SM] Exception reported: Client index 1076 is invalid
L 09/15/2021 - 00:20:05: [SM] Blaming: l4d2_critical_shot_m.smx
L 09/15/2021 - 00:20:05: [SM] Call stack trace:
L 09/15/2021 - 00:20:05: [SM] [0] GetClientTeam
L 09/15/2021 - 00:20:05: [SM] [1] Line 241, l4d2_critical_shot_m.sp::OnTakeDamage
L 09/15/2021 - 00:20:05: [SM] Exception reported: Client index 1076 is invalid
L 09/15/2021 - 00:20:05: [SM] Blaming: l4d2_critical_shot_m.smx
L 09/15/2021 - 00:20:05: [SM] Call stack trace:
L 09/15/2021 - 00:20:05: [SM] [0] GetClientTeam
L 09/15/2021 - 00:20:05: [SM] [1] Line 241, l4d2_critical_shot_m.sp::OnTakeDamage
L 09/15/2021 - 00:20:05: [SM] Exception reported: Client index 1076 is invalid
L 09/15/2021 - 00:20:05: [SM] Blaming: l4d2_critical_shot_m.smx
L 09/15/2021 - 00:20:05: [SM] Call stack trace:
L 09/15/2021 - 00:20:05: [SM] [0] GetClientTeam
L 09/15/2021 - 00:20:05: [SM] [1] Line 241, l4d2_critical_shot_m.sp::OnTakeDamage
L 09/15/2021 - 00:20:05: [SM] Exception reported: Client index 1076 is invalid
L 09/15/2021 - 00:20:05: [SM] Blaming: l4d2_critical_shot_m.smx
L 09/15/2021 - 00:20:05: [SM] Call stack trace:
L 09/15/2021 - 00:20:05: [SM] [0] GetClientTeam
L 09/15/2021 - 00:20:05: [SM] [1] Line 241, l4d2_critical_shot_m.sp::OnTakeDamage
L 09/15/2021 - 00:20:05: [SM] Exception reported: Client index 1076 is invalid
L 09/15/2021 - 00:20:05: [SM] Blaming: l4d2_critical_shot_m.smx
L 09/15/2021 - 00:20:05: [SM] Call stack trace:
L 09/15/2021 - 00:20:05: [SM] [0] GetClientTeam
L 09/15/2021 - 00:20:05: [SM] [1] Line 241, l4d2_critical_shot_m.sp::OnTakeDamage
sonic155 is offline
sonic155
Senior Member
Join Date: Mar 2019
Old 09-15-2021 , 18:42   Re: [L4D2] Skills
Reply With Quote #152

L 09/15/2021 - 00:453: [SM] Call stack trace:
L 09/15/2021 - 00:453: [SM] [0] GetClientTeam
L 09/15/2021 - 00:453: [SM] [1] Line 241, l4d2_critical_shot_m.sp::OnTakeDamage
L 09/15/2021 - 00:453: [SM] [3] AcceptEntityInput
L 09/15/2021 - 00:453: [SM] [4] Line 119, C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\inclu de\Skills.inc::ForceDamageEntity
L 09/15/2021 - 00:453: [SM] [5] Line 127, l4d2_perfect_shove_m.sp::eEvent
L 09/15/2021 - 00:453: [SM] Exception reported: Client index 676 is invalid
L 09/15/2021 - 00:453: [SM] Blaming: l4d2_critical_shot_m.smx
sonic155 is offline
Beatles
Senior Member
Join Date: Feb 2014
Old 10-12-2021 , 01:20   Re: [L4D2] Skills
Reply With Quote #153

Quote:
Originally Posted by BHaType View Post
‫‬**҉First of all, thanks to these people:
Code:
→ ztar - for the "LittleFlower".
→ Silvers - for his signature "CPipeBombProjectile_Create", for perk Epic Molotov, for translations (old version), for some stocks, makefile.bat.
→ tPoncho - for some ideas for plugin & code
→ 达斯*维达 - for his stock "ForceDamageEntity" (lemon)
→ paegus - for some code
→ Alaina - for some code
→ Dragokas - for his way of throwing objects
→ Pricolist - for #pragma newdecls required (Old version)
→ sonic155 - for his ideas for plugin & full tests
Description:
Survivors can buy skills and various improvements for the money they get for killing special infected and can also buy improvements for the team for team points.
All purchases remain until the new Chapter begins.

Commands:
!skills - Opens the menu for shopping
!sa - Admin menu
!reload_perks - Allow admin to reload configs of perks



Changelog
Code:
0.0 - Release
0.1 
- Added perk Speed Up
- Fixes some perks
0.2 
- Fixed perk crafting, melee, ultra pipe bomb, anti damage.
- Added to !sa command to set team money.
0.3 
- Added cmd sm_reload_perks
- Fixed configs load
- Optimization of config load
0.4
- Some fixes.
0.5
- Fixed crafting
- Fixed error with melee++
- Added button back to upgrade menu
- Pipe bombs & molotovs will have hammerid to identify which one was created by perk
0.6
- Fixed conflict with Silvers plugin
Notes
I'll leave the old version if anyone needs it.
You can also use lightphoenix2 version of core which which provide more chat info...etc.
Hi bro, quick question, in l4d2_skills_core.zip how can I change the price of "Regenerate Health", it only costs 2 dollars and it is too easy to buy constantly.
Beatles is offline
lightphoenix2
Member
Join Date: Feb 2016
Old 10-12-2021 , 07:16   Re: [L4D2] Skills
Reply With Quote #154

Quote:
Originally Posted by Beatles View Post
Hi bro, quick question, in l4d2_skills_core.zip how can I change the price of "Regenerate Health", it only costs 2 dollars and it is too easy to buy constantly.
find the skills.cfg in \addons\sourcemod\data
Go to Team Improvements, you should see

"0"
"1"
"2"
"3"
"4"
"5"

These are the price, though I cant remember the number for Regenerate Health.
lightphoenix2 is offline
lightphoenix2
Member
Join Date: Feb 2016
Old 12-05-2021 , 13:20   Re: [L4D2] Skills
Reply With Quote #155

Hi, I'm including all the files needed for this plugin.
changelog
Code:
Added Ability to throw your Melee weapon to Melee++, Original: Link
Added Lethal Weapons, Non-passive, Original: Link
Added Auto Machine, Non-passive, Original: Link
Added Critical Shot, Passive
    - Fixed Critical Shot Error messages
Added Torchlight, Passive, Original: Link
Added Melee Range, Team Improvement
Added Pistol++, Passive, deals extra damage to all infected including common infected (At certain level you can press and hold your pistol to shoot, From: Link)
Added Reduce Friendly Fire, Passive, Chance to remove friendly fire

Skill Core changes:
Display damage done to Special infected, Tank and Witch and the amount of money earned from killing/dealing damage
Fixed Admin Set/Transfer money
Added Friendly Fire tracking - Will print Total Friendly Fire count when escaped

Currently Testing a feature where it will store your data using your steam ID instead of client ID due to players disconnecting and reconnecting and getting a different client ID
Ths applies to:
 - Player Balance
 - Friendly Fire Count
 - Passive: Sleight of Hand
Required Plugin:
Weapon Handling API

Let me know if there is any other issue.
Attached Files
File Type: zip Skills-V2.3.zip (394.3 KB, 147 views)

Last edited by lightphoenix2; 12-05-2021 at 23:26.
lightphoenix2 is offline
Nexzor
Junior Member
Join Date: Nov 2021
Old 02-01-2022 , 11:11   Re: [L4D2] Skills
Reply With Quote #156

Quote:
Originally Posted by lightphoenix2 View Post
Hi, I'm including all the files needed for this plugin.
changelog
Code:
Added Ability to throw your Melee weapon to Melee++, Original: Link
Added Lethal Weapons, Non-passive, Original: Link
Added Auto Machine, Non-passive, Original: Link
Added Critical Shot, Passive
    - Fixed Critical Shot Error messages
Added Torchlight, Passive, Original: Link
Added Melee Range, Team Improvement
Added Pistol++, Passive, deals extra damage to all infected including common infected (At certain level you can press and hold your pistol to shoot, From: Link)
Added Reduce Friendly Fire, Passive, Chance to remove friendly fire

Skill Core changes:
Display damage done to Special infected, Tank and Witch and the amount of money earned from killing/dealing damage
Fixed Admin Set/Transfer money
Added Friendly Fire tracking - Will print Total Friendly Fire count when escaped

Currently Testing a feature where it will store your data using your steam ID instead of client ID due to players disconnecting and reconnecting and getting a different client ID
Ths applies to:
 - Player Balance
 - Friendly Fire Count
 - Passive: Sleight of Hand
Required Plugin:
Weapon Handling API

Let me know if there is any other issue.
Hi, I just got the following error.

L 01/02/2022 - 10:58:56: [SM] Failed to load plugin "---\l4d2_pistol_damage_m.smx": Unable to load plugin (unsupported feature set; code is too new).
L 01/02/2022 - 10:58:56: [SM] Failed to load plugin "---\l4d2_skills_core_V2.3.smx": Unable to load plugin (unsupported feature set; code is too new).
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_airstrike_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_anitdamage_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_crafting_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_critical_shot_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_doublejump_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_epic_molotov_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_fastreload_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_helping_hand.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_lethal_v2_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_machine_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_melee_damage_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_Reduce_Friendly_Fire_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_sleight_of_hand_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_speed_up_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d2_ultra_pipe_bomb_m.smx": Native "RegisterPerk" was not found
L 01/02/2022 - 10:58:56: [SM] Unable to load plugin "---\l4d_flashlight_m.smx": Native "RegisterPerk" was not found

Any solution? //sorry for my English

Last edited by Nexzor; 02-01-2022 at 11:15.
Nexzor is offline
sonic155
Senior Member
Join Date: Mar 2019
Old 02-02-2022 , 15:57   Re: [L4D2] Skills
Reply With Quote #157

L 02/02/2022 - 13:56:22: Info (map "c1m1_hotel") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 20202.log")
L 02/02/2022 - 13:56:22: [SM] Unable to load extension "geoipcity.ext": Failed to open: C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\configs\geoip\G eoIPCity.dat
L 02/02/2022 - 13:56:22: [SM] Exception reported: Failed to create native "RegisterPerk", name is probably already in use
L 02/02/2022 - 13:56:22: [SM] Blaming: l4d2_skills_core_V2.3.smx
L 02/02/2022 - 13:56:22: [SM] Call stack trace:
L 02/02/2022 - 13:56:22: [SM] [0] CreateNative
L 02/02/2022 - 13:56:22: [SM] [1] Line 142, l4d2_skills_core_V2.3.sp::AskPluginLoad2
L 02/02/2022 - 13:56:22: [SM] Failed to load plugin "l4d2_skills_core_V2.3.smx": unexpected error 23 in AskPluginLoad callback.
sonic155 is offline
lightphoenix2
Member
Join Date: Feb 2016
Old 02-04-2022 , 16:29   Re: [L4D2] Skills
Reply With Quote #158

Quote:
Originally Posted by sonic155 View Post
L 02/02/2022 - 13:56:22: Info (map "c1m1_hotel") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 20202.log")
L 02/02/2022 - 13:56:22: [SM] Unable to load extension "geoipcity.ext": Failed to open: C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\configs\geoip\G eoIPCity.dat
L 02/02/2022 - 13:56:22: [SM] Exception reported: Failed to create native "RegisterPerk", name is probably already in use
L 02/02/2022 - 13:56:22: [SM] Blaming: l4d2_skills_core_V2.3.smx
L 02/02/2022 - 13:56:22: [SM] Call stack trace:
L 02/02/2022 - 13:56:22: [SM] [0] CreateNative
L 02/02/2022 - 13:56:22: [SM] [1] Line 142, l4d2_skills_core_V2.3.sp::AskPluginLoad2
L 02/02/2022 - 13:56:22: [SM] Failed to load plugin "l4d2_skills_core_V2.3.smx": unexpected error 23 in AskPluginLoad callback.
I am able to run it on Sourcemod 1.11 built 6837. Can you try that?
lightphoenix2 is offline
sonic155
Senior Member
Join Date: Mar 2019
Old 02-04-2022 , 16:51   Re: [L4D2] Skills
Reply With Quote #159

Quote:
Originally Posted by lightphoenix2 View Post
I am able to run it on Sourcemod 1.11 built 6837. Can you try that?
i got it working i didnt use the smx that you have up i used the SP to compile a smx that worked

~~~

im using the newest stable V of Sourcemod

anyway of disabling the FF counter i already have one that keeps track of FF having two overlaping is odd

Last edited by sonic155; 02-04-2022 at 16:52. Reason: adding info
sonic155 is offline
lightphoenix2
Member
Join Date: Feb 2016
Old 02-05-2022 , 00:18   Re: [L4D2] Skills
Reply With Quote #160

Quote:
Originally Posted by sonic155 View Post
i got it working i didnt use the smx that you have up i used the SP to compile a smx that worked

~~~

im using the newest stable V of Sourcemod

anyway of disabling the FF counter i already have one that keeps track of FF having two overlaping is odd
Oh, can you share your FF counter? I have some trouble with mine as they track the wrong FF, like a common hitting a player.
lightphoenix2 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 02:45.


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