3810 Commits

Author SHA1 Message Date
Florian Nücke
a648b1f250 Added not to machines' power button to use an analyzer on errors. Closes #896. 2015-02-13 14:07:06 +01:00
Florian Nücke
36ab91cdac Workaround for Mystcraft not updating total world time in client worlds. 2015-02-13 13:52:48 +01:00
Florian Nücke
5750ec8ba1 Should fix #911, merging networks containing nodes with the same address could lead to errors if these nodes had Visibility.None. 2015-02-13 13:30:41 +01:00
Florian Nücke
ec2bca401c Fallback to to-stringing values when pushing them to Lua instead of yielding null.
Should make it easier to track down missing converters and work well as a default for many things (e.g. ResourceLocations).
2015-02-12 15:49:32 +01:00
Florian Nücke
970ca688d9 Removed OpenComponents check, it's done its due, I think. 2015-02-12 15:49:18 +01:00
Ben Blank
1629401916 hash dimension ID with world seed to obscure it 2015-02-10 17:12:03 -08:00
Florian Nücke
43edfefa6e Potential rendering improvements (mostly stuff discovered while porting to 1.8 that didn't seem to have an effect in 1.7, but can't hurt to clean up). 2015-02-10 02:32:55 +01:00
Florian Nücke
66763c3317 Fixed robot inventory slot range. 2015-02-10 02:32:14 +01:00
Florian Nücke
c05b4fc3d6 Fixed potential NPE in MCU tooltip. 2015-02-10 02:27:34 +01:00
Florian Nücke
279f87a2b9 Fixed cables having a chance to not yielding outputs when being disassembled. 2015-02-10 02:26:21 +01:00
Florian Nücke
d4b5a6e7db Changed tablet block interaction a bit, closes #905.
When doing a "short" right click, tablets will behave as before, i.e. shift-right-click opens their GUI, normal right-click will either activate a block or open the GUI. To "analyze" a block, you'll now have to hold the right mouse button for half a second (or whatever it is you use to draw your bow). This will work when sneaking or not, also allowing inspection of blocks that'd otherwise open their GUI (like chests) or do stuff (like levers).
2015-02-09 20:24:31 +01:00
Florian Nücke
30e37daba6 Merge branch 'recursive-flatten' of https://github.com/benblank/OpenComputers into master-MC1.7.10 2015-02-09 16:20:13 +01:00
Florian Nücke
eec36e94ec Testing method for value conversion and userdata. 2015-02-09 16:19:46 +01:00
Florian Nücke
0e887eb3cc Fixed component node in MCU not being saved properly. 2015-02-09 13:34:03 +01:00
Florian Nücke
43a40cd3a8 Ensure writeToNBT/readFromNBT is only called on the server, as some mods may choose to call it on the client... 2015-02-09 13:30:14 +01:00
Florian Nücke
dab5a56def Added missing check for whether tablet actually can be charged. Closes #902. 2015-02-09 12:53:15 +01:00
Florian Nücke
7819544bde Fixed tablet disassembly. Closes #904. 2015-02-09 12:50:37 +01:00
Ben Blank
3b7fe503b4 add converters for World and WorldProvider objects 2015-02-08 11:44:56 -08:00
Ben Blank
5b09d44944 flatten converted values *after* recursive conversion, not instead of 2015-02-07 21:29:12 -08:00
Florian Nücke
fa5c66907d Merge branch '1.5' into master-MC1.7.10
Conflicts:
	build.properties
	src/main/scala/li/cil/oc/integration/opencomputers/DriverBlockEnvironments.scala
2015-02-07 16:53:07 +01:00
Florian Nücke
66a51ecf52 Microcontrollers are now fully sided, i.e. each side is in a separate network. Closes #788.
MCUs do not automatically forward network messages. They do not distribute power. Network messages arriving on all sides will always be forwarded to the MCU. Which sides are used for sending can be controlled via the `microcontroller` component. Further change: computers must now sit directly adjacent to MUCs to access their external component. Avoids the nasty hacks used in access points to avoid duplicate components if two sides are in the same network.

