1646 Commits

Author SHA1 Message Date
Florian Nücke
a9efeb6b26 Added tractor beam upgrade (item magnet). 2014-07-06 21:03:45 +02:00
Florian Nücke
232f5fad61 Added motion sensor block. 2014-07-06 14:49:19 +02:00
Florian Nücke
7c5a8d961d Attempt at fixing an NPE, take two. 2014-07-05 22:58:01 +02:00
Florian Nücke
0e5f320a47 Should fix a reported NPE in server racks. 2014-07-05 22:06:14 +02:00
Florian Nücke
fc16ceb935 Avoid potential assertion error. v1.3.0-rc.1 2014-07-05 15:03:56 +02:00
Florian Nücke
e4ebcbb6a4 Merge branch 'patch-2' of https://github.com/istasi/OpenComputers 2014-07-05 13:46:54 +02:00
Florian Nücke
3d6efb642c Merge https://github.com/gamax92/OpenComputers 2014-07-05 13:45:26 +02:00
istasi
9c587bd317 Adds support for the environment variable _
http://istasi.dk/printenv.png yes, this clearly editted, due to my heighten paranoid level
2014-07-05 12:37:43 +02:00
Florian Nücke
495d083dd9 Made LuaJ kernel error checking more robust. 2014-07-05 01:45:02 +02:00
gamax92
6616de2947 Forgot an import
import java.util.Arrays
2014-07-04 17:16:47 -06:00
gamax92
6164a9f769 Fix some LuaJ bugs (Not tested for LuaJ 3)
LuaDouble:
Do not try Long.toString
Do not cast to float

