4905 Commits

Author SHA1 Message Date
payonel
aae7029dbe log rc errors to /tmp/event.log
closes #2787
2018-03-20 19:30:00 -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
7b966cfdf6 Bump version for release. v1.7.2 2018-03-11 20:47:01 +01: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
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
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
615b2d496b make no-recipe failure more obvious in code 2018-02-21 20:01:49 -08:00
payonel
add65a0f65 stop crafting when craft result changes
closes #2054
2018-02-21 11:36:31 -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
e91b8c0971 add isCraftable to ae item data returned to the machine 2018-02-18 23:38:08 -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
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
payonel
03c0fda530 remove mem leak is load intercept 2018-01-26 20:47:02 -08:00
payonel
7e77662160 for clear line use gpu fill and not set 2018-01-21 18:03:42 -08:00
payonel
983185f5f2 fix vt code for scroll 2018-01-21 17:42:04 -08:00
payonel
28bf5b7cfe RIGHT ... setBackground returns number, number when paletted
derp
2018-01-20 07:37:23 -08:00
Anar Abdullayev
eec9173066 Update robot.names (#2607) 2018-01-11 06:26:15 -08:00
Ruukas
65fc2664f0 Added Robot names (#2555)
Got a little creative with some of them.. I have been interested in robots and robot movies for a while and got kind of caught in it. Most of robots/AIs I thought of were already in the list, but I think these would make some nice additions to the list.
2018-01-11 06:18:05 -08:00
Matthew Beeching
c78cf08b1c Update uuid.lua to generate RFC4122 valid version 4 UUIDs 2018-01-11 06:16:12 -08:00
SDPhantom
1a8cd8db99 Update robot.names
Added a couple Reaper names along with an ally from Mass Effect
2018-01-08 06:50:24 -08:00
payonel
4c0d17d6fb install cleaning
reverting a change from july 2017, that had the installer ignore a source if it came from the only rw candidate, when running the multi-selection util. I can see the irritation or confusion of the user when running the installer and it considers a secondary drive as a viable source candidate. Typically, a system would have additional hdds merely to store data. Typically the ro loot floppies are the desired source candidates. I believe the intention here was: "We have multiple source candidates, but only one is rw, thus it is probable that the rw candidate isn't actually intended for install" But I disagree, when testing custom floppies there will easily be one additional rw source.

Also, this change includes some additional command line clarification. If the system selects a source automatically, the first prompt the user sees is where to install. This can be jarring or confusing -- as the user doesn't know yet WHAT is being installed. In that case, we now display what is up for installation before asking where to install it.
2018-01-07 03:21:09 -08:00
payonel
8ef72f6bfe case fix 2018-01-05 07:01:36 -08:00
payonel
f8bfbf55b1 make component inventory components array even more lazy
allow a component inventory to define its inventory size from nbt even after the components array has been accessed. The array will appear to be size zero until initialized

closes #2522
2018-01-02 20:59:09 -08:00
payonel
8a4b1fa4f5 add sheep power
- add carpeted capacitor and configurations
- remove check for power providing mod
- remove localization about power check
2018-01-01 12:02:13 -08:00
payonel
7432030d16 reduce glyph log noise 2017-12-31 10:42:25 -08:00
payonel
7cab775901 allow setting chars to remove preceding wide chars 2017-12-30 22:45:26 -08:00
payonel
d67156ed52 update font.hex (thanks @asie) and drop wcwidth.bin
now server loads glyph sizes by parsing font.hex

closes #2676
2017-12-22 07:48:50 -08:00
payonel
9c509508a7 French translation fixes
Thanks to @Naheulf
Closes #2061
2017-12-18 17:47:26 -08:00
Xyxen
fd9b81582b Fix runClient and runServer Gradle tasks (#2673)
Compile dependencies are placed on the runtime classpath by Gradle.
Because the compile configuration is set to extend from the provided
config, all of those dependencies are put on the runtime classpath as
well.

In this patch, provided is instead made a separate configuration, and
explicitly added to ONLY the compile classpath of the main sourceset.
2017-12-17 21:10:31 -08:00
payonel
719498163c fix relays save/load without wireless cards 2017-12-16 01:16:45 -08:00