Garry's Mod

Garry's Mod

Moneypot
164 Comments
Walter White 9 Mar, 2021 @ 2:50am 
why is the moneypot tool not showing up
Lexi  [author] 15 Sep, 2020 @ 1:40am 
I've just added support for different languages. If you would like to translate this addon into a language you speak, the words that need translating are here: https://github.com/Lexicality/Lexical-Tools/blob/master/resource/localization/en/moneypot.properties
Also if you spot any bugs, tell me.
Lexi  [author] 20 Jul, 2020 @ 6:00am 
What did you have to change?
Zeatth 19 Jul, 2020 @ 7:34am 
Sorted, thank you Lexi :)
Lexi  [author] 19 Jul, 2020 @ 5:13am 
Oh apologies this has already been discussed.
I have no idea where the capital letters are coming from as everything is lowercase in the source repository.
You can download the latest gma from my github here: https://github.com/Lexicality/Lexical-Tools/releases/tag/moneypot_v1.2.1
Lexi  [author] 17 Jul, 2020 @ 12:11pm 
what do you need doing?
Zeatth 17 Jul, 2020 @ 4:12am 
Can you please update the addon file name to support linux hoster servers. Or can someone send me the file for it?
NubTheFatMan 4 Jun, 2020 @ 11:16am 
My host uses linux. I didn't know it was only an issue on linux though
Merlin 4 Jun, 2020 @ 9:56am 
That's only true for users using the Linux operating system.
NubTheFatMan 4 Jun, 2020 @ 9:54am 
I found the problem. I extracted the GMA and discovered that the file "Moneypot" starts with a capital. GMod is strict about file names (at least on my host), all files need to be lowercase (it's even said on the gmod wiki, I think. I could be wrong). I made the file lowercase and put it in the addons folder, and now it appears on the server.
Lexi  [author] 3 Jun, 2020 @ 11:23am 
I'm sorry, I have no idea. I guess you could try moving those addons into a different folder to see what happens, then add them one by one until you see which one breaks.
NubTheFatMan 2 Jun, 2020 @ 6:37pm 
I have restarted the server and checked for errors. I didn't see any but it does move quickly, so I tried on an SRCDS server. The SRCDS server worked and it installed correctly (with +host_workshop_collection <id> , so it must be a conflict with mods I have uploaded in /garrysmod/addons/ . Here's a link to that: https://prnt.sc/sspcqk
Lexi  [author] 2 Jun, 2020 @ 10:20am 
Are there any errors?
Are you sure the server's subscribed to it correctly?
NubTheFatMan 1 Jun, 2020 @ 11:04pm 
Doesn't work? I have it installed on my server, but it doesn't appear anywhere. It's not in entities, wire, tools, or anywhere else on the spawnlist. I have a search mod enabled, and searching for it in all areas comes up with nothing.
Lexi  [author] 26 Apr, 2020 @ 3:28am 
You can add a check to see if the changed amount is greater than 0
Ramirez 25 Apr, 2020 @ 9:38pm 
Is there a way to detect only when money is put in?
Lexi  [author] 21 Apr, 2020 @ 12:50am 
Hi @Proto, the source code is online here: https://github.com/Lexicality/Lexical-Tools
Merlin 20 Apr, 2020 @ 8:18am 
@Proto
Find the gma file of this addon and use Gmad, Gmad will extract the files to a folder that it will automatically create.
Proto 20 Apr, 2020 @ 7:39am 
Hi Lexi, appears to be that this addon is no longer working on servers, only singleplayer. Can I possibly have a folder version of this, instead of workshop? Want to try and see if it works. This worked a week ago, but no longer appears on the server, despite loading successfully. Cheers!
Lexi  [author] 26 Apr, 2019 @ 11:35am 
Done
Lexi  [author] 26 Apr, 2019 @ 11:08am 
Ah nevermind, fairly simple actually. Because of the way wire gates are implemented, and the delay gate in particular, the input has to be high when the gate's think hook fires.
I'll add a 0.1ms delay.
Lexi  [author] 26 Apr, 2019 @ 10:58am 
I'll look in to it, but I recommend you ask the wire team too.
[13th] Void 25 Apr, 2019 @ 12:31pm 
With E2 it works find, but the issue is that most servers with wire (darkrp servers is what im talking about) don't allow e2 for everyone. We're stuck with gates.

I know the value flicks right back to false after it is true, but that is the point of the delay chip with its "hold" input. It is supposed to "hold" its value for a set period of time once it receives a true input so it shouldn't be an issue. This this is something I should contact the wire team about?

I thought to contact you as it is your addon that isn't interacting with the chip correctly. Let me know what you think bud! :D
Lexi  [author] 25 Apr, 2019 @ 9:21am 
Could you try with an E2 chip?
The output value goes high and low in the same frame, so you'll never see it on a display. I don't know how other wire gates handle that, as I only ever tested with E2s.
[13th] Void 23 Apr, 2019 @ 7:45pm 
The "Updated" Output never changes to 1 so I cant use gates to check if a user added money to the moneypot. Any reason why it may have quit working for me?

What I did for testing was
Delay chip
Clk to the Updated of the moneypot
hold to 5 on a constant value

Wired a screen to the out of the delay chip to see if it was ever triggered.

Nothings happening when I add/remove money to/from the pot.
Lexi  [author] 23 Apr, 2019 @ 10:04am 
Yup. You need to make your own entity, see https://github.com/Lexicality/Lexical-Tools/blob/master/lua/entities/darkrp_moneypot.lua for how to do that.
beanblower 23 Apr, 2019 @ 5:49am 
can this work with custom money
wispee 8 Jan, 2019 @ 12:55pm 
@lexi thank you!
Lexi  [author] 31 Dec, 2018 @ 10:30am 
@fishtailwags: You can now set the cvar moneypot_spawn_delay to 0 to spawn money instantly.
Lexi  [author] 18 Dec, 2018 @ 3:19am 
https://github.com/Lexicality/Lexical-Tools/blob/master/lua/entities/base_moneypot.lua#L224
Change DelayedSpawn to SpawnAmount.
There was definitely a reason why it took 1 second to spawn, but it was so long ago that I can't remember what it was.
I'll make it a cvar.
wispee 17 Dec, 2018 @ 4:49pm 
Is there a way I can change the code to make it drop the money instantly when given the command to? it is really annoying when using it with wire, it needs to be instant rather than taking a second or 2
Merlin 18 Aug, 2018 @ 6:03pm 
@Lexi

Did you type that incorrectly? Because it's telling me unknown command whenever I input it and it doesn't change the max amount of money pots able to spawn.
Lexi  [author] 17 Aug, 2018 @ 12:38am 
Yeah, sbox_max_moneypots
Merlin 16 Aug, 2018 @ 12:31pm 
Is there a sbox_max command to change how many money pots you can spawn?
Nakkitsunami 21 Jun, 2018 @ 5:20am 
hey i can't spawn this i use darkrp gamemode when i spawn it it doesn't appear pls help
Cocoa Puffs 25 Mar, 2018 @ 11:34pm 
money request and shipment functions for Expression 2 (if you are an e2 user)
Lucas_6 14 Feb, 2018 @ 9:28am 
Is there any money mods or bank mods you would reccomend?
D1.yt 15 Sep, 2017 @ 4:28pm 
can you maybe increase the range of the moneypot? so the money can just chill next to the moneypot instead of touching it? then i don't have to build a slide lol. $->Moneypot->$->Moneypot2. No slide. Just money chillin between the pots waiting to be picked up by pot 2
Lexi  [author] 13 Sep, 2017 @ 1:09pm 
source's physics system is dodgy as hell so there's a delay after the money spawns before it can be picked up again. Try making a short slide between them or something.
D1.yt 2 Sep, 2017 @ 8:17am 
That's why I wrote a comment, but well, the modder doesn't care I guess.
D1.yt 2 Sep, 2017 @ 8:17am 
I did and it doesn't work
Because the money just jumps away
Martin Harris 21 Aug, 2017 @ 10:48am 
Cran you can use wire to auto use it and the other will take.
D1.yt 17 Jul, 2017 @ 9:01am 
can you change the property of it so you can add money from one pot into another next to it. would be really helpful for automatic shops without cheating the money into your inventory with using a wire user. When I align money pots right now, the money just jumps out of the second pot because the second pot doesn't accept money when it's placed directly in it.
chazza 20 Mar, 2017 @ 10:57am 
Why Is it an Error When i spawn ? ;/
ADF-01 Falken 16 Nov, 2016 @ 11:51am 
HAAALP
THING WONT STORE MONEY
HELP NAO
Lexi  [author] 4 Nov, 2016 @ 2:30am 
This doesn't appear to be built in to DarkRP.
If you're running custom Lua then you need to call [code]ent:CPPISetOwner(ply)[/code] on the newly created entity, unless DarkRP has a feature for this already.
For more info, please ask in the DarkRP forums [forum.darkrp.com]
Red_Fog 3 Nov, 2016 @ 1:39pm 
ok let me know how it goes
Lexi  [author] 3 Nov, 2016 @ 10:20am 
I have never tried with the f4 menu, I'll have a go tonight.
Red_Fog 2 Nov, 2016 @ 1:18pm 
ya we tried to make it spawn theough the darkrp entites tab for players but it spawned as a world prop do you know a way we can make it so its not a world prop when spawned through the entites tab in the f4 menu or should we just use the toolgun
Lexi  [author] 23 Oct, 2016 @ 7:24am 
Works fine for me [i.imgur.com]