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 
 
Profiler without server?

 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Rube



Joined: 19 Sep 2006
Posts: 2

PostPosted: Tue Sep 19, 2006 20:55    Post subject: Profiler without server? Reply with quote

I'm trying to troubleshoot a problem with Bioware premium module. I believe there is a script firing every 2 seconds that is lagging my game like crazy. Is there a way to run profiler (or NWNX even) on premium mods? Any other ideas?
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sun Sep 24, 2006 9:55    Post subject: Re: Profiler without server? Reply with quote

Rube wrote:
I'm trying to troubleshoot a problem with Bioware premium module. I believe there is a script firing every 2 seconds that is lagging my game like crazy. Is there a way to run profiler (or NWNX even) on premium mods? Any other ideas?
Maybe. It might be possible to run nwnx with nwmain instead of nwserver.
But nobody tried.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Tyne



Joined: 16 Oct 2006
Posts: 2

PostPosted: Mon Oct 16, 2006 6:58    Post subject: Re: Profiler without server? Reply with quote

virusman wrote:
Rube wrote:
I'm trying to troubleshoot a problem with Bioware premium module. I believe there is a script firing every 2 seconds that is lagging my game like crazy. Is there a way to run profiler (or NWNX even) on premium mods? Any other ideas?
Maybe. It might be possible to run nwnx with nwmain instead of nwserver.
But nobody tried.


Hi all, I'm new to the forums.

I just tried running nwnx with nwmain instead of nwserver (recompiling nwnx from source and substituting "nwmain.exe" and "+TestNewModule modName" for the first two parameters of CreateProcessEx). It didn't work. Sad

After some investigation, it appears as though FindHook is returning NULL, which to me implies that the Set/GetLocalString functions don't look the same inside both nwserver and nwmain. If someone could figure out what memory profile FindHook should look for in nwmain, we might be able to make this work.
Back to top
View user's profile Send private message
DarkstarsDad



Joined: 17 Jan 2005
Posts: 59
Location: Overland Park, Kansas USA

PostPosted: Thu Oct 19, 2006 20:32    Post subject: Load it into the server. Reply with quote

Why dont you just load the premium mod into the stand alone server then run it from there?
_________________
Just because you think you can't. Is the best reason to try it anyway.
Back to top
View user's profile Send private message
Tyne



Joined: 16 Oct 2006
Posts: 2

PostPosted: Fri Oct 20, 2006 4:26    Post subject: Re: Load it into the server. Reply with quote

DarkstarsDad wrote:
Why dont you just load the premium mod into the stand alone server then run it from there?


Although I'm not interested in using the premium mod, using the stand-alone server is still very inconvenient for testing from within the Toolset; I'd like to see NWNX hooks work via the Test Module option in the Toolset.
Back to top
View user's profile Send private message
Rube



Joined: 19 Sep 2006
Posts: 2

PostPosted: Sat Oct 21, 2006 7:59    Post subject: Re: Load it into the server. Reply with quote

DarkstarsDad wrote:
Why dont you just load the premium mod into the stand alone server then run it from there?

You can't run premium mods from a local server as far as I know.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Page 1 of 1

 
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