Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Snippet] Adding Player EXP

Junior Spellweaver
Joined
Oct 26, 2013
Messages
132
Reaction score
11
unfortunately still the same error :-(
Code:
1>------ Build started: Project: Eternity, Configuration: Release_Server Win32 ------
1>Compiling...
1>WinMain.cpp
1>c:\users\admin\desktop\source test23\warz\warz\src\eternity\source\winmain.cpp(603) : error C2220: warning treated as error - no 'object' file generated
1>c:\users\admin\desktop\source test23\warz\warz\src\eternity\source\winmain.cpp(603) : warning C4715: 'TitleWindow' : not all control paths return a value
1>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\src\Eternity\Release_Server\BuildLog.htm"
1>Eternity - 1 error(s), 1 warning(s)
2>------ Build started: Project: WarZ Game Server, Configuration: Release Win32 ------
3>------ Build started: Project: SupervisorServer, Configuration: Release Win32 ------
2>Compiling...
3>Linking...
2>ServerGameLogic.cpp
3>LINK : fatal error LNK1181: cannot open input file '..\..\..\src\eternity\lib\r3dlib_statcrt_server.lib'
3>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\SupervisorServer\Release\BuildLog.htm"
3>SupervisorServer - 1 error(s), 0 warning(s)
2>.\Sources\ServerGameLogic.cpp(671) : error C2601: 'ServerGameLogic::CanDamageThisObject' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(693) : error C2601: 'ServerGameLogic::ApplyDamage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(731) : error C2601: 'ServerGameLogic::ApplyDamageToPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(766) : error C2601: 'ServerGameLogic::ApplyDamageToZombie' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(782) : error C2601: 'ServerGameLogic::RelayPacket' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(807) : error C2601: 'ServerGameLogic::p2pBroadcastToActive' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(833) : error C2601: 'ServerGameLogic::p2pBroadcastToAll' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(849) : error C2601: 'ServerGameLogic::p2pSendToPeer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(871) : error C2601: 'ServerGameLogic::p2pSendRawToPeer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(881) : error C2601: 'ServerGameLogic::InformZombiesAboutSound' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(890) : error C2601: 'ServerGameLogic::GetRewardData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(918) : error C2601: 'ServerGameLogic::AddPlayerReward' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(928) : error C2601: 'ServerGameLogic::AddDirectPlayerReward' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(950) : error C2601: 'ServerGameLogic::OnPKT_C2S_ValidateConnectingPeer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(977) : error C2601: 'ServerGameLogic::CreateNewPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1063) : error C2601: 'ServerGameLogic::DeletePlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1089) : error C2601: 'ServerGameLogic::OnPKT_C2S_JoinGameReq' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1160) : error C2601: 'ServerGameLogic::OnPKT_C2S_StartGameReq' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1283) : error C2601: 'ServerGameLogic::CheckForPlayersAround' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1298) : error C2601: 'ServerGameLogic::GetStartSpawnPosition' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1335) : error C2601: 'ServerGameLogic::GetSpawnPositionNewPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1352) : error C2601: 'ServerGameLogic::GetSpawnPositionAfterDeath' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1383) : error C2601: 'ServerGameLogic::AdjustPositionToFloor' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1405) : error C2601: 'ServerGameLogic::NetRegisterObjectToPeers' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1439) : error C2601: 'ServerGameLogic::UpdateNetObjVisData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1488) : error C2601: 'ServerGameLogic::UpdateNetObjVisData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1507) : error C2601: 'ServerGameLogic::ResetNetObjVisData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1522) : error C2601: 'ServerGameLogic::OnPKT_C2S_Temp_Damage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1580) : error C2601: 'ServerGameLogic::ProcessChatCommand' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1624) : error C2601: 'ServerGameLogic::Cmd_Teleport' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1652) : error C2601: 'ServerGameLogic::Cmd_GiveItem' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1673) : error C2601: 'ServerGameLogic::Cmd_SetVitals' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1687) : error C2601: 'ServerGameLogic::Cmd_TeleportAllToMe' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1707) : error C2601: 'ServerGameLogic::Cmd_Kick' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1727) : error C2601: 'ServerGameLogic::Cmd_Ban' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1751) : error C2601: 'ServerGameLogic::Cmd_TeleportToPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1776) : error C2601: 'ServerGameLogic::Cmd_TeleportToPlayerMe' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1800) : error C2601: 'ServerGameLogic::FindPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1817) : error C2601: 'ServerGameLogic::OnPKT_C2C_ChatMessage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1973) : error C2601: 'ServerGameLogic::OnPKT_C2S_DataUpdateReq' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1981) : error C2601: 'ServerGameLogic::OnPKT_C2S_Admin_PlayerKick' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2004) : error C2601: 'ServerGameLogic::OnPKT_C2S_Admin_GiveItem' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2023) : error C2601: 'ServerGameLogic::OnPKT_C2S_SecurityRep' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2089) : error C2601: 'ServerGameLogic::OnPKT_C2S_UseNetObject' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2153) : error C2601: 'ServerGameLogic::OnPKT_C2S_CreateNote' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2172) : error C2601: 'ServerGameLogic::OnPKT_C2S_TEST_SpawnDummyReq' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2181) : error C2601: 'ServerGameLogic::OnPKT_C2S_DBG_LogMessage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2197) : error C2601: 'ServerGameLogic::OnPKT_C2S_ScreenshotData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2222) : error C2601: 'ServerGameLogic::ProcessWorldEvent' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2301) : error C2601: 'ServerGameLogic::TrackWeaponUsage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2327) : error C2601: 'ServerGameLogic::Tick' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2402) : error C2601: 'ServerGameLogic::DumpPacketStatistics' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2428) : error C2601: 'ServerGameLogic::GetUtcGameTime' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2443) : error C2601: 'ServerGameLogic::SendWeaponsInfoToPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2476) : fatal error C1075: end of file found before the left brace '{' at '.\Sources\ServerGameLogic.cpp(527)' was matched
2>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\WO_GameServer\Release\BuildLog.htm"
2>WarZ Game Server - 55 error(s), 0 warning(s)
4>------ Build started: Project: MasterServer, Configuration: Release Win32 ------
4>Linking...
4>LINK : fatal error LNK1181: cannot open input file '..\..\..\src\eternity\lib\r3dlib_statcrt_server.lib'
4>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\MasterServer\Release\BuildLog.htm"
4>MasterServer - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 4 failed, 1 up-to-date, 0 skipped ==========
 
