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

[L4D & L4D2] Loot Boxes(v1.2)[03-Apr-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Shao
Senior Member
Join Date: Jan 2015
Old 06-17-2022 , 00:37   Re: [L4D & L4D2] Loot Boxes(v1.1.1)[17-Jun-2022]
Reply With Quote #11

L 06/17/2022 - 004:44: [SM] Exception reported: Array index out-of-bounds (index 7, limit 6)
L 06/17/2022 - 004:44: [SM] Blaming: l4d_lootboxes.smx
L 06/17/2022 - 004:44: [SM] Call stack trace:
L 06/17/2022 - 004:44: [SM] [1] Line 752, l4d_lootboxes.sp::Event_Player_Death
L 06/17/2022 - 004:44: [SM] [3] ForcePlayerSuicide
L 06/17/2022 - 004:44: [SM] [4] Line 37, playercommands/slay.sp:erformSlay
L 06/17/2022 - 004:44: [SM] [5] Line 108, playercommands/slay.sp::MenuHandler_Slay

I'm also not certain that it works properly, least not in the way I'd want it to. I would like tanks exclusively to drop a specific item while everything else does nothing.

Is it possible with the plugin?
Shao is offline
Earendil
Senior Member
Join Date: Jan 2020
Location: Spain
Old 06-17-2022 , 06:12   Re: [L4D & L4D2] Loot Boxes(v1.1.1)[17-Jun-2022]
Reply With Quote #12

Quote:
Originally Posted by Shao View Post
L 06/17/2022 - 004:44: [SM] Exception reported: Array index out-of-bounds (index 7, limit 6)
L 06/17/2022 - 004:44: [SM] Blaming: l4d_lootboxes.smx
L 06/17/2022 - 004:44: [SM] Call stack trace:
L 06/17/2022 - 004:44: [SM] [1] Line 752, l4d_lootboxes.sp::Event_Player_Death
L 06/17/2022 - 004:44: [SM] [3] ForcePlayerSuicide
L 06/17/2022 - 004:44: [SM] [4] Line 37, playercommands/slay.sp:erformSlay
L 06/17/2022 - 004:44: [SM] [5] Line 108, playercommands/slay.sp::MenuHandler_Slay

I'm also not certain that it works properly, least not in the way I'd want it to. I would like tanks exclusively to drop a specific item while everything else does nothing.

Is it possible with the plugin?
V 1.1? Use 1.1.1, I fixed that error. And yes, set the chances for any SI to 0. Then set the weights of all items that you don't want to 0, if you only want good items set the chance for good items to 100.0.

Quote:
Originally Posted by Mr. Man View Post
I know you can edit the plugin directly but any plans to give us a CVAR to change the model of the loot box?
Yeah, I will add some more ConVars for next update, to change box model, box glow color and glow range.
__________________
>>My plugins<<
>>GitHub<<

Last edited by Earendil; 06-17-2022 at 06:16.
Earendil is offline
yezi
Junior Member
Join Date: May 2022
Old 06-25-2022 , 07:14   Re: [L4D & L4D2] Loot Boxes(v1.1.1)[17-Jun-2022]
Reply With Quote #13

Boxes often go underground.:哭:
yezi is offline
Shao
Senior Member
Join Date: Jan 2015
Old 07-18-2022 , 00:18   Re: [L4D & L4D2] Loot Boxes(v1.1.1)[17-Jun-2022]
Reply With Quote #14

Sometimes a tier one shotgun spawns even though I only have ammo enabled, not too sure how that happens.
Shao is offline
MedicDTI
Junior Member
Join Date: Jul 2019
Old 07-29-2022 , 18:08   Re: [L4D & L4D2] Loot Boxes(v1.1.1)[17-Jun-2022]
Reply With Quote #15

Idk why but even when the Fragile powerup ends I still take the amount of damage as if it activated.
MedicDTI is offline
azureblue
Member
Join Date: Oct 2021
Location: Two Steps from Hell
Old 08-12-2022 , 23:30   Re: [L4D & L4D2] Loot Boxes(v1.1.1)[17-Jun-2022]
Reply With Quote #16

Nice plugin !
Plugin worked just fine at first but it seems conflicted with modified weapon firing rate and reload speed that I've just made from Weapon Handling API. Because My fire & reload speed back to game default speed when I installed this plugin. I hope you can fix it or make another version which all "weapon firing and reload" thingy from lootbox stuff are removed completely since I don't really need all of them.

TBH, I have no experience with coding stuff.

Also it throw some errors when I'm trying to compile on SM 1.11. or SM 1.10 with similiar issue.

Spoiler


Sorry for My bad english, I hope You're understand what I've just said. Thank you !
azureblue is offline
moschinovac
Member
Join Date: Mar 2019
Location: Vietnam
Old 09-09-2022 , 06:43   Re: [L4D & L4D2] Loot Boxes(v1.1.1)[17-Jun-2022]
Reply With Quote #17

Line 1996 and 1998 is
Code:
iWeapon = WeaponSpawn("weapon_upgradepack_explosive_spawn");
one must be incendiary instead
Code:
iWeapon = WeaponSpawn("weapon_upgradepack_incendiary_spawn");
moschinovac is offline
Dominatez
Senior Member
Join Date: Oct 2009
Location: Birmingham, UK
Old 09-10-2022 , 17:22   Re: [L4D & L4D2] Loot Boxes(v1.1.1)[17-Jun-2022]
Reply With Quote #18

Hi Earendil,

I cannot start the plugin as always getting the following error.

Code:
l4d_lootboxes.smx ([L4D & L4D2] LootBoxes): Native "SU_IsToxic" was not found
Using it on L4D1
Dominatez is offline
Earendil
Senior Member
Join Date: Jan 2020
Location: Spain
Old 09-15-2022 , 14:16   Re: [L4D & L4D2] Loot Boxes(v1.1.1)[17-Jun-2022]
Reply With Quote #19

Quote:
Originally Posted by Dominatez View Post
Hi Earendil,

I cannot start the plugin as always getting the following error.

Code:
l4d_lootboxes.smx ([L4D & L4D2] LootBoxes): Native "SU_IsToxic" was not found
Using it on L4D1
This is an error of Survivor Utilities, I'm fixing that, check Survivor Utilities updates for error fixes.
__________________
>>My plugins<<
>>GitHub<<
Earendil is offline
TQH
Junior Member
Join Date: May 2021
Location: Vietnam
Old 10-11-2022 , 22:20   Re: [L4D & L4D2] Loot Boxes(v1.1.1)[17-Jun-2022]
Reply With Quote #20

Which line should I remove to pick up the box by touching it without pressing the E key? Thank you!

Last edited by TQH; 10-11-2022 at 22:30.
TQH 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 19:08.


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