Author Topic: Boredom Leads To...  (Read 13375 times)

0 Members and 1 Guest are viewing this topic.

eViL

  • Uber Menace
  • *******
  • Posts: 1,022
  • Reputation: +0/-0
Boredom Leads To...
« on: March 14, 2003 01:45 am CST »
$RPGServer::SortByLvl = True;
$RPGServer::SortByZone = False;

function Game::refreshClientScore(%clientId)
{
   dbecho($dbechoMode2, "Game::refreshClientScore(" @ %clientId @ ")");

   // blah blah.. useless crap... then this stuff...

   %z = Zone::getDesc(fetchData(%clientId, "zone"));

   if(%z == -1)
      %z = "unknown";

   if($RPGServer::SortByLvl && !$RPGServer::SortByZone)
      Client::setScore(%clientId, "%n\t" @ %z @ "\t" @ fetchData(%clientId, "LVL") @ "\t" @ getFinalCLASS(%clientId), fetchData(%clientId, "LVL"));
   else if($RPGServer::SortByZone && !$RPGServer::SortByLvl)
   {
      %Num = "";

      if(%z == "unknown")
         %Num = $numZones+15;
      else
      {
         for(%i=1; %i <= $numZones; %i++)
            if($Zone::Desc[%i] == %z)
               %Num = %i;

         if(%Num == "")
            %Num = $numZones+15;
      }

      Client::setScore(%clientId, "%n\t" @ %z @ "\t" @ fetchData(%clientId, "LVL") @ "\t" @ getFinalCLASS(%clientId), %Num);
   }
}

yea, that code is untested, but thats what boredom leads to, eViL coding more useless code ....
« Last Edit: December 31, 1969 06:00 pm CST by eViL »
Quote from: "LastWish || NextWish"
eViL, you were probably the coolest but most misunderstood person in this community.. maybe the rest will find out how cool of a person you are some day, and don't get too mad at the people who dont understand you.. its their loss in the end.

Knyght

  • b4nz0r3d!!!
  • Orc Thrasher
  • ***
  • Posts: 192
  • Reputation: +0/-0
(No subject)
« Reply #1 on: March 14, 2003 11:05 am CST »
So what
« Last Edit: December 31, 1969 06:00 pm CST by Knyght »

eViL

  • Uber Menace
  • *******
  • Posts: 1,022
  • Reputation: +0/-0
(No subject)
« Reply #2 on: March 14, 2003 04:58 pm CST »
knyght, in this forum, any code is usefull, dont be a dick and rip things down just because you feel jealous because you can't code.  thats why this forum is titled Development.
« Last Edit: December 31, 1969 06:00 pm CST by eViL »
Quote from: "LastWish || NextWish"
eViL, you were probably the coolest but most misunderstood person in this community.. maybe the rest will find out how cool of a person you are some day, and don't get too mad at the people who dont understand you.. its their loss in the end.

Knyght

  • b4nz0r3d!!!
  • Orc Thrasher
  • ***
  • Posts: 192
  • Reputation: +0/-0
(No subject)
« Reply #3 on: March 15, 2003 12:59 am CST »
Quote from: "eViL"
knyght, in this forum, any code is usefull, dont be a dick and rip things down just because you feel jealous because you can't code.  thats why this forum is titled Development.


Me being a dick isn't because I'm jealous, it's because you're a cocky faggot.
« Last Edit: December 31, 1969 06:00 pm CST by Knyght »

Particle

  • Chief Codemonger
  • Administrator
  • Centurian Lord
  • ********
  • Posts: 5,904
  • Reputation: +20/-4
    • Particle's Custom RPG
(No subject)
« Reply #4 on: March 15, 2003 02:26 am CST »
Don't argue here Knyght.  This is for development, if you can't stay on the topic then just SHUT UP.
« Last Edit: December 31, 1969 06:00 pm CST by Particle »
As a point of history:  Our last server clear was on September 27, 2004.  That is 4963 days ago (13.6 years) as of today.

If you're visiting after a long hiatus and have forgotten your password, try emailing me via the support form at http://www.pcrpg.org.

If your character is from after the 2004 clear but appears to have been deleted or reset, chances are it was caught in one of the inactive account purges over the years.  Backups were made before such events, so try the support form.

Vorter_X_

  • Centurian Lord
  • ********
  • Posts: 2,693
  • Reputation: +2/-0
(No subject)
« Reply #5 on: March 15, 2003 07:14 pm CST »
you forgot a ; at the end lol
« Last Edit: December 31, 1969 06:00 pm CST by Vorter_X_ »