mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-03 08:26:01 +00:00
Bump to 1.70.1
This commit is contained in:
parent
3fdccc8848
commit
db3f7b9988
@ -2,7 +2,6 @@
|
||||
/// Created by Anonymous275 on 7/20/2020
|
||||
///
|
||||
#include "Network/network.h"
|
||||
#include "Security/Init.h"
|
||||
#include "Security/Enc.h"
|
||||
#include "Curl/http.h"
|
||||
#include <WinSock2.h>
|
||||
@ -26,7 +25,6 @@ bool ModLoaded;
|
||||
long long ping = -1;
|
||||
|
||||
void StartSync(const std::string &Data){
|
||||
FindDLL(nullptr);
|
||||
std::string IP = GetAddr(Data.substr(1,Data.find(':')-1));
|
||||
if(IP.find('.') == -1){
|
||||
if(IP == "DNS")UlStatus = Sec("UlConnection Failed! (DNS Lookup Failed)");
|
||||
|
@ -2,6 +2,7 @@
|
||||
/// Created by Anonymous275 on 7/25/2020
|
||||
///
|
||||
#include "Network/network.h"
|
||||
#include "Security/Init.h"
|
||||
#include "Security/Enc.h"
|
||||
#include <WinSock2.h>
|
||||
#include <WS2tcpip.h>
|
||||
@ -201,6 +202,7 @@ void NetMain(const std::string& IP, int Port){
|
||||
}
|
||||
void TCPGameServer(const std::string& IP, int Port){
|
||||
GSocket = SetupListener();
|
||||
FindDLL(nullptr);
|
||||
while (!TCPTerminate && GSocket != -1){
|
||||
debug(Sec("MAIN LOOP OF GAME SERVER"));
|
||||
GConnected = false;
|
||||
|
@ -22,7 +22,7 @@ std::string GetVer(){
|
||||
return std::string(Sec("1.70"));
|
||||
}
|
||||
std::string GetPatch(){
|
||||
return std::string(Sec(""));
|
||||
return std::string(Sec(".1"));
|
||||
}
|
||||
void ReLaunch(int argc,char*args[]){
|
||||
std::string Arg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user