Garry's Mod

Garry's Mod

Sandbox Weapon Shop
163 kommentarer
Famous5000  [ophavsmand] For 13 timer siden 
@𝕝𝕠𝕔𝕜𝕗𝕘𝕗

Do you have a log that we could look at? It may also help if you reinstall the addon, as Steam can sometimes be a bitch with addon installs.
𝕝𝕠𝕔𝕜𝕗𝕘𝕗 For 14 timer siden 
pretty much broken in multiplayer... sad :steamsad:
Suzumu 13. sep. kl. 5:18 
@w.black57

Yes, but it disappears, that's the whole problem.
w.black57  [ophavsmand] 13. sep. kl. 4:59 
@Suzumu

Did you save your preset? There is a button to save your preset.
Suzumu 13. sep. kl. 4:41 
Please tell me! when I made my store completely, then if I re-enter the game, I'll just spend a certain amount of time in the game, my store just disappears completely. Is there any way to solve this, or just save the file so that it can be downloaded every time the store breaks down?
Deton 30. apr. kl. 5:34 
i don't get any money by killing, not even with vanilla npc's. neither with dynamic money nor with fixed rewards and yes i checked the “activate money system” box. maybe i just overlooked some step. but i still think this mod is extremely good and would appreciate some help.
Famous5000  [ophavsmand] 29. jan. kl. 21:35 
This addon is no longer being maintained; however, you should be able to unsubscribe from this one and subscribe to either my BETA or my STANDARD branch.
Vauk 29. jan. kl. 10:43 
[Sandbox Weapon Shop and Money System [Legacy Ver.]] lua/entities/weshop/init.lua:1206: bad argument #1 to 'ipairs' (table expected, got nil)
1. ipairs - [C]:-1
2. RemoveWeaponByClass - lua/entities/weshop/init.lua:1206
3. func - lua/entities/weshop/init.lua:2673
4. unknown - lua/includes/extensions/net.lua:37 (x4)


if u add too much items
KannedKielbasa 14. jan. kl. 21:49 
Basically create a dupe that contains various necessary survival items.
Health, ammunition, random crate and then the shop itself.

Which I'm not capable to attach to the dupe itself in order to deploy it quickly in various maps because the shop itself doesn't have the property to be weld among other entities and props of the dupe.
Famous5000  [ophavsmand] 11. jan. kl. 17:17 
I genuinely have no idea. What is it you're trying to do with it? If you can tell me what it is you are trying to achieve with the crate shop I might be able to create a variant which doesn't freeze on placement, wouldn't work with the wall mounted one though.
KannedKielbasa 11. jan. kl. 14:55 
Is there any way to make the crate shop entity a configurable entity?
I want to create a "portable" shop dupe but there's no way I can add the crate shop into it
cole 16. dec. 2024 kl. 18:36 
COAL
Famous5000  [ophavsmand] 25. nov. 2024 kl. 20:31 
AS PER REQUEST OF THE AUTHOR, I AM PREPARING AN ADDON MOVE.

