Author Topic: Toolset crashes compiling fky_chat  (Read 358 times)

Legacy_Cryolithic

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Toolset crashes compiling fky_chat
« on: February 09, 2012, 07:43:04 am »


               Picked up the old module, and when I try and build scripts, it crashes with a read violation when I attempt to compile fky_chat.  Any ideas? 
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Toolset crashes compiling fky_chat
« Reply #1 on: February 09, 2012, 12:47:01 pm »


                You might be interested in the modified toolset which has a much improved compiler. Many including myself use that. I have noticed many improvements, and wit the latest build no real bugs. Compiling code won't catch errors the same way as before, but its a small price to pay for optimization.
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
Toolset crashes compiling fky_chat
« Reply #2 on: February 10, 2012, 03:12:13 am »


               This is discussed in the Vault entry. The default bioware compiler won't like the number of identifiers in fky_chat if you combine it with other scripts. You need to use either the PRC compiler, the NWTX compiler, or just Skywing's standalone compiler, which is the same as in NWTX - this last option is the one I'd recommend.
Check this thread for the latest download link (which also has links to NWTX).

Funky
               
               

               


                     Modifié par FunkySwerve, 10 février 2012 - 03:12 .
                     
                  


            

Legacy_Cryolithic

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Toolset crashes compiling fky_chat
« Reply #3 on: February 10, 2012, 04:07:22 am »


               Weird, I swear I had compiled it in the default before, but thanks all!
               
               

               
            

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
Toolset crashes compiling fky_chat
« Reply #4 on: February 10, 2012, 10:55:14 am »


               I had the same issue.
The cause was having fky_chat_inc  or whatever, being included in a script that was also using sha_subr_methds as an include.

both of them together pushed the identifier list over the limit.

The new compiler nwntx addon does indeed resolve it,
or if you want to get around it via vanilla nwn toolset, you would need to span scripts over multiple script files.
eg ExecuteScript etc
               
               

               
            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Toolset crashes compiling fky_chat
« Reply #5 on: February 12, 2012, 12:20:35 pm »


               I also had this problem when I tried to integrated it into my chat system, major crash...

Too many includes / constants = very bad thing.. '<img'>
               
               

               
            

Legacy_Cryolithic

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Toolset crashes compiling fky_chat
« Reply #6 on: February 13, 2012, 09:22:14 am »


               Using NWNTX worked great, thanks Funky!