3136 Commits

Author SHA1 Message Date
Florian Nücke
aec5457739 Tweaked nearby player check for text buffer update sending.
Should ensure remote terminals work properly at max range (assuming server rack is chunk loaded).
2014-11-21 12:29:32 +01:00
Florian Nücke
43a734e110 Updated some dependencies. 2014-11-20 16:11:22 +01:00
Florian Nücke
e1195ef8f0 Made the system by which interfaces are injected a bit more re-usable.
Uses an annotation now, instead of being hardcoded in the class transformer.
Also using this system for the SGT2 interfaces now, making that less messy.
2014-11-20 11:50:47 +01:00
Florian Nücke
df3e27fd44 Added code to explicitly clear component tracker on client / server, might help with #630. 2014-11-20 08:17:07 +01:00
Florian Nücke
ba27aab3bb Fixed redstone card T2 in servers, closes #680.
Fixed potential NPE in descriptor packet generation for computer cases.
Ignore bad pwchar input (zero length strings).
2014-11-20 06:42:56 +01:00
Florian Nücke
1973ffa6cc Fixed match error in capacitor logic introduced a few commits back. 2014-11-19 12:09:55 +01:00
Florian Nücke
39ea4cab3d Added pwchar parameter to term.read, use like term.read(nil,nil,nil,"*"). Closes #552. 2014-11-19 11:40:32 +01:00
Florian Nücke
2e1ff6c62f Removed what I assume was a debug print and unused return value from install.lua. 2014-11-18 10:37:03 +01:00
Florian Nücke
f3cc4f11c3 Merge branch 'master' of https://github.com/magik6k/OpenComputers into master-MC1.7.10 2014-11-18 10:00:04 +01:00
Florian Nücke
a9f583a987 Adjusted docstrings of debug.setBlock and setBlocks. 2014-11-18 09:58:19 +01:00
Florian Nücke
b4f19d81b1 Merge branch 'seebs/setblock-names' of https://github.com/seebs/OpenComputers into master-MC1.7.10 2014-11-18 09:38:42 +01:00
Florian Nücke
be33996587 Added a bunch of checks to avoid fetching tile entities triggering chunk loads.
In particular, also added these checks in packet handlers. This may help with the robot issues. Hopefully. Maybe. Perhaps.
2014-11-18 06:43:35 +01:00
Seebs
6e4068b227 DebugCard: Support string item IDs
The /give command has, for a while, said things like:

Warning: Using numeric IDs will not be supported in the future.
 Please use names, such as 'minecraft:stone'

But setBlock() doesn't recognize those. It turns out to be pretty
easy to make it use string names when they are provided. Numeric
IDs are kept for compatibility, but the fallback for non-integers
is checkString() so that the diagnostic message will request a
string.
2014-11-17 21:59:45 -06:00
Łukasz Magiera
aced1f53b9 Fix typos 2014-11-16 17:33:21 +00:00
Łukasz Magiera
b88ef74287 Merge branch 'master-MC1.7.10' of https://github.com/MightyPirates/OpenComputers 2014-11-16 14:40:59 +01:00
Łukasz Magiera
715d4fedc6 Added network loot disk 2014-11-16 14:38:41 +01:00
Florian "Sangar" Nücke
090ebc9077 Merge pull request #674 from magik6k/master
Made `install.lua` re-usable so it can now install other software, too. Closes #672.
2014-11-16 01:27:47 +01:00
Łukasz Magiera
7704d3fff9 Make install.lua use shell.parse 2014-11-15 23:42:46 +00:00
Łukasz Magiera
12b56461bb Update install 2014-11-15 20:58:57 +00:00
Florian "Sangar" Nücke
27df8d2505 Merge pull request #671 from Vexatos/patch-13
Update oppm.lua again.
2014-11-14 15:01:30 +01:00
Florian Nücke
d9f3487ff1 Reworked robot.durability() implementation, closes #666.
It now returns a single number, the relative durability (0 = broken, 1 = no damage), using durability provider methods that can be registered via IMC `registerToolDurabilityProvider` (takes a single string, the name of the class+method, e.g. `com.example.OCInterop.getDurability`), returns a double, NaN if unsupported item stack. Added custom providers for IC2, RF, GT and TCon.
2014-11-14 14:56:59 +01:00
Vexatos
f1fd969c61 Update oppm.lua again.
Blame @rmellema.
2014-11-14 13:33:10 +01:00
Florian Nücke
ccdc482588 Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into master-MC1.7.10 2014-11-13 23:15:03 +01:00
Florian Nücke
73670f7282 Fixed #668, wrong toArray being used by linked cards. 2014-11-13 23:14:47 +01:00
Florian "Sangar" Nücke
90639ed1c3 Merge pull request #667 from Vexatos/patch-12
Update oppm.lua to make it install itself from loot disk
2014-11-13 22:12:55 +01:00
Vexatos
e76970fe64 Update oppm.lua to make it install itself from loot disk
Too many reports of OPPM not working due to the floppy being read-only.
2014-11-13 22:07:13 +01:00
Florian Nücke
7c5aa37693 Registering file system access event handler when running on a server, too, fixes #665. 2014-11-13 12:21:58 +01:00
Florian Nücke
c77a1ef785 Fixed power derp. For good now, I think. 2014-11-12 18:45:16 +01:00
Florian Nücke
f4258aa719 Housekeeping (typos, formatting, ...) 2014-11-12 11:08:13 +01:00
Florian Nücke
b31e0506f8 Fixed power computation bug leading to surplus energy consumption, closes #663. 2014-11-12 02:21:48 +01:00
Florian Nücke
dd60c54604 Added missing SGT2 mod integration init call... oops. Fixes #661. 2014-11-12 01:55:50 +01:00
Florian Nücke
ddf947394b Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into master-MC1.7.10 2014-11-10 23:27:43 +01:00
Florian Nücke
13064334f7 Meddled with some block overlay offsets a little (like power indicator light), might help with z-fighting on some systems. 2014-11-10 23:27:08 +01:00
Florian "Sangar" Nücke
2ec08f3035 Merge pull request #660 from magik6k/master
Fixed recipes for StargateTech2
2014-11-10 21:55:51 +01:00
Łukasz Magiera
2b3b24c042 Fixed recipes for StargateTech2 2014-11-10 16:49:37 +01:00
Florian Nücke
fcf91a899b Adjustment to database component API interface (nobody will notice, right? right!?) and updated API version. 2014-11-08 13:38:36 +01:00
Florian Nücke
18c151e349 Updated readme a bit wrt mod integration and added readme to integration package.
[ci skip]
2014-11-08 03:58:10 +01:00
Florian Nücke
3a0fea34ed Renamed item stack NBT converter setting to make sure it's flushed to the new default value (that being false). Closes #649. 2014-11-07 19:46:09 +01:00
Florian Nücke
01f1c369b6 Made export bus use database component. 2014-11-07 19:42:50 +01:00
Florian Nücke
7677d49d47 Implemented an item stack database component as discussed in #649.
Three tiers of increasing slot count, configurable via GUI.
2014-11-07 19:08:35 +01:00
Florian Nücke
1dc62cc2b5 Requiring sign upgrade in adapter for sign interop now; closes #653. 2014-11-07 15:50:53 +01:00
Florian Nücke
a5e3dc4090 Removed deprecated EIO capacitor driver, closes #652. 2014-11-05 19:33:13 +01:00
Florian Nücke
3ecc2885da Handling failed request computation better (link == null), should resolve #623. 2014-11-05 19:31:32 +01:00
Florian Nücke
041300fde7 Performance hack until I can properly address the speed issues in the Lua implementation of Lua's pattern matching. Should fix #648 for now. 2014-11-03 18:13:35 +01:00
Florian Nücke
7faa309388 Fixes #645. 2014-11-03 14:36:43 +01:00
Florian Nücke
af6a275542 The Piña Colada Song. 2014-11-03 02:20:54 +01:00
Florian Nücke
2c34bca1c1 Added permission check when changing sign value, closes #636. Tested with Cauldron and WorldGuard. 2014-11-02 14:29:59 +01:00
Florian Nücke
5cd58c6180 Resetting CPUs to use the default architecture if the set one doesn't exist anymore, closes #643. 2014-11-01 22:03:25 +01:00
Florian Nücke
3f60769059 Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into master-MC1.7.10 2014-11-01 21:06:35 +01:00
Florian Nücke
82f5452f07 Should fix some recipes being broken since a few commits back. 2014-11-01 21:06:18 +01:00