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

[NMRiH] Backpack (v1.3.1, 2019-03-24)


Post New Thread Reply   
 
Thread Tools Display Modes
Ryan.
Member
Join Date: Jan 2018
Old 06-21-2018 , 21:03   Re: [NMRiH] Backpack (v1.2.1, 2018/06/21)
Reply With Quote #11

The plugin's assumptions haven't changed. Weapons and ammo in the wrong category still can't be picked up. It would require a fair amount of rewriting to remove those assumptions and allow items to work in any category. It's something I'll have to think about more.
Ryan. is offline
Flammable
Junior Member
Join Date: Jun 2018
Location: Russia
Old 06-23-2018 , 15:51   Re: [NMRiH] Backpack (v1.2.1, 2018/06/21)
Reply With Quote #12

Hey, maybe you can make some executeable config file for backpack (or cvar) so users can change backpack model like it's done in supply chances? So we can spawn multiple backpacks with diffrent models.

ps
still looking forward for "set ammo" plugin i suggested before
Flammable is offline
Ryan.
Member
Join Date: Jan 2018
Old 06-24-2018 , 20:16   Re: [NMRiH] Backpack (v1.2.1, 2018/06/21)
Reply With Quote #13

I can do something similar to Supply Chances for different backpack models. To prevent things from becoming too complicated I would leave backpacks functioning the same: there wouldn't be any difference in the items backpacks of different models are able to store.
__________________
Ryan. is offline
GEEEX221
Junior Member
Join Date: Jun 2018
Old 09-20-2018 , 07:35   Re: [NMRiH] Backpack (v1.2.1, 2018/06/21)
Reply With Quote #14

Quote:
Originally Posted by Ryan. View Post
I can do something similar to Supply Chances for different backpack models. To prevent things from becoming too complicated I would leave backpacks functioning the same: there wouldn't be any difference in the items backpacks of different models are able to store.
Hello again.
Recently returned to the game, and noticed an unpleasant feature of this plugin.
Can not call supply drop by using flare gun. As I understand it, if the game has at least one backpack, it does not matter whether you have it behind your back or lie somewhere, then when you try to call a drop by using flare gun...The helicopter simply does not arrive. And no errors are displayed in the console. But, if the backpacks are not on the map, you can safely call a drop. How to fix it? And, if you remove the backpack using "Remove targeted backpack", u also can call supply drop.
item_inventory_box at (0.000, 0.000, 0.000) has no model name! - This is the only thing that is displayed when calling the drop, if there are no backpacks (no matter if you called the helicopter itself or it flew himself, according to the scenario of the game).
Afterword - remember, I asked you for the problem of placing items in the category of AMMO? So, I forgot to mention then that when you pick up an item with a note, for example #item_pills_short, then the console displays the message:
ERROR: Attempting to give unknown ammo type ()
GEEEX221 is offline
Ryan.
Member
Join Date: Jan 2018
Old 09-25-2018 , 23:49   Re: [NMRiH] Backpack (v1.2.1, 2018/06/21)
Reply With Quote #15

Thanks for the report. I hope to have a fix released this week. The error message about item_inventory_box not having a model can be safely ignored as it's normal behavior for the game.
__________________
Ryan. is offline
Ryan.
Member
Join Date: Jan 2018
Old 12-30-2018 , 18:46   Re: [NMRiH] Backpack (v1.3.0, 2018-12-30)
Reply With Quote #16

Changes in version 1.3.0:
  • Added option to glow backpacks and show compass marker: sm_backpack_glow
  • Added option to slow down backpack carrier:
    • sm_backpack_speed, whether to slow down backpack carrier
    • sm_backpack_speedfactor_norm, move factor when backpack is less than half full
    • sm_backpack_speedfactor_half, move factor when backpack is more than half full
    • sm_backpack_speedfactor_full, move factor when backpack is full
  • Added support for multiple backpack types:
    • Defined in backpack.cfg
    • Each backpack type can specify its own model and sounds
    • Types can override sm_backpack_colorize and sm_backpack_only_admins_*
  • Fixed backpack blocking flare gun calling chopper -- Thanks GEEEX221
    • sm_backpack_keep_supply_drops, prevents non-empty inventory boxes from fading out when a new one is created
    • sm_backpack_supply_drop_cooldown, number of seconds players must wait between calling supply drops
  • Updated gamedata for NMRiH 1.10