Harro
Joined
Mar 29, 2013
Messages
754
Reaction score
284
Do you got teamviewer.. ill just do it for you if you do.

or do you by chance have ServerGameLogic.cpp of the source you used before you did changes to it if so send me that file (in a private message) and ill add it there and send it back.
 
Junior Spellweaver
Joined
Nov 20, 2013
Messages
170
Reaction score
27
unfortunately still the same error :-(
Code:
1>------ Build started: Project: Eternity, Configuration: Release_Server Win32 ------
1>Compiling...
1>WinMain.cpp
1>c:\users\admin\desktop\source test23\warz\warz\src\eternity\source\winmain.cpp(603) : error C2220: warning treated as error - no 'object' file generated
1>c:\users\admin\desktop\source test23\warz\warz\src\eternity\source\winmain.cpp(603) : warning C4715: 'TitleWindow' : not all control paths return a value
1>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\src\Eternity\Release_Server\BuildLog.htm"
1>Eternity - 1 error(s), 1 warning(s)
2>------ Build started: Project: WarZ Game Server, Configuration: Release Win32 ------
3>------ Build started: Project: SupervisorServer, Configuration: Release Win32 ------
2>Compiling...
3>Linking...
2>ServerGameLogic.cpp
3>LINK : fatal error LNK1181: cannot open input file '..\..\..\src\eternity\lib\r3dlib_statcrt_server.lib'
3>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\SupervisorServer\Release\BuildLog.htm"
3>SupervisorServer - 1 error(s), 0 warning(s)
2>.\Sources\ServerGameLogic.cpp(671) : error C2601: 'ServerGameLogic::CanDamageThisObject' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(693) : error C2601: 'ServerGameLogic::ApplyDamage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(731) : error C2601: 'ServerGameLogic::ApplyDamageToPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(766) : error C2601: 'ServerGameLogic::ApplyDamageToZombie' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(782) : error C2601: 'ServerGameLogic::RelayPacket' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(807) : error C2601: 'ServerGameLogic::p2pBroadcastToActive' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(833) : error C2601: 'ServerGameLogic::p2pBroadcastToAll' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(849) : error C2601: 'ServerGameLogic::p2pSendToPeer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(871) : error C2601: 'ServerGameLogic::p2pSendRawToPeer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(881) : error C2601: 'ServerGameLogic::InformZombiesAboutSound' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(890) : error C2601: 'ServerGameLogic::GetRewardData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(918) : error C2601: 'ServerGameLogic::AddPlayerReward' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(928) : error C2601: 'ServerGameLogic::AddDirectPlayerReward' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(950) : error C2601: 'ServerGameLogic::OnPKT_C2S_ValidateConnectingPeer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(977) : error C2601: 'ServerGameLogic::CreateNewPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1063) : error C2601: 'ServerGameLogic::DeletePlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1089) : error C2601: 'ServerGameLogic::OnPKT_C2S_JoinGameReq' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1160) : error C2601: 'ServerGameLogic::OnPKT_C2S_StartGameReq' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1283) : error C2601: 'ServerGameLogic::CheckForPlayersAround' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1298) : error C2601: 'ServerGameLogic::GetStartSpawnPosition' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1335) : error C2601: 'ServerGameLogic::GetSpawnPositionNewPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1352) : error C2601: 'ServerGameLogic::GetSpawnPositionAfterDeath' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1383) : error C2601: 'ServerGameLogic::AdjustPositionToFloor' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1405) : error C2601: 'ServerGameLogic::NetRegisterObjectToPeers' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1439) : error C2601: 'ServerGameLogic::UpdateNetObjVisData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1488) : error C2601: 'ServerGameLogic::UpdateNetObjVisData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1507) : error C2601: 'ServerGameLogic::ResetNetObjVisData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1522) : error C2601: 'ServerGameLogic::OnPKT_C2S_Temp_Damage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1580) : error C2601: 'ServerGameLogic::ProcessChatCommand' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1624) : error C2601: 'ServerGameLogic::Cmd_Teleport' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1652) : error C2601: 'ServerGameLogic::Cmd_GiveItem' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1673) : error C2601: 'ServerGameLogic::Cmd_SetVitals' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1687) : error C2601: 'ServerGameLogic::Cmd_TeleportAllToMe' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1707) : error C2601: 'ServerGameLogic::Cmd_Kick' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1727) : error C2601: 'ServerGameLogic::Cmd_Ban' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1751) : error C2601: 'ServerGameLogic::Cmd_TeleportToPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1776) : error C2601: 'ServerGameLogic::Cmd_TeleportToPlayerMe' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1800) : error C2601: 'ServerGameLogic::FindPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1817) : error C2601: 'ServerGameLogic::OnPKT_C2C_ChatMessage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1973) : error C2601: 'ServerGameLogic::OnPKT_C2S_DataUpdateReq' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1981) : error C2601: 'ServerGameLogic::OnPKT_C2S_Admin_PlayerKick' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2004) : error C2601: 'ServerGameLogic::OnPKT_C2S_Admin_GiveItem' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2023) : error C2601: 'ServerGameLogic::OnPKT_C2S_SecurityRep' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2089) : error C2601: 'ServerGameLogic::OnPKT_C2S_UseNetObject' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2153) : error C2601: 'ServerGameLogic::OnPKT_C2S_CreateNote' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2172) : error C2601: 'ServerGameLogic::OnPKT_C2S_TEST_SpawnDummyReq' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2181) : error C2601: 'ServerGameLogic::OnPKT_C2S_DBG_LogMessage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2197) : error C2601: 'ServerGameLogic::OnPKT_C2S_ScreenshotData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2222) : error C2601: 'ServerGameLogic::ProcessWorldEvent' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2301) : error C2601: 'ServerGameLogic::TrackWeaponUsage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2327) : error C2601: 'ServerGameLogic::Tick' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2402) : error C2601: 'ServerGameLogic::DumpPacketStatistics' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2428) : error C2601: 'ServerGameLogic::GetUtcGameTime' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2443) : error C2601: 'ServerGameLogic::SendWeaponsInfoToPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(527): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2476) : fatal error C1075: end of file found before the left brace '{' at '.\Sources\ServerGameLogic.cpp(527)' was matched
2>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\WO_GameServer\Release\BuildLog.htm"
2>WarZ Game Server - 55 error(s), 0 warning(s)
4>------ Build started: Project: MasterServer, Configuration: Release Win32 ------
4>Linking...
4>LINK : fatal error LNK1181: cannot open input file '..\..\..\src\eternity\lib\r3dlib_statcrt_server.lib'
4>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\MasterServer\Release\BuildLog.htm"
4>MasterServer - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 4 failed, 1 up-to-date, 0 skipped ==========

