2024-08-21 17:45:22 I register: Server info length: 15964
but
2024-08-21 17:46:45 I register: Server info length: 16888
024-08-21 17:46:45 E register/6/ipv4: error response from master: 413: The request payload is too large
So ~108 players maximum now until master registration failed package main
type Foo[T any] struct {
Key T
}
func IntFunc(arg Foo[int]) {
AnyFunc(arg)
}
func AnyFunc(args Foo[any]) {
//Magic stuff
}
func main() {
IntFunc(Foo[int]{Key: 2})
}
Is there a way to make it work? func AnyFunc(args Foo[T])
(edited)func AnyFunc(args Foo[T])
(edited)package main
type Foo[T any] struct {
Key T
}
func IntFunc(arg Foo[int]) {
AnyFunc(arg)
}
func AnyFunc(args Foo[any]) {
//Magic stuff
}
func main() {
IntFunc(Foo[int]{Key: 2})
}
Is there a way to make it work? func AnyFunc[T any](args Foo[T]) {
package main
type Foo[T any] struct {
Key T
}
func IntFunc(arg Foo[int]) {
AnyFunc(arg)
}
func AnyFunc(args Foo[any]) {
//Magic stuff
}
func main() {
IntFunc(Foo[int]{Key: 2})
}
Is there a way to make it work? reflect
reflect
\@еvеryоnе
@everyone
# ./masterping ipv4 https://master1.ddnet.org/ddnet/15/register
Error: couldn't receive ping from mastersrv in time
Caused by:
Resource temporarily unavailable (os error 11)
# ./masterping ipv4 https://master1.ddnet.org/ddnet/15/register
Error: couldn't receive ping from mastersrv in time
Caused by:
Resource temporarily unavailable (os error 11)