Garry's Mod

Garry's Mod

ISAWC: Inventory System and Working Containers
1.217 opmerkingen
Oh, I'm sorry. I hope someday you will get together and do everything!
Piengineer12  [auteur] 17 apr om 22:57 
I honestly don't know. Not only have I lost my motivation, but this addon is now very hard to maintain without introducing new bugs because of the mistakes I've made in the past.

This needs to be rebuilt from the ground up, I feel miserable just by looking at what I've written for this.
Hi, when can you go back to updates and finally make Inventoy checker? It would be extremely important and useful(Google Translate)
hdticket 13 apr om 4:52 
Could you possibly add a system in which other players can search you?
SpicyWaterV1 12 apr om 22:49 
Hey, was just looking for some help with creating a loot tables for a container, couldnt figure out how to use the Loot Attacher SWEP and couldn't find anything linked here, thanks and great addon!
Sexdarva (Ciel) 6 apr om 1:01 
I can't convert ammo (even base hl2 ones) into entities
🌟 JacobBoi123 🌟 16 mrt om 13:42 
Nevermind, it works lol.
🌟 JacobBoi123 🌟 16 mrt om 13:34 
@Piengineer12

The container/backpack maker isn't working for me. I can make the containers and backpacks, but the GUI won't work for me.
Piengineer12  [auteur] 17 jan om 8:28 
I have not heard of any way for GMod to interface with MySQL nor do I know what GmodAdminSuite is, so this addon probably doesn't.

Player inventories are already saved when players disconnect when "isawc_player_save" is 1, so you can just set "isawc_player_savedelay" to something like 1000000000 so that the periodic saving part doesn't happen, only disconnect saving.
FrostbitTe 17 jan om 7:42 
also i want players inventories to be saved when they disconnect but i dont want periodic saving any way i can do that? sorry for bothering you so much
FrostbitTe 17 jan om 7:33 
Last question: i want to use database saving but i want to use MySQL instead of sqlite because i encountered alot of out of memory issues when making my server. does this addon support MySQL natively or through GmodAdminSuite?
Piengineer12  [auteur] 16 jan om 23:47 
If you're able to open the SQLite database, all tables created by this addon under sv.db start with "isawc_", for example "isawc_player_data" holds every players' inventories.
FrostbitTe 16 jan om 10:59 
btw whats the best way to delete this addons data from sv.db without losing settings made to the addon.
Piengineer12  [auteur] 16 jan om 9:03 
All ConCommands for manipulating item stamps are prefixed with isawc_stamps_, check those out.

Really late answer, but higher weight in loot tables simply makes it more likely to be selected.
FrostbitTe 15 jan om 12:55 
Hey dude hope you are doing well i just wanted to ask if there is a way i can clear stamp list through console? İ found a way to edit every white/black list through console but i cant find a way to do that for stamps. İt is important i do it through console because i added a stamp wrong and now the stamp menu wont open please advise.
marcina15 25 dec 2024 om 12:31 
what does weight do in loot tables?
Heavy 8 dec 2024 om 2:34 
when trying to opem the server settings
Heavy 8 dec 2024 om 2:34 
[ISAWC: Inventory System and Working Containers] lua/autorun/isawc_base.lua:4159: no such table: isawc_item_stamps
1. error - [C]:-1
2. SQL - lua/autorun/isawc_base.lua:5919
3. GetClientToOpenOptionsMenu - lua/autorun/isawc_base.lua:4159
4. unknown - lua/autorun/isawc_base.lua:1764
5. unknown - lua/includes/modules/concommand.lua:54 (x3)
FrostbitTe 26 okt 2024 om 10:01 
i know its a herculian effort. Thanks for everything.
Piengineer12  [auteur] 26 okt 2024 om 9:55 
My to-do list is on GitHub [github.com].
If I do make ISAWC2, I definitely want it to have a more coherent UI. A full rewrite is a few-month-long endeavor though.
FrostbitTe 26 okt 2024 om 9:31 
thanks for responding to our comments. Can i see this to do list im just curious. Also if you do rebuild this addon from the ground up would you consider changing the ui?
Piengineer12  [auteur] 26 okt 2024 om 5:07 
Quite frankly, every feature added has caused other features to be changed to fit the new one, which means that this addon is now very hard to maintain without introducing new bugs / lag problems. I may have to consider rebuilding this from the ground up at some point.
Piengineer12  [auteur] 26 okt 2024 om 5:07 
Oops, sorry for taking a while to respond.

@AstroMich
Previously "isawc_player_save", when set to 1, would save player inventories whenever the inventory is changed. This caused lag issues in multiplayer, so it now only saves inventories when the player disconnects, dies or every 5 minutes by default.
To restore the old behavior, set the ConVar to 2. If even then saving does not work please tell me.

@FrostbitTe
Make sure "isawc_dropondeath_enabled" is set to 1, "isawc_dropondeath_blacklist" doesn't show that your weapons are blacklisted, "isawc_dropondeath_max" is not 0 and "isawc_dropondeath_lifetime" is not 0. If death drops are still not working for some reason please tell me. The part about multi-use items has been added to the to-do list.
AstroMich 25 okt 2024 om 23:29 
Hello.

Im not sure if this was an option in the mod, but was it able to save items and remember them when you switch or reload maps? I saw this happen to my playthroughs with this mod, but somehow i suddenly cant recently. I have no idea what settings allow saving player inventories as they switch/reload maps, and modifying 'save inventories' dont do anything.
UCCROW 30 sep 2024 om 9:37 
saving not working for player inv and containers
FrostbitTe 23 sep 2024 om 12:40 
Hello author when i die in game the guns i was holding/the guns i had on me do not transfer to my death drop box. is this a bug? or is there a setting that does this? thanks in advance
FrostbitTe 15 aug 2024 om 9:08 
Hi author i just had a suggestion id like to share: it would be cool if the item you used in your inventory wouldnt be dropped on the ground upon usage. Current version of the addon is really good for single use items for example a medkit being used and deleted from inventory because it ran out of uses but it would be even better if we could interact with multiple use items and not have to pick them up from the ground everytime we use them. thanks for listening to my ted talk.
🌟 JacobBoi123 🌟 7 aug 2024 om 10:38 
@Piengineer12

NANI?!
Piengineer12  [auteur] 30 jul 2024 om 7:44 
I am unfortunately very busy at the moment, it'll be a while before I can make changes to this addon again.
Journey's End 29 jul 2024 om 15:59 
Hey can you make this mod work with advanced duplicator possibly?
PalestoGame 11 jul 2024 om 4:05 
I'm getting an error like this, please help:

[ISAWC: Inventory System and Working Containers] lua/autorun/isawc_base.lua:8185: attempt to call a nil value
1. unknown - lua/autorun/isawc_base.lua:8185
ColorReef 6 jul 2024 om 20:51 
Genuinely the best inventory system. So underrated. I wish only good things for the creator and the future of this addon!
Vladimir4757 24 jun 2024 om 11:01 
I had to set the save mode to on pickup so that it would save the inventory when I pick up and now the inventory is carrying over
Piengineer12  [auteur] 18 jun 2024 om 20:42 
That is strange, inventory saving works fine on my end. I'll have to look into it again at some point, perhaps some sort of race condition is causing problems.
Vladimir4757 18 jun 2024 om 11:14 
When I load a new map my inventory is empty even though it had several items on the last map and I verified that isawc_player_save is set to 1
Piengineer12  [auteur] 18 jun 2024 om 10:09 
You mean for players to keep their inventory across maps? You can set the ConVar "isawc_player_save" to 1 for that.
Vladimir4757 18 jun 2024 om 9:15 
Is there a way for backpack inventory to persist across maps?
Clefable_Recon ʕ º ᴥ ºʔ 13 jun 2024 om 9:17 
OH! The server option menu is working now
Clefable_Recon ʕ º ᴥ ºʔ 13 jun 2024 om 9:13 
Thank you.
Piengineer12  [auteur] 13 jun 2024 om 9:03 
here's the list:
isawc_player_massmul
isawc_player_volumemul
isawc_player_maxcount
isawc_container_massmul
isawc_container_volumemul
isawc_container_maxcount
isawc_pickup_massmul
isawc_pickup_volumemul
isawc_pickup_countmul
isawc_masslist
isawc_volumelist
isawc_countlist
isawc_player_usergroupmassmullist
isawc_player_usergroupvolumemullist
isawc_player_usergroupcountmullist
isawc_use_disabledmass
isawc_use_disabledvolume
isawc_use_disabledcount
Clefable_Recon ʕ º ᴥ ºʔ 13 jun 2024 om 8:35 
I might be blind still-- I dont see any commands relating to them. Can you help me list them here?
Piengineer12  [auteur] 13 jun 2024 om 7:17 
You could do it in the server settings menu, but there are equivalent console commands as well. You can type "isawc_help" in the server console to see all of them.
Clefable_Recon ʕ º ᴥ ºʔ 13 jun 2024 om 6:37 
Is there any way to adjust weight, volume, and item count? Are they really in the server setting menu?
Piengineer12  [auteur] 12 jun 2024 om 11:33 
That's odd, that error should only appear if an addon mishandles addon initialization.
Clefable_Recon ʕ º ᴥ ºʔ 12 jun 2024 om 10:28 
Yeah, me too-- I cannot open the Server option GUI, only the Client.

[ISAWC: Inventory System and Working Containers] lua/autorun/isawc_base.lua:4139: no such table: isawc_item_stamps
1. error - [C]:-1
2. SQL - lua/autorun/isawc_base.lua:5870
3. GetClientToOpenOptionsMenu - lua/autorun/isawc_base.lua:4139
4. unknown - lua/autorun/isawc_base.lua:1758
5. unknown - lua/includes/modules/concommand.lua:54
Ян Ебон 12 jun 2024 om 6:13 
thanks, you helped me a lot
Piengineer12  [auteur] 12 jun 2024 om 5:39 
I've never had the problem of being unable to open the GUI, so I don't know what could be going wrong I'm afraid. Most of ISAWC's settings should still be modifiable through console commands.

To make players drop their loot on death, set "isawc_dropondeath_enabled" to 1.
Ян Ебон 12 jun 2024 om 4:16 
can't open server settings gui, are there any solutions? btw, is there a way to make players drop their loot after death?
kuz-(kuz) 29 mei 2024 om 19:13 
I tried it didn't work :stony:
FrostbitTe 29 mei 2024 om 18:51 
@kuz try turning on alternate storage method in the settings.