1398 Commits

Author SHA1 Message Date
Florian Nücke
234651592e made hardmode.recipes include default.recipes to avoid missing recipes when players comment out the default recipes in the user.recipes; additionally using block break event to check if robots may break blocks (either by "clicking" them or by moving into them), making it compatible with WorldGuard, e.g. 2014-03-20 11:18:14 +01:00
Florian Nücke
9778a72fc9 added setting for sync call pause 2014-03-19 07:53:57 +01:00
Florian Nücke
4e7bc78836 cleaned up redstone logic a bit and enforcing a short delay after synchronized calls to avoid tick times for computers going through the roof due to spammy synchronized calls (e.g. redstone.setOutput every frame). this is more of a workaround, i'll have to see if i can find a cleaner solution for this. 2014-03-18 19:00:57 +01:00
Florian Nücke
3b5bb9487b undid the Arguments.checkInteger change since it can break things (and did!), checking for actual int byte mask in hologram manually now 2014-03-18 14:05:58 +01:00
Florian Nücke
296daa7e1c fixed Arguments.checkInt for 0x80000000 2014-03-18 09:32:12 +01:00
Florian Nücke
bd780583c7 more info on using api/deobf jar as dependency 2014-03-18 06:56:06 +01:00
Florian Nücke
1c049fe9bd plain sources in api jar 2014-03-17 18:56:41 +01:00
Florian Nücke
cba29b2e9a make computer state save system more compatible with non-standard use of save/load 2014-03-17 16:57:32 +01:00
Florian Nücke
2e92183abb fixed config not being created (only updated) 2014-03-17 13:31:26 +01:00
Florian Nücke
a65ccb7407 fixed save system for computer states. god that was stupid. warning: computers saved in build 266-273 won't be restored properly. 2014-03-17 12:11:38 +01:00
Florian Nücke
708f751fb6 added missing side check when stopping running sound for computers 2014-03-17 11:36:27 +01:00
Florian Nücke
018da854ed making deobf jar default jar in maven repo; added javadoc jar to maven 2014-03-17 10:42:00 +01:00
Florian Nücke
9c1cc85cb8 formatting in fingerprint warning string 2014-03-17 09:56:33 +01:00
Florian Nücke
daba8544fb fixed returning java maps as tables from callbacks 2014-03-17 09:02:43 +01:00
Florian Nücke
1ac63d205a some jdoc fixes 2014-03-16 17:17:23 +01:00
Florian Nücke
8c1571c1d0 added javadoc jar generation; added fingerprint generation/check and jar signing 2014-03-16 17:05:52 +01:00
Florian Nücke
70755c8528 better clean up of no longer valid computer state saves by handling saving in the chunk's save callback (instead of the world's) 2014-03-16 10:31:45 +01:00
Florian Nücke
a7701969d5 updated luaj to cvs snapshot version, to get official fix for string matcher 2014-03-16 10:07:17 +01:00
Florian Nücke
62f5a7a993 made zip file system error instead of return null if the specified root path isn't a directory 2014-03-16 09:01:03 +01:00
Florian Nücke
b3a737c57c some cleanup in save handler 2014-03-16 08:00:46 +01:00
Florian Nücke
067664dd3e added position to owner interface in the API to make machine saving more generic 2014-03-16 07:36:53 +01:00
Florian Nücke
b5da283204 fixed saving for server racks in new kernel save system 2014-03-16 07:25:51 +01:00
Florian Nücke
f9c4306692 fixed component.isRobot (tho that's deprecated anyway!); reworked machine state saving - kernel (and stack, if necessary) are now saved in extra files instead of in the tile entity's nbt tag. if the data gets too bit, minecraft apparently silently fails in saving the chunk... yay. the kernel data is dumped uncompressed to saves/[world]/opencomputers/[chunkX].[chunkY]/[node_address]_kernel - uncompressed because gzipping makes saving noticeably slower. this also allows removing the waila check in the save in case people still have a very old version of it. 2014-03-16 06:56:38 +01:00
Florian Nücke
48ad030feb Merge branch 'master' of https://github.com/MightyPirates/OpenComputers 2014-03-15 20:00:24 +01:00
Florian Nücke
5b8029364f fixed the dig program 2014-03-15 20:00:08 +01:00
Florian Nücke
a6b3f45ce8 readme rewrite 2014-03-15 02:24:17 +01:00
Florian Nücke
683a9da6ff properly checking if stream was opened successfully in internet.open 2014-03-14 17:56:04 +01:00
Florian Nücke
2a443aa17e non-streaming sounds, this means no fade in / out, but since there are only 4 streaming sound channels it's the only sensible way; hopefully fixed potential threading issues when saving file systems; added direct support for energy systems beside UE again, to allow pulling it into a mixin, instead of having it at the top-level tile entity - this is mainly to avoid confusing the crap out of ic2's power system in combination with the robot proxy, but also avoids stuff like cables showing up in openperipherals; with all the scala synthetic classes this is all kinda tightrope-walk-ish so i added some custom interface and method stripping to the class transformer for oc classes (cleans up said synthetic classes quite nicely); this will probably be hell to merge into 1.7...; also adjusted localization files to represent the change in power support 2014-03-14 05:12:42 +01:00
Florian Nücke
4b20f58891 fixed class transformer for certain scenarios where the tile entity class was not found by the loader 2014-03-13 21:30:47 +01:00
Florian Nücke
8a8a5d6d86 fixed comments in config getting duplicated when new settings were added (damn line endings...) 2014-03-12 06:48:22 +01:00
Florian Nücke
0d71363160 removed accidental scala from prefab in api 2014-03-12 03:59:26 +01:00
Florian Nücke
6b2e374563 added setting for computer running noise volume 2014-03-11 21:22:46 +01:00
Florian Nücke
f8a0b60abd robot label now moves smoothly with the robot; running sound for computers, robots and server racks; split sound class into server and client side 2014-03-11 21:17:34 +01:00
Florian Nücke
bb98121a82 forcing a new address onto nodes added to a network in which another node with that address already exists. this was possible in case of duplicated items (creative mode e.g.) 2014-03-11 16:42:35 +01:00
Florian Nücke
7d95148d8b fixed class transformer for mods reobfed to notch names (i was *so* sure i tested this before...) 2014-03-11 15:49:26 +01:00
Florian Nücke
fa7da0536f added some more jdoc to api; added FluidTankInfo type converter; made robot interface extend rotatable 2014-03-11 12:44:19 +01:00
Florian Nücke
c8d7d569c9 organized imports 2014-03-11 00:19:01 +01:00
Florian Nücke
73bdde3acb fixed auto tostring in pretty serialization; fixed files not being 'reset' when opening unbuffered files in write mode 2014-03-10 23:14:59 +01:00
Florian Nücke
ac1bb3847d disabled debug network rendering 2014-03-10 22:33:55 +01:00
Florian Nücke
cfff33cc4b Merge branch 'master' of https://github.com/MightyPirates/OpenComputers
Conflicts:
	src/main/resources/assets/opencomputers/robot.names
2014-03-10 22:32:36 +01:00
Florian Nücke
32cde6d2ad javadoc for wireless api 2014-03-10 22:31:20 +01:00
Johannes Lohrer
190414fd90 added robot names from perry rhodan 2014-03-10 22:18:36 +01:00
Florian Nücke
2ef86cfacc cleaning up network a lot; fixed cc comps not being able to send wireless messages via access points; started wireless api 2014-03-10 22:07:56 +01:00
Florian Nücke
0f0843e4dd Merge pull request #158 from Wobbo/master
Added some pionering robots to the list
2014-03-10 21:24:33 +01:00
René Mellema
1829fcc79d Update robot.names 2014-03-10 21:24:03 +01:00
Wobbo
77b055a581 Added some pionering robots to the list 2014-03-10 21:20:51 +01:00
Florian Nücke
de00d886d2 Merge branch 'master' of https://github.com/MightyPirates/OpenComputers 2014-03-10 18:55:20 +01:00
Florian Nücke
ed0090e60e actually applying type converters; added itemstack converter 2014-03-10 18:55:09 +01:00
Florian Nücke
e3d0bfa2c4 fixed pretty serialization for tables with mixed typed keys 2014-03-10 18:50:04 +01:00
Florian Nücke
afcc04c90c added type converter api. doesn't do anything yet, only allows registering converters. 2014-03-10 17:51:10 +01:00