Jump to content




Computercraft Money Server


  • You cannot reply to this topic
16 replies to this topic

#1 KeeganDeathman

  • Members
  • 61 posts

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:
Spoiler

To setup The money server
Spoiler

To setup a client
Spoiler

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

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
https://www.youtube....</modem></masterid>

Edited by KeeganDeathman, 21 January 2015 - 10:48 PM.


#2 3dsboy08

  • Members
  • 20 posts

Posted 02 November 2014 - 11:06 PM

Master server pastebin link is broken.

#3 KeeganDeathman

  • Members
  • 61 posts

Posted 03 November 2014 - 12:46 AM

Sorry, Fixed.

#4 TurtleHunter

  • Members
  • 112 posts

Posted 07 November 2014 - 12:31 AM

And bukkit is not dead, Dinnerbone is updating it

#5 KeeganDeathman

  • Members
  • 61 posts

Posted 07 November 2014 - 03:06 AM

It is for the moment!

#6 MarioBrosFTW

  • Members
  • 12 posts

Posted 24 November 2014 - 01:46 AM

client pastebin was removed pls replace

#7 KeeganDeathman

  • Members
  • 61 posts

Posted 25 November 2014 - 12:22 AM

Whoops sorry. Fixed

#8 willwac

  • Members
  • 182 posts

Posted 30 November 2014 - 02:46 AM

You forgot the "get"
pastebin get ZRATcZHp master


#9 KeeganDeathman

  • Members
  • 61 posts

Posted 03 December 2014 - 05:35 AM

Oops.

#10 KeeganDeathman

  • Members
  • 61 posts

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.

#11 KeeganDeathman

  • Members
  • 61 posts

Posted 18 December 2014 - 07:28 AM

I seem to have fixed it by compressing it into one file

#12 ByteMe

  • Members
  • 124 posts
  • LocationAdelaide, Australia

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.

#13 KeeganDeathman

  • Members
  • 61 posts

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 :)

#14 simbja

  • New Members
  • 1 posts
  • LocationAmerica

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 ?

#15 KeeganDeathman

  • Members
  • 61 posts

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")

View Postsimbja, on 11 February 2015 - 04:12 AM, said:

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 ?


#16 Mining_Pickaxe

  • Members
  • 15 posts
  • Locationhm... Im not sure... I guess i am living on the earth? I may be wrong.

Posted 25 April 2015 - 09: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.

#17 KeeganDeathman

  • Members
  • 61 posts

Posted 26 April 2015 - 04:29 AM

You can certainly use it, but Im not sure about publishing it





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users