I was playing last ngiht and it dawned on me that we need a couple more warnings, and one warning changed a little.
Know how some servers will kick you for being idle for so long? Why not a warning "You got fifteen seconds to do SOMETHING or the server will kick you for in-activity" (of course, fine tune that message to something proper)
I know that when someone has GM, when they lock on you, a little message comes across where your other messages are. Thats not enough, and I'm surprised no one else has ever said this... Why not allow, if only as an option, for more of an alert when someone locks on to you? A new, unique, warning sound would be a good start. Plus, if the server could show it in much the same fashion it shows a negative flag, or a server countdown, that would be even better.
Just some thoughts.
Warning!
- I_Died_Once
- Special Forces
- Posts: 635
- Joined: Sun Nov 28, 2004 5:27 pm
- Location: The Dark Side
- Contact:
Warning!
...This has been a recording.
- (Dvn)
- Private First Class
- Posts: 80
- Joined: Thu Nov 03, 2005 12:17 am
- Location: U.S. S.L.C Utah
- Contact:
that would be a bit better. for a warning for idleness
Owner@gnurux.homelinux.net:5159
Owner@YOUR DEAD's
Admin/Owner@No Guts No Glory's
Admin@Win Xp's
Admin@Lddw's Admin@SirKay's
Admin@Theme97's
Admin@A Heart Attacks's
Cop@AlliedArmours
Ducati member@Teh g33ks
Owner@YOUR DEAD's
Admin/Owner@No Guts No Glory's
Admin@Win Xp's
Admin@Lddw's Admin@SirKay's
Admin@Theme97's
Admin@A Heart Attacks's
Cop@AlliedArmours
Ducati member@Teh g33ks
This should do the trick
src/bzfs/bzfs.cxxsrc/game/PlayerInfo.cxxinclude/PlayerInfo.hHave fun
src/bzfs/bzfs.cxx
Code: Select all
static void doStuffOnPlayer(GameKeeper::Player &playerData)
{
int p = playerData.getIndex();
// kick idle players
if (clOptions->idlekickthresh > 0) {
if ((playerData.player.isTooMuchIdling(clOptions->idlekickthresh)) &&
(!playerData.accessInfo.hasPerm(PlayerAccessInfo::antikick))) {
char message[MessageLen]
= "You were kicked because you were idle too long";
sendMessage(ServerPlayer, p, message);
removePlayer(p, "idling");
return;
}
else if((playerData.player.isTooMuchIdling(clOptions->idlekickthresh - 15) && !playerData.player.isIdleWarned()) &&
(!playerData.accessInfo.hasPerm(PlayerAccessInfo::antikick))) {
sendMessage(ServerPlayer, p, "You have less than fifteen seconds to do SOMETHING or the server will kick you for in-activity");
playerData.player.setIdleWarn(true);
}
else if(!playerData.player.isTooMuchIdling(clOptions->idlekickthresh - 15) && playerData.player.isIdleWarned())
playerData.player.setIdleWarn(false);
}
// Check authorization
Code: Select all
bool PlayerInfo::isIdleWarned()
{
return idleWarned;
}
void PlayerInfo::setIdleWarn(bool a)
{
idleWarned = a;
}
Code: Select all
In Public:
bool isIdleWarned();
void setIdleWarn(bool a);
In Private:
bool idleWarned;
1veedo (libcurl.so.2) I have version 3!