25 posts
Posted 26 January 2013 - 08:14 AM
basically, i run a little organisation on a tekkit server in which people give me ores and i pay them, they do this when i am offline however a piece of paper doesnt seem to be the best way of recording who gave what.
whant i am asking is, can someone make a program that remembers for example how much iron ore has been handed in in total ?
basically an on going counting system
haha i have tried many times
edvise is also really appreciated
thanks!
131 posts
Location
I am omnipresent... DUH
Posted 26 January 2013 - 01:11 PM
It is simple, but what exactly do you need? What do the trade to you? just tell me and I can do it.
Edited on 26 January 2013 - 12:12 PM
25 posts
Posted 27 January 2013 - 02:37 AM
i need something where i enter say "24 copper" and it ads 24 to the total amount of copper. haha
131 posts
Location
I am omnipresent... DUH
Posted 27 January 2013 - 05:13 AM
i need something where i enter say "24 copper" and it ads 24 to the total amount of copper. haha
You said you are buying ores, surely you want to keep track of who put it in. I could do it like this : they put the items in a chest, and then they enter their name, it takes the items from the chest and says you owe them x amount.
515 posts
Location
Australia
Posted 27 January 2013 - 02:45 PM
i need something where i enter say "24 copper" and it ads 24 to the total amount of copper. haha
Alright I did that, you can find it on pastebin here:
http://pastebin.com/ghWzuBjVI tried to find and fix as many bugs I could think of/find.
Tips:
You can actually do math calculations with the number of objects, ex: If I have 3 stacks of copper I would do 3*64 copper.
You can also remove objects by using negative numbers
Entering a non integer will round the number
Entering a number followed by an object that doesn't exist in the database will create it
25 posts
Posted 29 January 2013 - 07:37 AM
thank you so much i really appreciate it
25 posts
Posted 29 January 2013 - 07:39 AM
that is one huge program
is it possible to have more than one account? like one for each worker
25 posts
Posted 29 January 2013 - 07:41 AM
i need something where i enter say "24 copper" and it ads 24 to the total amount of copper. haha
Alright I did that, you can find it on pastebin here:
http://pastebin.com/ghWzuBjVI tried to find and fix as many bugs I could think of/find.
Tips:
You can actually do math calculations with the number of objects, ex: If I have 3 stacks of copper I would do 3*64 copper.
You can also remove objects by using negative numbers
Entering a non integer will round the number
Entering a number followed by an object that doesn't exist in the database will create it
does this have a memory then? so if say the computer shut down it will still remember
25 posts
Posted 29 January 2013 - 08:03 AM
sorry to drag on but is there a fast way to transfer this onto a multiplayer server? lol
392 posts
Location
Christchurch, New Zealand
Posted 29 January 2013 - 10:20 AM
run
pastebin get ghWzuBjV transfer
On the computer, then type
transfer
25 posts
Posted 29 January 2013 - 10:28 AM
omg haha i just spent around an hour and a half trying to type it.. and got it wrong
thank you so much
:D/>
now nobody will be claiming too many rewards :P/>
25 posts
Posted 29 January 2013 - 10:34 AM
thannks
25 posts
Posted 29 January 2013 - 10:36 AM
run
pastebin get ghWzuBjV transfer
On the computer, then type
transfer
it didnt work lol "no such program"
758 posts
Location
Budapest, Hungary
Posted 29 January 2013 - 10:44 AM
then http API is disabled - that's not gonna work unless you can convince the owner to enable it
25 posts
Posted 29 January 2013 - 10:45 AM
dang
3790 posts
Location
Lincoln, Nebraska
Posted 29 January 2013 - 11:27 AM
There are some utilities available in the apis/utilities section that you can use to copy. I think the best one there is here:
http://www.computercraft.info/forums2/index.php?/topic/4864-cc-copy-your-solution-to-servers-without-http-api/
515 posts
Location
Australia
Posted 29 January 2013 - 02:25 PM
And yes, it does save the items data onto the computer into a file called oreData, so if you reboot your computer the items will still be there
25 posts
Posted 29 January 2013 - 08:14 PM
thank you 1lann it is a really good programme :D/>