mirror of https://github.com/hykilpikonna/AquaDX
[+] Use options in GetGameSettings
parent
834546e3ba
commit
91db21067c
|
@ -199,6 +199,14 @@ fun ChusanController.chusanInit() {
|
||||||
.removeSuffix("GetGameSettingApi").removeSuffix("ChuniServlet/")
|
.removeSuffix("GetGameSettingApi").removeSuffix("ChuniServlet/")
|
||||||
val now = jstNow()
|
val now = jstNow()
|
||||||
|
|
||||||
|
val matching = if (!props.externalMatching.isNullOrBlank() && !props.proxiedMatching) mapOf(
|
||||||
|
"matchingUri" to props.externalMatching,
|
||||||
|
"matchingUriX" to props.externalMatching,
|
||||||
|
) else mapOf(
|
||||||
|
"matchingUri" to addr,
|
||||||
|
"matchingUriX" to addr
|
||||||
|
)
|
||||||
|
|
||||||
mapOf(
|
mapOf(
|
||||||
"gameSetting" to mapOf(
|
"gameSetting" to mapOf(
|
||||||
"romVersion" to "$version.00",
|
"romVersion" to "$version.00",
|
||||||
|
@ -217,15 +225,9 @@ fun ChusanController.chusanInit() {
|
||||||
"matchErrorLimit" to 10,
|
"matchErrorLimit" to 10,
|
||||||
"matchingUri" to addr,
|
"matchingUri" to addr,
|
||||||
"matchingUriX" to addr,
|
"matchingUriX" to addr,
|
||||||
// "udpHolePunchUri" to addr,
|
"udpHolePunchUri" to props.reflectorUrl,
|
||||||
// "reflectorUri" to addr
|
"reflectorUri" to props.reflectorUrl,
|
||||||
|
) + matching,
|
||||||
// Thanks to rinsama!
|
|
||||||
// "matchingUri" to "http://chu3-match.sega.ink/",
|
|
||||||
// "matchingUriX" to "http://chu3-match.sega.ink/",
|
|
||||||
"udpHolePunchUri" to "http://reflector.naominet.live:18080/",
|
|
||||||
"reflectorUri" to "http://reflector.naominet.live:18080/",
|
|
||||||
),
|
|
||||||
"isDumpUpload" to false,
|
"isDumpUpload" to false,
|
||||||
"isAou" to false
|
"isAou" to false
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue