Author Topic: Cdwhistler script pack  (Read 3497 times)

0 Members and 1 Guest are viewing this topic.

Kaapo

  • Goblin Pup
  • *
  • Posts: 10
  • Reputation: +0/-0
Cdwhistler script pack
« on: January 20, 2010 04:21 pm CST »
Hello :)

         Is anyone familiar with this script pack specifically the cdafk.cs file, and could perhaps guide me to getting the command bindCommand(keyboard0, make, "l", TO, "StartupSkillandEquip();"); to actually function and not just say  StartupSkillandEquip():unknowncommand?


MaaliX

Particle

  • Chief Codemonger
  • Administrator
  • Centurian Lord
  • ********
  • Posts: 5,904
  • Reputation: +20/-4
    • Particle's Custom RPG
Re: Cdwhistler script pack
« Reply #1 on: January 21, 2010 12:58 pm CST »
Sounds like it's referencing a missing function.  The only course of action is to find what function name it's really supposed to be calling and fix it.  Is the A in "and" supposed to be capitalized, for example?
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.

Kaapo

  • Goblin Pup
  • *
  • Posts: 10
  • Reputation: +0/-0
Re: Cdwhistler script pack
« Reply #2 on: January 21, 2010 04:38 pm CST »
function CDAFK::StartupSkillandEquip() {
   $CDAFK::StartingUpSkills = 1;
   %i = 1;
   schedule("remoteeval(2048, ScoresOn);", %i);
   schedule("ClientMenuSelect(sp);", %i++);
   ClientMenuselect("page 1"); //Pages 1-4
   ClientMenuSelect("2 1"); //First number is skill 1-23, second number is the page to show after.
   schedule("say(0,\"#zone 30\");",%i++);
   schedule("ClientMenuSelect(\"1 1\");",%i++);
   schedule("say(0,\"#zone 30\");",%i++);
   schedule("ClientMenuSelect(\"4 1\");",%i++);
   schedule("say(0,\"#zone 30\");",%i++);
   schedule("ClientMenuSelect(\"10 2\");",%i++);
   schedule("say(0,\"#zone 30\");",%i++);
        schedule("ClientMenuSelect(\"13 3\");",%i++);
   schedule("say(0,\"#zone 30\");",%i++);
   schedule("ClientMenuSelect(\"15 3\");",%i++);
   schedule("say(0,\"#zone 30\");",%i++);
   schedule("ClientMenuSelect(\"19 4\");",%i++);
   schedule("say(0,\"#zone 30\");",%i++);
   schedule("ClientMenuSelect(\"20 4\");",%i++);
   schedule("say(0,\"#zone 30\");",%i++);
   schedule("use(\"Long Sword\");", %i++);
   schedule("use(\"Cheetaur's Paws\");", %i++);
   schedule("$CDAFK::StartingUpSkills = 0;", %i++   );

is the bits i'd like it to refrence, i believe it is typed the same as in the top

Particle

  • Chief Codemonger
  • Administrator
  • Centurian Lord
  • ********
  • Posts: 5,904
  • Reputation: +20/-4
    • Particle's Custom RPG
Re: Cdwhistler script pack
« Reply #3 on: January 21, 2010 05:32 pm CST »
Oh, no wonder.  It needs to call CDAFK::StartupSkillandEquip() instead of StartupSkillandEquip().
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.

Kaapo

  • Goblin Pup
  • *
  • Posts: 10
  • Reputation: +0/-0
Re: Cdwhistler script pack
« Reply #4 on: January 21, 2010 06:37 pm CST »
ugh >.< bleh, haha so simple :( didn't even think of that.   Well it now works to call the correct function, but the function only works on page one of the skills and none of the others

MaaliX
« Last Edit: January 21, 2010 06:56 pm CST by Kaapo »

Particle

  • Chief Codemonger
  • Administrator
  • Centurian Lord
  • ********
  • Posts: 5,904
  • Reputation: +20/-4
    • Particle's Custom RPG
Re: Cdwhistler script pack
« Reply #5 on: January 22, 2010 08:57 am CST »
Change all those #zone calls to #say please.  People doing that in public channels is annoying.
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.

Xenos

  • Elvin Legion
  • *****
  • Posts: 485
  • Reputation: +2/-1
    • http://www.baconcat.com
Re: Cdwhistler script pack
« Reply #6 on: February 17, 2010 05:20 pm CST »
I wonder why I made those #zone?  Too many versions and too long ago to remember.

Kaapo

  • Goblin Pup
  • *
  • Posts: 10
  • Reputation: +0/-0
Re: Cdwhistler script pack
« Reply #7 on: February 19, 2010 10:22 am CST »
Not sure, i know i had to edit it cause it would just spam the 30's and not click fast enough so in turn it would only add 1 click to each skill