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

[L4D1/2] CS:GO Quickswitch Reloading (v2.3, 2023-5-15)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Plugin ID:
6732
Plugin Version:
2.3
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Weapon Quickswitch Reloading in L4D1+2
Old 09-22-2019 , 10:31   [L4D1/2] CS:GO Quickswitch Reloading (v2.3, 2023-5-15)
Reply With Quote #1

Idea from CS:GO Quickswitch Reloading




Description:
1.Weapon Quickswitch Reloading in L4D, see videos above.

2.Quickswitch so it looks like professional. DO IT FOR STYLE

Install:
Download l4d_weapon_csgo_reload.smx for L4D1
Download l4d2_weapon_csgo_reload.smx for L4D2

-Source Code Download-
l4d_weapon_csgo_reload
l4d2_weapon_csgo_reload
__________________

Last edited by HarryPotter; 07-27-2023 at 06:33. Reason: 2.3 release
HarryPotter is offline
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 09-22-2019 , 14:13   Re: [L4D1/2] CS:GO Quickswitch Reloading
Reply With Quote #2

cvars for shotguns?
BlackSabbarh is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-23-2019 , 01:03   Re: [L4D1/2] CS:GO Quickswitch Reloading
Reply With Quote #3

Quote:
Originally Posted by BlackSabbarh View Post
cvars for shotguns?
shotguns no need Quickswitch Reloading
__________________
HarryPotter is offline
TiTz
Member
Join Date: Jan 2020
Old 03-23-2020 , 14:24   Re: [L4D1/2] CS:GO Quickswitch Reloading (v1.5, 2019-10-14)
Reply With Quote #4

Hello,

I'm getting this error when trying to compile the source using https://spider.limetech.io/

plugin.sp(20) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePa...x#Enum_Structs

plugin.sp(21) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePa...x#Enum_Structs

Regards

TiTz
TiTz is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 03-24-2020 , 02:04   Re: [L4D1/2] CS:GO Quickswitch Reloading (v1.5, 2019-10-14)
Reply With Quote #5

Quote:
Originally Posted by TiTz View Post
Hello,

I'm getting this error when trying to compile the source using https://spider.limetech.io/

plugin.sp(20) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePa...x#Enum_Structs

plugin.sp(21) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePa...x#Enum_Structs

Regards

TiTz
As it says, you are using the newest compiler.
Try using 1.9 or below
__________________
HarryPotter is offline
TiTz
Member
Join Date: Jan 2020
Old 03-28-2020 , 10:46   Re: [L4D1/2] CS:GO Quickswitch Reloading (v1.5, 2019-10-14)
Reply With Quote #6

Quote:
Originally Posted by fbef0102 View Post
As it says, you are using the newest compiler.
Try using 1.9 or below

Hi,
I used a lower compiler but the plugin won't start I get this error:

HTML Code:
L 03/28/2020 - 14:42:45: Error log file session closed.
L 03/28/2020 - 14:42:58: SourceMod error session started
L 03/28/2020 - 14:42:58: Info (map "l4d_airport01_greenhouse") (file "D:\servl4dt1\left4dead\addons\sourcemod\logs\errors_20200328.log")
L 03/28/2020 - 14:42:58: [SM] Failed to load plugin "l4d_weapon_csgo_reload.smx": Unable to load plugin (bad header).
My L4D1 server is running sourcemod 1.10

Regards

TiTz
TiTz is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 03-30-2020 , 10:29   Re: [L4D1/2] CS:GO Quickswitch Reloading (v1.5, 2019-10-14)
Reply With Quote #7

Quote:
Originally Posted by TiTz View Post
Hi,
I used a lower compiler but the plugin won't start I get this error:

HTML Code:
L 03/28/2020 - 14:42:45: Error log file session closed.
L 03/28/2020 - 14:42:58: SourceMod error session started
L 03/28/2020 - 14:42:58: Info (map "l4d_airport01_greenhouse") (file "D:\servl4dt1\left4dead\addons\sourcemod\logs\errors_20200328.log")
L 03/28/2020 - 14:42:58: [SM] Failed to load plugin "l4d_weapon_csgo_reload.smx": Unable to load plugin (bad header).
My L4D1 server is running sourcemod 1.10

Regards

TiTz
I never test Sourcemod 1.10 or newer

what if the smx file by clicking "Get Plugin"?
__________________
HarryPotter is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 03-30-2020 , 10:52   Re: [L4D1/2] CS:GO Quickswitch Reloading (v1.5, 2019-10-14)
Reply With Quote #8

fbef0102, plugin will not compile on sm v.1.11.

You can add here ID_WEAPON_MAX item:
Quote:
enum WeaponID
{
ID_NONE,
ID_PISTOL,
ID_DUAL_PISTOL,
ID_SMG,
ID_PUMPSHOTGUN,
ID_RIFLE,
ID_AUTOSHOTGUN,
ID_HUNTING_RIFLE,
ID_WEAPON_MAX
}
and replace
Code:
char Weapon_Name[WeaponID][32];
int WeaponAmmoOffest[WeaponID];
int WeaponMaxClip[WeaponID];
by:
Code:
char Weapon_Name[ID_WEAPON_MAX][32];
int WeaponAmmoOffest[ID_WEAPON_MAX];
int WeaponMaxClip[ID_WEAPON_MAX];
TiTz, looks like plugin file is damaged during uploading (or it is loaded too early, before uploading finished).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 04-02-2020 at 12:23.
Dragokas is offline
TiTz
Member
Join Date: Jan 2020
Old 03-30-2020 , 14:24   Re: [L4D1/2] CS:GO Quickswitch Reloading (v1.5, 2019-10-14)
Reply With Quote #9

Thanks Dragokas - I tried this, But I get this error when compiling it

Quote:
plugin.sp(17) : error 001: expected token: "}", but found "-identifier-"

plugin.sp(20) : error 008: must be a constant expression; assumed zero

plugin.sp(21) : error 008: must be a constant expression; assumed zero

plugin.sp(21) : error 009: invalid array size (negative, zero or out of bounds)

plugin.sp(22) : error 008: must be a constant expression; assumed zero

plugin.sp(22) : error 009: invalid array size (negative, zero or out of bounds)


Quote:
Originally Posted by Dragokas View Post
fbef0102, plugin will not compile on sm v.1.11.

You can add here ID_WEAPON_MAX item:
Code:
enum WeaponID
{
	ID_NONE,
	ID_PISTOL,
	ID_DUAL_PISTOL,
	ID_SMG,
	ID_PUMPSHOTGUN,
	ID_RIFLE,
	ID_AUTOSHOTGUN,
	ID_HUNTING_RIFLE,
	ID_WEAPON_MAX
}
and replace here:
Code:
char Weapon_Name[ID_WEAPON_MAX][32];
int WeaponAmmoOffest[ID_WEAPON_MAX];
int WeaponMaxClip[ID_WEAPON_MAX];
TiTz, looks like plugin file is damaged during uploading.
TiTz is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 03-30-2020 , 19:39   Re: [L4D1/2] CS:GO Quickswitch Reloading (v1.5, 2019-10-14)
Reply With Quote #10

I left my message for fbef0102 only. It doesn't matter for you. Just use original and re-upload on your host.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 03-30-2020 at 19:39.
Dragokas 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 09:09.


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