payonel
e5aa71dc52
reducing build.gradle
2018-08-27 10:23:17 -07:00
Wrothmonk
8d88844b07
Proper .prop file recognition
...
Install would only check .prop files at the root of a device instead of the actual path where the installation is coming from. This would cause issues with the --from option if it was targeted at anything other than the root of a filesystem.
2018-07-04 16:22:56 -07:00
payonel
23507d5c77
fix offhand actions
...
with tablets, databases, server racks, and disk drives
closes #1897
2018-03-19 21:29:13 -07:00
payonel
6130d0adc6
Merge remote-tracking branch 'origin/master-MC1.7.10' into master-MC1.10
...
# Conflicts:
# src/main/scala/li/cil/oc/common/container/Player.scala
# src/main/scala/li/cil/oc/common/tileentity/NetSplitter.scala
# src/main/scala/li/cil/oc/common/tileentity/Print.scala
# src/main/scala/li/cil/oc/common/tileentity/Rack.scala
# src/main/scala/li/cil/oc/common/tileentity/Redstone.scala
# src/main/scala/li/cil/oc/common/tileentity/Screen.scala
# src/main/scala/li/cil/oc/common/tileentity/traits/BundledRedstoneAware.scala
# src/main/scala/li/cil/oc/common/tileentity/traits/Computer.scala
# src/main/scala/li/cil/oc/common/tileentity/traits/RedstoneAware.scala
# src/main/scala/li/cil/oc/server/component/Geolyzer.scala
# src/main/scala/li/cil/oc/server/component/RedstoneVanilla.scala
# src/main/scala/li/cil/oc/server/component/RedstoneWireless.scala
2018-03-18 23:06:08 -07:00
payonel
abe18ad535
add detect to geolyzer
...
this commit also fixes some positional issues with geolyzer and canSeeSky when used as an internal component with tablets and drones
this commit also adds the hover tier 2 upgrade to the creatix robot
closes #1863
2018-03-18 01:09:45 -07:00
payonel
8cac5dfcd3
add isSunVisible and canSeeSky to the geolyzer
...
this is a potential solution to robots that need to know if their solar panels are able to charge
if a geolyzer is also added to a robot, it can use the geolyzer component to check for charge options
issue #1778 specifically asked for similar api on the solar upgrade, but we didn't want to make the solar upgrade a component. Doing so would increase the component load of existing robots, which could cause existing robots to simply fail.
thus this is a compromise to that request
closes #1778
2018-03-17 20:46:30 -07:00
payonel
4a83d4426d
allow the robot to swing at anything that would block its movement
...
closes #1840
2018-03-17 19:58:23 -07:00
payonel
0095f33522
cleanup
2018-03-16 19:45:45 -07:00
payonel
37c3ddaf91
slot tier weighted fill
...
closes #1658
2018-03-16 19:45:39 -07:00
payonel
c69c9e6748
returning just the first value of debug getlocal and getupvalue
...
the suggested access was to return nil always as the value, but these values aren't nil, and I felt it reasonable to return at least the variable name and not mislead that the value was nil
closes #1607
2018-03-14 23:31:43 -07:00
payonel
d020e0d941
add new redstone_changed color parameter for bundled input
...
bundled inputs now include the color of the input that changed
also, the redstone_change signal for bundled input no longer sends the MAX old and MAX new values, but instead, only the old and new values of the specific color that changed
closes #1385
2018-03-14 17:29:36 -07:00
payonel
f6f067ef29
protect from missing nodes in hub plugs
...
closes #2445
2018-03-11 22:40:55 -07:00
payonel
54bf2c21e5
check slot index is in bounds
...
closes #1991 in some cases, the other cases are undefined/no repro
2018-03-11 22:36:49 -07:00
payonel
a28d16f5d9
close handles on process exit
2018-03-11 22:19:34 -07:00
Vexatos
067d91f473
Merge remote-tracking branch 'origin/master-MC1.7.10' into master-MC1.10
...
# Conflicts:
# changelog.md
2018-03-11 20:50:30 +01:00
Vexatos
7b966cfdf6
Bump version for release.
v1.7.2
2018-03-11 20:47:01 +01:00
payonel
e77866f00a
Merge branch master-MC1.7.10 into master-MC1.10
...
# Conflicts:
# src/main/java/li/cil/oc/api/prefab/ItemStackArrayValue.java
# src/main/scala/li/cil/oc/server/component/traits/WorldInventoryAnalytics.scala
2018-03-11 12:10:04 -07:00
payonel
352aaefbc5
Merge pull request #2075 from thiakil/WorldInventoryAnalytics-updates-pr
...
World Inventory Analytics Improvements
closes #2771
2018-03-11 12:07:53 -07:00
payonel
e8faf698b3
merge and compile fixes
2018-03-08 23:34:43 -08:00
payonel
d9a1767bc1
Merge branch master-MC1.7.10 into master-MC1.10
...
# Conflicts:
# src/main/scala/li/cil/oc/common/Proxy.scala
# src/main/scala/li/cil/oc/common/tileentity/RobotProxy.scala
# src/main/scala/li/cil/oc/server/agent/Player.scala
# src/main/scala/li/cil/oc/server/component/UpgradeCrafting.scala
2018-03-08 22:43:46 -08:00
payonel
aac94d7f22
only use inv sync for item use
...
closes #2769
closes #2766
2018-03-08 21:47:09 -08:00
payonel
659af9e845
add setName and getName to robot component
...
The robot component is only loaded(connected) on computer cases and server racks
closes #2760
2018-03-04 20:12:54 -08:00
payonel
0341b1d0a3
share default arch code
2018-03-02 23:09:24 -08:00
payonel
60e706dcb2
use helper method to set default cpu
2018-03-02 22:13:56 -08:00
payonel
aba2225fa5
add config option to craft lua 5.3 cpu by default
...
only affects cpus and apus when crafted
also, /oc_spawnComputer (/oc_sc) will use the default lua setting
closes #2761
2018-03-02 18:53:21 -08:00
payonel
d17be6909b
small code cleanup
2018-02-27 17:17:13 -08:00
payonel
68c02b4c46
protect kernel _G from shell user programs
...
closes #2759
2018-02-27 17:17:13 -08:00
payonel
63012c7580
Merge branch 'agent-use-item' into agent-use-item-1.10
...
# Conflicts:
# src/main/scala/li/cil/oc/server/agent/Inventory.scala
# src/main/scala/li/cil/oc/server/agent/Player.scala
2018-02-26 16:07:24 -08:00
payonel
44234814ad
detect fake player inventory changes
...
some mods may modify player inventory item arrays directly instead of through the container
also, this fixes other potential mods trying to update the inventory during actions
though unlikely, it would be supported now
closes #2751
2018-02-26 15:58:55 -08:00
payonel
44daa2d3ed
Merge branch master-MC1.7.10 into master-MC1.10
2018-02-21 20:07:55 -08:00
payonel
615b2d496b
make no-recipe failure more obvious in code
2018-02-21 20:01:49 -08:00
payonel
c054a0e598
Merge branch master-MC1.7.10 into master-MC1.10
...
# Conflicts:
# src/main/scala/li/cil/oc/common/block/Cable.scala
2018-02-21 11:41:24 -08:00
payonel
add65a0f65
stop crafting when craft result changes
...
closes #2054
2018-02-21 11:36:31 -08:00
SquidDev
9c00fcfc28
Make cable collision box closer to cable shape
2018-02-20 08:12:48 -08:00
SquidDev
2e5cca8dbf
Make cable collision box closer to cable shape
2018-02-20 08:03:02 -08:00
payonel
f11d384b51
follow fail pattern for addUser: throw on bad arg, nil on bad result
...
closes #2156
2018-02-20 07:44:41 -08:00
payonel
105e26b499
fix appeng export bus exportIntoSlot
...
closes #2658 for 1.10
2018-02-20 00:19:41 -08:00
payonel
8b949bd563
Merge branch master-MC1.7.10 into master-MC1.10
...
# Conflicts:
# src/main/scala/li/cil/oc/integration/appeng/NetworkControl.scala
2018-02-18 23:49:39 -08:00
payonel
e91b8c0971
add isCraftable to ae item data returned to the machine
2018-02-18 23:38:08 -08:00
payonel
166114dcc1
Merge branch master-MC1.7.10 into master-MC1.10
...
# Conflicts:
# build.properties
# src/main/scala/li/cil/oc/integration/appeng/NetworkControl.scala
2018-02-18 13:23:19 -08:00
payonel
4cffec4548
update forge for 1.7.10
2018-02-18 13:01:50 -08:00
payonel
b24e3e6f6b
buffer mapped elements in cpu list so as to not lose equivalent cpus
...
closes #1921
2018-02-18 13:01:19 -08:00
payonel
37335d98b6
Merge branch master-MC1.7.10 into master-MC1.10
...
# Conflicts:
# src/main/scala/li/cil/oc/integration/appeng/NetworkControl.scala
2018-02-18 02:00:17 -08:00
payonel
aa84a24325
refactor ae get/set filter integration code
...
ae filtering now works on the exact same fields as returned to the lua state
closes #2718
2018-02-18 01:49:16 -08:00
TheCodex6824
26b127e74f
Fixed drones not reclaiming their chunk tickets ( #2727 )
...
If a ticket is created with ForgeChunkManager.Type.ENTITY and bound to
an entity, then forge will actually load that entity's chunk before
returning its ticket. As a result, the drones were initializing their
components before the ticket was added to restoredTickets, so they
never actually reclaimed their ticket. Also added a log message to
detect if something like this happens again.
2018-02-13 16:08:18 -08:00
payonel
84ccbcef8a
typo
...
closes #2743
2018-02-09 14:23:14 -08:00
payonel
6fd7fc07e1
require exact modifier key presses for key combos in /bin/edit
2018-02-04 18:42:54 -08:00
Brisingr Aerowing
de7868a5f8
Fixed #2313 ( #2705 )
...
Added getBlockState method to debug card world value
2018-02-01 17:31:51 -08:00
payonel
22c265dbaa
Merge branch master-MC1.7.10 into master-MC1.10
2018-01-28 12:28:39 -08:00
payonel
03c0fda530
remove mem leak is load intercept
2018-01-26 20:47:02 -08:00