*laugh maniacally*
This commit is contained in:
parent
88a8553608
commit
6570ce1302
@ -963,23 +963,6 @@ std::vector<char*> netprot::recvPacks(SOCKET sock, Buffer* buf) {
|
||||
len += bytes;
|
||||
end = len;
|
||||
|
||||
for (int x = 0; x < len; ++x)
|
||||
switch (buf->ptr[x]) {
|
||||
case '\0':
|
||||
std::putchar('n');
|
||||
break;
|
||||
case '\r':
|
||||
std::putchar('i');
|
||||
break;
|
||||
case '\n':
|
||||
std::putchar('a');
|
||||
break;
|
||||
default:
|
||||
std::putchar(buf->ptr[x]);
|
||||
break;
|
||||
}
|
||||
std::puts("");
|
||||
|
||||
while (true) {
|
||||
int cmp = 0;
|
||||
|
||||
|
@ -147,9 +147,6 @@ int Server::Ready() {
|
||||
|
||||
Log(str.append(log->name).append(" SID: [").append(std::to_string(log->sid).append("]")), false, false);
|
||||
|
||||
//using namespace std::chrono_literals;
|
||||
//std::this_thread::sleep_for(100ms);
|
||||
|
||||
sendPack<LoginInfo>(sock, log, &m_buf);
|
||||
|
||||
play.id = getUniqueId();
|
||||
|
@ -71,9 +71,6 @@ int Connector::Connect(const char* srv_addr, std::string name) {
|
||||
|
||||
memset(bf.ptr, '\0', BUFFER_LENGTH);
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
std::this_thread::sleep_for(100ms);
|
||||
|
||||
bool ready = false;
|
||||
int errors = 0;
|
||||
std::vector<char*> lsPck;
|
||||
|
Loading…
Reference in New Issue
Block a user