Garry's Mod

Garry's Mod

Sandbox Weapon Shop
161 条留言
Suzumu 9 月 13 日 上午 5:18 
@w.black57

Yes, but it disappears, that's the whole problem.
w.black57  [作者] 9 月 13 日 上午 4:59 
@Suzumu

Did you save your preset? There is a button to save your preset.
Suzumu 9 月 13 日 上午 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 4 月 30 日 上午 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  [作者] 1 月 29 日 下午 9: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 1 月 29 日 上午 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 1 月 14 日 下午 9: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  [作者] 1 月 11 日 下午 5: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 1 月 11 日 下午 2: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 2024 年 12 月 16 日 下午 6:36 
COAL
Famous5000  [作者] 2024 年 11 月 25 日 下午 8: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  [作者] 2024 年 11 月 25 日 下午 5: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  [作者] 2024 年 11 月 25 日 下午 5: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  [作者] 2024 年 11 月 25 日 上午 7:57 
at least, function properly with updating the clients.
Famous5000  [作者] 2024 年 11 月 25 日 上午 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  [作者] 2024 年 11 月 25 日 上午 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  [作者] 2024 年 11 月 25 日 上午 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  [作者] 2024 年 11 月 25 日 上午 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  [作者] 2024 年 11 月 19 日 下午 1: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 2024 年 11 月 16 日 下午 2:25 
can you mAKE IT WHERE YOU CAN SELL VEHCILES THAT ARE NEXT TO IT BUT THEY MUST BE NEXT TO IT
Vauk 2024 年 11 月 12 日 下午 10:07 
@Neosun you can change the lose percentage on death to 100
Neosun 2024 年 11 月 12 日 下午 3: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.
Опорник Лоутаба 2024 年 11 月 8 日 上午 5:27 
I've been waiting for this for 5, no, 10 thousand years
Spaceman Spiff 2024 年 11 月 2 日 下午 3: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 2024 年 11 月 2 日 上午 12: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 2024 年 10 月 31 日 下午 3:21 
I found out killing things with props gives me money
Lil' X-Treme 2024 年 10 月 30 日 上午 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 2024 年 10 月 30 日 上午 2:47 
Oh my bad
w.black57  [作者] 2024 年 10 月 29 日 下午 11: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 2024 年 10 月 29 日 下午 10:33 
Can u add customizable ammo limits because ar2 ammo is stuck at 60.
Mark 2024 年 10 月 26 日 下午 6:49 
are there any mods that make you not earn money?
Nate 2024 年 10 月 24 日 下午 5:57 
soooooo can npcs buy stuff from you OR can the npcs by and sell stuff?
Blackmore 2024 年 10 月 24 日 上午 1:18 
Hello, w.black57, is there a command for receiving money?
I searched in the files but didn't find it
Hosterle 2024 年 10 月 20 日 下午 12:15 
is it possible to somehow prevent the randomness in the cost generator?
munroe92 2024 年 10 月 20 日 上午 11:22 
Everytime I went to the map the weapon disapper out of nowhere. Please fix it.
Shark_Hunter01 2024 年 10 月 18 日 下午 10:28 
nice mod tho, its fun, i use arc9 eft guns and i make a little spot to sell stuff, its fun
Shark_Hunter01 2024 年 10 月 18 日 下午 10:27 
i found the problem, i didnt have admin, so the guns wouldnt show up
w.black57  [作者] 2024 年 10 月 18 日 下午 8: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 2024 年 10 月 18 日 上午 1:56 
does it work with multiplayer?
Shark_Hunter01 2024 年 10 月 18 日 上午 1:53 
im doing an EFT thing with my friend but i cant see anything in shop
w.black57  [作者] 2024 年 10 月 17 日 下午 4:24 
@toxicdummy14

Thanks for this, its patched now! :happyfaye:
toxicdummy14 2024 年 10 月 17 日 下午 3: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 2024 年 10 月 16 日 下午 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 2024 年 10 月 14 日 下午 7:34 
can you make different shops sell different items? I wanna make a COD Zombies map.
abeck07 2024 年 10 月 13 日 下午 5: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 2024 年 10 月 13 日 下午 3: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 2024 年 10 月 13 日 上午 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 2024 年 10 月 13 日 上午 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
Zadnisa212 2024 年 10 月 13 日 上午 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. unknown - lua/entities/weshoponwall/init.lua:30
Zadnisa212 2024 年 10 月 13 日 上午 3:31 
[Sandbox Weapon Shop and Money System] lua/includes/extensions/net.lua:154: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. WriteTable - lua/includes/extensions/net.lua:154
3. func - lua/entities/weshop/init.lua:2723
4. unknown - lua/includes/extensions/net.lua:38