Jump to content


Lone Wolf

Member Since 14 Jun 2002
Offline Last Active Jul 05 2003 03:04 AM

Topics I've Started

Feature req.

12 January 2003 - 01:16 PM

Dynamic install of new PRO files. That's what it is all about.

New projectile graphics have to be added to Projectl.ids and must be given an unique number, which is thereafter written to the reference in projectl.ids (value+1) at 0x22 and EffectAnimation at 0x26 in each extended header of the spl file.

Currently I have an running version, used like this:
ACTION_IF FILE_EXISTS ~override/Projectl.ids~
	THEN BEGIN
	
	END
	ELSE BEGIN
	COPY_EXISTING ~Projectl.ids~ ~override/Projectl.ids~
	REPLACE ~IDS V1.0~ ~IDS~
	END
AT_EXIT ~SPLAnim.exe override/FWWI501.spl FWAnim01~
However this is far from perfect, and does not uninstall. Therefore I would like to request that this feature gets implemented in a future WeiDU build.
The executable written by me and the C source is located here

Parsing Error

01 January 2003 - 09:07 AM

After trying to compile this:
IF ~~ THEN BEGIN Armory
	SAY ~Alright, the armory it'll be.~
	IF ~~ THEN DO ~StartStore("FWStor01",LastTalkedToBy())~ EXIT
END

IF ~~ THEN BEGIN Arsenal
	SAY ~Alright, the arsenal it'll be.~
	IF ~~ THEN DO ~StartStore("FWStor02",LastTalkedToBy())~ EXIT
END
WeiDU spitted out an parsing error at last character of the DO block in the Armory state. StartStore is exactly the same as in Action.ids.
After decompiling Ribald.dlg (with --trans --nocom) there is an state very much alike:
IF ~~ THEN BEGIN 2
  SAY @11
  IF ~~ THEN DO ~StartStore("ribald",LastTalkedToBy())
~ EXIT
END
And here I got the same error.