View Single Post
  #8  
Old 08-07-2013, 01:50 PM
August August is offline
Fire Giant


Join Date: Sep 2010
Posts: 703
Default

Quote:
Originally Posted by Splorf22 [You must be logged in to view images. Log in or Register.]
Guys, I have a PhD in computer science. For example, the antipoopsocking "code" (please forgive my mixing twelve different programming languages), inserted somewhere into the login function:

Code:
when (getTime() - lastRepopTime < TwoHours) {
  case player.zone:
     Sebilis: player.location = {Trakanon's Teeth, -100, -100, -100}
     Hate: player.location = {West Commonlands, -100, -100, -100}
     t: /* do nothing */
}
Or, the fear leapfrogging code:

Code:
String engagedGuild = "";
int ticksRemaining = 0;

OnMobEngage(player p) {
  if(engagedGuild != "") {
    engagedGuild =  p.guild;
    ticksRemaining = 20;
  }

  if(engagedGuild != p.guild)
     QueueTell(to:p, from:"Rogean", text: "You have leapfrogged guild X! They may choose to petition you!"
}

OnMobKill() {
  ticksRemaining += 10;
}

OnTick() {
  ticksRemaining -= 1;
  if(ticksRemaining <= 0) {
    QueueBroadcast("GuildX has timed out!"
    EngagedGuild = "";
 }
}
Also I'm curious that not more people like my repop probability proportional to player population. At least when I suggested simultaneous repops, I meant them mostly as a replacement for the retarded variance scene we have now, not an addition.

The repop probability is the best suggestion.

i love people who comment about coding.