- Joined
- Apr 19, 2011
- Messages
- 24
- Reaction score
- 11
WarZ_Server.sln
Seach on UserReward.h
Replace to this
Search on UserReward.cpp:
Replace to this
Search on sobj_Zombie.cpp
Replace to this
Seach on UserReward.h
Code:
enum EPlayerRewardID
{
RWD_ZombieKill = 1, //Standard
RWD_MAX_REWARD_ID = 512,
};
Code:
enum EPlayerRewardID
{
RWD_ZombieKill = 1, //Standard
RWD_ZombieKillP = 2,
RWD_MAX_REWARD_ID = 512,
};
Search on UserReward.cpp:
Code:
void CGameRewards::InitDefaultRewards()
{
// HERE is COPY-PASTED CODE FROM ExportDefaultRewards()
// USED FOR SERVER
SetReward(1, "ZombieKill", 5, 5, 10, 10);
}
Code:
void CGameRewards::InitDefaultRewards()
{
// HERE is COPY-PASTED CODE FROM ExportDefaultRewards()
// USED FOR SERVER
SetReward(1, "ZombieKill", 10, 10, 10, 10);
SetReward(2, "ZombieKillP", 15, 15, 15, 15);
}
Code:
gServerLogic.AddPlayerReward(plr, RWD_ZombieKill);
Code:
if(plr->profile_.ProfileData.isPunisher)
{
gServerLogic.AddPlayerReward(plr, RWD_ZombieKillP);
}
else
{
gServerLogic.AddPlayerReward(plr, RWD_ZombieKill);
}

