1071 Commits

Author SHA1 Message Date
Florian Nücke
c743b89571 trying to generate better names for compound drivers 2014-02-05 22:59:45 +01:00
Florian Nücke
05a0e327b1 updated typesafe config 2014-02-05 21:28:15 +01:00
Florian Nücke
f5cb63fa12 better direct item equality check for stack support in block driver prefab 2014-02-05 16:56:37 +01:00
Florian Nücke
3fef6ee9f8 updated project red api; minor refactoring 2014-02-05 16:27:39 +01:00
Florian Nücke
4c4cf0bba6 not caching callbacks for multiblock driver's environment, since those can change; multi-driver makes block-stack comparison via driver infeasible, using manual check in adapter again; got so used to scala i forgot final; extended sides lib with the 'unknown' forgedir enum 2014-02-05 13:48:24 +01:00
Florian Nücke
5316092573 displaying robot's level in addition to its xp in analyzer result; mention that kb = 1024 in config 2014-02-05 02:44:31 +01:00
Florian Nücke
a98550a6c5 LAST MINUTE API CHANGE. don't sue me. it's still in prerelease mode :P Block.worksWith now also takes a world object. yes, there is a reason for this; added a dynamically created "multi driver" that joins multiple block drivers fro the requested block. this is useful for creating interface driven drivers, e.g. for the IInventory interface 2014-02-05 02:44:17 +01:00
Florian Nücke
60d60aa5e7 made remote terminals non-stacking to avoid binding multiple terminals to the same server 2014-02-04 19:36:59 +01:00
Florian Nücke
6aa72939b8 added setting for number of components for the different cpu tiers, closes #113 2014-02-04 17:26:47 +01:00
Florian Nücke
b462f1f606 support metadata wildcard in block driver prefab 2014-02-04 16:58:22 +01:00
Florian Nücke
620c4ccb9c computer itself no longer counts towards component limit; forcing a refresh of the component list when trying to start the computer, should fix potential issues of "too many components" messages when there really aren't (the report may have been a false positive, but it can't hurt anyway); checking if callbacks are public; also logging bad callback annotations instead of erroring now, and specifying the class and method name in the message 2014-02-04 15:15:44 +01:00
Florian Nücke
a1dbbe1ec9 also extracting the hardmode recipes set now... herp derp 2014-02-04 03:23:04 +01:00
Florian Nücke
3d326821b3 stripped away most of ue api, only shipping with the UniversalClass annotation now to avoid issues with other mods that seem to use an unobfuscated version of the api v1.2.0-pre2a 2014-02-04 01:34:24 +01:00
Florian Nücke
6d2b3ec56b fixed robots hitting themselves with potions and bows, and possibly other stuff as well, by offsetting the position when using an item always now; fixed use of item with duration on servers v1.2.0-pre2 2014-02-03 23:40:57 +01:00
Florian Nücke
41dd77c960 added patch for config to be written in a sorted fashion 2014-02-03 20:33:39 +01:00
Florian Nücke
3567b28e47 updated typesafe config 2014-02-03 18:23:26 +01:00
Florian Nücke
47d9b91201 renamed @LuaCallback to @Callback and got rid of most mentions of lua in the api to make it more generic 2014-02-03 18:10:05 +01:00
Florian Nücke
90e3b8a7f1 cleaned up class transformer a bit; using name of method annotated with @LuaCallback as the default name if none is specified now 2014-02-03 17:54:27 +01:00
Florian Nücke
d24cd9c6bc showing number of connected components vs maximum number of components when using analyzer on computers 2014-02-03 02:10:01 +01:00
Florian Nücke
e3db6d06b9 fixed zip file system caching for different file systems from the same archive 2014-02-03 01:35:47 +01:00
Florian Nücke
a5e7ffa3bb Merge branch 'master' of https://github.com/MightyPirates/OpenComputers 2014-02-03 00:24:51 +01:00
Florian Nücke
7ca1d23576 updated sgt2 and ue api; delaying result signal for rim carriage controller a bit, fixes #112 2014-02-03 00:24:36 +01:00
Florian Nücke
6246024d45 updated links 2014-02-02 23:55:59 +01:00
Florian Nücke
8374f6b784 added core mod for mod version aware class transformations, used to strip out StargateTech2's API if its version is too old 2014-02-02 23:23:13 +01:00
Florian Nücke
52f234d90a saving filesystem node of internet cards and robots 2014-02-02 20:18:47 +01:00
Florian Nücke
d3aae03d88 moved things into separate folders to separate own source code from apis and libs; added a program to allow downloading files from the internet (called wget, although it's nowhere close) 2014-02-02 20:07:10 +01:00
Florian Nücke
abc3e4692a renamed an nbt tag used for server->client sync which may help resolve #111 (though it shouldn't, really); catching any errors generated when parsing tile entity description packets and logging them, which should avoid weird things like #111 crashing the game 2014-02-02 14:16:07 +01:00
Florian Nücke
190d8e1bab fixed bug in filesystem.mounts; autorun scripts can now also be called .autorun or .autorun.lua, to allow 'hidden' autorun scripts; filesystems do no longer count towards the component limit. this is to make utility filesystems feasible; internet card now also attaches a file system that contains internet library and specific programs (pastebin for now); robot also attaches an additional file system that contains robot specific library and programs (dig for now) 2014-02-02 13:49:45 +01:00
Florian Nücke
19d61646c8 fixed (harmless) warnings when resuming a stopped computer after loading ('missing filesystem' -> rom and tmp were not saved while stopped); fixed weird assertion error on client; making robot proxies' nodes use the same address as the robot's internal node. this is safe since the two networks will never be connected, and makes it more intuitive to interact with robots from the outside. 2014-02-01 20:43:33 +01:00
Florian Nücke
36612ffcaf robots' turn animation should be less jerky now; fixed issue where robots were not rendered on client for a while when moving from a chunk only loaded on the server to a chunk also loaded on the client 2014-02-01 19:14:18 +01:00
Florian Nücke
30388af26c decreased max robot experience, a lot, meaning they'll reach max level in a more reasonable amount of time now. also, robots now gain a tiny bit of xp by moving, and a bunch of xp when breaking ore blocks that give xp, to motivate "normal" use over just sitting there, breaking and placing the same block over and over to level up; adjusted adapter block to be more generic when detecting blocks, avoids issues where metadata of blocks is used for visuals (e.g. rotation) instead of sub-blocks. 2014-02-01 19:10:40 +01:00
Florian Nücke
847b4e820c fixed redstone i/o block getting derped when upgrading from 1.1 v1.2.0-pre1 2014-01-31 16:25:32 +01:00
Florian Nücke
636f4df433 fixed abstract bus cards being converted to memory when upgrading from OC 1.1 2014-01-31 16:07:14 +01:00
Florian Nücke
c96cc4ff0f made names of items more homogenous. no more prefixes, writing tier as postfix where necessary, added tier to name of memory and hard drives 2014-01-31 15:51:41 +01:00
Florian Nücke
6bac89ae2f fixed error messages in computers not being saved; showing additional information when using analyzer on servers (same as for computers now); increased default power tick rate a bit and increased default buffer size for power distributors (incl. server rack) to avoid servers running out of power that easily 2014-01-31 14:43:59 +01:00
Florian Nücke
37f8c4bfd1 fixed power converter not being properly cleaned up when broken; Lua: buffer won't allow writing after having been closed anymore; fixed server picking with analyzer (was upside down) 2014-01-31 14:20:39 +01:00
Florian Nücke
1aafa9657a updated ue api; added remark on single quotes to sh manpage 2014-01-31 13:02:42 +01:00
Florian Nücke
121dce4a93 moved shell alias initialization to extra file; fixed edit manual (wrong parameter char) 2014-01-31 00:45:37 +01:00
Florian Nücke
ef665390b4 fixed robots not storing their orientation. and redstone output. since the the save code cleanup. herp derp. 2014-01-31 00:17:25 +01:00
Florian Nücke
e03bede4c3 removed superfluous (and potentially derping) % from package module 2014-01-30 23:31:59 +01:00
Florian Nücke
0884a4590d more ingame help topics, closing #15 (for now) 2014-01-30 21:16:42 +01:00
Florian Nücke
48a41440c6 primitive ingame help system, still needs some more topics 2014-01-30 19:57:58 +01:00
Florian Nücke
11b9d50f08 removed usages of client side only methods from wireless network logic (screw the Vec3 class, seriously), fixes #107 2014-01-30 15:34:48 +01:00
Florian Nücke
1f333cd7e7 piping data between programs seems to work. needs a lot of testing, though. 2014-01-30 15:10:11 +01:00
Florian Nücke
588d1a7dec basic redirect support in shell, changed programs to use io.write instead of print to support their output being redirected; arguments in the shell can now be quoted 2014-01-30 12:50:08 +01:00
Florian Nücke
3c1eaf165b properly handling errors in module loaders in package library (avoid lingering entry in "loading" table); throwing an error in robot library if its not a robot; automatically trying to load modules in interpreter (somewhat experimental) 2014-01-29 20:37:41 +01:00
Florian Nücke
6df7c8aed1 renamed luaj 3 package because it collides with luaj version 2 (really, guys? really?) which borks cc computers 2014-01-29 19:51:05 +01:00
Florian Nücke
ffa5a3c2d9 fixed creating symlinks and mounts in real folders to "break" the file system (in that the virtual node overwrote the real one), virtual and real fs nodes/directories should now mix well. 2014-01-29 19:16:22 +01:00
Florian Nücke
9cc0a70643 analyzer prints info on attached components; extracted program loading part from shell.execute into shell.load and changed running program tracking to be hierarchical based on coroutine ownership; using _PROMPT global in lua interpreter if set 2014-01-29 16:10:14 +01:00
Florian Nücke
60d19c34c5 made the old recipe set the hardmode set and created a new, less complex default set. flattens recipes by not following an "upgrading" mechanic - i.e. tier 3 gpu doesn't require a tier 2 gpu and so on. also makes recipes a lot cheaper for the most part, not much to be done about that, but fits better with the simplicity anyway. 2014-01-29 13:24:59 +01:00