PLEASEE Put Local Disk C:



Do you got teamviewer.. ill just do it for you if you do.

or do you by chance have ServerGameLogic.cpp of the source you used before you did changes to it if so send me that file (in a private message) and ill add it there and send it back.

Help me via teamviwer?
Problems Craft
hkdJe39 - [Snippet] Adding Player EXP - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Junior Spellweaver
Joined
Oct 26, 2013
Messages
132
Reaction score
11
here is my cpp but I now have this error :-/

Code:
1>------ Build started: Project: Eternity, Configuration: Release_Server Win32 ------
1>Compiling...
1>WinMain.cpp
1>c:\users\admin\desktop\source test23\warz\warz\src\eternity\source\winmain.cpp(603) : error C2220: warning treated as error - no 'object' file generated
1>c:\users\admin\desktop\source test23\warz\warz\src\eternity\source\winmain.cpp(603) : warning C4715: 'TitleWindow' : not all control paths return a value
1>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\src\Eternity\Release_Server\BuildLog.htm"
1>Eternity - 1 error(s), 1 warning(s)
2>------ Build started: Project: WarZ Game Server, Configuration: Release Win32 ------
3>------ Build started: Project: SupervisorServer, Configuration: Release Win32 ------
2>Compiling...
3>Linking...
2>ServerGameLogic.cpp
3>LINK : fatal error LNK1181: cannot open input file '..\..\..\src\eternity\lib\r3dlib_statcrt_server.lib'
3>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\SupervisorServer\Release\BuildLog.htm"
3>SupervisorServer - 1 error(s), 0 warning(s)
2>Compiling...
2>PhysObj.cpp
2>Linking...
2>LINK : fatal error LNK1181: cannot open input file '..\..\..\src\eternity\lib\r3dlib_statcrt_server.lib'
2>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\WO_GameServer\Release\BuildLog.htm"
2>WarZ Game Server - 1 error(s), 0 warning(s)
4>------ Build started: Project: MasterServer, Configuration: Release Win32 ------
4>Linking...
4>LINK : fatal error LNK1181: cannot open input file '..\..\..\src\eternity\lib\r3dlib_statcrt_server.lib'
4>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\MasterServer\Release\BuildLog.htm"
4>MasterServer - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 4 failed, 1 up-to-date, 0 skipped ==========
 
