mirror of
https://github.com/GTNewHorizons/BetterP2P.git
synced 2026-11-25 14:24:38 +00:00
* 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
13 lines
685 B
Groovy
13 lines
685 B
Groovy
// Add your dependencies here
|
|
|
|
dependencies {
|
|
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-240-GTNH:dev')
|
|
api('com.github.GTNewHorizons:Forgelin:1.9.2-GTNH-1.7.10-Edition')
|
|
api('com.github.GTNewHorizons:BuildCraft:7.1.27:dev')
|
|
// Some optional P2P tunnel support
|
|
compileOnly('net.industrial-craft:industrialcraft-2:2.2.828-experimental:api')
|
|
devOnlyNonPublishable('com.github.GTNewHorizons:OpenComputers:1.9.5-GTNH:dev') {transitive = false}
|
|
compileOnly('pneumaticCraft:PneumaticCraft-1.7.10:1.12.7-152:api') {transitive = false}
|
|
api('com.github.GTNewHorizons:AE2FluidCraft-Rework:1.1.29-gtnh-pre:dev') {transitive = false}
|
|
}
|