Commit Graph
30 Commits
Author SHA1 Message Date
firenooandMartin Robertz e1b3f20078 Network throttle: Force ME update packets to be sent once every N ms. (#110)
* Network throttle: Force ME update packets to be sent once every 50ms.

1. Item and fluid packets are separated to their own classes, as they are
not even allowed to be mixed together in the first place. This will enforce a strict
separation of the two.

2. New network worker thread for handling ME inventory updates. Instead of
creating packets directly, classes should schedule packet(s) to be sent at the
next 50ms boundary. The packet has a limit of 256 items to prevent killing the
client, but this can be changed in the config. In fact, the packet send rate is
also configurable.

3. Upon opening a terminal GUI, ME update packets are split. Only the last received
packet will trigger a terminal sorting, so if the ME system is large, it may take
several seconds (!) to load all the items.

* Update SPacketMEFluidInvUpdate.java

---------

Co-authored-by: Martin Robertz <dream-master@gmx.net>
2023-04-01 14:04:39 +02:00
firenoo 9c2ef02383 Split packets when sending items over network (#107)
Packets are now split into smaller chunks when sent. The packet
size is adjustable in the config.
2023-03-23 17:14:14 +01:00
asdfljandRaven Szewczyk b9724d9369 fc terminal add type filter (#98)
* fc terminal add type filter

* Update dependencies.gradle

---------

Co-authored-by: Raven Szewczyk <git@eigenraven.me>
2023-03-12 20:25:42 +01:00
GlodBlock fb003da0a3 fix inventory check of gt machine 2023-02-21 15:36:10 +08:00
asdflj 92213031f8 fix bug 2023-02-05 18:12:58 +08:00
GlodBlock e1aa537670 make wct recipe not removed 2023-02-03 13:03:55 +08:00
GlodBlock dadf2784a8 fixes 2023-02-01 21:15:44 +08:00
GlodBlock 482298021e tank 2023-01-30 18:07:57 +08:00
Jason Mitchell 69a5c0e6ee [ci skip] spotlessApply with the new settings 2023-01-28 17:43:10 -08:00
GlodBlock 8d072f0c89 refactor 6 2023-01-23 16:45:14 +08:00
GlodBlock fe1ec6276d add fluid storage bus 2023-01-17 22:41:49 +08:00
Raven Szewczyk 18630c9618 Add crafting calculator v2 compat for newer AE2-GTNH versions 2023-01-14 18:04:23 +00:00
asdflj 42c47a3a3e add super speed card support 2023-01-03 16:25:33 +08:00
asdflj 5e31096c7e spotless apply 2022-12-05 14:41:36 +08:00
asdflj b3fa0c09d1 add waila support 2022-11-30 10:29:37 +08:00
GlodBlock bce6e35675 crafting card support for fluid export bus 2022-10-03 19:46:57 +08:00
GlodBlock 88ccb54fe3 fix oc driver register crash 2022-08-23 10:07:01 +08:00
GlodBlock 56d81eef56 move block loader to postinit 2022-07-25 22:08:34 +08:00
GlodBlock 0501c65153 add config to remove recipes 2022-06-05 23:44:52 +08:00
GlodBlock 33823e3546 recipe and config 2022-05-27 22:41:11 +08:00
GlodBlock a053b51b57 native fluid io bus 2022-05-27 22:18:25 +08:00
GlodBlock 9d95dec6af clean up 2022-05-22 10:38:19 +08:00
GlodBlock 6061dc8227 fix cards 2022-05-22 01:21:53 +08:00
GlodBlock 2d585bd280 ? 2022-05-13 22:04:01 +08:00
GlodBlock f5a089e959 fix no NoClassDefound in server 2022-05-13 21:24:07 +08:00
GlodBlock 18647ceb31 config file 2022-05-11 22:07:01 +08:00
GlodBlock 226e977e85 recipes 2022-05-11 21:38:30 +08:00
GlodBlock 54e6654078 fluid cells 2022-05-11 18:32:49 +08:00
GlodBlock 170e8c4a3b readme and other 2022-05-10 20:43:18 +08:00
GlodBlock db2ad29b52 begin work 2022-05-10 17:57:38 +08:00