PDA

View Full Version : What the hell is Script 289?


GrimTerror
12-05-2005, 6:54 PM
3 Questions. Simple.

1 - What the hell is Script 289?

2 - Why the hell is it stopping me from saving changes to the same iscript.bin i've edited before?

3 - How the hell do i get rid of the fucker? ><

LordOfNukes
12-05-2005, 10:45 PM
What do you use to edit iscripts? Does it only occur when trying to make changes to specific units or sprite scripts, or anytime you make any change?

GrimTerror
12-06-2005, 7:26 AM
I'm using IceCC to make the changes, and the message comes up saying that "script 289" does not exist whenever i try to start a game in Starcraft (when modded.) The thing that is causing it is that one of the tick boxes (merge with default in the decompile section) is not ticked, but i need to untick that box if i want to save new changes to an already modified iScript. It sucks.

DiscipleOfAdun
12-06-2005, 10:59 AM
Somehow it's just not saving right. Do this every time you save:

Resave your iscript.txt file to something different, so you have it all the time.
Add all the changes and a default Iscript.bin file when you save.

IE, the box should look like this(this is mine for one I did a couple of months ago)

C:\Program Files\Camelot Systems\MPQDraft\scripts\iscript.bin //Default file, lowest precidence
C:\IceCC\AttackingTransports.txt
C:\IceCC\SpeedDragoonandTank.txt
C:\IceCC\SuperlongComsat.txt


The merge with default is unchecked, the display all warnings is checked. Save like normal, inside a scripts folder.

GrimTerror
12-06-2005, 2:24 PM
I'll give it a go. If it doesn't work i'll just...die!

BSTRhino
12-06-2005, 11:11 PM
If it still doesn't work, decompile your entire iscript and search for the number "289". Iscript 289 will have the following line in its header:

IsId 289

I should probably also explain that the iscript is made up of a number of headers, each with their own unique number (like 289), and if you look in images.dat you can see which header is used for which images.dat entry. That could be another way to find out what might be wrong, decompiling images.dat in Arsenal Zero and searching for the text "Iscript ID=289".

GrimTerror
12-09-2005, 5:47 PM
I kinda don't get this, can anyone elaborate maybe? Do i have to add that code somewhere?