SX
91c6d3ac60
Remove channel generators, switch nuclear reactor remote_channel to channel
2020-12-04 07:38:37 +01:00
SX
54f0009b8e
( #123 ) Mitigation for invalid ABM call crash
2020-11-09 04:45:05 +02:00
SX
9887a5950b
Remove global dig/place handlers. Better multi tier support for dig/place
...
Fix on_construct/on_destruct registration
2020-10-31 04:43:24 +02:00
SX
d206956810
Destroy network if ref switch disappears, cleanup switching station code
...
Remove rest of SP_nodes from code, it does not contain anything
Reset switch infotext, export machine_tiers
Add tests for cable building between active networks
Remove all networks when cable is placed between networks
Fix SC connectivity issues
2020-10-31 04:43:16 +02:00
SX
6bbe8e1da5
Fix SC/build/dig bugs, some cleanup
2020-10-31 04:43:10 +02:00
SX
16f0683c21
Network node placement, utilize locals for frequent names
...
(#95 ) Place/remove network nodes. Cleanup sw_pos
(#96 ) SC infotext / reduce timeout ABM workload
2020-10-31 04:41:45 +02:00
SX
c6aa02897b
Network handles timeouts, remove second switch ABM
2020-10-31 04:38:45 +02:00
SX
f66c644fce
Remove metadata for supply,demand,battery_count,battery_charge,battery_charge_max
...
Remove switching station from networks
Disable few debug prints, add removed machines to LBM
clear_networks refatoring #95
Functions remove_network_node and add_network_branch #95
Fix undef network_id, remove flatten #95
2020-10-31 04:37:21 +02:00
SX
c08732cd87
Fix digiline event and luacheck warnings
...
Add fake get_modpath for busted
2020-10-31 04:37:12 +02:00
SX
a259576894
Network refactoring, proper multi switch support WIP
...
Update network utils, globalstep use networks, update switch ABM
Removing switching stations from network
2020-10-31 04:36:26 +02:00
SX
79233d764a
Add busted unit testing for technic
...
Fix test framework and luacheck, Add metadata cleanup ABM
Added busted and contentdb badges
2020-10-31 04:35:35 +02:00
SX
7a4826e77d
Move basic global network funcs to network.lua
2020-10-31 04:33:20 +02:00
SX
761cd3e14b
Add compatibility hack for digtron ( #102 )
...
* #100 Add compatibility hack for digtron
* Do not use function introduced in network-ng branch
* #100 Timeout check back to 1 second
2020-10-20 19:42:59 +03:00
SX
6a9212eddd
Cleanup caches immediately when new switching station placed
2020-09-20 18:21:34 +03:00
SX
22dd13d622
Do not activate new switch if another is active already
2020-09-20 16:01:47 +03:00
SX
97de34b2f4
Overload skip PR+RE nodes
2020-09-20 13:00:17 +03:00
SX
3981ad18e7
#77 Revert early exit on overload, update overload
2020-09-20 02:01:52 +03:00
SX
ad362a6ecc
Remove Power monitor from network #76 not actual machine anymore
2020-09-19 22:34:20 +03:00
SX
47cda2d81e
Make node_timeout local
2020-09-05 15:14:54 +03:00
SX
b63bfe683e
Reduce meta usage, clean cable cache on overload #76 #77
2020-09-05 15:09:32 +03:00
SX
22599b7dd5
Reduce meta, fix network id #76 #77
2020-09-05 11:26:33 +03:00
SX
66f9705ac2
Remove print, add comment
2020-08-22 21:27:53 +02:00
SX
3d12f8966c
Machines with multiple networks causes switching overload
2020-08-22 21:27:53 +02:00
Alexander Ried
5f9cfc7caf
fix: touch disabled switching stations
...
Otherwise the "switching station reenable abm" (see file
switchting_station.lua) will reenable the disabled switching station at
its next run.
2020-07-21 19:48:53 +02:00
Alexander Ried
0645e4c1f6
Add digiline interface to power monitor
...
The power monitor can now be queried for information about the network. They
are retrieved from the associated switching station.
Also export information about the attached batteries.
2020-06-30 15:06:05 +02:00
BuckarooBanzay
9d80ac1e0f
fix luacheck warnings
2020-06-18 11:42:23 +02:00
BuckarooBanzay
53a9ea18b0
provide "lag" info in switching station digiline response
2020-06-18 10:59:40 +02:00
SX
1536df8589
Machine conduct digilines downwards ( #49 )
...
* Custom digiline rules for machines
* Add custom digiline receptor and effector rules for machines
* technic.digiline.rules must be always available, even if digilines is disabled
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2020-05-23 21:24:35 +02:00
BuckarooBanzay
7306aa1144
update readme/settings
2020-01-16 15:40:08 +01:00
Thomas Rudin
289b8020b9
polyfuse overload
2020-01-05 16:45:10 +01:00
Thomas Rudin
7234b73f46
move out switching station run function
2020-01-03 13:43:36 +01:00
NatureFreshMilk
a81aa242d3
lag calculation and 250 ms switching station limit
2019-11-05 14:01:45 +01:00
NatureFreshMilk
9a48248316
Merge branch 'master' into pandorabox
2019-08-27 07:35:00 +02:00
coil
d119a67482
Refactor switching station ABMs ( #508 )
...
When the function is defined inside the ABM, a new closure is allocated every time the ABM runs.
Since the action function is already way too long, it's better for readability and performance to split it out.
2019-08-26 19:45:11 +02:00
Thomas Rudin
6059ec8aeb
Revert "Revert "Revert "remove monitoring code and deps"""
...
This reverts commit 2a07854bd337e918ea9e60d08b42b7dbe09b2433.
2019-04-29 21:26:20 +02:00
Thomas Rudin
b89eee3b68
sw fix
2019-04-29 20:57:00 +02:00
Thomas Rudin
9ca1f1070a
Revert "Revert "remove monitoring code and deps""
...
This reverts commit 48d251a33821a2b6f9f826e6d8fe7ca601e3e903.
2019-04-29 20:49:22 +02:00
Thomas Rudin
ddf78dbc57
perf stuff
2019-04-10 09:42:02 +02:00
NatureFreshMilk
cea42b18a0
add technic.switch_max_range setting
2019-04-01 09:07:06 +02:00
NatureFreshMilk
0af2749ac4
tune abm intervals to introduce jitter
2019-03-21 13:10:10 +01:00
Thomas Rudin
37dcb2a101
Revert "remove monitoring code and deps"
...
This reverts commit 7b16d4fe870016b5e415585f1a57d44ae882745a.
2019-03-11 21:42:40 +01:00
NatureFreshMilk
baefac24e2
remove monitoring code and deps
2019-03-11 08:42:51 +01:00
NatureFreshMilk
59b297fa23
enable monitoring on technic switching station
2019-03-04 08:51:32 +01:00
Thomas Rudin
c562064a62
conservative chances on avm's
2019-03-03 20:19:17 +01:00
NatureFreshMilk
72470365d1
remove forceload code
2019-03-01 13:23:49 +01:00
Thomas Rudin
ae584dbeb6
timeout and overload reset change
2018-12-09 19:16:50 +01:00
Thomas Rudin
e7330172cc
proper overload
2018-11-26 17:53:50 +01:00
Thomas Rudin
5bc1519766
overload detection
2018-11-26 17:31:55 +01:00
Thomas Rudin
82c6301607
log timing
2018-10-24 11:19:38 +02:00
Thomas Rudin
80e9e44099
timeing info on switching station
2018-10-16 13:27:21 +02:00