nwnxee / unified

Binaries available under the Releases tab on Github
https://nwnxee.github.io/unified
GNU General Public License v3.0
129 stars 92 forks source link

'development' folder not working with newest NWNX files? #1733

Closed ReachPW closed 7 months ago

ReachPW commented 7 months ago

Typically if you drop a *.ncs script file in the 'development' folder then the server will pick up it next time it's run.

This seems to be not working on latest (BlackBat on discord also is having very similar problem)

I'm testing with latest steam build (88.8193.36-11) on linux. I tested with these NWNX version:

Doesn't seem to work:

Works as previously with this version :

Did NOT test with this :

Test steps:

1) Was using a simple heartbeat script that prints out message to player SendMessageToPC(GetFirstPC(), "test 1"); 2) I would change static message in script (ie "test 2", etc) 3) recompile 4) reupload *.ncs to 'development' folder 5) then watch for new message from game client.

7-HEAD always picks up newest message on heart beats. The others didn't seem so untill a hard server restart.

ReachPW commented 7 months ago

Sorry, it's late. Going to close this under user error, lol

Setting this to false "fixes" it: export NWNX_OPTIMIZATIONS_CACHE_SCRIPTS=false;

Daztek commented 7 months ago

I thought I had somehow set it to load by default, but no, it truly is user error :V