• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTHire - Time to decrease frags

secondlife

Member
Joined
Aug 1, 2009
Messages
298
Reaction score
23
Its possible to change the time of decrease frags in OTHire?
I tried in diff ways, but without success.

I have find this functions on sources:

Player.cpp
Code:
 if(it->isUnjustKill()){
                        attackerPlayer->addUnjustifiedDead(this);
                    }
       #endif

and in ioplayer.cpp
Code:
if(player){
//reset unjust kill cache
UnjustCacheMap::iterator it = unjustKillCacheMap.find(player->getGUID());
if(it != unjustKillCacheMap.end()){
unjustKillCacheMap.erase(it);
}
DBInsert player_killers_stmt(db);
player_killers_stmt.setQuery("INSERT INTO `player_killers` (`kill_id`, `player_id`, `unjustified`) VALUES ");
query.str("");
query << kill_id << ", " << player->getGUID() << ", " << (de.isUnjustKill() ? 1 : 0);
if(!player_killers_stmt.addRow(query.str()))
return false;
if(!player_killers_stmt.execute())
return false;
}
else{ // Kill wasn't player, store name so next insert catches it
name = c->getNameDescription();
}
}

I tried in diff ways, but without success.

Anyone can help me?
Thanks!!!
 
Back
Top