fix: login failure on u29 heart of deimos and below #1959
@ -110,9 +110,10 @@ const createLoginResponse = (myAddress: string, account: IDatabaseAccountJson, b
 | 
				
			|||||||
        Groups: [],
 | 
					        Groups: [],
 | 
				
			||||||
        IRC: config.myIrcAddresses ?? [myAddress],
 | 
					        IRC: config.myIrcAddresses ?? [myAddress],
 | 
				
			||||||
        NRS: config.NRS,
 | 
					        NRS: config.NRS,
 | 
				
			||||||
        DTLS: 99,
 | 
					 | 
				
			||||||
        BuildLabel: buildLabel
 | 
					        BuildLabel: buildLabel
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					    if (version_compare(buildLabel, "2021.04.13.19.58") >= 0) {
 | 
				
			||||||
 | 
					        resp.DTLS = 99;
 | 
				
			||||||
        if (version_compare(buildLabel, "2022.04.29.12.53") >= 0) {
 | 
					        if (version_compare(buildLabel, "2022.04.29.12.53") >= 0) {
 | 
				
			||||||
            resp.ClientType = account.ClientType;
 | 
					            resp.ClientType = account.ClientType;
 | 
				
			||||||
            if (version_compare(buildLabel, "2022.09.06.19.24") >= 0) {
 | 
					            if (version_compare(buildLabel, "2022.09.06.19.24") >= 0) {
 | 
				
			||||||
@ -124,5 +125,6 @@ const createLoginResponse = (myAddress: string, account: IDatabaseAccountJson, b
 | 
				
			|||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    return resp;
 | 
					    return resp;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
@ -50,7 +50,7 @@ export interface ILoginResponse extends IAccountAndLoginResponseCommons {
 | 
				
			|||||||
    MatchmakingBuildId?: string;
 | 
					    MatchmakingBuildId?: string;
 | 
				
			||||||
    platformCDNs?: string[];
 | 
					    platformCDNs?: string[];
 | 
				
			||||||
    NRS?: string[];
 | 
					    NRS?: string[];
 | 
				
			||||||
    DTLS: number;
 | 
					    DTLS?: number;
 | 
				
			||||||
    IRC: string[];
 | 
					    IRC: string[];
 | 
				
			||||||
    HUB?: string;
 | 
					    HUB?: string;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user