View previous topic :: View next topic |
Author |
Message |
Rube
Joined: 19 Sep 2006 Posts: 2
|
Posted: Tue Sep 19, 2006 20:55 Post subject: Profiler without server? |
|
|
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 |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sun Sep 24, 2006 9:55 Post subject: Re: Profiler without server? |
|
|
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 |
|
|
Tyne
Joined: 16 Oct 2006 Posts: 2
|
Posted: Mon Oct 16, 2006 6:58 Post subject: Re: Profiler without server? |
|
|
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.
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 |
|
|
DarkstarsDad
Joined: 17 Jan 2005 Posts: 59 Location: Overland Park, Kansas USA
|
Posted: Thu Oct 19, 2006 20:32 Post subject: Load it into the server. |
|
|
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 |
|
|
Tyne
Joined: 16 Oct 2006 Posts: 2
|
Posted: Fri Oct 20, 2006 4:26 Post subject: Re: Load it into the server. |
|
|
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 |
|
|
Rube
Joined: 19 Sep 2006 Posts: 2
|
Posted: Sat Oct 21, 2006 7:59 Post subject: Re: Load it into the server. |
|
|
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 |
|
|
|