Aller au contenu

Photo

get around script caching in server mod ?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
xorbaxian

xorbaxian
  • Members
  • 10 messages

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



#2
meaglyn

meaglyn
  • Members
  • 808 messages

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



#3
xorbaxian

xorbaxian
  • Members
  • 10 messages

awesome. that's perfect, thank you !