Author Topic: SUBCOMPONENT Bug (v185)  (Read 741 times)

Offline Idobek

  • Dust Bunny
  • Planewalker
  • *****
  • Posts: 431
  • Gender: Male
SUBCOMPONENT Bug (v185)
« on: July 22, 2005, 01:17:57 PM »
The problem is with uninstallation if the SUBCOMPONENT's requirements are not met. i.e. they were met when the component was installed but the conditions are changed.

Run this example TP2 twice to see what I mean (install all available options).
Code: [Select]
BEGIN ~Test 1~
SUBCOMPONENT ~Bit Patching Test~
FILE_EXISTS_IN_GAME ~cdcurse.spl~
COPY_EXISTING ~BELT13.itm~ ~override~
WRITE_BYTE 0x1e 0b01000000

BEGIN ~Test 2~
SUBCOMPONENT ~Bit Patching Test~
NOT FILE_EXISTS_IN_GAME ~cdcurse.spl~
COPY_EXISTING ~BELT13.itm~ ~override~
WRITE_BYTE 0x1e 0b01000010

BEGIN ~Condition Change~
COPY_EXISTING ~sw1h01.itm~ ~override/cdcurse.spl~
You will find that you are unable to change anything in the SUBCOMPONENT group once the second component has been uninstalled.
The Gibberlings Three Forums

<SimDing0> Did you know G3 has secret forum rules?
<CamDawg> Yep. They're generally of the nature 'don't annoy Idobek.'

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: