5245 Commits

Author SHA1 Message Date
payonel
84525eba7d throw custom too-long-without-yielding
closes #3150
2019-11-10 23:51:40 -08:00
payonel
56f8fdbaa9 Fixes an issue where a robot without an inventory was deleting the
drops. The core problem here actually is that OC agents try to
pull items directly out of killed/destroyed blocks via capturedDrops,
and the robots also pick up items from collision.
The collision code was written to always destroy the drops.
The code that tries to pull items out of capturedDrops spawns items in
world when there is no room in the robot.
Mob drops cause collision pickup AND run the capturedDrops code. When
collision doesn't take anything, and kills the drops, the items are lost.

The best fix would be to stop taking items directly from capturedDrops,
but this code has been here for some time, and we'll leave it for now.

The next best fix is to not always destroy drops on collision, but let
mc code handle collision cleanup as it was designed. Then, when taking
capturedDrops directly, first check if there is an inventory.

This solution leaves one last loop hole, collision doesn't find a place
in inventory and thus has valid world drops.

We can't ignore collision for attacks because the mobs are putting items
in the world. But instead, we need to stop capturedDrops action from
spawning in the world.

closes #3172
2019-11-09 22:46:31 -08:00
payonel
a713ee9741 charger can now charge items in player inventory
closes #1356
2019-08-23 23:09:23 -07:00
RafaGnious
9de3ee9dbc Added Ordis (Warframe)
In the wiki: https://warframe.fandom.com/wiki/Ordis
Ordis is a cephalon which is the name for the forms of artificial intelligence in Warframe ( https://warframe.fandom.com/wiki/Cephalon ).
2019-08-22 19:59:38 -07:00
payonel
a7aad36ed5 changing tooltip for APU tiers to match cpu tier
closes #3141
2019-08-19 23:25:20 -07:00
payonel
a5ec1700db check dimensions on hologram copy
closes #3127
2019-08-19 12:14:47 -07:00
Dream-Master
48e18d75ba bump version
add files to gitignore
2019-07-22 19:41:43 +02:00
Martin Robertz
d41ad02161
Merge pull request #5 from repo-alt/ic2-crop-integration
Ic2 crop integration
2019-07-21 22:18:19 +02:00
repo_alt
f846726b46 Added IC2 crop breeding integration.
Updated IC2 API version reference (old api is deprecated)
2019-07-21 22:06:26 +03:00
repo_alt
d82e06f83f Merge branch 'master-MC1.7.10' of https://github.com/MightyPirates/OpenComputers into master-MC1.7.10 2019-07-21 17:05:20 +03:00
payonel
838de82df9 woops, meant to grab only 1 return from assert 2019-07-15 02:11:37 -07:00
payonel
9a1923f7f4 check tostring result for print
closes #3125
2019-07-14 14:11:15 -07:00
Martin Robertz
620d360b46
Merge pull request #4 from MightyPirates/master-MC1.7.10
pull from main fork
2019-06-23 22:13:21 +02:00
repo_alt
53e18856b1 Merge branch 'master-MC1.7.10' of https://github.com/MightyPirates/OpenComputers into master-MC1.7.10 2019-06-23 18:31:19 +03:00
payonel
a50b237734 vt100 Hf position defaults to 1 2019-06-23 01:02:51 -07:00
Amanda Cameron
e0174b973f Make it possible to insert an Analyzer inside a tablet.
This makes it so that the tablet can accept the Analyzer, which makes
it possible to "scan" the component type, and address of the component,
making the data available as a table in the `tablet_use` event, under
`analyzed`.
2019-06-15 01:56:08 -07:00
Kingsley Chanakira
920e66bafd More HTTP request methods #1938
Adds the ability to specify the HTTP method used when sending a request with the internet card.

Fixes https://github.com/MightyPirates/OpenComputers/issues/1938
2019-06-15 00:15:53 -07:00
Wilma456 (Jakob0815)
91e913bbff Update robot.names 2019-06-14 21:01:51 -07:00
Vladimir Kalinin
99902fd205 Explicit type conversion for hash map (#3080) 2019-06-12 01:19:39 -07:00
payonel
7737a64c79 fixed t2 wireless cards NOT getting wired msgs
closes #3102
2019-06-12 00:48:23 -07:00
payonel
df1939cb0e rack send message to mountables immediately
relay (hub) doesn't repeat message in reverse
relay shows actual packets/cycle

closes #3095
2019-06-11 09:09:40 -07:00
payonel
fac5ecbe87 allow signals of tables of simple key value types 2019-06-11 03:30:09 -07:00
payonel
915a215cd7 use https for deps 2019-06-11 03:22:40 -07:00
payonel
88d4bcaa46 bind(false) doesn't need to sleep > 0, there is
still a balanced context cost with this change, and each bind() action
behaves roughly the same from significant empirical testing

closes #3062
2019-06-11 03:21:45 -07:00
payonel
bff1b2310a fix alias reset, the clear call was not needed 2019-06-11 03:21:14 -07:00
payonel
0de0bf2ca0 provide configuration option to set max signal queue size
closes #3084
2019-06-05 21:29:00 -07:00
payonel
986d4345d8 read ch from next byte
closes #3085
2019-06-04 13:19:29 -07:00
Vladimir Kalinin
3868f99798 https://github.com/MightyPirates/OpenComputers/issues/2928
AE2 Cells don't have extra information they should
2019-06-04 10:34:02 -07:00
Lizzy
2fd3bb4d3a Fixed "Dev jar" link in read-me
OC forums hasn't had the "pages" module on it since I took ownership in late 2016 and therefore this link is invalid
2019-06-04 10:30:07 -07:00
Martin Robertz
d48648eaff
Merge pull request #3 from repo-alt/ThaumicEnergistics-integration
Distillation pattern aspect information
2019-04-25 09:14:37 +07:00
repo_alt
25d750b3e2 Distillation pattern aspect information 2019-04-24 18:23:08 +03:00
bartimaeusnek
93427705f2
Merge pull request #2 from repo-alt/AE2-integration-2928
https://github.com/MightyPirates/OpenComputers/issues/2928
2019-04-24 01:11:44 +02:00
bartimaeusnek
834118e3e7
Merge pull request #1 from repo-alt/AE-integration-3080
Explicit type conversion for hash map (#3080)
2019-04-24 01:11:22 +02:00
Vladimir Kalinin
1df3497105 Explicit type conversion for hash map (#3080) 2019-04-07 00:46:17 +03:00
Vladimir Kalinin
d24f00b70c https://github.com/MightyPirates/OpenComputers/issues/2928
AE2 Cells don't have extra information they should
2019-04-06 20:25:42 +03:00
payonel
92426e33d2 call uptime instead of using cached time
waiting timers are starved otherwise
Also increment timeouts without drift
closes #3058
2019-02-28 12:45:18 -08:00
payonel
fdd0f8c554 check for etc before trying to install oppm
closes #2875
2019-02-07 14:24:40 -08:00
payonel
cd9a92fd41 update changelog for 1.7.4 v1.7.4 2019-02-06 21:30:32 -08:00
payonel
d9efb57bea more efficient buffer allocation 2019-02-06 21:10:52 -08:00
payonel
0d72b19d2e OC 1.7.4 patch changelog update 2019-02-06 20:52:39 -08:00
payonel
0cdaf8c87d fix motd without gpu
hide some irrelavent luacheck warnings
2019-02-06 18:42:14 -08:00
payonel
bf7636f533 fix io.dup for code that sets new keys 2019-02-04 19:02:30 -08:00
payonel
2e98e4f9bb motd doesn't need gpu 2019-02-04 19:02:20 -08:00
payonel
3004bcc94f kb event code reduc 2019-02-04 19:02:17 -08:00
payonel
9c6537ea7c stop using the gpu and kb addr 2019-02-04 19:02:07 -08:00
payonel
47455c1d43 another late fix
computer.pullSignal needs to use closest event registrant
2019-02-04 19:01:59 -08:00
payonel
aa963bfd26 tty may be a custom tty stream that didn't care about a cursor 2019-02-04 19:01:48 -08:00
payonel
d8346988f9 start drones above a block if on non-full blocks
closes #3029
2019-02-04 17:33:27 -08:00
payonel
c67f700fa9 use ByteBuffer to deal with transferFrom
transferFrom giving us grief on some platforms (openjdk for arch and debian)
ByteBuffer appears to be more reliable

closes #3038
closes #3031
2019-02-03 19:51:38 -08:00
TheCodex6824
04a1fb77c9 Fixed T1 wireless cards receiving wired messages 2019-02-02 00:34:54 -08:00