1104 Commits

Author SHA1 Message Date
Florian Nücke
2429733d04 bump api version number; added private constructor to CreativeTab api class 2014-03-06 17:57:16 +01:00
Florian Nücke
37911e04d9 make computer.energy() return math.huge (positive infinity) when power use is disabled (in config or ue missing); added api classes to access oc's blocks, items and creative tab 2014-03-06 17:42:28 +01:00
Florian Nücke
5a07cb4748 fixed hologram projector connectivity check being purely visual, also only allow connection from below because cables going in from the side looks really stupid 2014-03-06 11:59:50 +01:00
Florian Nücke
1d598367bb wireless router now also injects received wireless messages into adjacent cc computers 2014-03-06 11:11:16 +01:00
Florian Nücke
01ff318383 added note that oc has to be BON'ed for dev-env use of the jars 2014-03-05 21:19:26 +01:00
Florian Nücke
65e7707df0 more local 2014-03-05 21:17:33 +01:00
Florian Nücke
2dac42303e added api to allow setting wireless router's signal strength; fixed lua.lua's result printing not wrapping 2014-03-05 19:20:42 +01:00
Florian Nücke
7b5e234737 formatting 2014-03-05 17:46:01 +01:00
Florian Nücke
efebc5964e ignore empty inventory names 2014-03-05 17:39:09 +01:00
Florian Nücke
362e79f779 don't show our own stuff via the adapter 2014-03-05 15:50:40 +01:00
Florian Nücke
9c5492f527 fixed logic for power check in wireless router 2014-03-05 15:21:06 +01:00
Florian Nücke
e416ad34d0 well that's lovely, why didn't that error before... 2014-03-05 14:47:21 +01:00
Florian Nücke
1f02180177 textures, localization and recipe for wireless router and actually connecting it to the wireless network (how weird does that sound?); fixed file handles not being properly closed in unbuffered mode 2014-03-05 14:36:22 +01:00
Florian Nücke
75084c2ccf abstract wireless network logic a little and started work on wireless router/switch 2014-03-05 13:17:11 +01:00
Florian Nücke
6c1e15e1bd some cleanup of non-updating node block initialization; renamed router to switch; improved networking, packets now have a ttl, meaning they can only be bounced by switches up to 5 times, avoids stack overflows. they also store the origins address now, so packets will always give the real sender's address now, not the address of the last switch they passed through. switches also have an internal queue of size 20 now and will only forward one packet per 5 ticks, so a) latency is now a thing, b) packet drops are also a thing. 2014-03-05 06:22:03 +01:00
Florian Nücke
5f7360ff82 fixed servers in server racks not connect to any side not getting power 2014-03-05 05:00:00 +01:00
Florian Nücke
c00233023b cleaned up the robot implementation, removing some ugly cross-references, inheritance and dependencies, will require to be rebooted if they already loaded the robot module 2014-03-05 00:44:55 +01:00
Florian Nücke
28a12d08b6 added support for immibis microblocks. once you know what you're doing it's ridiculously simple. 2014-03-04 21:10:12 +01:00
Florian Nücke
41f4738115 added note that it's ok to return null from callbacks to callback annotation jdoc 2014-03-04 15:09:55 +01:00
Florian Nücke
b77585b66a Merge branch 'master' of https://github.com/MightyPirates/OpenComputers 2014-03-04 13:32:25 +01:00
Florian Nücke
600b3b73f1 cleaned up a little more; renamed the redirection methods used by the class transformer to make naming collisions even less likely 2014-03-04 13:32:05 +01:00
Florian Nücke
2501e816f1 Merge pull request #146 from Wobbo/master
Better variable expansion in besh
2014-03-03 21:41:12 +01:00
Wobbo
3facca0835 Better variable expansion in besh 2014-03-03 21:34:43 +01:00
Florian Nücke
d65bd29886 some more fixes and adjustments; cleanup 2014-03-03 20:23:28 +01:00
Florian Nücke
3ff032b347 some jdoc and underped an import 2014-03-03 19:15:29 +01:00
Florian Nücke
f7ce0eb0d1 filled out public machine api some more, moving to use the api internally, too 2014-03-03 18:50:03 +01:00
Florian Nücke
bb9f073fc9 started to work on moving architecture and machine interfaces to the public api 2014-03-03 15:12:28 +01:00
Florian Nücke
d6b0eb9cae better wording for server tooltip, updated wireless network card tooltip (default strength has been max for a while) 2014-03-03 12:55:12 +01:00
Florian Nücke
add33b1d91 fixed formatting bug in tooltips; added check to fmp cable save to avoid errors when called on client (waila) 2014-03-03 00:48:08 +01:00
Florian Nücke
9d545e653d added side check to avoid potential crash in GUIs 2014-03-03 00:09:07 +01:00
Florian Nücke
461e4abbbf fixed cable interaction with hollow covers (and similar) 2014-03-02 23:16:30 +01:00
Florian Nücke
dd38ad4cba workaround for reobfuscation issue (calls to methods in fmp lib that should have been reobfed weren't) 2014-03-02 21:44:33 +01:00
Florian Nücke
4cb5c1bf41 made fmp a soft dependency, finishes fmp implementation for cables, closes #3 (at long last!) 2014-03-02 19:47:34 +01:00
Florian Nücke
004a88f47a cleaned up a little 2014-03-02 18:50:03 +01:00
Florian Nücke
e702d0bf63 simplified explosion stuff in multi-block implementation for fmp callbacks 2014-03-02 18:35:35 +01:00
Florian Nücke
61f744dcb9 Merge branch 'master' of https://github.com/MightyPirates/OpenComputers into FMP 2014-03-02 18:30:55 +01:00
Florian Nücke
1ebc916747 splitting and joining of multipart cables 2014-03-02 18:30:42 +01:00
Florian Nücke
4ea97c5b86 stupid windows 2014-03-02 17:07:25 +01:00
Florian Nücke
1a86a2ac61 Merge branch 'FMP' of cil.li:oc into FMP 2014-03-02 17:02:11 +01:00
Florian Nücke
36ae2d33a6 nodes in multipart cables connect 2014-03-02 17:02:01 +01:00
Johannes Lohrer
e4c91851c1 Placement of cables in multiblocks 2014-03-02 16:20:46 +01:00
Florian Nücke
7c42c5df60 basic rendering, starting to work on component network in fmp; cleaned up unused update methods in passive blocks 2014-03-02 15:13:52 +01:00
Florian Nücke
fe920be426 made robots creeper blast proof 2014-03-02 13:30:21 +01:00
Johannes Lohrer
8718e88df6 Initial Test 2014-03-02 13:08:19 +01:00
Florian Nücke
6f6727d1f0 fixed opening files in write mode when using unbuffered mode (filesystem.bufferChanges = false), fixes #144 2014-03-01 17:59:55 +01:00
Florian Nücke
c059c7b90b added config option to allow forcing the mod to try loading the native library even on Win XP and Win Server 2k3 as requested (almost forgot about that one) 2014-03-01 16:14:49 +01:00
Florian Nücke
ead4bdf716 fixed AIOOBE 2014-03-01 14:55:33 +01:00
Florian Nücke
7b40afb665 trying to make the class transformer not break in dev env (when obfed), also generally hardening the transformer to avoid crashes 2014-03-01 14:41:07 +01:00
Florian Nücke
cd8a1658b1 moved power logic up in the class hierarchy to allow other blocks than the power converter to accept energy from other mods - for now those other blocks are the computer case and the server rack. the converter still has its use when connecting to a remote power source, e.g.; added a bunch of checks in save logic to avoid errors when other mods call those methods client side (e.g. waila) 2014-03-01 03:51:46 +01:00
Florian Nücke
b73f39c443 generator.insert no longer throws if slot was empty (never should have); cleaned and patched up refuel.lua a little 2014-02-28 21:21:22 +01:00