3625 Commits

Author SHA1 Message Date
Florian Nücke
2f9779cb76 Added play and stop methods to jukebox driver. Closes #862. 2015-01-28 23:27:38 +01:00
Florian Nücke
78d6ea15d2 Added setting for whether to enable command block driver or not; defaulting to false. 2015-01-28 22:17:01 +01:00
Florian Nücke
a218b27e3a Fixed a typo and made some docstrings more generic. 2015-01-27 14:22:32 +01:00
Florian Nücke
1fe6b51e1c Because OCD. 2015-01-27 14:21:38 +01:00
Florian Nücke
b85695e800 Merge branch 'patch-1' of https://github.com/Ivoah/OpenComputers into master-MC1.7.10 2015-01-27 14:20:49 +01:00
Florian Nücke
a0f11d36b5 Re-enabled inventory_controller.getInventorySize(sides.back) for backwards compatibility. Will be removed in 1.5, use robot.inventorySize(). Closes #860. 2015-01-27 13:57:33 +01:00
Florian Nücke
8da121964b Fixed Connector.setLocalBufferSize registering self before adjusting size, leading to manager not adding it to the connector list if its size was zero before. Fixes #859. 2015-01-27 13:48:51 +01:00
Florian Nücke
b3cd8cb734 Should fix #853. 2015-01-27 02:09:31 +01:00
Ivoah
8b8ee1cb88 Make port number optional in irc.lua 2015-01-26 08:30:13 -05:00
Kővágó, Zoltán
b051b10c18 Fix InventoryUtils.insertIntoInventory
According to the documentation inventory_controller.suckFromSlot, robot.suck and
friends try to put the sucked item into the selected slot, and only if it's
occupied try others. However the implementation first tried to merge the stack
with existing stacks in the inventory, and only if it failed put into the
selected slot. This commit fixes it.
2015-01-25 21:45:26 +01:00
Florian Nücke
43193a59c6 Avoid skipping physical removal in filesystem.remove when a virtual object had to be removed for deleting a directory. Closes #849. 2015-01-25 13:37:31 +01:00
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
095b34f46b Removed requirement for first achievement in the OC achievement tree, mostly because it's annoying when testing. 2015-01-16 14:37:26 +01:00
Florian Nücke
eccff606e7 Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into Achievements
Conflicts:
	src/main/resources/assets/opencomputers/lang/en_US.lang
	src/main/scala/li/cil/oc/common/EventHandler.scala
	src/main/scala/li/cil/oc/integration/opencomputers/ModOpenComputers.scala
2015-01-16 14:33:59 +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