mirror of
https://github.com/PretendoNetwork/splatoon.git
synced 2026-09-30 14:18:26 -05:00
rttmaxxing
This commit is contained in:
@@ -2,10 +2,11 @@ package nex
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
common_globals "github.com/PretendoNetwork/nex-protocols-common-go/v2/globals"
|
||||
"os"
|
||||
"strconv"
|
||||
|
||||
common_globals "github.com/PretendoNetwork/nex-protocols-common-go/v2/globals"
|
||||
|
||||
"github.com/PretendoNetwork/nex-go/v2"
|
||||
"github.com/PretendoNetwork/splatoon/globals"
|
||||
)
|
||||
@@ -19,6 +20,8 @@ func StartSecureServer() {
|
||||
globals.SecureEndpoint.ServerAccount = globals.SecureServerAccount
|
||||
globals.SecureEndpoint.AccountDetailsByPID = globals.AccountDetailsByPID
|
||||
globals.SecureEndpoint.AccountDetailsByUsername = globals.AccountDetailsByUsername
|
||||
globals.SecureEndpoint.DefaultStreamSettings.RetransmitTimeoutMultiplier = 10
|
||||
globals.SecureEndpoint.DefaultStreamSettings.ExtraRetransmitTimeoutMultiplier = 5
|
||||
globals.SecureServer.BindPRUDPEndPoint(globals.SecureEndpoint)
|
||||
|
||||
globals.SecureServer.LibraryVersions.SetDefault(nex.NewLibraryVersion(3, 8, 15))
|
||||
|
||||
Reference in New Issue
Block a user