Garry's Mod

Garry's Mod

PropPrice - The Innovative Anti-Prop Spam Addon
46 条留言
Piengineer12  [作者] 2021 年 12 月 5 日 上午 4:18 
@Hobo Joe
You can use my code, but under the MIT License [github.com]. As in, you can use my code for anything, so long as you include the LICENSE.txt I've linked above somewhere in your files.
Hobo Joe 2021 年 11 月 28 日 下午 9:58 
Would you mind if I used your mod in a gamemode I'm making?
I was considering just being inspired by it and making a similar system to calculate "prop price" by mass, polygon count, whatever lol.
But I realize that even if I did use that concept, that it would never be as compatible/customizable as yours. Which would negatively effect servers/players ability to customize the difficulty of the mod/internal economical resource bull shiz.
I would give absolute full credit. I would need to modify it slightly to make it compatible of course (UI and very little code likely). The gamemode in question is a spiritual successor to Market Fog.

If you are uncomfortable with this no problem! I won't bother you any further!
Piengineer12  [作者] 2021 年 7 月 12 日 上午 12:48 
Turns out I've forgotten a type cast. I've fixed it in the latest update to the UCE.
Reasonably Overworked 2021 年 7 月 12 日 上午 12:27 
Hello again! Thank you for the quick update. The changes were a big help in my server.

Here's an error I've found though while attempting to exchange from Nmoney 2 to PropPrice:

---

[DeluxeFrappe|3|STEAM_0:1:125923806] Lua Error:

[Universal Currency Exchanger] lua/entities/currency_exchanger.lua:300: attempt to compare number with string
1. UniversalCurrencyFunction - lua/entities/currency_exchanger.lua:300
2. unknown - lua/entities/currency_exchanger.lua:506



[Universal Currency Exchanger] lua/entities/currency_exchanger.lua:300: attempt to compare number with string
1. UniversalCurrencyFunction - lua/entities/currency_exchanger.lua:300
2. unknown - lua/entities/currency_exchanger.lua:506 (x52)

Transaction successful!

---

As for improvements, I think the HUD or GUI is all I could think of since all of your scripts are so unique and well-written. Can't ask for more really. Thumbs up!
Piengineer12  [作者] 2021 年 7 月 11 日 上午 2:25 
Alright, I've rolled out an update to the UCE, comment there if any improvements / bug fixes can be made.
Reasonably Overworked 2021 年 7 月 11 日 上午 12:53 
Yes I was thinking of that too, and I remember seeing the same suggestion in the comment section there. I think the people will like it.
Piengineer12  [作者] 2021 年 7 月 11 日 上午 12:52 
It's impossible unfortunately due to how I've coded the system. I can however update the old Universal Currency Exchanger addon to convert PropPrice cash to nMoney and back, is that fine?
Reasonably Overworked 2021 年 7 月 10 日 下午 7:57 
Is it possible to support Nmoney 2 addon to be used as the currency for spawning props?
Judas Priest 2021 年 2 月 5 日 上午 1:48 
I'll definitely look into it on the meantime and update you on it. Thanks for responding. :steamthumbsup:
Piengineer12  [作者] 2021 年 2 月 5 日 上午 1:36 
I can't seem to reproduce the bug - the addon doesn't allow me to spawn anything when my cash is negative.

If propprice_overdrafting is 1, players can spawn things until their cash is negative, where it'll completely prevent any type of spawning. If you can still spawn NPCs while your cash is negative, then there might be an addon conflict.
Judas Priest 2021 年 2 月 5 日 上午 1:24 
Haha...sorry I know this addon is made for in specialty for props and I might be suggesting things that aren't really relevant to the addon.
But I just have not been able to find an addon(like this one) that has a creative system in place not to completely restrict players but also to prevent them possibly lagging/crashing a server if they wanted to.
Judas Priest 2021 年 2 月 5 日 上午 1:17 
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2384772043
I'm not exactly sure why other players are able to spawn then past the negatives or if it may have been intended this way but I think if there was an option to stop players from spawning anything past a certain amount of negative cash then that would work.
Piengineer12  [作者] 2021 年 2 月 5 日 上午 12:16 
I think spawning NPCs already require players to pay cash to spawn them. Unless I misunderstood what you meant.
Piengineer12  [作者] 2021 年 2 月 4 日 上午 6:13 
Thanks, I'm glad to know there's still people using my addons.
Judas Priest 2021 年 2 月 4 日 上午 6:05 
I'm also gonna donate just because you were able to make that into effect so quickly :)
Judas Priest 2021 年 2 月 4 日 上午 6:04 
Awesome thank you! If there is a way you can limit players from spawning npcs aswell then that would be awesome aswell.
Piengineer12  [作者] 2021 年 1 月 28 日 上午 12:09 
Alright, I've added some ConVars in the latest update to set the max cash and income a player receives.
Judas Priest 2021 年 1 月 22 日 上午 3:01 
If there was a way to set a max amount of cash or income you can get, then that would be pretty epic.
Piengineer12  [作者] 2020 年 6 月 17 日 下午 9:54 
The price options should be in Spawnmenu -> Options -> PropPrice, if I remember correctly.
AriStykes 2020 年 6 月 13 日 下午 8:31 
how do i change the price?
Skinns 2020 年 4 月 27 日 下午 12:44 
Aight, thanks man.
Also understandable.
Piengineer12  [作者] 2020 年 4 月 27 日 上午 8:55 
*icon16/package.png
Piengineer12  [作者] 2020 年 4 月 27 日 上午 12:23 
It's going to be difficult to allow players to share cash with each other. Maybe when I'm not so busy.

