• Starbank -- Banking Software for PCMod 1 -- Start an RP Bank!
    44 replies, posted
After a week or two of work, I have now finished Starbank. This is not specific to any gamemode and only requires PCMod 1.0.2 This program allows you to: - Open an account for a player - Keep track of how much money you are holding in their account - Pay them interest over a period of time defined by you - Loan money - Print Loan quotes to the printer - Know how much money is owed by which players - Become a Banker, finally in RP! Requires PCMod 1.0.2, extract this file on top of your existing PCMod 1.0.2 so the right files are overwritten [b]VERSION 1.2[/b] garrysmod.org: [url]http://garrysmod.org/downloads/?a=view&id=64899[/url] 1.2 - Fix starbank crash on player disconnect - Fix account creation glitch (account already exists) - Improve the fix in version 1.1 1.1 - Fix serious bank hacking exploit 1.0 - Initial Release Screenshots: Accounts Screen [URL=http://img264.imageshack.us/my.php?image=accounts1pb8.jpg][IMG]http://img264.imageshack.us/img264/8408/accounts1pb8.th.jpg[/IMG][/URL] Loans Screen [URL=http://img8.imageshack.us/my.php?image=loans2xj0.jpg][IMG]http://img8.imageshack.us/img8/8771/loans2xj0.th.jpg[/IMG][/URL] Loan Quotes + Printing Quotes [URL=http://img8.imageshack.us/my.php?image=print3tn0.jpg][IMG]http://img8.imageshack.us/img8/3683/print3tn0.th.jpg[/IMG][/URL] A Printed Quote for a Player [URL=http://img8.imageshack.us/my.php?image=print4xo7.jpg][IMG]http://img8.imageshack.us/img8/7785/print4xo7.th.jpg[/IMG][/URL] NOTE: THIS PROGRAM IS FOR RUNNING A BANK, NOT COLLECTING DEBT HAVE FUN!
WOW! Phil your amazing! If there still was lua i would give it to you!
Good work. I'll have a go at converting to PCMod 2 sometime, if you like.
Jesus Philip! one after another, will you ever sees to amaze us?
The trick is not to announce it too far ahead... :S
[QUOTE=thomasfn;13703369]Good work. I'll have a go at converting to PCMod 2 sometime, if you like.[/QUOTE] That would be great if you have the time to do it - it should be quite simple to separate the UI from the business logic. If not, I'll have a go in a while (maybe a week or 2)
Brilliant, Phil. :) [QUOTE=Guniv;13702869]This looks cool! Now I have a slight reason to run roleplay on my server.[/QUOTE] It's not specific to rp. ;)
[QUOTE=cbrain;13706977]It's not specific to rp. ;)[/QUOTE] How is it not specific to RP? You can't make a loan in Spacebuild or Sandbox...
It's not specific to DarkRP. Anything that uses money can be used. Also, if you DO use DarkRP and you change the currency, the currency will appear correctly on the screens in Starbank, (that goes for any RP script that uses the global CUR variable for the currency symbol)
I hope not announcing it to far ahead goes the same for serious rp :)
It should have been the same for SeriousRP but I was worried about people accusing me of stealing their ideas because they started to come up with the same ones by themselves. At least you know it's on it's way >_<
This is prety nice but i don't believe that this will work, because the people who take loans ingame usually are not willing to pay it back. What i would want to see is an improvement which adds verification code stamp to the printed document so that the bank can prove that they have actually loaned the amount and so if the person who took that loan wont pay back he could be banned for this.
[QUOTE=papu2;13718688]This is prety nice but i don't believe that this will work, because the people who take loans ingame usually are not willing to pay it back. What i would want to see is an improvement which adds verification code stamp to the printed document so that the bank can prove that they have actually loaned the amount and so if the person who took that loan wont pay back he could be banned for this.[/QUOTE] Perhaps also log all loans to a serverside file, so it can be proved.
[QUOTE=papu2;13718688]This is prety nice but i don't believe that this will work, because the people who take loans ingame usually are not willing to pay it back. What i would want to see is an improvement which adds verification code stamp to the printed document so that the bank can prove that they have actually loaned the amount and so if the person who took that loan wont pay back he could be banned for this.[/QUOTE] Thanks for the positive feedback :P A note though - This is exactly why I wrote the very last line on the original post. It's not for debt enforcement. It can't be. It's not within the scope of the program. The purpose of the program is not to enforce the law (and making it provable is also difficult - at least by printing a letter because anyone could make one) This program is basically never going to enforce repayment. Why? Because that's SeriousRP's job. That's when you start using props as collateral on loans and they can be reposessed. But since this is just a program, for the moment it relies on people RPing properly. I've had loans paid back by people before, I recommend using money printers to have extra credit around so you don't end up having to get bailed out. Part of the reason I made this program is to teach the 10 year old DarkRP players how the banks are absolutely and completely screwing us over by experiencing what you have the freedom to do as a banker. SeriousRP will take it to the next level but will also bring in the controls and more law. The banking system there will be similar to this one except the money is stored in the database rather than in cash in your wallet or on a shelf. This has implications in how money is "created" in the game above and beyond what this program does. This program is just purely for accounting. NOT for administration or enforcing debt payment. I found no way of doing it without going way outside what I'd planned to do for this little application. That said, I'm still open to ideas as to how to solve the problem without going outside the bounds of being a simple program for making a note of where you are and what is owed...
A bit offtopic, and probably asked before, but are you intending for SeriousRP to have pcmod1/2 support?
I didn't plan to have specific roles for PC technicians but I might make them manufacturable items (I'd check in lua to see if the mod is installed, if yes, a PC would requires units of plastic and metal to make the parts and then whoever wants to sell PCs in their shop can buy them from whoever has made them)
Brilliant work Phil, too bad PCMod 2 has been released now.
[QUOTE=Unib5;13723708]Brilliant work Phil, too bad PCMod 2 has been released now.[/QUOTE] Thanks! It was actually announced the same day I started coding this. If I do make a PCMod 2 version I might have to cram things in and redesign the layout so I'm not sure if I will just yet. Thomas might have some ideas of how to make it work there. I might save the effort for PDP-11 mod and SeriousRP
[QUOTE=Guniv;13702869]This looks cool! Now I have a slight reason to run roleplay on my server.[/QUOTE] When you put rp on your server will it have ferraris if it does i will join it And phil could you m&#261;k&#281; it where the salary is in a real amout and m&#261;k&#281; a time &#380;on&#281; so you can get paid properly and insted of 45dollers it could be like 1000 or 10000 for normal people and 100000 to 200000 for rich big bussiness owners and mayor And everything a normal prise like money printers are 1000000 dollers insted of 1000 dollers And a car dealer
[QUOTE=spartin334lo;13809192]When you put rp on your server will it have ferraris if it does i will join it And phil could you m&#261;k&#281; it where the salary is in a real amout[/QUOTE] What do you mean? cents / pence? It's single values only because it's easier like that. SeriousRP will have for example $12.95 as prices but not Starbank [QUOTE=spartin334lo;13809192] and m&#261;k&#281; a time &#380;on&#281; so you can get paid properly and insted of 45dollers it could be like 1000 or 10000 for normal people and 100000 to 200000 for rich big bussiness owners and mayor[/QUOTE] A time zone? The more money you print in the game, the less it's worth. Plus, salaries and things like that are part of SeriousRP. The boss chooses the pay amount and the executives vote for the boss. [QUOTE=spartin334lo;13809192]And everything a normal prise like money printers are 1000000 dollers insted of 1000 dollers[/QUOTE] So at least you understand that buying a device that inflates the money supply is a bad thing. If you want to make money printers more expensive, do it on your server using rp_moneyprintercost [QUOTE=spartin334lo;13809192]And a car dealer[/QUOTE] Car dealer Job is part of SeriousRP (not out yet) - This thread is about Starbank
Heey Phil really nice dude! But I cant ssem to get it to work with DarkRP 2.3.5+ It works well theres only one problem! Its when you deposit or withdraw it doesn't take any money from you OR give any.. How can i resolve this because its real fun and nice to use..
So, are you indeed planning a PCMOD 2 ver?
Still how do i get it to work with DarkRP 2.3.5?
It does work Jeepet, but you're expecting it to do something it's not designed to do. The computer doesn't "suck-in" or "eat" and then "spit out" any money. It's just for keeping track of money that YOU have lent out. If you want proper banks, SeriousRP will be for that. Unib5: I'm not currently planning a PCMod2 version.
ohhh thanks anyway but it would be nice though.. Can i get one of JeeSy's coders to work with it and make it spit out and eat money? I mean is that okay with you?
You can do that if you like... It will basically be re-done for SeriousRP anyway. It was mostly just a test on my part.
[QUOTE=philxyz;14052258]You can do that if you like... It will basically be re-done for SeriousRP anyway. It was mostly just a test on my part.[/QUOTE] Nice test then xD
[QUOTE=philxyz;14052258]You can do that if you like... It will basically be re-done for SeriousRP anyway. It was mostly just a test on my part.[/QUOTE] So... uhm.. When will SeriousRP be released?
[QUOTE=dbT;14091086]So... uhm.. When will SeriousRP be released?[/QUOTE] SeriousRP will be released when: - I've completed and released my PDP-11 addon - I've finished designing SeriousRP - I've finished implementing it So before the end of 09 I would say. It will definitely be completed, but because I'm older than most of facepunch and have to go to work every day, by the time I actually get to finish it, most people will think I've forgotten about it (I eventually finished radiosystems, that took me over a year lol but I did it when I had the time). It's a lot more work before I can consider it ready and I'm planning a lot of things which require my concentration such as a choice of database backend, multiple languages, etc I plan to release it before Duke Nukem Forever comes out, but after I'm done with the other things on my list that have to come first. I also have less important things on my list which I'll do after SeriousRP but those are not gmod related.
Starbank currently has a major bug. I'll update this thread when version 1.1 is released. EDIT: Main post Updated with new links.
Sorry, you need to Log In to post a reply to this thread.