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

[L4D/2]Incapped Weapons


Post New Thread Reply   
 
Thread Tools Display Modes
MasterMind420
BANNED
Join Date: Nov 2010
Old 01-16-2020 , 19:47   Re: [L4D2/L4D?]Incapped Weapons
Reply With Quote #11

L 01/16/2020 - 16:43:53: [SM] Unable to load plugin "incapped_weapons.smx": Native "InfoEditor_GetString" was not found

Everything is installed and where it should be...compiled with latest sourcemod 1.10...
MasterMind420 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-16-2020 , 19:51   Re: [L4D2/L4D?]Incapped Weapons
Reply With Quote #12

Quote:
Originally Posted by MasterMind420 View Post
L 01/16/2020 - 16:43:53: [SM] Unable to load plugin "incapped_weapons.smx": Native "InfoEditor_GetString" was not found

Everything is installed and where it should be...compiled with latest sourcemod 1.10...
This is because you're missing the Info Editor plugin. See main post.
__________________
Silvers is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 01-16-2020 , 19:54   Re: [L4D2/L4D?]Incapped Weapons
Reply With Quote #13

Quote:
Originally Posted by strikeraot View Post
can't load it, too
Update Silvers Info Editor to latest version...I had the same problem and fixed it.
MasterMind420 is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 01-16-2020 , 19:59   Re: [L4D2/L4D?]Incapped Weapons
Reply With Quote #14

Quote:
Originally Posted by Silvers View Post
This is because you're missing the Info Editor plugin. See main post.
It was installed just an older version, something I rarely do is forget to update plugins ;)
MasterMind420 is offline
strikeraot
Senior Member
Join Date: Dec 2018
Location: Viet Nam
Old 01-20-2020 , 01:50   Re: [L4D2/L4D?]Incapped Weapons
Reply With Quote #15

I installed successfully plugin, but still cannot use any weapon when incapped.

Maybe i wrong something?
Quote:
SCRIPT PERF WARNING --- "<lambda or free run script>" ran long at 3.668045ms
TRUE DMG paused the game
] sm plugins reload l4d_info_editor
[SM] Plugin [L4D & L4D2] Mission and Weapons - Info Editor reloaded successfully.
] sm plugins load incapped_weapons
[SM] Plugin incapped_weapons.smx is already loaded.
TRUE DMG unpaused the game
both they loaded successfully, i also had incapped_weapons_classlist.cfg in sourcemod/data

Last edited by strikeraot; 01-20-2020 at 02:03.
strikeraot is offline
strikeraot
Senior Member
Join Date: Dec 2018
Location: Viet Nam
Old 01-20-2020 , 02:15   Re: [L4D2/L4D?]Incapped Weapons
Reply With Quote #16

Quote:
] meta list
Listing 6 plugins:
[01] L4DToolZ (1.0.0.9h-unknown) by Ivailosp
[02] SourceMod (1.8.0.6050) by AlliedModders LLC
[03] DHooks (2.2.0-detours6) by Dr!fter
[04] SDK Tools (1.8.0.6050) by AlliedModders LLC
[05] SDK Hooks (1.8.0.6050) by AlliedModders LLC
[06] Left 4 Downtown 2 Extension (0.5.4.2) by Igor "Downtown1" Smirnov / Andrew "XBetaAlpha" Burrows / AtomicStryker / Michael "ProdigySim" Busby
strikeraot is offline
xZk
Senior Member
Join Date: Nov 2017
Location: cl
Old 01-20-2020 , 12:01   Re: [L4D2/L4D?]Incapped Weapons
Reply With Quote #17

Some error in log?, at what time to load the plugin before or after incapacitating?
xZk is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-20-2020 , 12:50   Re: [L4D2/L4D?]Incapped Weapons
Reply With Quote #18

Tried in L4D1. Slots 1,2,3 work okay.

Slot 4 nothing happen.
Slot 5 (pills) - infinite pills using animation without actually using them.
It's good if you can work ahead and unlock these abilities completely.

Also, it's good to be able to switch weapons with mouse scroll.

+1 to MasterMind420, add. warning: setting pistol type for slot 3 will cause "break compatibility" with some thrower announcement plugins because fire event will be raised multiple times.

BTW, currently plugin can be replaced by manual editing script files on the server side

Anyway, nicely done!

One more:
Quote:
#define PLUGIN_AUTHOR "z"
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 01-20-2020 at 12:51.
Dragokas is offline
xZk
Senior Member
Join Date: Nov 2017
Location: cl
Old 01-20-2020 , 13:20   Re: [L4D2/L4D?]Incapped Weapons
Reply With Quote #19

Quote:
Originally Posted by Dragokas View Post
Tried in L4D1. Slots 1,2,3 work okay.

Slot 4 nothing happen.
Slot 5 (pills) - infinite pills using animation without actually using them.
It's good if you can work ahead and unlock these abilities completely.
Regarding that it would be for a plugin I've been thinking about publishing, it would be something like a version of the old self_help plugin, but something more realistic xd
Quote:
+1 to MasterMind420, add. warning: setting pistol type for slot 3 will cause "break compatibility" with some thrower announcement plugins because fire event will be raised multiple times.
I may have to restore the events (incapacitated_start / revive_succes) that I omitted in l4d1 to do setting pistol type, but I doubt that completely resolves this "break compatibility" :/
Quote:
One more:
I don't like that name anymore xd, and thank you for testing
xZk is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-20-2020 , 14:26   Re: [L4D2/L4D?]Incapped Weapons
Reply With Quote #20

Quote:
Originally Posted by xZk View Post
I may have to restore the events (incapacitated_start / revive_succes) that I omitted in l4d1 to do setting pistol type, but I doubt that completely resolves this "break compatibility" :/
This will not help you unless you somehow block weapon_fire event.
Try this plugin, press LMB and hold molotov in your hand for some time to understand what I mean (you don't need to be incapped necessarily).

Perhaps, not your problem (and can be fixed on 3d party plugins side), however it affects all plugins that depends on such event, who know what else can be broken.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_thrower_info.sp - 264 views - 4.1 KB)
File Type: txt l4d_thrower_info.phrases.txt (817 Bytes, 123 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 01-20-2020 at 14:30.
Dragokas is offline
Reply



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:12.


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