Harro
Joined
Mar 29, 2013
Messages
754
Reaction score
284
Here you go this should work as for your winmain.cpp you gotta disable the warning for it else you will get the error.

 
Junior Spellweaver
Joined
Oct 26, 2013
Messages
132
Reaction score
11
error
Code:
1>------ Build started: Project: Eternity, Configuration: Release_Server Win32 ------
1>Compiling...
1>WinMain.cpp
1>c:\users\admin\desktop\source test23\warz\warz\src\eternity\source\winmain.cpp(603) : error C2220: warning treated as error - no 'object' file generated
1>c:\users\admin\desktop\source test23\warz\warz\src\eternity\source\winmain.cpp(603) : warning C4715: 'TitleWindow' : not all control paths return a value
1>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\src\Eternity\Release_Server\BuildLog.htm"
1>Eternity - 1 error(s), 1 warning(s)
2>------ Build started: Project: WarZ Game Server, Configuration: Release Win32 ------
3>------ Build started: Project: SupervisorServer, Configuration: Release Win32 ------
3>Linking...
2>Compiling...
3>LINK : fatal error LNK1181: cannot open input file '..\..\..\src\eternity\lib\r3dlib_statcrt_server.lib'
3>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\SupervisorServer\Release\BuildLog.htm"
3>SupervisorServer - 1 error(s), 0 warning(s)
2>obj_ServerPlayer.cpp
2>ServerGameLogic.cpp
2>.\Sources\ServerGameLogic.cpp(674) : error C2601: 'ServerGameLogic::CanDamageThisObject' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(696) : error C2601: 'ServerGameLogic::ApplyDamage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(734) : error C2601: 'ServerGameLogic::ApplyDamageToPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(769) : error C2601: 'ServerGameLogic::ApplyDamageToZombie' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(785) : error C2601: 'ServerGameLogic::RelayPacket' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(810) : error C2601: 'ServerGameLogic::p2pBroadcastToActive' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(836) : error C2601: 'ServerGameLogic::p2pBroadcastToAll' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(852) : error C2601: 'ServerGameLogic::p2pSendToPeer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(874) : error C2601: 'ServerGameLogic::p2pSendRawToPeer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(884) : error C2601: 'ServerGameLogic::InformZombiesAboutSound' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(893) : error C2601: 'ServerGameLogic::GetRewardData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(921) : error C2601: 'ServerGameLogic::AddPlayerReward' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(931) : error C2601: 'ServerGameLogic::AddDirectPlayerReward' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(953) : error C2601: 'ServerGameLogic::OnPKT_C2S_ValidateConnectingPeer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(980) : error C2601: 'ServerGameLogic::CreateNewPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1066) : error C2601: 'ServerGameLogic::DeletePlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1092) : error C2601: 'ServerGameLogic::OnPKT_C2S_JoinGameReq' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1163) : error C2601: 'ServerGameLogic::OnPKT_C2S_StartGameReq' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1286) : error C2601: 'ServerGameLogic::CheckForPlayersAround' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1301) : error C2601: 'ServerGameLogic::GetStartSpawnPosition' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1338) : error C2601: 'ServerGameLogic::GetSpawnPositionNewPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1355) : error C2601: 'ServerGameLogic::GetSpawnPositionAfterDeath' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1386) : error C2601: 'ServerGameLogic::AdjustPositionToFloor' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1408) : error C2601: 'ServerGameLogic::NetRegisterObjectToPeers' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1442) : error C2601: 'ServerGameLogic::UpdateNetObjVisData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1491) : error C2601: 'ServerGameLogic::UpdateNetObjVisData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1510) : error C2601: 'ServerGameLogic::ResetNetObjVisData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1525) : error C2601: 'ServerGameLogic::OnPKT_C2S_Temp_Damage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1583) : error C2601: 'ServerGameLogic::ProcessChatCommand' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1604) : error C2601: 'ServerGameLogic::Cmd_Teleport' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1632) : error C2601: 'ServerGameLogic::Cmd_GiveItem' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1653) : error C2601: 'ServerGameLogic::Cmd_SetVitals' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1668) : error C2601: 'ServerGameLogic::OnPKT_C2C_ChatMessage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1810) : error C2601: 'ServerGameLogic::OnPKT_C2S_DataUpdateReq' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1818) : error C2601: 'ServerGameLogic::OnPKT_C2S_Admin_PlayerKick' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1841) : error C2601: 'ServerGameLogic::OnPKT_C2S_Admin_GiveItem' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1860) : error C2601: 'ServerGameLogic::OnPKT_C2S_SecurityRep' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1926) : error C2601: 'ServerGameLogic::OnPKT_C2S_UseNetObject' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(1990) : error C2601: 'ServerGameLogic::OnPKT_C2S_CreateNote' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2009) : error C2601: 'ServerGameLogic::OnPKT_C2S_TEST_SpawnDummyReq' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2018) : error C2601: 'ServerGameLogic::OnPKT_C2S_DBG_LogMessage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2034) : error C2601: 'ServerGameLogic::OnPKT_C2S_ScreenshotData' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2059) : error C2601: 'ServerGameLogic::ProcessWorldEvent' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2138) : error C2601: 'ServerGameLogic::TrackWeaponUsage' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2164) : error C2601: 'ServerGameLogic::Tick' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2239) : error C2601: 'ServerGameLogic::DumpPacketStatistics' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2265) : error C2601: 'ServerGameLogic::GetUtcGameTime' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2280) : error C2601: 'ServerGameLogic::SendWeaponsInfoToPlayer' : local function definitions are illegal
2>        .\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched
2>.\Sources\ServerGameLogic.cpp(2313) : fatal error C1075: end of file found before the left brace '{' at '.\Sources\ServerGameLogic.cpp(524)' was matched
2>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\WO_GameServer\Release\BuildLog.htm"
2>WarZ Game Server - 49 error(s), 0 warning(s)
4>------ Build started: Project: MasterServer, Configuration: Release Win32 ------
4>Linking...
4>LINK : fatal error LNK1181: cannot open input file '..\..\..\src\eternity\lib\r3dlib_statcrt_server.lib'
4>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\MasterServer\Release\BuildLog.htm"
4>MasterServer - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 4 failed, 1 up-to-date, 0 skipped ==========

