Garry's Mod

Garry's Mod

Moneypot
165 条留言
Kiwi 8 月 8 日 下午 9:21 
Nice
Walter White 2021 年 3 月 9 日 上午 2:50 
why is the moneypot tool not showing up
Lexi  [作者] 2020 年 9 月 15 日 上午 1:40 
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  [作者] 2020 年 7 月 20 日 上午 6:00 
What did you have to change?
Zeatth 2020 年 7 月 19 日 上午 7:34 
Sorted, thank you Lexi :)
Lexi  [作者] 2020 年 7 月 19 日 上午 5:13 
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  [作者] 2020 年 7 月 17 日 下午 12:11 
what do you need doing?
Zeatth 2020 年 7 月 17 日 上午 4:12 
Can you please update the addon file name to support linux hoster servers. Or can someone send me the file for it?
NubTheFatMan 2020 年 6 月 4 日 上午 11:16 
My host uses linux. I didn't know it was only an issue on linux though
Merlin 2020 年 6 月 4 日 上午 9:56 
That's only true for users using the Linux operating system.
NubTheFatMan 2020 年 6 月 4 日 上午 9:54 
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  [作者] 2020 年 6 月 3 日 上午 11:23 
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 2020 年 6 月 2 日 下午 6:37 
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  [作者] 2020 年 6 月 2 日 上午 10:20 
Are there any errors?
Are you sure the server's subscribed to it correctly?
NubTheFatMan 2020 年 6 月 1 日 下午 11:04 
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  [作者] 2020 年 4 月 26 日 上午 3:28 
You can add a check to see if the changed amount is greater than 0
Ramirez 2020 年 4 月 25 日 下午 9:38 
Is there a way to detect only when money is put in?
Lexi  [作者] 2020 年 4 月 21 日 上午 12:50 
Hi @Proto, the source code is online here: https://github.com/Lexicality/Lexical-Tools
Merlin 2020 年 4 月 20 日 上午 8:18 
@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 2020 年 4 月 20 日 上午 7:39 
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  [作者] 2019 年 4 月 26 日 上午 11:35 
Done
Lexi  [作者] 2019 年 4 月 26 日 上午 11:08 
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  [作者] 2019 年 4 月 26 日 上午 10:58 
I'll look in to it, but I recommend you ask the wire team too.
Void 2019 年 4 月 25 日 下午 12:31 
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  [作者] 2019 年 4 月 25 日 上午 9:21 
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.
Void 2019 年 4 月 23 日 下午 7:45 
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  [作者] 2019 年 4 月 23 日 上午 10:04 
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 2019 年 4 月 23 日 上午 5:49 
can this work with custom money
wispee 2019 年 1 月 8 日 下午 12:55 
@lexi thank you!
Lexi  [作者] 2018 年 12 月 31 日 上午 10:30 
@fishtailwags: You can now set the cvar moneypot_spawn_delay to 0 to spawn money instantly.
Lexi  [作者] 2018 年 12 月 18 日 上午 3:19 
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 2018 年 12 月 17 日 下午 4:49 
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 2018 年 8 月 18 日 下午 6:03 
@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  [作者] 2018 年 8 月 17 日 上午 12:38 
Yeah, sbox_max_moneypots
Merlin 2018 年 8 月 16 日 下午 12:31 
Is there a sbox_max command to change how many money pots you can spawn?
Nakkitsunami 2018 年 6 月 21 日 上午 5:20 
hey i can't spawn this i use darkrp gamemode when i spawn it it doesn't appear pls help
Cocoa Puffs 2018 年 3 月 25 日 下午 11:34 
money request and shipment functions for Expression 2 (if you are an e2 user)
Lucas_6 2018 年 2 月 14 日 上午 9:28 
Is there any money mods or bank mods you would reccomend?
D1.yt 2017 年 9 月 15 日 下午 4:28 
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  [作者] 2017 年 9 月 13 日 下午 1:09 
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 2017 年 9 月 2 日 上午 8:17 
That's why I wrote a comment, but well, the modder doesn't care I guess.
D1.yt 2017 年 9 月 2 日 上午 8:17 
I did and it doesn't work
Because the money just jumps away
Martin Harris 2017 年 8 月 21 日 上午 10:48 
Cran you can use wire to auto use it and the other will take.
D1.yt 2017 年 7 月 17 日 上午 9:01 
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 2017 年 3 月 20 日 上午 10:57 
Why Is it an Error When i spawn ? ;/
ADF-01 Falken 2016 年 11 月 16 日 上午 11:51 
HAAALP
THING WONT STORE MONEY
HELP NAO
Lexi  [作者] 2016 年 11 月 4 日 上午 2:30 
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 2016 年 11 月 3 日 下午 1:39 
ok let me know how it goes
Lexi  [作者] 2016 年 11 月 3 日 上午 10:20 
I have never tried with the f4 menu, I'll have a go tonight.
Red_Fog 2016 年 11 月 2 日 下午 1:18 
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