106
AoT General / Re: AoT Mega Mod
« on: November 26, 2006, 02:36:38 PM »
What update? the one on page 1? if yes then it does have tons of new stuff.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
function serverCmdmasslogout()
{
for(%i=0;%i<clientGroup.getCount();%i++)
{
%t=clientGroup.getObject(%i);
if(isObject(%t))
{
serverCmdLogout(%t);
}
}
}
function servercmdBreakLaw(%obj)
{
if(%obj.player.isLawBreaker $= 0)
{
%obj.player.dems-=1000;
%obj.player.isLawBreaker=1;
messageClient(%obj, '', "\c3You have a license to break the law!");
}
else
{
messageClient(%obj, '', "\c3You can not have more then one license!");
}
}
function servercmdPayDems(%obj)
{
if (%obj.player.Dems $= 15 || %obj.player.Dems $= 30 || %obj.player.Dems $= 45 || %obj.player.Dems $= 60 || %obj.player.Dems $= 55 || %obj.player.Dems $= 90 || %obj.player.Dems $= 105 || %obj.player.Dems $= 120 || %obj.player.Dems $= 135 || %obj.player.Dems $= 150 || %obj.player.Dems $= 165 || %obj.player.Dems $= 180 || %obj.player.Dems $= 195 || %obj.player.Dems $= 210)
{
%obj.Gold-= %obj.player.dems;
%obj.player.dems=0;
serverCmddropgold(%obj,1);
messageClient(%obj, '', "\c2You have payed your fines.");
}
else
{
messageClient(%obj, '', "\c2You have nothing to pay!");
}
}
I'm a little worried about people hosting v3 servers just so they can steal passwords.
You should be sure to use a different password on v3 servers than you do on the v28 official.