firenoo 7a38f2fc9a Rewrite Net code, add dual interface compat (#32)
* Add dual interfaces to supported P2P list

* Fix the AMC eating a static p2p without changing type

* Move packet data into a dedicated package in network

* Remove unused classes

TransportPlayer -> It's no longer allowed!
AEPartLocationMessage -> Superceded in the next version
LinkException -> Never used.

* Rewrite the network code

Performs major changes to the structure of how netcode is laid out.

1. Move packets to their own package and rewrite them.
2. Move methods from P2PUtil to GridServerCache, which will serve as the
   main channel for client <-> server communication.
3. Remove P2PCache - merged with GridServerCache and ModNetwork.

Specific packets of note:
1. S2CListP2P has been renamed to S2COpenGui, as that was its original
   intent. It is only sent when the memory card is used. Use
   S2CUpdateInfo to send only a list of changed P2PInfos (see below).
2. P2PLocation - This is used to store p2p location information and is
   the preferred data structure to send across the network. True, it
   has more data to be sent over the net, but it ensures that hash
   collisions don't break the card's functionality. Most packet types
   will use this for operations.
3. P2PInfo - This is used to handle sending updated p2p information
   over the net. When P2PLocation does not provide enough info (such
   as when connections are dirty)

* Finishing touches to the refactor + rewrite

* Change shown type when changing P2P type

Because Sampsa wanted it

* Remove debug
2023-07-30 12:57:13 +02:00
2023-05-20 18:55:27 +02:00
2022-01-30 14:36:19 +08:00
2022-01-30 14:36:19 +08:00
2023-01-29 09:19:22 -08:00
2022-02-03 14:29:03 -06:00
2022-01-30 14:36:19 +08:00
2022-02-11 16:50:55 -06:00
2022-02-03 14:29:03 -06:00
2023-05-20 18:55:27 +02:00
2022-02-03 14:52:50 -06:00
2022-01-30 14:36:19 +08:00
2022-01-30 14:36:19 +08:00
2022-01-30 14:36:19 +08:00
2023-05-20 18:55:27 +02:00
2023-01-29 09:19:22 -08:00

BetterP2P

License: GPL v3

logo

Better P2P and memory card for Applied Energistics 2, requires Forgelin.

Documentation is now available to read: https://lasmgratel.github.io/BetterP2P-Manual/

Features

Obtain a Better Memory Card.

Right-click on a P2P device or any ME attached device to inspect all P2P devices in your ME Network.

Select one of the P2P devices and pair it with other P2P, you can choose the binding mode. Once you have P2P devices paired, devices with same frequency will be highlighted in aqua color.

Input P2P will always be on the top.

A wrong setup (usually P2P devices without input) will be in red color, and devices with no channel will be in yellow.

Version 1.1 update:

P2P location is shown.

When you select one of the P2P device, outlines will render at other devices with same frequency.

You can Shift-click better memory card to clean this outline.

TODOs

  • Documentation
  • Sort modes
  • Better predicate to reduce crashes
  • Backport to 1.7.10
  • A border show in the world to identify the selected P2P device
  • Optimize cache
  • A minimap shows all P2P devices

Credits

Cyclic for its block outline code

S
Description
No description provided
Readme GPL-3.0
5.9 MiB
0 Stars 1 Watchers 0 Forks
Languages
Kotlin 71.1%
Java 28.4%
Shell 0.4%