View unanswered posts | View active topics * FAQ    * Search
* Login 




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Selvec Darkon
 
PostPosted: Sat, Oct 23 2010, 0:31 AM 

User avatar

Player

Joined: 12 Oct 2005
Location: On a Disk, carried by four elephants, which stand on a gigantic turtle.

Is it quite common for NWN toolset to pick up annoying compiling errors in the script that make no sense?

For example. This.

Code:
sVarName = "MK_DISABLE_CRAFT_" + MK_IntToString(i, 2, "0");

It comes up with
mk_cond_09.nss(42): ERROR: NO SEMICOLON AFTER EXPRESSION

Now, either I'm going blind, or NWN is playing the dumbshit. As I swear there is a semi-colon after that expression. Furthermore, when I switch it around like so
Code:
sVarName = "MK_DISABLE_CRAFT_";
sVarName =  "MK_IntToString(i, 2, "0")";


It still wants a freakin' Semi-Colon on the end of MK_IntToString(i, 2, "0"), despite one already being there.
MK_IntToString(i,2,"0") is a required piece of code that I can't get rid of without screwing the entire system I'm editing.

Any idea's? Is NWN Toolset just bonkers or am I missing something here?

_________________
I keels u with my axe!

"Do ye know where the Holy-Flamin' Frost-brand Gronk-slayin' Vorpal Hammer o' woundin' an' returnin' an' Shootin'-Lightnin'-out-yer-bum is?"


 
      
Fabian
 
PostPosted: Sat, Oct 23 2010, 1:43 AM 

User avatar

Player

Joined: 16 Aug 2009

Can you post the full script?

Particularly the function MK_IntToString(). It's likely the error is in this function definition.

_________________
~Science Transcript~
Bruce Kesselson: [Talk] Channeling a different color.. Vyashir!
Vyashir lndrire: [Talk] Purple?
Bruce Kesselson: [Talk] Prepare for purple!
Vyashir lndrire: [Talk] yes!


 
      
Selvec Darkon
 
PostPosted: Sat, Oct 23 2010, 1:52 AM 

User avatar

Player

Joined: 12 Oct 2005
Location: On a Disk, carried by four elephants, which stand on a gigantic turtle.

I'll see if I can find it. I'm attempting to edit someone elses work (with permission), so its a little complicated.

_________________
I keels u with my axe!

"Do ye know where the Holy-Flamin' Frost-brand Gronk-slayin' Vorpal Hammer o' woundin' an' returnin' an' Shootin'-Lightnin'-out-yer-bum is?"


 
      
Selvec Darkon
 
PostPosted: Sat, Oct 23 2010, 2:52 AM 

User avatar

Player

Joined: 12 Oct 2005
Location: On a Disk, carried by four elephants, which stand on a gigantic turtle.

Afraid I can't find it, but its clearly doing something, just not sure what.

_________________
I keels u with my axe!

"Do ye know where the Holy-Flamin' Frost-brand Gronk-slayin' Vorpal Hammer o' woundin' an' returnin' an' Shootin'-Lightnin'-out-yer-bum is?"


 
      
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group