• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Fix] Animal System

Banned
Banned
Joined
Jan 25, 2014
Messages
126
Reaction score
12

change to r3dNetwork.h

Error 2 error C2601: 'ClientGameLogic::OnPKT_S2C_CreateAnimals' : local function definitions are illegal c:\WarZ\src\EclipseStudio\Sources\multiplayer\ClientGameLogic.cpp 953 Eclipse Studio
and another one in obj_animals

Search F: IMPL_PACKET_FUNC(ClientGameLogic, PKT_S2C_CheatWarning)
Code:
[COLOR=#b22222] IMPL_PACKET_FUNC(ClientGameLogic, PKT_S2C_CreateAnimals){
    r3dOutToLog("obj_Animals %d\n", n.spawnID);
    r3d_assert(GameWorld().GetNetworkObject(n.spawnID) == NULL);
    obj_Animals* obj = (obj_Animals*)srv_CreateGameObject("obj_Animals", "Data\\ObjectsDepot\\WZ_Animals\\char_deer_01.sco", n.spawnPos);
[/COLOR][COLOR=#006400]//[/COLOR][COLOR=#b22222]obj->SetNetworkID(n.spawnID);
[/COLOR][COLOR=#006400]//[/COLOR][COLOR=#b22222]obj->NetworkLocal = false;
    [/COLOR][COLOR=#006400]//[/COLOR][COLOR=#b22222]memcpy(&obj->CreateParams, &n, sizeof(n));
    obj->OnCreate();
}[/COLOR]

Error 1 error C3861: 'UpdateAnimalsObstacle': identifier not found c:\WarZ\src\EclipseStudio\Sources\ObjectsCode\Gameplay\obj_Animals.cpp 315 Eclipse Studio
Search F:
Code:
[B][COLOR=#b22222][I]UpdateAnimalsObstacle[/I][/COLOR][COLOR=#333333][I] to [/I][/COLOR][COLOR=#008000][I]//[/I][/COLOR][/B]
 
Back
Top