View previous topic :: View next topic |
Author |
Message |
Skywing
Joined: 03 Jan 2008 Posts: 321
|
Posted: Tue Jul 12, 2011 17:56 Post subject: |
|
|
The first script loaded incurs some additional overhead (no matter which script it is) due to the .NET framework getting loaded into the process at that time, so I wouldn't worry much about the large figures attributed to it.
If you roll back to an earlier release (e.g. http://www.nynaeve.net/Skywing/nwn2/xp_AuroraServerNWScript/AuroraServerNWScript_R1.zip), do you observe any change in behavior?
If so, if you switch back to the current release and set LoadDebugSymbols = 0, do you observe any change in behavior? |
|
Back to top |
|
|
Developer Silver
Joined: 05 Jul 2011 Posts: 16
|
Posted: Tue Jul 12, 2011 23:59 Post subject: |
|
|
With previous release it works flawless, but with current version I can't boot NWNX, in every configuration mode (debug on or off, optimization on or off, no matter). _________________ Developer Silver
Faerūn Nights Admin |
|
Back to top |
|
|
Skywing
Joined: 03 Jan 2008 Posts: 321
|
Posted: Wed Jul 13, 2011 4:12 Post subject: |
|
|
It's still a bit unclear to me what is happening on your system.
- When you say NWNX4 is hanging, can you elaborate? Is the NWNX4 GUI hanging or the nwn2server GUI? (Are you getting the "Not responding" ghosting effect for the server GUI window, or is it just not loading the module, or is something else going on?)
- Is there an updated crash log and minidump?
- What does the plugin log file say?
- Can you try swapping in the NWNScriptJIT* DLLs from the new release and trying them with the previous release AuroraServerNWScript.dll (to further isolate what is going on)? |
|
Back to top |
|
|
Developer Silver
Joined: 05 Jul 2011 Posts: 16
|
Posted: Wed Jul 13, 2011 8:28 Post subject: |
|
|
Sorry for lack of infos
I've better investigated today and I found the problem is with some system libraries: I'm usually starting NWNX as a Windows service, and this way it stop booting as I said before, but if I launch it by hand, I receive this error message (manually translated from italian) "Unable to find an entry point named fopen_s in dynamic linking library msvcrt.dll" and it stops to load plugins.
I've already installed .NET 4.0 and VS Runtime packages as you mentioned in readme.txt, and I've reinstalled them today (I've also updated .NET with KB2416472 security patch from Microsoft Update) but none has changed.
This always happens with xp_AuroraServerNWScript.dll Release 2, no matter which version of NWNScriptJIT*.dll I use.
Which dependencies I'm missing? _________________ Developer Silver
Faerūn Nights Admin |
|
Back to top |
|
|
Skywing
Joined: 03 Jan 2008 Posts: 321
|
Posted: Wed Jul 13, 2011 18:40 Post subject: |
|
|
Please redownload the latest version; should restore compatibility with old OS versions. |
|
Back to top |
|
|
Developer Silver
Joined: 05 Jul 2011 Posts: 16
|
Posted: Wed Jul 13, 2011 23:56 Post subject: |
|
|
Skywing wrote: | Please redownload the latest version; should restore compatibility with old OS versions. |
Ok now it runs like previous version (server is a WinXP machine)!
Thank you very much for the fix.
One more thing: in plugin log I see "OptimizeIR set to 1" even if in .ini I have "OptimizeIR=0": is this only a log problem or the feature is really always on? Setting "OptimizeIR=1" in .ini doesn't change the log. _________________ Developer Silver
Faerūn Nights Admin |
|
Back to top |
|
|
Skywing
Joined: 03 Jan 2008 Posts: 321
|
Posted: Thu Jul 14, 2011 5:18 Post subject: |
|
|
Copy/paste error; fixed. |
|
Back to top |
|
|
Developer Silver
Joined: 05 Jul 2011 Posts: 16
|
Posted: Thu Jul 14, 2011 8:19 Post subject: |
|
|
Ok fixed
(I will never stop to ask for minor adjustments )
In plugin log, timestamps don't care about OS time settings: in my logs I have entries with 2 hour of difference with real time (other plugin logs are ok). Maybe it's ignoring time zone and daylight saving time?
P.S.: if you release fixed versions without advancing version, someone may be confused _________________ Developer Silver
Faerūn Nights Admin |
|
Back to top |
|
|
Skywing
Joined: 03 Jan 2008 Posts: 321
|
Posted: Thu Jul 14, 2011 18:22 Post subject: |
|
|
The plugin log is written in UTC. |
|
Back to top |
|
|
|