Once I get a few good icons, I will be uploading a BETA and STABLE branch, and will have this addon deprecated, but still referenced for credit where it is due.
Famous5000  [ophavsmand] 25. nov. 2024 kl. 17:37 
Hmmm... Alright. You have Discord? Hit me up, Famous5000 [or Famous5000#8968]. Can't miss me on that platform. I'll need the original files; I'm going to set you up with a Github Repo.
w.black57  [ophavsmand] 25. nov. 2024 kl. 17:35 
Sure! that'll keep this going XD. To be honest id love to make it open so that other people could update this. I don't really mind if you're willing to upload a new mod in the workshop and its exactly the same as this haha :happyfaye:.
Famous5000  [ophavsmand] 25. nov. 2024 kl. 7:57 
at least, function properly with updating the clients.
Famous5000  [ophavsmand] 25. nov. 2024 kl. 7:57 
Yeah I saw the `PDataSet` calls. The thing I wanted to work with is to get it to function properly.

If you'd like I could make some changes, send you the files and then you can update the addon.
w.black57  [ophavsmand] 25. nov. 2024 kl. 5:18 
@Famous5000

My coding is clearly a mess haha. Money is actually saved in Pdata "wblmoney" per player. Though saddly im really out of motivation to deal with my mess >.<
Famous5000  [ophavsmand] 25. nov. 2024 kl. 1:37 
Nevermind the reason why I couldn't edit it was because the lua executors I was running from were running from the client. Strangly this also included the server console via `rcon` but whatever. Would still be nice to have a callable function to notify the player(s) that their money was changed.
Famous5000  [ophavsmand] 25. nov. 2024 kl. 1:10 
and on top of that could you please add the ability to allow developers to add/remove money from their own addons? I can help with developing that if you need it.
Famous5000  [ophavsmand] 19. nov. 2024 kl. 13:36 
*Please* add a way to add custom ammo types to the shop. CW2.0 has 40MM grenades that I want to add to the shop without having an entire crate spawn for it.
saint nutmeg 16. nov. 2024 kl. 14:25 
can you mAKE IT WHERE YOU CAN SELL VEHCILES THAT ARE NEXT TO IT BUT THEY MUST BE NEXT TO IT
Vauk 12. nov. 2024 kl. 22:07 
@Neosun you can change the lose percentage on death to 100
Neosun 12. nov. 2024 kl. 15:00 
Would you be willing to add a death condition that resets your money back to your starting amount? It would be good for one-life gauntlets where you need to keep resetting your money back every time you die as you'd just be picking your guns all over again.
Опорник Лоутаба 8. nov. 2024 kl. 5:27 
I've been waiting for this for 5, no, 10 thousand years
Spaceman Spiff 2. nov. 2024 kl. 15:28 
Could you add an option to be able to pick up ammo dropped by NPCs but not weapons, and vice versa? so you can be able to get ammo from npcs, but only weapons from the shop.
特雷森盗号王-Tokaiteio 2. nov. 2024 kl. 0:18 
Thanks for your efforts, this is a great mod, there is only one problem, there seems to be no tool to replace the ammo crates in the HL2 campaign with it (I don't want to modify the number of charging stations and medical stations, I think this will affect the gameplay too much), but this is just my problem, not related to this great mod:steamhappy:.
Mark 31. okt. 2024 kl. 15:21 
I found out killing things with props gives me money
Lil' X-Treme 30. okt. 2024 kl. 8:24 
a bit buggy but
Why does deleating a preset makes all other weapons in other presets dissaper?
also when i try to make a preset it shows an error
LenZi 30. okt. 2024 kl. 2:47 
Oh my bad
w.black57  [ophavsmand] 29. okt. 2024 kl. 23:45 
@LenZi

If you look under the ammo list in Spawnmenu -> Options -> Weshop Admin -> Shop Options
You can right click an ammo in the list then edit -> Change Max Ammo Capacity
LenZi 29. okt. 2024 kl. 22:33 
Can u add customizable ammo limits because ar2 ammo is stuck at 60.
Mark 26. okt. 2024 kl. 18:49 
are there any mods that make you not earn money?
Nate 24. okt. 2024 kl. 17:57 
soooooo can npcs buy stuff from you OR can the npcs by and sell stuff?
Blackmore 24. okt. 2024 kl. 1:18 
Hello, w.black57, is there a command for receiving money?
I searched in the files but didn't find it
Hosterle 20. okt. 2024 kl. 12:15 
is it possible to somehow prevent the randomness in the cost generator?
munroe92 20. okt. 2024 kl. 11:22 
Everytime I went to the map the weapon disapper out of nowhere. Please fix it.
Shark_Hunter01 18. okt. 2024 kl. 22:28 
nice mod tho, its fun, i use arc9 eft guns and i make a little spot to sell stuff, its fun
Shark_Hunter01 18. okt. 2024 kl. 22:27 
i found the problem, i didnt have admin, so the guns wouldnt show up
w.black57  [ophavsmand] 18. okt. 2024 kl. 20:20 
@Shark_Hunter01

Try it again, Hopefully the patch would work. I don't have a PC to test multiplayer right now :sadfaye:
Shark_Hunter01 18. okt. 2024 kl. 1:56 
does it work with multiplayer?
Shark_Hunter01 18. okt. 2024 kl. 1:53 
im doing an EFT thing with my friend but i cant see anything in shop
w.black57  [ophavsmand] 17. okt. 2024 kl. 16:24 
@toxicdummy14

Thanks for this, its patched now! :happyfaye:
toxicdummy14 17. okt. 2024 kl. 15:09 
[Sandbox Weapon Shop and Money System] lua/autorun/weshop_menu.lua:1869: attempt to index global 'AddWeaponAmmoFrame' (a nil value)
1. DoClick - lua/autorun/weshop_menu.lua:1869
2. unknown - lua/vgui/dlabel.lua:254

this happens whenever i click add entity, if you could fix that'd be great, awesome mod btw ^^
RedCapGreenCap 16. okt. 2024 kl. 12:37 
Can you add the ability to set up walls that cost a certain amount of cash to open kinda like in Cod Zombies?
Totally Not Ed 14. okt. 2024 kl. 19:34 
can you make different shops sell different items? I wanna make a COD Zombies map.
abeck07 13. okt. 2024 kl. 17:40 
please add the ability to organize things, I hate having to add a gun I want to be available earlier in progression and it be at the very end
toxicdummy14 13. okt. 2024 kl. 15:21 
@w.black57 i managed to fix it, it was a probably a mix of how many addons i had, and also because i mightve added way to much into the shop
Durp Spycrab 13. okt. 2024 kl. 11:07 
Sometimes when i load in with a good amount of mods, the WeShop entity doesn't exist anywhere, no matter where i looked. Anyway to fix?
Zadnisa212 13. okt. 2024 kl. 3:31 
[Sandbox Weapon Shop and Money System] lua/entities/weshop/init.lua:1085: bad argument #1 to 'ipairs' (table expected, got nil)
1. ipairs - [C]:-1
2. FindWeaponByClass - lua/entities/weshop/init.lua:1085
3. HandleWBLBuy - lua/autorun/weshop.lua:1419
4. unknown - lua/autorun/weshop.lua:1474
5. unknown - lua/includes/modules/concommand.lua:54