common/service.h
rákeresel erre:
PET_SYSTEM
Beilleszted a többi közé ezt:
#define ENABLE_PORT_SECURITY
game fájl forrás:
desc_p2p.cpp
Rákeresel erre:
#include "p2p.h"
alá írod ezt:
#include "../../common/service.h"
Rákeresel erre:
bool DESC_P2P::Setup(LPFDWATCH fdw, socket_t fd, const char * host, WORD wPort)
Így nézzen ki:
bool DESC_P2P::Setup(LPFDWATCH fdw, socket_t fd, const char * host, WORD wPort)
{
m_lpFdw = fdw;
m_stHost = host;
m_wPort = wPort;
m_sock = fd;
#ifdef ENABLE_PORT