Name: dorrax 2011-05-17 21:23
I have been writing a program for minecraft worldedit to do a large and complex thing that I cannot do with normal worldedit commands. However I am running to several issues. First, the program has to be in javascript, and I have never javascripted before, I have done Java and python and C, so I getting javascript figured out slowly though.
There are quite a few calculations I have to do with the program. If I do those inside the javascript code I get a time out error, says it needs to take less than 3000ms. If I do the calculations in python to make an array and copy and paste it into the java script, I get a file too large error, it needs to be less than 64kb.
This is making me think I need a database or some other external file that I can write to with one program and read from with the other program, but I have never had to do this with anything other than text files, and from I have been able to find so far, javascript won't read text files. What should I do?
There are quite a few calculations I have to do with the program. If I do those inside the javascript code I get a time out error, says it needs to take less than 3000ms. If I do the calculations in python to make an array and copy and paste it into the java script, I get a file too large error, it needs to be less than 64kb.
This is making me think I need a database or some other external file that I can write to with one program and read from with the other program, but I have never had to do this with anything other than text files, and from I have been able to find so far, javascript won't read text files. What should I do?