Icons are from materials/icon16/money.png and materials/icon16/money.png.
Skinns 2020 年 4 月 26 日 下午 1:27 
Would you mind telling me what the directory for the money and package icons used for the hud are?
Skinns 2020 年 4 月 26 日 下午 1:26 
It would be cool of there was an option for players to place their money in the world or drop it upon death... still love this mod tho
Loku2 2020 年 4 月 24 日 上午 9:45 
i thought of this but don't know how to make mods, thank you
Piengineer12  [作者] 2019 年 9 月 7 日 下午 10:29 
Money printers? Maybe. I'll consider it...
Sentry 2019 年 9 月 7 日 下午 2:39 
Damn, all I can really suggest is a way to produce money that involves placing entities similar to money printing systems DarkRP posses.
Piengineer12  [作者] 2019 年 9 月 6 日 下午 10:42 
The addon isn't dead BTW, it's just fallen asleep.
Piengineer12  [作者] 2019 年 9 月 6 日 下午 10:41 
I... Kinda forgot about this addon. Whoops.
Honestly I have no ideas on what other ways to earn money. Perhaps you can suggest something?

You can use the Universal Currency Exchnager in the meantime.

I'll update this soon though, to make sure its on par with the GitHub version.
Sentry 2019 年 9 月 6 日 下午 8:57 
I love this addon so much, I can't wait until you add more ways to earn money.
CyberMassacre 2019 年 3 月 16 日 下午 3:16 
Dude, I ♥♥♥♥♥♥♥ love this. Thank you so much.
avi 2019 年 3 月 1 日 上午 10:16 
:/
Piengineer12  [作者] 2019 年 2 月 23 日 上午 7:56 
I'm sorry you didn't find what you were looking for. I'm pretty sure that concept been done before, though. I just can't really remember which addon specifically...
IntellectualPotato 2019 年 2 月 23 日 上午 12:57 
well i tryed that mod and i didnt get it at all and wasnt what i was looking for much at all xd
Lead 2019 年 2 月 19 日 下午 9:32 
ok, this is epic
Piengineer12  [作者] 2019 年 2 月 18 日 下午 4:31 
Oh, that's... very similiar to the Pointshop Banks, Shops and Item Gates addon I made a long time ago. In fact, your last points are basically the Pointshop addon in a nutshell.
IntellectualPotato 2019 年 2 月 18 日 下午 4:28 
yea kinda like
options
buystuffmod -
-store -
-items

-put classname here of prop/weapon/entity-
-price-
-descrition-


-add-

and inside the store orwhatever its there now :D and you can buy it with the money that you get form whatever, or just overtime
and you can give other people money also that would be nice for rp
Piengineer12  [作者] 2019 年 2 月 18 日 下午 4:10 
You mean, an addon that allows you to add custom items, via cash, from a station of some sort, without Lua usage?
IntellectualPotato 2019 年 2 月 18 日 下午 4:08 
i want a addon taht allows you to add stuff ex:
weapons, props, entities and all that stuff for cash also and nto from spawnmenu but a station taht can be spawned i would love that i been wanting that for sandbox lol
S. HITMAN 2019 年 1 月 22 日 下午 11:04 
Oh great! Thanks! I couldn't find it in the admin menu. Great Mod BTW!
Piengineer12  [作者] 2019 年 1 月 22 日 下午 10:55 
There's already a command for that: propprice_resetplayers
S. HITMAN 2019 年 1 月 22 日 下午 10:35 
can u add an option to reset all players incomes and current cash to values in the menu?
Piengineer12  [作者] 2019 年 1 月 21 日 下午 3:10 
You can set the multipliers for the addon, don't worry.
avi 2019 年 1 月 21 日 下午 12:23 
nvm 100k dollors for liberty prime and 15k for zecolion what a rippoff
avi 2019 年 1 月 18 日 下午 12:32 
i like the idea