More cleanup, drones can be named now.
2015-02-07 16:51:42 +01:00
Florian Nücke
0aba4be4b8 Mark power value config settings for upgrading (so existing configs are adjusted automatically). 2015-02-07 15:00:19 +01:00
Florian Nücke
dd3f7652ac Improve robot fake player permission checks, not sure if that method is even used anywhere... 2015-02-06 18:07:43 +01:00
Florian Nücke
803551d288 Avoid interface based block drivers being shown for pretty much everything in the NEI API list.
Workaround only works for stuff using the prefab class.
Fixed drone API in NEI usage.
2015-02-06 16:55:12 +01:00
Florian Nücke
383388d57c Version bump. 2015-02-06 13:55:21 +01:00
Florian Nücke
37200adffc Fixed flight height check. 2015-02-06 05:31:46 +01:00
Florian Nücke
747ede3383 Merge branch 'master-MC1.7.10' into 1.5 2015-02-06 04:07:48 +01:00
Florian Nücke
a19d1e614a Name changes! 2015-02-06 04:06:50 +01:00
Florian Nücke
0e7f7a598d Minor cleanup. 2015-02-05 20:02:24 +01:00
Florian Nücke
003463ec4a Limiting robot flight height, by default to 8 blocks above ground for now.
Movement rules are as follows now:
 1. Robots may only move if the start or target position is valid (e.g. to allow building bridges).
 2. The position below a robot is always valid (can always move down).
 3. Positions up to <flightHeight> above a block are valid (limited flight capabilities).
 4. Any position that has an adjacent block with a solid face towards the position is valid (robots can "climb").
2015-02-05 20:02:14 +01:00
Florian Nücke
4f222680a9 Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into master-MC1.7.10 2015-02-05 16:21:08 +01:00
Florian Nücke
f091b19255 Re-evaluated some power values, now that more mods are on RF and generate RF. Closes #888.
This is based on the RF output of BC and EnderIO generators now, because TE steam dynamos are, in my tests at least, outliers.
2015-02-05 16:20:54 +01:00
Florian Nücke
29b9a2d007 Tweaked insertion patch a little to only be used when an explicit range is supplied. This will make it work as before, preferring merges in inventories without a specific "order" (such as normal chests). Also added safeguard against empty ranges, since that matters now, just in case... 2015-02-05 13:02:09 +01:00
Florian Nücke
fbf5f2af6f Merge branch 'insertIntoInventory-fix' of https://github.com/DirtYiCE/OpenComputers into 1.5 2015-02-05 12:55:21 +01:00
Florian "Sangar" Nücke
e21f573a60 Merge pull request #890 from hunator/patch-2
Create manpage for yes.lua.
2015-02-05 12:43:27 +01:00
Florian Nücke
34083e98e1 Reworked internet component to use userdata, makes for nicer interaction from the Lua side.
Also allows a clean way of providing response information (code, message and headers).
Code only interacting with the internet lib should not be affected by these changes.
2015-02-05 12:40:31 +01:00
Florian "Sangar" Nücke
3bbb96d57b Merge pull request #889 from hunator/patch-1
Create yes.lua
2015-02-05 09:06:20 +01:00
Martin Hunek
36a2661922 Update yes.lua 2015-02-04 17:59:27 +01:00
Florian Nücke
4f9165d4be That needs to move, too... 2015-02-04 17:51:55 +01:00
Florian Nücke
58056a837c Improved block rendering a bit, should play much nicer with shaders now (thanks a ton to Ivorius for pointers). 2015-02-04 17:49:45 +01:00
Martin Hunek
8732527882 Create yes
Man page for yes command.
2015-02-04 17:46:24 +01:00
Martin Hunek
8b864322f2 Create yes.lua
Lua implementation of functionality provided by yes command from GNU coreutils. However it doesn't use any of GNU, so it is not forcing GPLv3+ license.

It has full functionality but options had to been changed to single letter (like -h instead of original --help in GNU). Main use case requires piping, but works without it.

I have also created man page, but I have to send it in different pull request (don't know how to do it in github webpage).
2015-02-04 17:37:55 +01:00
Florian Nücke
2ac78463a1 Added eeprom.getData/setData for mutable persistent bios storage, replaces get/setBootAddress.
get/setData is wrapped by the default Lua bios into functions with these names to avoid breaking programs using them.
2015-02-04 16:48:57 +01:00
Florian Nücke
9e92ee508c Allow drones to interact with the world more (break hand-harvestable blocks, place blocks).
inb4 totally overpowered.
2015-02-04 15:57:46 +01:00
Florian Nücke
791d469942 Started work on unifying agent component logic. 2015-02-04 07:37:04 +01:00
Florian Nücke
78deba91d0 More fake player slot fixery, added owner info into Agent interface. 2015-02-04 05:26:38 +01:00
Florian Nücke
5e313d4fe7 Fixery for refactory. 2015-02-04 03:52:05 +01:00
Florian Nücke
f2e6cf1896 Adjusting slot offsets. 2015-02-04 01:51:10 +01:00
Florian Nücke
8bc4f94d7c More work on generalizing agent logic. 2015-02-04 01:42:28 +01:00
Florian Nücke
f36505f0ff Little refactoring in preparation of generalizing robot fake player. 2015-02-04 00:50:45 +01:00