1047 Commits

Author SHA1 Message Date
Florian Nücke
5756b52cd0 fixed not showing 'out of range' error when bound server isn't loaded, e.g. because too far away from the chunk or in another dimension 2014-02-09 16:26:34 +01:00
Florian Nücke
77f0c0bcb4 fixed remote terminals' connection not being saved correctly 2014-02-09 15:21:01 +01:00
Florian Nücke
18d1f6de35 ignoring any invalid states when entering executor thread now, should avoid computers stopping due to race conditions and shouldn't have any negative side effects 2014-02-09 15:15:30 +01:00
Florian Nücke
b401f4c3b6 fixed npe and directly open server gui on client to avoid issues when quickly changing equipped item after trying to open it; changing up some code, might help with an issue reported in irc 2014-02-09 13:14:41 +01:00
Florian Nücke
d5e31319fa localized 'address copied' message v1.2.0-pre3 2014-02-09 01:05:39 +01:00
Florian Nücke
6aa75d1bc6 number of terminals that can be bound to a single server rack now increases with server tier (2, 4, 8 by default) 2014-02-09 00:43:10 +01:00
Florian Nücke
05fb8f01ba multiple tiers for servers, with different inventory sizes and costs 2014-02-09 00:11:00 +01:00
Florian Nücke
b12913b8b7 fixed internet card and abstract bus card in servers; made server implement context 2014-02-08 22:09:33 +01:00
Florian Nücke
c54980c99b improved stability of component swap. there still seems to be very rare glitch when switching from one existing component to another (e.g. two screens connected -> remove primary one) 2014-02-08 18:42:06 +01:00
Florian Nücke
933aae053a preferring callbacks via annotation over those from peripherals to allow overrides 2014-02-08 16:29:30 +01:00
Florian Nücke
5cb549741f added interface to allow overriding name for compound drivers 2014-02-08 16:05:40 +01:00
Florian Nücke
597770dd1b Context.address is now deprecated in favor of the new Context.node getter; emulating peripheral file system mounting; catching any errors in connect and disconnect callbacks 2014-02-08 14:52:34 +01:00
Florian Nücke
110d15ff50 fixed match error; adding a tiny delay when switching primary components. this is mainly required for term.read, sh and lua to react to screens/gpu disappearing and reappearing 2014-02-08 13:51:34 +01:00
Florian Nücke
3097d7657b fixed shell.running 2014-02-08 03:26:45 +01:00
Florian Nücke
dbdfcdba5d fixed loading files into memory for file systems with a limited capacity backed by a folder in the save folder: if the real files were too big, an out of space exception was thrown, which in bad cases could even bubble and crash. we now allow exceeding the capacity of file systems, when loaded from disk; added try-catch around component load and save code, just in case 2014-02-08 03:20:41 +01:00
Florian Nücke
e2f1172daf added an interface to the api that allows custom declarations of methods (aside from the callback annotation), meant to make wrapping cc peripherals easier 2014-02-08 00:54:21 +01:00
Florian Nücke
11b34f6e8a killed item based block driver and added tile entity type based prefab 2014-02-07 15:17:53 +01:00
Florian Nücke
3badd67d4c missed some 2014-02-07 14:47:47 +01:00
Florian Nücke
9ad9f3571c all dem missing overrides; some minor cleanup 2014-02-07 13:44:38 +01:00
Florian Nücke
a685c22499 added check in block break callback of robots to avoid having them break themselves (e.g. with tools that break multiple blocks at once) 2014-02-06 16:19:06 +01:00
Florian Nücke
16e9aead60 removed block drivers for command block, note block and rim carriage controller, they have been moved to the OpenComponents addon 2014-02-06 15:10:27 +01:00
Florian Nücke
1a536d1df1 multiple servers now can no longer connect to the same side in a rack as discussed on irc, which makes it less likely for people to run into issues - they can still be connected directly by cables next to the rack, for example; remote terminal texture in inventory no longer blinks. when held in the player's hand it will be blank if unbound and blink if bound to a server 2014-02-06 13:13:14 +01:00
Florian Nücke
af1e76ca8c making slots in server racks default to different sides; ensuring virtual keyboards of servers are only visible locally 2014-02-06 01:13:05 +01:00
Florian Nücke
3ff43ce1f5 always wrapping block drivers now; tried improving name finder a little more 2014-02-06 00:53:44 +01:00
Florian Nücke
690ea2777e cleanup after adapter simplification 2014-02-05 23:34:35 +01:00
Florian Nücke
0a6a2693ef adapter block no longer needs to be configured. this was meant to keep the 'power' of the block in check, and that isn't really necessary anymore now that components per computer are limited. and it makes things so much easier! 2014-02-05 23:15:20 +01:00
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