Author Topic: get around script caching in server mod ?  (Read 312 times)

Legacy_xorbaxian

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
get around script caching in server mod ?
« on: November 12, 2014, 10:24:09 pm »


               

i'm trying to figure out a way to shorten overall scripting time for a multiplayer mod i'm scripting. since the engine caches scripts, when i run into a bug in a script, i have to bring down the server and bring it back up again in order for the engine to recognize the script's changes. since i compile using an outside cmd-line compiler, the ideal situation would be for me to just edit the script, compile it, and drop the newly-compiled nsc into the override folder and have it be taken into acct, but obviously this doesn't work. anybody have any tips on how i could work in iterative changes on scripts w/o bringing down the server every time ?


 


thanks



               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
get around script caching in server mod ?
« Reply #1 on: November 12, 2014, 10:58:26 pm »


               

I believe NWNX can do this for you with the resman plugin. http://www.nwnx.org/index.php?id=nwnx2



               
               

               
            

Legacy_xorbaxian

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
get around script caching in server mod ?
« Reply #2 on: November 13, 2014, 01:12:47 am »


               

awesome. that's perfect, thank you !