Compile Error

Scripted ALFA systems & related tech discussions (ACR)

Moderators: ALFA Administrators, Staff - Technical

Locked
User avatar
Wynna
Dungeon Master
Posts: 5734
Joined: Sat Jan 03, 2004 10:09 am
Location: Seattle, WA (PST)

Compile Error

Post by Wynna »

Moved from the Toolset Forum:

When I try to compile a Creature OnSpawn script that used to work, I get an error in x0_inc_generic, line 480. It's a one command script, the sum total of it shown in the image below. The only way I can get it to compile is to take out the lines:

#include "acr_creature_i"
ACR_CreatureOnSpawnIn();

Since posting this in the Toolset Forum, I've discovered that I get the same compile error when trying to compile a script with the #include "acr_tools_i in it.

<a href="http://imageshack.us"><img src="http://img153.imageshack.us/img153/3316 ... roraz0.jpg" border="0" alt="Image Hosted by ImageShack.us"></a><br>
Enjoy the game
User avatar
ç i p h é r
Retired
Posts: 2904
Joined: Fri Oct 21, 2005 4:12 pm
Location: US Central (GMT - 6)

Post by ç i p h é r »

Do you have a custom version of that script anywhere in your module or in a HAK?

What about nwscript.nss? Having an outdated nwscript.nss file somewhere in your module might cause that.

Just a thought.
User avatar
Wynna
Dungeon Master
Posts: 5734
Joined: Sat Jan 03, 2004 10:09 am
Location: Seattle, WA (PST)

Post by Wynna »

Sorry, should have posted this as resolved. Your thought was exactly right. AL found three NW scripts that had snuck in with an include in a careless erf. All taken care of!
Enjoy the game
User avatar
ç i p h é r
Retired
Posts: 2904
Joined: Fri Oct 21, 2005 4:12 pm
Location: US Central (GMT - 6)

Post by ç i p h é r »

I should have figured....you posted that 3 days ago! :duh:
Locked