Author Topic: The script order of Blizzard's scripts  (Read 56252 times)

Offline Holyrapid

  • Astral Trancist
  • *****
  • Posts: 749
  • LV: 0
  • Gender: Male
  • Credit to FreshL on Deviantart
    • View Profile
    • My new Youtube channel!
Re: The script order of Blizzard's scripts
« Reply #40 on: September 10, 2009, 01:31:20 PM »
UMS was at the top of the extra scripts, and all else below it.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20015
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: The script order of Blizzard's scripts
« Reply #41 on: September 10, 2009, 03:03:00 PM »
What are you talking about?
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Jackolas

  • Ethereal Devastator
  • ****
  • Posts: 499
  • LV: 31
  • Gender: Male
  • Its just me
    • View Profile
    • My Clan
Re: The script order of Blizzard's scripts
« Reply #42 on: September 10, 2009, 03:47:04 PM »
think he is talking about his post in Blizz-ABS ( http://forum.chaos-project.com/index.php?topic=106.2440 )

Quote
I´m not sure, but it would seem like STCMS is doing something with BABS, since the pre-menu or mini-menu won´t appear...
How do i fix this?

you send him here :P

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20015
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: The script order of Blizzard's scripts
« Reply #43 on: September 10, 2009, 04:20:03 PM »
UMS was at the top of the extra scripts, and all else below it.

UMS != STCMS & Blizz-ABS.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: The script order of Blizzard's scripts
« Reply #44 on: October 13, 2009, 12:09:57 PM »
I've always been wondering ...
Why does the script order matter??

Is it because you make your own modules, so any script that has handlers for those modules has to be below the script where the module is first introduced?? Otherwise, the system will be checking for a module that doesn't exist??

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20015
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: The script order of Blizzard's scripts
« Reply #45 on: October 13, 2009, 12:30:01 PM »
script 1: class A, refine method x(a) to x(a, b)
script 2: class A, refine method x(a, b) to x(a, b) with additional code

If I put them the other way around, this would happen:

script 2: class A, refine method x(a, b) to x(a, b) with additional code
script 1: class A, refine method x(a) to x(a, b)

Script 2 would cause an error because the original method wasn't redefined to accept 2 parameters (a, b) but it still only accepts (a).

Or another example would simply be if a method is completely overriden. i.e. the SDK overrides lots of methods, it you put it below my scripts, it would override many methods of my scripts and render them partially not working. It's as if you had them in the right order, but you simply deleted some parts of it. Of course it won't work that way.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: The script order of Blizzard's scripts
« Reply #46 on: October 13, 2009, 12:34:24 PM »
Ah ...
Alright, so that definitely makes sense.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20015
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: The script order of Blizzard's scripts
« Reply #47 on: February 10, 2010, 10:06:40 AM »
Ok, I updated the first post and I have added all of my plugins to the list as well since they have become quite numerous. xD
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline The Niche

  • The Hair Man
  • Chaos User
  • ******
  • Posts: 1561
  • LV: -171
  • Gender: Male
  • Marvel at the hair.
    • View Profile
    • Laptops and Tea, the place to go for marketing your creativity!
Re: The script order of Blizzard's scripts
« Reply #48 on: September 10, 2010, 05:43:17 PM »
Does Zero's CCTS go in the same place as ATES?
Level me down, I'm trying to become the anti-blizz!
Ah, excellent.  You liked my amusing sideshow, yes?  I'm just a simple fool, my wit entertains the wise, and my wisdom fools the fools.

(click to show/hide)
I'm like the bible, widely hated and beautifully quotable.

Dropbox is this way, not any other way!

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20015
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: The script order of Blizzard's scripts
« Reply #49 on: September 10, 2010, 06:13:15 PM »
You should probably put it above all. If it's not working right, try at the place where ATES is.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline The Niche

  • The Hair Man
  • Chaos User
  • ******
  • Posts: 1561
  • LV: -171
  • Gender: Male
  • Marvel at the hair.
    • View Profile
    • Laptops and Tea, the place to go for marketing your creativity!
Re: The script order of Blizzard's scripts
« Reply #50 on: September 10, 2010, 09:56:18 PM »
K, thanks.
Level me down, I'm trying to become the anti-blizz!
Ah, excellent.  You liked my amusing sideshow, yes?  I'm just a simple fool, my wit entertains the wise, and my wisdom fools the fools.

(click to show/hide)
I'm like the bible, widely hated and beautifully quotable.

Dropbox is this way, not any other way!