4246 Commits

Author SHA1 Message Date
Florian Nücke
0d620a6ccf immediately printing error message to chat log of the player that tried to start the computer if it happens during startup; also printing message if there's no ram; immediately checking power when starting computer (otherwise it'd be first checked in the next update) 2013-12-26 16:24:45 +01:00
Florian Nücke
fefcb44b8b Merge branch 'robot_components' into 1.1 2013-12-25 22:02:54 +01:00
Florian Nücke
79c163b1dc organized imports 2013-12-25 22:00:58 +01:00
Florian Nücke
11fc10925f adapter gui string; not clearing when trying to insert invalid item in adapter 2013-12-25 21:40:35 +01:00
Florian Nücke
593fb615a3 some changes to allow reusing existing inventory implementation with zero size item stacks; added adapter container and gui logic for phantom slot (i.e. inserting an item will just copy the stack info, but will actually store a stack with size zero) 2013-12-25 21:33:41 +01:00
Florian Nücke
69d64d2c67 added filtering to adapter block, not configurable yet 2013-12-25 19:00:19 +01:00
Florian Nücke
7f0796779a moved computercraft interaction to router, i.e. the router block now acts as a modem peripheral for cc and forwards network messages, which seems more sensible and makes the adapter block less overloaded 2013-12-25 18:16:42 +01:00
Florian Nücke
c37d360f08 custom includer to make .recipes extension work 2013-12-25 01:59:42 +01:00
Florian Nücke
57a5dd3d71 renamed custom.recipes to user.recipes 2013-12-25 01:09:20 +01:00
Florian Nücke
de372443ee removed unnecessary commas and adjusted include 2013-12-25 01:07:41 +01:00
Florian Nücke
98832e18f8 inlined getOreNameOrItemStackFromName 2013-12-25 00:55:07 +01:00
Florian Nücke
76cec04771 changed file extension of recipes to '.recipes'; removed fallback when parsing recipes to allow disabling recipes 2013-12-25 00:48:27 +01:00
Florian Nücke
37976c4e05 more massive clean up; some refactoring to remove redundancies; reordered stuff to make it easier to spot missing recipes; re-added missing transistor recipe 2013-12-25 00:39:30 +01:00
Florian Nücke
b76a897495 Merge branch 'master' of https://github.com/MightyPirates/OpenComputers into robot_components 2013-12-24 22:00:06 +01:00
Florian Nücke
12261805bd bump version number for 1.0.4 v1.0.4 2013-12-24 21:51:14 +01:00
Florian Nücke
52592c57cb cleaned up recipes class a bit 2013-12-24 14:30:09 +01:00
Florian Nücke
30434a960a made craftinghandler for navigation upgrade non-sided so that the retrieved map properly shows up in client's inventory immediately; moved adding of old map to inventory to after the loop, to avoid it being reused in certain scenarios 2013-12-24 14:19:43 +01:00
Florian Nücke
f8329df0ce Merge branch 'master' of https://github.com/MightyPirates/OpenComputers into robot_components 2013-12-24 14:08:28 +01:00
Florian Nücke
cc1c262fa0 organized imports 2013-12-24 14:07:37 +01:00
Florian Nücke
b78bdef513 no longer using client side method for cable neighbor checking on server, fixes #23 2013-12-24 13:12:59 +01:00
Florian Nücke
22bcc5756e moved example whitelist entries to comment so we default to using the blacklist as suggested in #19; better message when http api fails parsing binary data (see #21) 2013-12-24 12:58:47 +01:00
Florian Nücke
ba46bd5049 little bit of refactoring, renaming the new upgrades 2013-12-23 21:39:07 +01:00
Florian Nücke
8fbbd92f99 general clean up and formatting; removed gt api import; returning y position together with x and y in nav upgrade 2013-12-23 21:19:20 +01:00
Florian Nücke
28c504d342 added sneaky parameter to robot.swing, as discussed in #13 2013-12-23 19:17:01 +01:00
Johannes Lohrer
4fd46c3f48 fixed names 2013-12-23 16:42:59 +01:00
Johannes Lohrer
28ed13f9c1 Merge branch 'master' of cil.li:oc into recipes 2013-12-23 16:39:05 +01:00
Johannes Lohrer
b699a37473 Merge branch 'master' of https://github.com/MightyPirates/OpenComputers into recipes 2013-12-23 16:38:59 +01:00
Johannes Lohrer
f6ab7e4a67 tried recrafting of map 2013-12-23 16:38:38 +01:00
Daniel Kaltenthaler
44f5d641ce Added item icons for locator, solar generator and writer. 2013-12-23 16:23:36 +01:00
Johannes Lohrer
4a46e0f054 added recipes for locator,solargenerator and reader 2013-12-23 15:38:36 +01:00
Florian Nücke
c0adb97603 making sure robot upgrade is properly sent to client on load in case TE is sent before first update (player triggered load) by sending it again in the first update 2013-12-23 14:25:08 +01:00
Johannes Lohrer
0a29aad3c3 added basic recipes 2013-12-23 03:02:49 +01:00
Johannes Lohrer
e56cab7fad Merge branch 'master' of https://github.com/MightyPirates/OpenComputers into recipes 2013-12-22 22:22:43 +01:00
Florian Nücke
73999ff939 avoiding errors for upgrades that don't have a component and possibly timing issues (sending to client before it was initialized) 2013-12-22 22:18:51 +01:00
Florian Nücke
512bb64370 basic classes for server stuff 2013-12-22 22:11:09 +01:00
Johannes Lohrer
fbf68095c2 Merge branch 'master' of https://github.com/MightyPirates/OpenComputers into recipes 2013-12-22 21:07:47 +01:00
Johannes Lohrer
9976658699 made shapeless and shaped recipes configurable in a config file. Recipes not yet done, just methods for parsing 2013-12-22 21:07:28 +01:00
Florian Nücke
c260ac0c7e bump version number to 1.0.3; forgot to push before drafting the Github release - this is the actual version of the released ZIP file. 2013-12-21 20:18:39 +01:00
Florian Nücke
31cb37b8e8 added rendering for crafting upgrade v1.0.3 2013-12-21 19:55:57 +01:00
Florian Nücke
8a6b1e7cb9 sending fewer syncs to client from generator upgrade 2013-12-21 19:16:08 +01:00
Florian Nücke
5dae4cd20e added callback to robot context that allows forcing an upgrade to be saved and resent to clients, to allow upgrades to manually synchronize their data with clients for state specific rendering; using this to transmit generator state (running or not) and show a different texture accordingly; fixed a bug where remaining runtime wasn't saved for generators when no more items were in their internal inventory; implementing contexts in their respective tile entities, too, to allow external components to refer to their owners via the context interfaces 2013-12-21 19:06:52 +01:00
Florian Nücke
26b5d0543e synchronizing the upgrade installed on robots to clients and checking it in renderer, if present use the item's item renderer to render it in its "equipped" state, which for robot upgrades should take of rendering the upgrade appropriately on its robot; basic generator renderer, still needs syncing of whether its currently active or not to show the appropriate texture 2013-12-21 17:36:21 +01:00
Florian Nücke
60431cf4e0 fixed copy-paste error (grrr) that made wireless broadcasts skip the first passed parameter, fixes #16 2013-12-20 21:08:04 +01:00
Florian Nücke
a10d4fdce5 updated typesafe config (I should probably make this a sub-repo eventually) 2013-12-20 20:26:58 +01:00
Florian Nücke
3a87ecd6ce fixed default config failing to load on some systems (reported on Minecraft Forums, could not reproduce but this change reportedly did the trick) 2013-12-20 19:53:57 +01:00
Florian Nücke
eb28209f1b fixed invalid placement orientations for computer case and disk drive introduced in 30d9cc8 (why do I always find this stuff shortly *after* pushing a release?) 2013-12-20 16:19:58 +01:00
Florian Nücke
cb647e3f6e bump version for 1.0.2 hotfix v1.0.2 2013-12-20 15:03:06 +01:00
Florian Nücke
596a8da0e8 manually removing compatibility entries for 5.1 if present, should fix #14 (may break one last time if the compat entries were used while saving) 2013-12-20 12:32:10 +01:00
Florian Nücke
30d9cc8b0f explicitly marked SidedEnvironment.canConnect as client side; changed treatment of forge's Block.validRotations implementation to return what it actually should and adjusted a couple of things accordingly; no longer allowing to rotate keyboard since that could lead to invalid facings with no solid block beneath them; allowing to place keyboards anywhere, adding some special rules where to check for screens (in front of them, and when on the wall below them) to allow input on 2013-12-19 22:31:11 +01:00
Johannes Lohrer
d35ad805bb Merge branch 'master' of https://github.com/MightyPirates/OpenComputers into robot_components 2013-12-19 18:17:33 +01:00