• Advertisement

heythere

Member
  • Content count

    25
  • Joined

  • Last visited

Community Reputation

100 Neutral

About heythere

  • Rank
    Banned
  1. RakNet - networking

    Oh damn, if I cause hell to freeze over then I would be definitely the shit. Bring it Satan.
  2. Some networking architecture

    Thanks guys, much appreciated.
  3. I know the client is never to be trusted, and the server should verify important changes. So how often should the server check for accuracy? Does every bit of data need to be checked on the server, or can the client slide with a few things? If so, what? I'm trying to get a general idea of how to organize my project, and I'm getting closer by the day.
  4. Sending packets

    Thanks hplus :)
  5. How I hate microsoft

    Talk about the WORST Company on earth. Microsoft Visual Studio is supposed to make life easier. What about 2005? There's so many damn problems I can't even begin to count them. 2003 is worse. I can't find windows.h for some reason, and I can't think straight at the moment. I hope The corporate office blows up and starts over. What a pain in the ass. any other compliers people recommend for c++?
  6. Last Help with Raknet

    I was looking at the same tutorial. They had an edit in source code without updating the documentation. The Includes listed there no longer exist. Sorry about the source tags. I did: and that's used on other forums, and figured it was the same here.
  7. Here's my code I have for my current program. #include "windows.h" #include "winsock2.h" #include "RakNet/RakPeer.h" #include "RakNet/RakNetworkFactory.h" int main(void) { char str[512]; RakPeer *rakClientInterface; RakPeer *rakServerInterface; cout << "Client or server? (c/s): "; cin >> str; if (str[0] == 'c') { rakClientInterface = RakNetworkFactory::GetRakPeerInterface(); rakServerInterface = 0; } else { rakClientInterface = 0; rakServerInterface = RakNetworkFactory::GetRakPeerInterface(); } if (rakClientInterface) RakNetworkFactory::DestroyRakPeerInterface(rakClientInterface); else if (rakServerInterface) RakNetworkFactory::DestroyRakPeerInterface(rakServerInterface); return 0; } Pretty basic, right? I added all .lib files. Take a look at the errors I'm getting: c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(153): error C2011: 'timeval' : 'struct' type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(97) : see declaration of 'timeval' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(112): error C2371: 'fd_set' : redefinition; different basic types c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(144): warning C4005: 'FD_SET' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(88) : see previous definition of 'FD_SET' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(209): error C2011: 'hostent' : 'struct' type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(153) : see declaration of 'hostent' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(222): error C2011: 'netent' : 'struct' type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(166) : see declaration of 'netent' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(229): error C2011: 'servent' : 'struct' type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(173) : see declaration of 'servent' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(241): error C2011: 'protoent' : 'struct' type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(185) : see declaration of 'protoent' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(397): error C2011: 'sockaddr_in' : 'struct' type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(321) : see declaration of 'sockaddr_in' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(407): error C2011: 'WSAData' : 'struct' type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(331) : see declaration of 'WSAData' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(467): warning C4005: 'SO_DONTLINGER' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(411) : see previous definition of 'SO_DONTLINGER' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(524): warning C4005: 'AF_IPX' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(469) : see previous definition of 'AF_IPX' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(552): warning C4005: 'AF_MAX' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(488) : see previous definition of 'AF_MAX' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(558): error C2011: 'sockaddr' : 'struct' type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(494) : see declaration of 'sockaddr' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(598): error C2011: 'sockproto' : 'struct' type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(503) : see declaration of 'sockproto' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(637): error C2011: 'linger' : 'struct' type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(540) : see declaration of 'linger' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(650): warning C4005: 'SOMAXCONN' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(675): warning C4005: 'FD_READ' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(571) : see previous definition of 'FD_READ' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(678): warning C4005: 'FD_WRITE' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(572) : see previous definition of 'FD_WRITE' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(681): warning C4005: 'FD_OOB' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(573) : see previous definition of 'FD_OOB' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(684): warning C4005: 'FD_ACCEPT' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(574) : see previous definition of 'FD_ACCEPT' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(687): warning C4005: 'FD_CONNECT' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(575) : see previous definition of 'FD_CONNECT' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(690): warning C4005: 'FD_CLOSE' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(576) : see previous definition of 'FD_CLOSE' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1622): error C2375: 'accept' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(744) : see declaration of 'accept' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1643): error C2375: 'bind' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(749) : see declaration of 'bind' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1662): error C2375: 'closesocket' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(754) : see declaration of 'closesocket' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1681): error C2375: 'connect' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(756) : see declaration of 'connect' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1702): error C2375: 'ioctlsocket' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(761) : see declaration of 'ioctlsocket' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1723): error C2375: 'getpeername' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(766) : see declaration of 'getpeername' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1744): error C2375: 'getsockname' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(771) : see declaration of 'getsockname' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1767): error C2375: 'getsockopt' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(776) : see declaration of 'getsockopt' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1788): error C2375: 'htonl' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(783) : see declaration of 'htonl' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1805): error C2375: 'htons' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(785) : see declaration of 'htons' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1822): error C2375: 'inet_addr' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(787) : see declaration of 'inet_addr' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1839): error C2375: 'inet_ntoa' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(789) : see declaration of 'inet_ntoa' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1857): error C2375: 'listen' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(791) : see declaration of 'listen' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1875): error C2375: 'ntohl' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(795) : see declaration of 'ntohl' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1892): error C2375: 'ntohs' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(797) : see declaration of 'ntohs' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1912): error C2375: 'recv' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(799) : see declaration of 'recv' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1937): error C2375: 'recvfrom' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(805) : see declaration of 'recvfrom' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1963): error C2375: 'select' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(813) : see declaration of 'select' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1987): error C2375: 'send' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(820) : see declaration of 'send' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2012): error C2375: 'sendto' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(826) : see declaration of 'sendto' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2038): error C2375: 'setsockopt' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(834) : see declaration of 'setsockopt' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2060): error C2375: 'shutdown' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(841) : see declaration of 'shutdown' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2080): error C2375: 'socket' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2103): error C2375: 'gethostbyaddr' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(852) : see declaration of 'gethostbyaddr' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2122): error C2375: 'gethostbyname' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(857) : see declaration of 'gethostbyname' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2140): error C2375: 'gethostname' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(859) : see declaration of 'gethostname' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2159): error C2375: 'getservbyport' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(863) : see declaration of 'getservbyport' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2178): error C2375: 'getservbyname' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(867) : see declaration of 'getservbyname' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2196): error C2375: 'getprotobynumber' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(871) : see declaration of 'getprotobynumber' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2213): error C2375: 'getprotobyname' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(873) : see declaration of 'getprotobyname' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2233): error C2375: 'WSAStartup' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(877) : see declaration of 'WSAStartup' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2251): error C2375: 'WSACleanup' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(881) : see declaration of 'WSACleanup' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2268): error C2375: 'WSASetLastError' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(883) : see declaration of 'WSASetLastError' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2285): error C2375: 'WSAGetLastError' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(885) : see declaration of 'WSAGetLastError' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2302): error C2375: 'WSAIsBlocking' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(887) : see declaration of 'WSAIsBlocking' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2319): error C2375: 'WSAUnhookBlockingHook' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(889) : see declaration of 'WSAUnhookBlockingHook' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2336): error C2375: 'WSASetBlockingHook' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(891) : see declaration of 'WSASetBlockingHook' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2353): error C2375: 'WSACancelBlockingCall' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(893) : see declaration of 'WSACancelBlockingCall' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2375): error C2375: 'WSAAsyncGetServByName' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(895) : see declaration of 'WSAAsyncGetServByName' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2402): error C2375: 'WSAAsyncGetServByPort' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(903) : see declaration of 'WSAAsyncGetServByPort' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2428): error C2375: 'WSAAsyncGetProtoByName' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(911) : see declaration of 'WSAAsyncGetProtoByName' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2453): error C2375: 'WSAAsyncGetProtoByNumber' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(918) : see declaration of 'WSAAsyncGetProtoByNumber' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2478): error C2375: 'WSAAsyncGetHostByName' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(925) : see declaration of 'WSAAsyncGetHostByName' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2505): error C2375: 'WSAAsyncGetHostByAddr' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(932) : see declaration of 'WSAAsyncGetHostByAddr' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2528): error C2375: 'WSACancelAsyncRequest' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(941) : see declaration of 'WSACancelAsyncRequest' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(2548): error C2375: 'WSAAsyncSelect' : redefinition; different linkage c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(943) : see declaration of 'WSAAsyncSelect' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WS2tcpip.h(28): error C2011: 'ip_mreq' : 'struct' type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(372) : see declaration of 'ip_mreq' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WS2tcpip.h(71): warning C4005: 'IP_TOS' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(361) : see previous definition of 'IP_TOS' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WS2tcpip.h(72): warning C4005: 'IP_TTL' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(360) : see previous definition of 'IP_TTL' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WS2tcpip.h(73): warning C4005: 'IP_MULTICAST_IF' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(355) : see previous definition of 'IP_MULTICAST_IF' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WS2tcpip.h(74): warning C4005: 'IP_MULTICAST_TTL' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(356) : see previous definition of 'IP_MULTICAST_TTL' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WS2tcpip.h(75): warning C4005: 'IP_MULTICAST_LOOP' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(357) : see previous definition of 'IP_MULTICAST_LOOP' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WS2tcpip.h(76): warning C4005: 'IP_ADD_MEMBERSHIP' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(358) : see previous definition of 'IP_ADD_MEMBERSHIP' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WS2tcpip.h(77): warning C4005: 'IP_DROP_MEMBERSHIP' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(359) : see previous definition of 'IP_DROP_MEMBERSHIP' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WS2tcpip.h(78): warning C4005: 'IP_DONTFRAGMENT' : macro redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock.h(362) : see previous definition of 'IP_DONTFRAGMENT' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(128): error C2440: '=' : cannot convert from 'unsigned long (__stdcall *)(const char *)' to 'DWORD' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(128): error C2440: '=' : cannot convert from 'unsigned long (__stdcall *)(const char *)' to 'DWORD' This conversion requires a reinterpret_cast, a C-style cast or function-style cast c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(128): error C3861: 'inet_addr': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(232): error C2440: '=' : cannot convert from 'hostent *(__stdcall *)(const char *)' to 'hostent *' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(232): error C2440: '=' : cannot convert from 'hostent *(__stdcall *)(const char *)' to 'hostent *' There is no context in which this conversion is possible c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(232): error C3861: 'gethostbyname': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(262): error C3861: 'WSAGetLastError': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(262): error C2450: switch expression of type 'int (__stdcall *)(void)' is illegal Integral expression required c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(544): error C2440: '=' : cannot convert from 'u_short (__stdcall *)(u_short)' to 'WORD' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(544): error C2440: '=' : cannot convert from 'u_short (__stdcall *)(u_short)' to 'WORD' This conversion requires a reinterpret_cast, a C-style cast or function-style cast c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(544): error C3861: 'htons': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(555): error C2440: '=' : cannot convert from 'servent *(__stdcall *)(const char *,const char *)' to 'servent *' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(555): error C2440: '=' : cannot convert from 'servent *(__stdcall *)(const char *,const char *)' to 'servent *' There is no context in which this conversion is possible c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(555): error C3861: 'getservbyname': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(562): error C2440: '=' : cannot convert from 'servent *(__stdcall *)(const char *,const char *)' to 'servent *' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(562): error C2440: '=' : cannot convert from 'servent *(__stdcall *)(const char *,const char *)' to 'servent *' There is no context in which this conversion is possible c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(562): error C3861: 'getservbyname': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(597): error C2440: '=' : cannot convert from 'u_long (__stdcall *)(u_long)' to 'DWORD' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(597): error C2440: '=' : cannot convert from 'u_long (__stdcall *)(u_long)' to 'DWORD' This conversion requires a reinterpret_cast, a C-style cast or function-style cast c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(595): error C3861: 'htonl': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(616): error C3861: 'inet_ntoa': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(736): error C3861: 'ntohs': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(742): error C2440: '=' : cannot convert from 'servent *(__stdcall *)(int,const char *)' to 'servent *' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(742): error C2440: '=' : cannot convert from 'servent *(__stdcall *)(int,const char *)' to 'servent *' There is no context in which this conversion is possible c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(741): error C3861: 'getservbyport': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(751): error C3861: 'ntohs': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(772): error C2440: '=' : cannot convert from 'char *(__stdcall *)(in_addr)' to 'char *' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(772): error C2440: '=' : cannot convert from 'char *(__stdcall *)(in_addr)' to 'char *' There is no context in which this conversion is possible c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(772): error C3861: 'inet_ntoa': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(779): error C2440: '=' : cannot convert from 'hostent *(__stdcall *)(const char *,int,int)' to 'hostent *' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(779): error C2440: '=' : cannot convert from 'hostent *(__stdcall *)(const char *,int,int)' to 'hostent *' There is no context in which this conversion is possible c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(777): error C3861: 'gethostbyaddr': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(793): error C3861: 'WSAGetLastError': identifier not found, even with argument-dependent lookup c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(793): error C2450: switch expression of type 'int (__stdcall *)(void)' is illegal Integral expression required c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(802): error C2440: '=' : cannot convert from 'char *(__stdcall *)(in_addr)' to 'char *' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(802): error C2440: '=' : cannot convert from 'char *(__stdcall *)(in_addr)' to 'char *' There is no context in which this conversion is possible c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WSPiApi.h(802): error C3861: 'inet_ntoa': identifier not found, even with argument-dependent lookup c:\Documents and Settings\Jason\Desktop\ChatServer\main.cpp(12): error C2065: 'cout' : undeclared identifier c:\Documents and Settings\Jason\Desktop\ChatServer\main.cpp(13): error C2065: 'cin' : undeclared identifier c:\Documents and Settings\Jason\Desktop\ChatServer\main.cpp(17): error C2440: '=' : cannot convert from 'RakPeerInterface *' to 'RakPeer *' Cast from base to derived requires dynamic_cast or static_cast c:\Documents and Settings\Jason\Desktop\ChatServer\main.cpp(24): error C2440: '=' : cannot convert from 'RakPeerInterface *' to 'RakPeer *' Cast from base to derived requires dynamic_cast or static_cast [Edited by - heythere on September 19, 2007 4:26:39 PM]
  8. Sending packets

    Is it better to send smaller packets often, or one larger packet at a specified time interval? For example: -Player switches armor and generates: SWITCH_LEG_ARMOR message -There are also 50 people around him, so he must know their positions and their gamestates, which must be updated soon. -Player is also walking in a specified direction, updating the server with his position. So he's doing three things. 1) He's changing armor, which the server must know about to 1) update the visual of his character to other players, and 2) in case he gets dropped the server must remember his last state) 2) Updating the players around him for visuals, and checking for possible attacks and trades 3) Walking and sending the server information on where he currently is. Should I send out a small packet for each one of these messages, since perhaps he will have to update his position and world around him each frame, or send out a bigger packet at the end of all the logic, detailing everything? Also, for drawing other players, could I do a complex enumeration: enum PlayerAppearance { BRONZE_LEGS_BRONZE_HELMET_BRONZE_PLATE_BRONZE_SWORD = 1, BRONZE_LEGS_BRONZE_HELMET_BRONZE_PLATE_IRON_SWORD = 2, BRONZE_LEGS_BRONZE_HELMET_BRONZE_PLATE_STEEL_SWORD = 3, ... etc. }; And go through all possible drawing combinations of characters, so when the player is passed an array of those around him: char array[]; for (int i = 1; i < array.size(); i++) Draw(array[i]; The Draw function would associate the enum to possible loaded meshes in the players client memory. The only downside would be writing all these enumerations, but I think it might save time with telling the client what to draw.
  9. RakNet - networking

    Just Tried re-installing visual studio.net 2003. Now it won't un-install, and I can't re-install it off the cd. What a pain. Does anyone know how to re-install visual studio.net 2003?!! Why is this so confusing?
  10. RakNet - networking

    I'll try reinstalling.
  11. RakNet - networking

    2005 doesn't work on my system either. Can someone tell me what they do while installing their MSVC compilers? Do you download anything extra to link it to, anything at all? Here's mysetup: 1) Install MSVC 2) Download DirectX SDK and link to library Work on project, and link/include files as necessary. Do I have to download any additional libraries of any kind? This is very frustrating, as I would love to use RakNet.
  12. RakNet - networking

    I'll try re-installing it then. Something must be seriously wrong. The only thing I can think of that might have an effect is that my version consists of the following: MSVC 2002 full Enterprise Architect Install MSVC 2003 upgrade from 2002 Enterprise Architect Install So I install the complete 2002 version, then put the install cd in to upgrade it to 2003. Could that have any effect on the nature of my programs?
  13. RakNet - networking

    Here's another example from the book "Multiplayer Game Programming". He includes VC++ projects on his cd that we can use, but it doesn't work. I've linked the DirectX SDK (includes and .lib files), added them to the linker, and check it out: 1>dxutil.cpp 1>c:\documents and settings\jason\desktop\game programming folder\multiplayer game programming\html\source\chapter17\rpgquest\dxutil.cpp(10) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>Object3DClass.cpp 1>c:\documents and settings\jason\desktop\game programming folder\multiplayer game programming\html\source\chapter17\rpgquest\object3dclass.h(1) : fatal error C1083: Cannot open include file: 'd3dx8': No such file or directory 1>RPGQuest.cpp 1>c:\program files\microsoft directx sdk (april 2007)\include\dplay8.h(13) : fatal error C1083: Cannot open include file: 'ole2.h': No such file or directory 1>SoundSystem.cpp 1>c:\program files\microsoft directx sdk (april 2007)\include\dmusici.h(13) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>Generating Code... 1>Build log was saved at "file://c:\Documents and Settings\Jason\Desktop\GAME PROGRAMMING FOLDER\Multiplayer Game Programming\html\Source\Chapter17\RPGQuest\Debug\BuildLog.htm" 1>RPGQuest - 4 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== You mean to tell me window.h doesn't exist? Or DirectX? Come on.
  14. RakNet - networking

    I just tried the "ServerClientTest" Sample. I opened up the visual studio.net 2003 version, and hit build. Here's my list: ServerClientTest fatal error LNK1120: 5 unresolved externals c:\Documents and Settings\Jason\Desktop\RakNet30Beta\Samples\ServerClientTest\ServerClientTest.cpp(143): warning C4305: '=' : truncation from 'int' to 'unsigned short' c:\Documents and Settings\Jason\Desktop\RakNet30Beta\Samples\ServerClientTest\ServerClientTest.cpp(143): warning C4309: '=' : truncation of constant value c:\Documents and Settings\Jason\Desktop\RakNet30Beta\Samples\ServerClientTest\ServerClientTest.cpp(189): warning C4101: 'clientIndex' : unreferenced local variable ServerClientTest warning LNK4078: multiple '.CRT' sections found with different attributes (40300040) ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function "public: __thiscall TCPInterface::TCPInterface(void)" (??0TCPInterface@@QAE@XZ) ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function __unwindfunclet$?AddReference@StringCompressor@@SAXXZ$0 ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function "public: __thiscall Router::Router(void)" (??0Router@@QAE@XZ) ServerClientTest error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function __ehhandler$?GetRakPeerInterface@RakNetworkFactory@@SAPAVRakPeerInterface@@XZ ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2001: unresolved external symbol ___CxxFrameHandler3 ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2019: unresolved external symbol __wassert referenced in function "public: virtual __thiscall CommandParserInterface::~CommandParserInterface(void)" (??1CommandParserInterface@@UAE@XZ) ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2019: unresolved external symbol __wassert referenced in function "public: bool __thiscall ReliabilityLayer::HandleSocketReceiveFromConnectedPlayer(char const *,int,struct SystemAddress,class DataStructures::List<class PluginInterface *> &,int)" (?HandleSocketReceiveFromConnectedPlayer@ReliabilityLayer@@QAE_NPBDHUSystemAddress@@AAV?$List@PAVPluginInterface@@@DataStructures@@H@Z) ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2019: unresolved external symbol __wassert referenced in function "public: __thiscall DataStructures::Map<int,class HuffmanEncodingTree *,&int __cdecl DataStructures::defaultMapKeyComparison<int>(int const &,int const &)>::~Map<int,class HuffmanEncodingTree *,&int __cdecl DataStructures::defaultMapKeyComparison<int>(int const &,int const &)>(void)" (??1?$Map@HPAVHuffmanEncodingTree@@$1??$defaultMapKeyComparison@H@DataStructures@@YAHABH0@Z@DataStructures@@QAE@XZ) ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2019: unresolved external symbol __wassert referenced in function "public: bool __thiscall Router::Send(char *,unsigned int,enum PacketPriority,enum PacketReliability,char,class SystemAddressList *)" (?Send@Router@@QAE_NPADIW4PacketPriority@@W4PacketReliability@@DPAVSystemAddressList@@@Z) ServerClientTest error LNK2019: unresolved external symbol __wassert referenced in function "public: virtual enum PluginReceiveResult __thiscall ConnectionGraph::OnReceive(class RakPeerInterface *,struct Packet *)" (?OnReceive@ConnectionGraph@@UAE?AW4PluginReceiveResult@@PAVRakPeerInterface@@PAUPacket@@@Z) ServerClientTest error LNK2019: unresolved external symbol __wassert referenced in function "public: virtual bool __thiscall RakPeer::Startup(unsigned short,int,struct SocketDescriptor *,unsigned int)" (?Startup@RakPeer@@UAE_NGHPAUSocketDescriptor@@I@Z) ServerClientTest error LNK2001: unresolved external symbol __wassert ServerClientTest error LNK2019: unresolved external symbol __wassert referenced in function "public: void __thiscall ReplicaManager::Construct(class Replica *,bool,struct SystemAddress,bool)" (?Construct@ReplicaManager@@QAEXPAVReplica@@_NUSystemAddress@@1@Z) ServerClientTest error LNK2019: unresolved external symbol __wassert referenced in function "public: virtual bool __thiscall LogCommandParser::OnCommand(char const *,unsigned int,char * *,class TransportInterface *,struct SystemAddress,char const *)" (?OnCommand@LogCommandParser@@UAE_NPBDIPAPADPAVTransportInterface@@USystemAddress@@0@Z) ServerClientTest error LNK2019: unresolved external symbol @_RTC_CheckStackVars2@12 referenced in function "public: virtual bool __thiscall RakPeer::RPC(char const *,char const *,unsigned int,enum PacketPriority,enum PacketReliability,char,struct SystemAddress,bool,unsigned int *,struct NetworkID,class RakNet::BitStream *)" (?RPC@RakPeer@@UAE_NPBD0IW4PacketPriority@@W4PacketReliability@@DUSystemAddress@@_NPAIUNetworkID@@PAVBitStream@RakNet@@@Z) ServerClientTest error LNK2001: unresolved external symbol @_RTC_CheckStackVars2@12 ServerClientTest error LNK2019: unresolved external symbol __alloca_probe_16 referenced in function "public: virtual bool __thiscall RakPeer::RPC(char const *,char const *,unsigned int,enum PacketPriority,enum PacketReliability,char,struct SystemAddress,bool,unsigned int *,struct NetworkID,class RakNet::BitStream *)" (?RPC@RakPeer@@UAE_NPBD0IW4PacketPriority@@W4PacketReliability@@DUSystemAddress@@_NPAIUNetworkID@@PAVBitStream@RakNet@@@Z) ServerClientTest error LNK2001: unresolved external symbol __alloca_probe_16 ServerClientTest error LNK2019: unresolved external symbol @_RTC_AllocaHelper@12 referenced in function "public: virtual bool __thiscall RakPeer::RPC(char const *,char const *,unsigned int,enum PacketPriority,enum PacketReliability,char,struct SystemAddress,bool,unsigned int *,struct NetworkID,class RakNet::BitStream *)" (?RPC@RakPeer@@UAE_NPBD0IW4PacketPriority@@W4PacketReliability@@DUSystemAddress@@_NPAIUNetworkID@@PAVBitStream@RakNet@@@Z) ServerClientTest error LNK2001: unresolved external symbol @_RTC_AllocaHelper@12
  15. RakNet - networking

    1>LINK : fatal error LNK1104: cannot open file 'ws2_32.lib' The lib file is included in the linker... so it knows about it. The .dll file is in the current directory. I went to Project->Options->VC++ Directories and told the compiler where it was. Why can't it find it!!? another problem is dealing with .CRT extentions. It keeps giving me these errors regarding framework and .crt.
  • Advertisement