Author Topic: Scripts not working  (Read 4869 times)

0 Members and 1 Guest are viewing this topic.

Sinister

  • Uber Menace
  • *******
  • Posts: 1,125
  • Reputation: +0/-0
    • http://www.stormpages.com/snowmann69
Scripts not working
« on: August 9, 2004 02:35 pm CDT »
I've got 2 scripts that wont work now that there have been "fixed bugs".  I dont know if that had anything to do with it, but I suspect it has.  Here is one of the scripts, if anyone can tell me what's wrong I would be thankful.

 :(  :(  :(  :(  :(
« Last Edit: December 31, 1969 06:00 pm CST by Sinister »

Halide

  • Orc Thrasher
  • ***
  • Posts: 167
  • Reputation: +0/-0
(No subject)
« Reply #1 on: August 9, 2004 06:36 pm CDT »
If I even understood what you just said i'd help... but I don't, sorry.
« Last Edit: December 31, 1969 06:00 pm CST by Halide »

Quote
Good news is good news. No news is no news. Bad news is bad news.
Quote
fork you all niggers.

Sinister

  • Uber Menace
  • *******
  • Posts: 1,125
  • Reputation: +0/-0
    • http://www.stormpages.com/snowmann69
(No subject)
« Reply #2 on: August 9, 2004 07:29 pm CDT »
//Correction

AutoPot (health script) is working fine.

Autovial (energy script) is not working.

Not sure why one will work and not the other one.  They are basically the same script, just one checks your mana and the other one checks your Hp's.
« Last Edit: December 31, 1969 06:00 pm CST by Sinister »

Corona

  • Elvin Legion
  • *****
  • Posts: 486
  • Reputation: +6/-1
    • http://www.Linneberg.com
(No subject)
« Reply #3 on: August 10, 2004 10:08 am CDT »
Sinister, I made a few bugfixes and updates to the auto potion script. I also applied them to the auto vial script you made. I've tested them both at the same time... they work fine for me when used together... so if they don't work for you, it's a conflict with one of your own scripts (or perhaps my pack tracker, somehow).

Download here: Auto Potion | Auto Vial
« Last Edit: December 31, 1969 06:00 pm CST by Corona »

l33tnewbie

  • Goblin Pup
  • *
  • Posts: 33
  • Reputation: +0/-0
(No subject)
« Reply #4 on: August 10, 2004 10:11 am CDT »
well, when i exec that sinister, i got unknown cmd vialloop
« Last Edit: December 31, 1969 06:00 pm CST by l33tnewbie »

Corona

  • Elvin Legion
  • *****
  • Posts: 486
  • Reputation: +6/-1
    • http://www.Linneberg.com
(No subject)
« Reply #5 on: August 10, 2004 10:13 am CDT »
Quote from: "l33tnewbie"
well, when i exec that sinister, i got unknown cmd vialloop


lol, that's one of the bugfixes I'm talking about. With the old version, you had to exec() it twice because I'm an idiot and called the function before creating it.
« Last Edit: December 31, 1969 06:00 pm CST by Corona »

Sinister

  • Uber Menace
  • *******
  • Posts: 1,125
  • Reputation: +0/-0
    • http://www.stormpages.com/snowmann69
(No subject)
« Reply #6 on: August 10, 2004 02:06 pm CDT »
Quote from: "Corona"
Quote from: "l33tnewbie"
well, when i exec that sinister, i got unknown cmd vialloop

lol, that's one of the bugfixes I'm talking about. With the old version, you had to exec() it twice because I'm an idiot and called the function before creating it.


That's too funny because I would always exec it twice anyway because the first time i tried it, it wouldn't work until i exec it the second time.
« Last Edit: December 31, 1969 06:00 pm CST by Sinister »

Sinister

  • Uber Menace
  • *******
  • Posts: 1,125
  • Reputation: +0/-0
    • http://www.stormpages.com/snowmann69
(No subject)
« Reply #7 on: August 10, 2004 02:07 pm CDT »
Oh no!!  
You zipped the files and I can't unzip at work.  Can you post the scripts so that I can copy and paste em?  Thanks
« Last Edit: December 31, 1969 06:00 pm CST by Sinister »

Sinister

  • Uber Menace
  • *******
  • Posts: 1,125
  • Reputation: +0/-0
    • http://www.stormpages.com/snowmann69
(No subject)
« Reply #8 on: August 10, 2004 04:30 pm CDT »
function AlertLowPot () {

   if ($potmsgclear == "1") {
   Client::centerPrint("<jc><f2>You're low on potions! <f1>" @ $totalpots @ "<f2> potions left!", 1);
   }

} // End AlertLowPot


I see you took the time to make it tell you how many regular potions/crystal blue potions.  LOL.
I liked it better when it told you how many you had of both.

Also, what's up with the white notify message that stays at the bottom of the screen.  Kinda annoying.

I do like the part where you try and exec the file and if you dont have any potions, it tells you to get at least one and try again....that was nice.
« Last Edit: December 31, 1969 06:00 pm CST by Sinister »

-eViL-

  • Minotaur Rager
  • ******
  • Posts: 880
  • Reputation: +0/-0
(No subject)
« Reply #9 on: August 10, 2004 07:15 pm CDT »
why don't you just have an auto-activation for it?
« Last Edit: December 31, 1969 06:00 pm CST by -eViL- »
There's nothing ever wrong but nothing's ever right
Such a cruel contradiction

Sinister

  • Uber Menace
  • *******
  • Posts: 1,125
  • Reputation: +0/-0
    • http://www.stormpages.com/snowmann69
(No subject)
« Reply #10 on: August 10, 2004 08:00 pm CDT »
You could just add it to your autoexec.  For that one though you would probably want to take out the part about it not executing because you dont have any potion/vials on you.
« Last Edit: December 31, 1969 06:00 pm CST by Sinister »

Corona

  • Elvin Legion
  • *****
  • Posts: 486
  • Reputation: +6/-1
    • http://www.Linneberg.com
(No subject)
« Reply #11 on: August 14, 2004 01:56 am CDT »
Quote from: "Sinister"
I see you took the time to make it tell you how many regular potions/crystal blue potions.  LOL.
I liked it better when it told you how many you had of both.

Also, what's up with the white notify message that stays at the bottom of the screen.  Kinda annoying.

I do like the part where you try and exec the file and if you dont have any potions, it tells you to get at least one and try again....that was nice.


It still does tell you how many you have of each, when you first start it up. :P It's only the "low on potions" alert that doesn't tell you. I suppose I could add that, but if you have less than 10 potions left in total, why does it matter? lol

And the only time any notification would stay there and not go away is if you got low on potions, and then didn't use them all (or get any more)... hmm
« Last Edit: December 31, 1969 06:00 pm CST by Corona »