Yes but I find it looks like:Its in warz_server.sln are you in there?
r3dOutToLog("%s killed by %s, forced: %d\n", targetPlr->userName, sourceObj->Name.c_str(), (int)forced_by_server);
I find that the code :WarZ_Server.sln > ServerGameLogic.cpp > void ServerGameLogic:oKillPlayer > That code your looking for will be there.
I put this code just below the :r3dOutToLog("%s killed by %s, forced: %d\n", targetPlr->userName, sourceObj->Name.c_str(), (int)forced_by_server);
But I have changed the code by its:r3dOutToLog("%s killed by %s, forced: %d\n", targetPlr->userName, sourceObj->Name.c_str(), (int)forced_by_server);
At the end it gives its:gServerLogic.AddPlayerReward(targetPlr, RWD_PlayerKill);
r3dOutToLog("%s killed by %s, forced: %d\n", targetPlr->userName, sourceObj->Name.c_str(), (int)forced_by_server);
gServerLogic.AddPlayerReward(targetPlr, RWD_PlayerKill);
EROR : Erreur 6 error C2660: 'ServerGameLogic::AddPlayerReward' : function does not take 3 arguments c:\WarZ\bin\server\WO_GameServer\Sources\ServerGameLogic.cpp 514gServerLogic.AddPlayerReward(targetPlr, RWD_PlayerKill, 0);
void ServerGameLogic:oKillPlayer(GameObject* sourceObj, obj_ServerPlayer* targetPlr, STORE_CATEGORIES weaponCat, bool forced_by_server, bool fromPlayerInAir, bool targetPlayerInAir )
{
r3dOutToLog("%s killed by %s, forced: %d\n", targetPlr->userName, sourceObj->Name.c_str(), (int)forced_by_server);
// sent kill packet
{
PKT_S2C_KillPlayer_s n;
n.targetId = toP2pNetId(targetPlr->GetNetworkID());
n.killerWeaponCat = (BYTE)weaponCat;
n.forced_by_server = forced_by_server;
p2pBroadcastToActive(sourceObj, &n, sizeof);
}
// Lost echo Player EXP
//char plr2msg[128] = {0};
if(IsServerPlayer(sourceObj))
{
obj_ServerPlayer * killedByPlr = ((obj_ServerPlayer*)sourceObj);
if (targetPlr->profile_.CustomerID == killedByPlr->profile_.CustomerID)
}
gServerLogic.AddPlayerReward(killedByPlr, RWD_PlayerKill);
targetPlr->DoDeath();
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 ------
2>Compiling...
2>sobj_Zombie.cpp
2>ServerGameLogic.cpp
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)
========== Build: 0 succeeded, 2 failed, 3 up-to-date, 0 skipped ==========
bool obj_Zombie::ApplyDamage(GameObject* fromObj, float damage, int bodyPart, STORE_CATEGORIES damageSource)
{
if(ZombieState == EZombieStates::ZState_Dead)
return false;
float dmg = damage;
if(bodyPart!=1) // only hitting head will lower zombie's health
dmg = 0;
if(damageSource != storecat_MELEE && bodyPart == 1) // everything except for melee: one shot in head = kill
dmg = 1000;
ZombieHealth -= dmg;
if(ZombieHealth <= 0.0f)
{
DoDeath();
if(fromObj->Class->Name == "obj_ServerPlayer")
{
obj_ServerPlayer* plr = (obj_ServerPlayer*)fromObj;
gServerLogic.AddPlayerReward(plr, RWD_ZombieKill);
gServerLogic.AddPlayerReward(plr, RWD_PlayerKill);
}
return true;
}
// stagger code
if(staggerTime < 0)
{
if(ZombieState != EZombieStates::ZState_Sleep && ZombieState != EZombieStates::ZState_Waking)
{
SetNavAgentSpeed(0.0);
staggerTime = 1.0f;
}
}
void ServerGameLogic::DoKillPlayer(GameObject* sourceObj, obj_ServerPlayer* targetPlr, STORE_CATEGORIES weaponCat, bool forced_by_server, bool fromPlayerInAir, bool targetPlayerInAir )
{
r3dOutToLog("%s killed by %s, forced: %d\n", targetPlr->userName, sourceObj->Name.c_str(), (int)forced_by_server);
// sent kill packet
{
PKT_S2C_KillPlayer_s n;
n.targetId = toP2pNetId(targetPlr->GetNetworkID());
n.killerWeaponCat = (BYTE)weaponCat;
n.forced_by_server = forced_by_server;
p2pBroadcastToActive(sourceObj, &n, sizeof(n));
}
// Lost echo Player EXP
//char plr2msg[128] = {0};
if(IsServerPlayer(sourceObj))
{
obj_ServerPlayer * killedByPlr = ((obj_ServerPlayer*)sourceObj);
if (targetPlr->profile_.CustomerID == killedByPlr->profile_.CustomerID)
{
gServerLogic.AddPlayerReward(killedByPlr, RWD_PlayerKill);
targetPlr->DoDeath();
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 ------
2>Compiling...
2>ServerGameLogic.cpp
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)
========== Build: 0 succeeded, 2 failed, 3 up-to-date, 0 skipped ==========