logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Looking for testers for the NWScript accelerator plugin
Goto page Previous  1, 2
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Development
View previous topic :: View next topic  
Author Message
Skywing



Joined: 03 Jan 2008
Posts: 321

PostPosted: Tue Jul 12, 2011 17:56    Post subject: Reply with quote

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
View user's profile Send private message
Developer Silver



Joined: 05 Jul 2011
Posts: 16

PostPosted: Tue Jul 12, 2011 23:59    Post subject: Reply with quote

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). Sad
_________________
Developer Silver
Faerūn Nights Admin
Back to top
View user's profile Send private message Visit poster's website
Skywing



Joined: 03 Jan 2008
Posts: 321

PostPosted: Wed Jul 13, 2011 4:12    Post subject: Reply with quote

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
View user's profile Send private message
Developer Silver



Joined: 05 Jul 2011
Posts: 16

PostPosted: Wed Jul 13, 2011 8:28    Post subject: Reply with quote

Sorry for lack of infos Wink
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? Wink
_________________
Developer Silver
Faerūn Nights Admin
Back to top
View user's profile Send private message Visit poster's website
Skywing



Joined: 03 Jan 2008
Posts: 321

PostPosted: Wed Jul 13, 2011 18:40    Post subject: Reply with quote

Please redownload the latest version; should restore compatibility with old OS versions.
Back to top
View user's profile Send private message
Developer Silver



Joined: 05 Jul 2011
Posts: 16

PostPosted: Wed Jul 13, 2011 23:56    Post subject: Reply with quote

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)! Very Happy
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
View user's profile Send private message Visit poster's website
Skywing



Joined: 03 Jan 2008
Posts: 321

PostPosted: Thu Jul 14, 2011 5:18    Post subject: Reply with quote

Copy/paste error; fixed.
Back to top
View user's profile Send private message
Developer Silver



Joined: 05 Jul 2011
Posts: 16

PostPosted: Thu Jul 14, 2011 8:19    Post subject: Reply with quote

Ok fixed Smile

(I will never stop to ask for minor adjustments Razz )
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 Wink
_________________
Developer Silver
Faerūn Nights Admin
Back to top
View user's profile Send private message Visit poster's website
Skywing



Joined: 03 Jan 2008
Posts: 321

PostPosted: Thu Jul 14, 2011 18:22    Post subject: Reply with quote

The plugin log is written in UTC.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Development All times are GMT + 2 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group