Jump to content


Photo

Area question


  • Please log in to reply
25 replies to this topic

#21 ronin

ronin
  • Modder
  • 2114 posts

Posted 14 July 2006 - 10:46 AM

all is moving along good but now I have another problem:

Copying and patching 1 file ...
Copying and patching 1 file ...

[stguard1.bcs] PARSE ERROR at line 1 column 0-1
Near Text: IF
		syntax error

[stguard1.bcs]  ERROR at line 1 column 0-1
Near Text: IF
		Parsing.Parse_error
ERROR: parsing [stguard1.bcs]: Parsing.Parse_error
ERROR: [stguard1.bcs] -> [override] Patching Failed (COPY) (Parsing.Parse_error)

Stopping installation because of error.

ERROR Installing [Shadow Thief Improvements], rolling back to previous state
Will uninstall  38 files for [SETUP-ROGUEREMIX.TP2] component 4.
Uninstalled	 38 files for [SETUP-ROGUEREMIX.TP2] component 4.
ERROR: Parsing.Parse_error

that is with a clean install, do I have a corrupt BCS... here is the code:

COPY_EXISTING ~stguard1.bcs~ ~override~
  DECOMPILE_BCS_TO_BAF
	REPLACE_TEXTUALLY ~OR(2)~
	~!Allegiance(Myself,ENEMY)~
  COMPILE_D_TO_DLG
BUT_ONLY_IF_IT_CHANGES

I dont do anything with the IF in Line 1 column 0 - 1

any help would, as always, be appreciated.

ronin

**edit** I even used weidu on the command line to make the .baf and everything looks fine in it, it even exported with no errors

Edited by ronin69hof, 14 July 2006 - 11:10 AM.


#22 Grim Squeaker

Grim Squeaker

    Fallen

  • Member
  • 1018 posts

Posted 14 July 2006 - 12:49 PM

Well the answer is that you are DECOMPILE_BCS_TO_BAF but then you are COMPILE_D_TO_DLG instead of COMPILE_BAF_TO_BCS.
"You alone can make my song take flight..."

#23 ronin

ronin
  • Modder
  • 2114 posts

Posted 14 July 2006 - 01:09 PM

Well the answer is that you are DECOMPILE_BCS_TO_BAF but then you are COMPILE_D_TO_DLG instead of COMPILE_BAF_TO_BCS.


Geez, now I feel really stupid, I must have looked at that for an hour and didnt see that. Thanks mate

ronin

#24 Avenger_teambg

Avenger_teambg
  • Member
  • 604 posts

Posted 20 July 2006 - 02:23 AM

Replacing an or(2) with a normal trigger will result in major screwup.
It will make the original 2 triggers after or(2) associated by and() now.

Like you replace "a OR b" with "c AND a AND b"

Is this what you want???
Avenger

#25 ronin

ronin
  • Modder
  • 2114 posts

Posted 20 July 2006 - 05:21 AM

Replacing an or(2) with a normal trigger will result in major screwup.
It will make the original 2 triggers after or(2) associated by and() now.

Like you replace "a OR b" with "c AND a AND b"

Is this what you want???


Thanks, thats not what I wanted, I will take another look at it.

ronin

#26 Grim Squeaker

Grim Squeaker

    Fallen

  • Member
  • 1018 posts

Posted 20 July 2006 - 05:46 AM

Replacing an or(2) with a normal trigger will result in major screwup.
It will make the original 2 triggers after or(2) associated by and() now.

Like you replace "a OR b" with "c AND a AND b"

Is this what you want???


Thanks, thats not what I wanted, I will take another look at it.

ronin


My guess is that you wanted to change a OR b into c OR a OR b, in which case you'd do:

REPLACE_TEXTUALLY ~OR(2)~ ~OR(3)
  c~

"You alone can make my song take flight..."