Thayan, please drop in the following compiler DLL in your NWNTX installation. This should fix the problem with forward declarations of structures being broken. You are still not allowed to place a structure that is only forward declared within another structure (as intended).
http://valera-ext.ny...CompilerDll.zip
I will post a new Advanced Script Compiler release (standalone compiler (NWNScriptCompiler.exe) + NWN2 toolset plugin) later on with the fix included.
In addition to the structure forward declaration problem, the following changes are in this drop versus the one virusman linked originally:
- Attempts to declare an identifier multiple times with incompatible symbol types now generate an error. Previously this would either silently be permitted or generate other unexpected behavior. The BioWare compiler allows this construct but does not handle it in a consistent or usable fashion so I am outlawing it.
- Attempts to declare a structure twice now generate an error, consistent with the BioWare compiler.
A complete changelog of issues resolved in the Advanced Script Compiler and the NWNTX compiler can be found with the Advanced Script Compiler release documentation, which is available here:
http://nwvault.ign.c...ns.Detail&id=99
Source code for the compiler (based on Torlack's compiler with numerous fixes) can be found with the NWN2 Datafile Accessor Library distribution, which is periodically updated here:
http://social.biowar...9/index/3116521
Modifié par SkywingvL, 18 juin 2011 - 02:54 .