Backpacks now glow and show up on the compass so they're easier to find. This feature can be disabled.

The new option to slow down backpack carriers is disabled by default. To enable it, set "sm_backpack_speed" to 1. The movement penalty system works exactly like regular NMRiH movement speed. There are 3 tiers of movement speed: completely full, half-full, less than half-full. The speed penalty is multiplicative so a full backpack and a full inventory is extra slow.

The gamedata has also been updated so the plugin works with the latest version of NMRiH.
Ryan. is offline
GEEEX221
Junior Member
Join Date: Jun 2018
Old 03-19-2019 , 15:12   Re: [NMRiH] Backpack (v1.3.0, 2018-12-30)
Reply With Quote #17

And again hello.
What I want to say ... my remark about the conflict of the flare gun with the call of the drop was not lost. That is, the game now crashes when trying to call a drop IF there is a backpack (it doesn’t matter if it is on its back or lying somewhere on the ground).
I apologize for what I said only now - I was busy, plus I thought that the crash was due to the fact that I modified this plugin for myself (if you remember, I increased the number of first-aid kits that fit in one backpack). However, there is no difference between the original latest version of the plugin and the modified one.
I do not know what caused the crash. You just shoot at the sky - and everything - crash.

Last edited by GEEEX221; 03-19-2019 at 15:20.
GEEEX221 is offline
Ryan.
Member
Join Date: Jan 2018
Old 03-24-2019 , 20:52   Re: [NMRiH] Backpack (v1.3.1, 2019-03-24)
Reply With Quote #18

GEEEX, thanks again man. The issue was bad gamedata but it is fixed in the newest version (1.3.1). The gamedata is the only thing that changed so you can extract just that file if you want
__________________
Ryan. is offline
qwazzy
New Member
Join Date: Feb 2020
Old 02-04-2020 , 22:42   Re: [NMRiH] Backpack (v1.3.1, 2019-03-24)
Reply With Quote #19

Just wanted to say thank you for this and your other plugins. I usually host my own local server when I want to play alone or with a friend and use Sourcemod alongside that, and having a backpack system to help keep items in check is really helpful. Doubly so in survival since the game lacks a storage system for survival, so I can spawn a couple bags onto a table for easy storage instead of gathering everything into a chaotic pile on the floor. Good stuff.
qwazzy is offline
Lunreth
BANNED
Join Date: Dec 2019
Location: Argentina, Buenos Aires
Old 03-04-2020 , 22:50   Re: [NMRiH] Backpack (v1.3.1, 2019-03-24)
Reply With Quote #20

After update 1.11 for NMRIH this plugin started to fail because of new DHook, maybe gamedata is obsolete

Code:
L 03/05/2020 - 00:02:23: [SM] Exception reported: Failed to create DHook for CNMRiH_Player::GetWeightSpeedFactor
L 03/05/2020 - 00:02:23: [SM] Blaming: backpack.smx
L 03/05/2020 - 00:02:23: [SM] Call stack trace:
L 03/05/2020 - 00:02:23: [SM]   [0] SetFailState
L 03/05/2020 - 00:02:23: [SM]   [1] Line 3502, backpack.sp::DHookCreateFromConfOrFail
L 03/05/2020 - 00:02:23: [SM]   [2] Line 1125, backpack.sp::LoadPluginGamedata
L 03/05/2020 - 00:02:23: [SM]   [3] Line 938, backpack.sp::OnPluginStart
L 03/05/2020 - 00:02:23: [SM] Unable to load plugin "backpack.smx": Error detected in plugin startup (see error logs)
Lunreth 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:32.


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