LuaString:
Do not scan as a long
Add another check in scandouble (was scanlong)
Have substring create new bytes to work with
2014-07-04 17:10:25 -06:00
Florian Nücke
029027fadb Updated Mac natives. 2014-07-05 00:02:21 +02:00
Florian Nücke
7a2e327ee3 Added a null check in ItemCost comparison method to avoid potential NPEs for weird recipes. 2014-07-04 23:26:46 +02:00
Florian Nücke
794f3384ec Little bit of cleanup and fixed case sensitivity detection being inverted. 2014-07-04 16:58:55 +02:00
Kilobyte22
d544f9748d Fixed a stupid oversight
Creation of directories now checks filename validity again
2014-07-04 15:35:48 +02:00
Kilobyte22
e62895e901 Made FS support case insensitivety
The Buffered File System now supports case insensitive behaviour when the
underlaying FS is case insensitive
2014-07-04 15:33:46 +02:00
Florian Nücke
d2e0b22230 Updated Eris, should get rid of the potential native crash when saving. 2014-07-04 13:59:53 +02:00
Florian Nücke
7d80fbcb60 Re-throwing UnsupportedOperationExceptions as Lua errors when thrown in callbacks (usually in OpenComponents' CC wrapper stuff). 2014-07-03 18:38:42 +02:00
Florian Nücke
0c96d38afb Fixed another userdata related persistence issue (discrepancy in callback name after load leading to userdata failing to be saved again). 2014-07-03 18:28:22 +02:00
Florian Nücke
ac25db2c0d Added missing userdata wrapping and removed debug prints. 2014-07-03 05:35:52 +02:00
Florian Nücke
a19c05442d Changed option flag for ls to display file and dir count to an unused one and made it read like dir in Windows (which is what it's meant to mimic, after all). 2014-07-02 20:11:09 +02:00
Florian Nücke
e7c863a00d Merge https://github.com/Wuerfel21/OpenComputers 2014-07-02 19:14:55 +02:00
Florian Nücke
ce4316e91d Added another try-catch to the native lib version check in case rights settings get weird (reported on MCF). 2014-07-02 19:13:53 +02:00
Florian Nücke
da264e3aca Switches can no longer loop on their own (i.e. they will ignore network messages they relayed themselves when they arrive on another side of the switch).
Fixed a color bug.
2014-06-29 20:56:49 +02:00
Florian Nücke
ce4786fbed Should fix #365. 2014-06-29 17:47:05 +02:00
Florian Nücke
009e51b288 Prevent error loops in xpcall. 2014-06-28 18:52:11 +02:00
Florian Nücke
c4986eeb82 Screw nextGaussian, using nextDouble for the random direction when dropping stuff from robots (and other inventories) now, makes for no... outliers, leading to extreme values. Closes #347. 2014-06-28 15:50:34 +02:00
Florian Nücke
9f8d88a20a Removed forgotten debug println. *sigh* 2014-06-27 17:48:40 +02:00
Florian Nücke
ebac31b71a Eh? 2014-06-27 17:34:43 +02:00
Florian Nücke
e4eb4ae8f6 Trying to fix some initialization order hiccups... 2014-06-27 16:55:43 +02:00
Florian Nücke
72969868f4 Added some noise to the geolyzer results. It'll still be able to tell air blocks with 100% accuracy, though. 2014-06-27 01:30:39 +02:00
Florian Nücke
d8da5671c2 Added the concurrent open port limit to network cards I could have sworn I had added on day one -.- 2014-06-27 01:07:52 +02:00
Florian Nücke
e7cfe9597a Fixed display glitch for robot power display when playing on servers. 2014-06-27 00:59:31 +02:00
Florian Nücke
ace242f7d0 More fewer AIOOBEs. 2014-06-26 23:57:23 +02:00
Florian Nücke
3122942649 Removed potentially problematic GC call from host side.
Fixed potential 'nullpointer' in file handle gc metamethod.
2014-06-26 21:28:56 +02:00
Florian Nücke
12c1e74888 Fixed buffered file system allowing creation of files with names that could not be flushed to the host file system. 2014-06-26 20:22:27 +02:00
Florian Nücke
b60bdb7c35 Should fix #362. 2014-06-26 18:26:06 +02:00
Florian Nücke
2b801f2b4a Fixed damage handling for TC tools. 2014-06-26 18:00:12 +02:00
Florian Nücke
6694455c14 Removed the config for the 'greeting' again, instead wrapped the functionality in a motd file that can be a script. Delete it to disable the greeting. 2014-06-26 17:41:26 +02:00
Florian Nücke
8683f500c9 Made Lua accept an argument, the path to a script to execute, and an option, -i, to enter interactive mode after executing that script, anyway.
Made process.load check for #!, running command instead of as Lua script directly. Let's see if things go horribly wrong, now.
2014-06-26 17:35:23 +02:00
Florian Nücke
65b3bc836a Fixed output of component.experience.level(). 2014-06-26 16:38:44 +02:00
Florian Nücke
858572183f Fixed ranges in experience upgrade event handler leading to no experience gain. 2014-06-26 16:33:02 +02:00
Florian Nücke
3fd4a42a32 Fixed robot item repair events passing the stacks in the wrong order, leading to items not being used up at the decreased rate they should be. 2014-06-26 16:21:29 +02:00
Florian Nücke
00e4f55026 Minor cleanup to more.lua, fixed single line advance to not exit when at end of file. 2014-06-26 15:05:19 +02:00
Florian Nücke
4f0665f2b6 Merge git://github.com/jamesb6626/OpenComputers 2014-06-26 14:52:09 +02:00
Florian Nücke
ef88008dd3 Added openos.conf, for now only with an option to disable the greetings. 2014-06-26 14:45:38 +02:00
Florian Nücke
c05d921529 Merge pull request #361 from JoshTheEnder/patch-1
Update greetings.txt
2014-06-26 14:28:53 +02:00
Josh
12b46336fb Update greetings.txt 2014-06-26 13:27:25 +01:00
Florian Nücke
45a9728b6d Made text.wrap not wrap at a couple more chars.
Added text.wrappedLines to get an iterator over wrapped text.
Made OpenOS show a small info text after booting up.
2014-06-26 14:21:39 +02:00
Florian Nücke
c96174d168 Yay random dependency resolving >_> 2014-06-26 13:36:35 +02:00