3307 Commits

Author SHA1 Message Date
Florian Nücke
dbf99cdf4e Fixes error with AE2 rv2 caused by use of wrong API class. Closes #847. 2015-01-24 20:35:29 +01:00
Florian Nücke
c5e114e0ae Added try-catch around Keyboard.* calls because they can apparently error if something is misconfigured somewhere. Closes #846. v1.4.6 2015-01-24 19:00:42 +01:00
Florian Nücke
c6042b682d Version bump. 2015-01-24 18:54:19 +01:00
Florian Nücke
f0af06144e Allow binding debug card to a player to use the player's permissions for runCommand by shift-rightclicking it while holding it. Closes #843. 2015-01-24 18:54:04 +01:00
Florian Nücke
080c485c05 AE2 controller integration now works via interface block if channels are disabled (meaning controller block won't be available). Closes #791. 2015-01-24 16:19:12 +01:00
Florian Nücke
40bbac10c6 Preloading sounds, reduces lag on clientside when first starting a computer some. 2015-01-24 15:27:20 +01:00
Florian Nücke
603f23a0fb May fix duplicates in dev jars on Jenkins. Or break everything. 2015-01-23 20:42:13 +01:00
Florian Nücke
6156ccc1ef Added interface to allow controlling on which sides SimpleComponents can be connected. Closes #844. 2015-01-22 21:52:29 +01:00
Florian Nücke
068159cdf5 Added preconfigured Tablet to NEI, missed that when adding the other preconfigured stuff. 2015-01-22 21:13:55 +01:00
Florian Nücke
dfa9633491 Raid blocks will now keep their inventory when broken, allowing relocation without losing their data. 2015-01-22 21:02:46 +01:00
Florian Nücke
fe4f63dc23 Fixed AE2 integration's getCraftables returning stored stacks; now properly returning recipe output stacks (mostly noticeable in the stack size of a craftable). Closes #841. 2015-01-22 16:24:36 +01:00
Florian Nücke
60c97140d9 Make disassembler finish disassembly of added item immediately if added by a player in creative mode. Closes #839. 2015-01-21 21:46:29 +01:00
Florian Nücke
49197c57b1 Fixed miniscule chance of items breaking in disassembler even when chance was set to zero (see #839). 2015-01-21 19:49:42 +01:00
Florian Nücke
5679150b80 Make block breaking fail when we're too weak (strength is zero). Fixes #834. 2015-01-20 12:56:25 +01:00
Florian Nücke
3a217d830d Test thinger for #834. 2015-01-20 00:59:51 +01:00
Florian Nücke
19e39a2f13 Extended implementation of switch CC peripheral to properly "fake" connected modems (all the remote stuffs).
This means CC can now call methods on OC peripherals \o/
2015-01-19 23:43:00 +01:00
Florian Nücke
d3918d39dc Let me herp you all about my derps. 2015-01-19 23:41:14 +01:00
Florian Nücke
cf8adae113 Corrected echo manpage to not assume besh. Closes #835. 2015-01-19 21:29:49 +01:00
Florian "Sangar" Nücke
35b55a118b Merge pull request #832 from mpmxyz/master-MC1.7.10
Fixed filesystem.list returning a list with duplicate values
2015-01-19 19:03:11 +01:00
Florian Nücke
3561827cb3 Fixed bad override leading to incorrectly interpreted redstone output in some scenarios. Closes #836. 2015-01-19 18:52:53 +01:00
Florian Nücke
25aab07368 Fixed Mekanism energy acceptor method returning inverted value, leading to non-stop power acceptance. 2015-01-18 21:59:02 +01:00
mpmxyz
6079f0e0f5 Fixed filesystem.list returning a list with duplicate values
The error was caused by increasing the index i after removing its value: The value after the removed one was ignored.
To see an effect you need two directories being neighbors in the list.
Both also have to have a symbolic link or a mounting point inside.
-> That's a rare but possible combination.

Here an example:
 bugdir/
  a/
   link1 -> link somewhere
  b/
   link2 -> link somewhere
#ls bugdir
a  b  b (!)
2015-01-18 18:55:56 +01:00
Florian Nücke
83fdee38f3 Added comparator override to capacitor, based on its (local!) buffer fill rate.
Note that this updates its neighbor blocks only using block ticks, which are random (because I do not want capacitors to be ticking tile entities). So don't expect this to update *immediately*.
2015-01-18 14:30:50 +01:00
Florian Nücke
da410fc13e Added timeout to item cost computation, just to be on the safe side.
Had that lock up in dev mode a few times, pretty sure the synchronization should be enough, but hey.
2015-01-18 14:28:04 +01:00
Florian Nücke
13a8dde8a6 Fixed highly unlikely, non-critical NPE in machine (could happen in the very rare case that an executor thread started while the machine was being removed from the network, leading it to run while the machine is unconnected - that's still possible, but non-critical; it'll just stop/silently error and stop now). 2015-01-18 14:27:23 +01:00
Florian Nücke
db05a22430 Completely fitched the beep. MVP gamax92 ^ 0x80. 2015-01-18 04:15:45 +01:00
Florian Nücke
d869ba4df9 Bumped default sample rate for generating computer speaker beeps to avoid artifacts and made it a setting. 2015-01-17 14:54:53 +01:00
Florian Nücke
6f9f27fe02 Fixed EEPROM with data (even if just an address) not being usable for crafting a Lua BIOS. Closes #828. 2015-01-17 13:36:21 +01:00
Florian Nücke
3157eb4f36 Fixed logic for handling nodes with duplicate addresses when merging networks. Closes #824. 2015-01-17 00:44:35 +01:00
Florian Nücke
45fc2b8b6c Fix potential NPE in redstone block. 2015-01-16 15:40:47 +01:00
Florian Nücke
4b52e39df5 Made wireless redstone work in drones and tablets. 2015-01-16 14:57:47 +01:00
Florian Nücke
e3526d3888 Corrected comment in config. 2015-01-16 12:26:04 +01:00
Florian Nücke
a7f2cc9229 Added callback for T3 screens to allow entering precision mode, allowing sub-"pixel" precision in mouse events. Closes #816. 2015-01-16 01:34:33 +01:00
Florian Nücke
9a49ca4244 Avoid premature re-initialization of primary component via component.isAvailable, fixes #818. 2015-01-15 23:48:01 +01:00
Florian Nücke
bc51937f59 Updated year in license. 2015-01-15 23:29:28 +01:00
Florian Nücke
f454a17c33 Version bump. 2015-01-15 20:09:58 +01:00
Florian Nücke
4e33221e98 Added modem.get/setWakeMessage for wake-on-lan. Closes #781, #700. 2015-01-15 20:03:04 +01:00
Florian Nücke
f981a05c0f Added redstone.get/setWakeThreshold, allows setting a redstone signal threshold that, when crossed from low to high causes connect computers to start. 2015-01-15 19:39:43 +01:00
Florian Nücke
42d5d997a3 Yet more redstone refactoring, also passing along old and new max signal values for convenience. 2015-01-15 19:16:22 +01:00
Florian Nücke
0db6028ecd Prevent potential NPEs in client log-in event handler. 2015-01-15 17:10:51 +01:00
Florian Nücke
0ad8c13176 Minor refactoring to new term.read param to fit with other param handling and make it more homogenous to use.
Also fixed flipped string pattern matching (was `pattern:match(line)` where it should be `line:match(pattern)`).
2015-01-15 16:58:21 +01:00
Florian Nücke
17a4394ba4 Merge branch 'master' of https://github.com/magik6k/OpenComputers into master-MC1.7.10 2015-01-15 16:41:19 +01:00
Florian Nücke
f8277fefb5 Highlighting items in the NEI item panel matching the hovered slot now, too.
Also fixed some derps in the process.
2015-01-15 16:37:28 +01:00
Łukasz Magiera
3c62599d8d Added match check to term.read
It can be ethier string or function. If it's string user can confirm only when entered text matches the string. If thes param is function, the function gets called when user clicks enter key, first parameter for it is entered text, it should return a value that decides if given text should is accepted(true), or not(false/nil)
2015-01-15 15:13:09 +00:00
Florian Nücke
3dec0b24eb Reworked redstone logic a little.
Moved computer signal generation to component (i.e. redstone cards) and only sending an internal message from blocks (e.g. computer cases).
Pulled wireless trait out of other component logic which allows creating it on its own, e.g. for tablets and drones.
2015-01-15 12:59:22 +01:00
Florian Nücke
b13e72fd1b Unified GUI handling in blocks a little. 2015-01-15 07:05:04 +01:00
Florian Nücke
c99750f88e Fixed robots not dropping the contents of their tool and container slots. I'm so sorry! 2015-01-14 23:56:33 +01:00
Florian Nücke
f1a054e6e0 Fixed manually set max resolution on text buffers not saving. 2015-01-14 23:27:32 +01:00
Florian Nücke
a24154e3c3 Properly checking if a liquid block is a still block when draining, fixes #810.
Reworked world draining (via tank upgrades e.g.) to also respect `IFluidBlock`.
2015-01-14 20:53:04 +01:00
Florian Nücke
77c9a44b03 ... faster, stronger... no wait. Just sorting. 2015-01-14 20:18:45 +01:00