and dies 4>LINK : fatal error LNK1181: cannot open input file '..\..\..\src\eternity\lib\r3dlib_statcrt_server.lib'
 
Harro
Joined
Mar 29, 2013
Messages
754
Reaction score
284
This error you gotta disable the warnings for.
winmain.cpp(603) : error C2220: warning treated as error - no 'object' file generated


This error is due to line 524
\Sources\ServerGameLogic.cpp(524): this line contains a '{' which has not yet been matched


Try replace with this code and if you get a error (prob will) post it.


if(IsServerPlayer(sourceObj))
{
obj_ServerPlayer * killedByPlr = ((obj_ServerPlayer*)sourceObj);
if (targetPlr->profile_.CustomerID == killedByPlr->profile_.CustomerID)
}


Just search for if(IsServerPlayer(sourceObj)) and replace that code with code above.
 
Junior Spellweaver
Joined
Oct 26, 2013
Messages
132
Reaction score
11
Now error
Code:
1>------ Build started: Project: Eternity, Configuration: Release_Server Win32 ------
1>Compiling...
1>WinMain.cpp
2>ServerGame.cpp
3>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\SupervisorServer\Release\BuildLog.htm"
3>SupervisorServer - 1 error(s), 0 warning(s)
2>Linking...
2>LINK : fatal error LNK1181: cannot open input file '..\..\..\src\eternity\lib\r3dlib_statcrt_server.lib'
2>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\WO_GameServer\Release\BuildLog.htm"
2>WarZ Game Server - 1 error(s), 0 warning(s)
4>------ Build started: Project: MasterServer, Configuration: Release Win32 ------
4>Linking...
4>LINK : fatal error LNK1181: cannot open input file '..\..\..\src\eternity\lib\r3dlib_statcrt_server.lib'
4>Build log was saved at "file://c:\Users\Admin\Desktop\source test23\WarZ\WarZ\bin\server\MasterServer\Release\BuildLog.htm"
4>MasterServer - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 4 failed, 1 up-to-date, 0 skipped ==========
now I can not at my server more open :-(
 
Last edited:
Harro
Joined
Mar 29, 2013
Messages
754
Reaction score
284
Well player exp is now fixed so thats good, for winmain do what i said before its in properties you gotta do it to winmain.cpp and for your other error its saying it cannot open it so see if you even have it.

But those 2 errors you got now are from something else not this tutorial.
 
Junior Spellweaver
Joined
Nov 20, 2013
Messages
170
Reaction score
27
Well player exp is now fixed so thats good, for winmain do what i said before its in properties you gotta do it to winmain.cpp and for your other error its saying it cannot open it so see if you even have it.

But those 2 errors you got now are from something else not this tutorial.

Help me please, I am not able to resolve this problem
hkdJe39 - [Snippet] Adding Player EXP - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Junior Spellweaver
Joined
Oct 26, 2013
Messages
132
Reaction score
11
unfortunately it does not work still with me now I beckomme 2x XP for a zombie can you please help me on teamviewer :-(
 
☆Dying Dawn☆
Joined
Jan 30, 2012
Messages
971
Reaction score
727
would be nice one re-release :kiss: someone knows the fuctions?
 
☆Dying Dawn☆
Joined
Jan 30, 2012
Messages
971
Reaction score
727
Bombillo
Its your lucky day re-added it enjoy.

You're awesome man!, One thing I have been search for
Code:
obj_ServerPlayer * killerPlr = ((obj_ServerPlayer*)sourceObj);
but I cannot found the function, I just need this to finish
Code:
gServerLogic.AddPlayerReward(killerPlr, RWD_PlayerKill);
any idea?
I use IR(Infestation Reloaded) srcs
 
Harro
Joined
Mar 29, 2013
Messages
754
Reaction score
284
You're awesome man!, One thing I have been search for
Code:
obj_ServerPlayer * killerPlr = ((obj_ServerPlayer*)sourceObj);
but I cannot found the function, I just need this to finish
Code:
gServerLogic.AddPlayerReward(killerPlr, RWD_PlayerKill);
any idea?
I use IR(Infestation Reloaded) srcs

Okay can you open warz_server.sln and then search for KillPlayer then you will find an entire function then copy it all and put it on pastebin.com ill take a look at it and tell you where to put it.
 
☆Dying Dawn☆
Joined
Jan 30, 2012
Messages
971
Reaction score
727
here is the function thanks for the help man
 
Harro
Joined
Mar 29, 2013
Messages
754
Reaction score
284
Ok i noticed my problem sorry i forgot to add a certain code to it anyways here is your "Fixed" killplayers with playerkilling exp



If you have problems with adding it just re-follow my tutorial as it would now work :)
 
Back
Top