This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
KeeganDeathman's profile picture

Computercraft Money Server

Started by KeeganDeathman, 02 November 2014 - 06:11 PM
KeeganDeathman #1
Posted 02 November 2014 - 07:11 PM
Hello!
This is a server client program duo that will replace all the bukkit currency plugins that died with bukkit.
It works off a 3 computer or more setup.
A master server
A money server
And clients!

Clients request money actions(new accounts, transfer of funds, and getting account balance)
Master server transfer these requests to the money server
Money Server does thangs!

This works off a modified version of nitrogenfinger's tree network.

To setup The master server:
SpoilerYou need to have to modem on the top.
pastebin get JZY27A6T gui
run gui

To setup The money server
Spoilerpastebin get 3DcxtxAc money
run money <masterid> <modem side="">

To setup a client
Spoilerpastebin get kMFytj9K register
pastebin get eVAr9NYq money
run register
run money

To extend the range that the server can reach you must setup a router or more. Routers can be linked together.
Spoilerpastebin get m7gZ9BGd router
run router

By default there is no money. So I suggest if you are to use this on a server to establish some people who start off with money, preferably people in positions of power(shop owners, owners of company's, people who pay people) and editing their account to give them money


Youtube video
[media]https://www.youtube.com/watch?v=ERyCCvnB4ak&amp;feature=youtu.be[/media]</modem></masterid>
Edited on 21 January 2015 - 09:48 PM
3dsboy08 #2
Posted 02 November 2014 - 11:06 PM
Master server pastebin link is broken.
KeeganDeathman #3
Posted 03 November 2014 - 12:46 AM
Sorry, Fixed.
TurtleHunter #4
Posted 07 November 2014 - 12:31 AM
And bukkit is not dead, Dinnerbone is updating it
KeeganDeathman #5
Posted 07 November 2014 - 03:06 AM
It is for the moment!
MarioBrosFTW #6
Posted 24 November 2014 - 01:46 AM
client pastebin was removed pls replace
KeeganDeathman #7
Posted 25 November 2014 - 12:22 AM
Whoops sorry. Fixed
willwac #8
Posted 30 November 2014 - 02:46 AM
You forgot the "get"
pastebin get ZRATcZHp master
KeeganDeathman #9
Posted 03 December 2014 - 05:35 AM
Oops.
KeeganDeathman #10
Posted 18 December 2014 - 07:08 AM
I seem to have fudged up.
The PkgMake program keeps messing up and making errors causing the program not to run
As such I have lost some files while trying to fix it. I will see if I can get them back and find another way to get the files.
KeeganDeathman #11
Posted 18 December 2014 - 07:28 AM
I seem to have fixed it by compressing it into one file
ByteMe #12
Posted 18 December 2014 - 08:02 AM
package the client one and make the master server included in server so it just checks if there is already a master server, just an overall better experience and use for the user.
KeeganDeathman #13
Posted 18 December 2014 - 08:19 AM
You mean cut out the master server?
The entire system would need rewriting, and as is, is compatible with the server applications made for nitrogen fingers original server(email, turtle defense mechanism,…)
I think I may just create a version of the server that allows for new server applications to be made easily and run off one central server. Because as is, you need to manually edit the master server to recognize requests about your new server.
Like Forge for the NitrogenFingers server system :)/>
simbja #14
Posted 11 February 2015 - 04:12 AM
Could we say get code added to lock the 'Client' menu, so instead of 4 being to exit the application, you must either hold ctrl-T or enter a password (password sounds more secure). I want to use this as an ATM but I don't wish for idiots who come across the ATM to sabotage it with it being not password protected ?
KeeganDeathman #15
Posted 12 February 2015 - 09:31 AM
Well if you wish to use it as an ATM, as in a midway between physical and digital money, in game, it would require some writing on your part.
If not, I'm confused.
Also, you need a password for the giving account, or else you're rejected.
but yeah, this server is designed for electronic currency only. However, except in the get balance function, I don't believe the server sends back anything. So you'd have to redo the server as well. If you get that fixed up , you could use some tricky redstone, or a command block.

But for the 4 option, it is simple to remove it,
find
elseif cmd == "4" then
exit()
, and delete it. As well as

print("4. Exit")

Could we say get code added to lock the 'Client' menu, so instead of 4 being to exit the application, you must either hold ctrl-T or enter a password (password sounds more secure). I want to use this as an ATM but I don't wish for idiots who come across the ATM to sabotage it with it being not password protected ?
Mining_Pickaxe #16
Posted 25 April 2015 - 10:27 AM
Hey, really like your program, its awesome. I made some minor changes to it and im now coding a Shop for it. Can i use your code on a server with some minor tweaks and my Shopsystem based on your Money Server? And am i allowed to publish it? Of course you are mentioned in the programs and on the thread if i am allowed to publish it. otherwise i will only publish the Shop-System.
KeeganDeathman #17
Posted 26 April 2015 - 05:29 AM
You can certainly use it, but Im not sure about publishing it