Skip to content

Commit

Permalink
update ip address of server
Browse files Browse the repository at this point in the history
  • Loading branch information
Resonious committed Sep 8, 2015
1 parent a32270a commit f8c1ec9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
14 changes: 8 additions & 6 deletions duel-with-the-devil/duel-with-the-devil.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<AdditionalIncludeDirectories>C:\Users\Nigel\lib\SDL2_include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>C:\Users\Nigel\lib\SDL2_include;C:\Users\Nigel\game\RakNet\Source;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>ws2_32.lib;SDL2_mixer.lib;SDL2_image.lib;SDL2.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>C:\Users\Nigel\lib\SDL2-2.0.3\lib\x86;C:\Users\Nigel\lib\SDL2_image-2.0.0\lib\x86;C:\Users\Nigel\lib\SDL2_mixer-2.0.0\lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>RakNet_VS2008_LibStatic_Release_Win32.lib;ws2_32.lib;SDL2_mixer.lib;SDL2_image.lib;SDL2.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>C:\Users\Nigel\lib\SDL2-2.0.3\lib\x86;C:\Users\Nigel\lib\SDL2_image-2.0.0\lib\x86;C:\Users\Nigel\lib\SDL2_mixer-2.0.0\lib\x86;C:\Users\Nigel\game\RakNet\Lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
Expand All @@ -105,14 +105,16 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<AdditionalIncludeDirectories>C:\Users\Nigel\lib\SDL2_include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>C:\Users\Nigel\lib\SDL2_include;C:\Users\Nigel\game\RakNet\Source;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_MBCS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>ws2_32.lib;SDL2_mixer.lib;SDL2_image.lib;SDL2.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>C:\Users\Nigel\lib\SDL2-2.0.3\lib\x86;C:\Users\Nigel\lib\SDL2_image-2.0.0\lib\x86;C:\Users\Nigel\lib\SDL2_mixer-2.0.0\lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>RakNet_VS2008_LibStatic_Release_Win32.lib;ws2_32.lib;SDL2_mixer.lib;SDL2_image.lib;SDL2.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>C:\Users\Nigel\lib\SDL2-2.0.3\lib\x86;C:\Users\Nigel\lib\SDL2_image-2.0.0\lib\x86;C:\Users\Nigel\lib\SDL2_mixer-2.0.0\lib\x86;C:\Users\Nigel\game\RakNet\Lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
Expand Down
6 changes: 3 additions & 3 deletions duel-with-the-devil/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ int main() {

RakNet::RakPeerInterface* peer = RakNet::RakPeerInterface::GetInstance();
RakNet::Packet* packet;
RakNet::SystemAddress server_addr("127.0.0.1", 3999);
RakNet::SystemAddress server_addr("45.63.16.189", 8081);

while (true) {
// ============= Frame Setup =================
Expand Down Expand Up @@ -1364,7 +1364,7 @@ int main() {
peer->Startup(1, &sd, 1);
}
printf("Starting the client.\n");
peer->Connect("127.0.0.1", 3999, 0,0);
peer->Connect("45.63.16.189", 8081, 0,0);

multiplayer_status = CONNECTING;
break;
Expand All @@ -1382,7 +1382,7 @@ int main() {

default:
OutputDebugString("UNABLE TO CONNECT\n");
peer->Connect("127.0.0.1", 3999, 0,0);
peer->Connect("45.63.16.189", 8081, 0,0);
break;
}

Expand Down

0 comments on commit f8c1ec9

Please sign in to comment.