Before you ask, the server is set to "isfarm=0" so that isn't a factor, and nobody has DEV status.
I don't know what else could stop EVERYONE from doing pvp damage, did a fresh install of the src, and sql and still nothing... Any help?
Before you ask, the server is set to "isfarm=0" so that isn't a factor, and nobody has DEV status.
I don't know what else could stop EVERYONE from doing pvp damage, did a fresh install of the src, and sql and still nothing... Any help?
You do realize I have it set to Groups take No Damage.
This also means when you are all "ungrouped" you are considered the "same" groupid = 0.
Since I was not implementing PvP, it is up to you to figure out a solution.
- - - Updated - - -
Code is already there, all you have to do is modify it.
Fixed it to the point where everyone does damage, but dev's don't take any?...
well how to fix this :)
comment this out :)Code:if((fromPlr->loadout_->GroupID == targetPlr->loadout_->GroupID && targetPlr->loadout_->GroupID != 0) || (fromPlr->loadout_->ClanID == targetPlr->loadout_->ClanID && targetPlr->loadout_->ClanID != 0)) { return false; }
lol yes. It really was pretty darn simple. :0)
Last edited by TylerTurton; 19-11-14 at 02:16 PM.
believe this is your problem in why dev's do no damage.
Search
change:Code:bool ServerGameLogic::CanDamageThisObject(const GameObject* targetObj)
TO:Code:if(plr && plr->profile_.ProfileData.isDevAccount && plr->profile_.ProfileData.isGod) { return false; }
If not I would have to look at the source more. I don't own the source you work with so it's hard to figure it out.Code:if(plr && plr->profile_.ProfileData.isGod) { return false; }