View previous topic :: View next topic |
Author |
Message |
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
|
Back to top |
|
|
patch
Joined: 12 Jul 2007 Posts: 2
|
Posted: Thu Jul 12, 2007 14:35 Post subject: |
|
|
Thanks a lot it seems to be working fine once I figured out you were using 1.08 beta 2 nwnx4
Really appreciate you getting it up even without pathfinding
Kid in candystore - read the whole post??? naw grab it and run!!! |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sat Jul 14, 2007 15:09 Post subject: |
|
|
This is really great news! _________________ Papillon |
|
Back to top |
|
|
Illuminatus
Joined: 10 Oct 2007 Posts: 1
|
Posted: Wed Oct 10, 2007 0:49 Post subject: |
|
|
I'm going to ask a dumb question to all you coding gurus....
But how does one install this mod? Any NWNx.ini changes? Do I drop it in the NWN2 folder? |
|
Back to top |
|
|
radsam
Joined: 03 Dec 2006 Posts: 3
|
Posted: Fri Oct 12, 2007 20:12 Post subject: |
|
|
Hi Virusman,
first of all, thanks for the Profiler port to NWNX4.
I'm trying to get this plugin to run and i'm getting an Error 126 at initialization time. I ran the Dependency Walker on the xp_profiler.dll and the only problem it shows is a missing function from MPR.dll ? I looked around and it seems to be a benign problem.
I have tried to use the 1.07 prototype and the 1.08b2 versions with the two download links you have provided. I also tried to use the 1.08b2 xp_profiler.dll with the final 1.08 NWNX4 release. all give the same Error 126
Any idea on what I may be missing? the system i'm running NWNX4 on has no Development tools. it's a clean Win XP Pro SP2 with .NET 2.0 and C++ runtimes installed. I had to manually copy the MSVCR80.dll into the System32 directory (dependency walker was complaining)
Thanks,
-RaDSaM _________________ NWN2 PW: http://www.abyssya.com |
|
Back to top |
|
|
radsam
Joined: 03 Dec 2006 Posts: 3
|
Posted: Sun Oct 14, 2007 0:29 Post subject: |
|
|
Well after days of spending and searching and code twisting I was ready to give up, but I found a post from the NWNX Chat plugin that solved the problem. Copy the damn madCHook.dll into the NWN2's exe directory to get the xp_profiler.dll to work
This isnt obvious, since other plugins seem to not need this. Can you please mention nearby the download links? would save many days of frustration
Thanks,
-RaDSaM _________________ NWN2 PW: http://www.abyssya.com |
|
Back to top |
|
|
Morrandir
Joined: 13 Jan 2006 Posts: 27
|
Posted: Wed Jul 09, 2008 10:39 Post subject: |
|
|
I have a question concerning the profiler log.
I have following lines: Code: | >_ha2_onmoduleload 8882 msec 1179 calls |
_ha2_onmoduleload 77 msec 1 calls | |
As you might estimate, the script is the OnModuleLoad event script, running on a persistent world, that should run exactly one time.
But what does the line with ">" mean exactly?
(Yes, I read the * RunScript hooked (symbol: >). in the logfiles header, but that didn't help. ) _________________ German NWN1/2 Persistent World Hochwaldallianz |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Wed Jul 09, 2008 13:51 Post subject: |
|
|
an example
Code: | ...some code...
RunScript("somescript");
...some code... |
Everything before RunScript is _ha2_onmoduleload, everything after RunScript is >_ha2_onmoduleload. As far as I remember, the "scriptparts" ini setting has been added in this build, so if you set it to 0, it will not divide the script execution time. |
|
Back to top |
|
|
Morrandir
Joined: 13 Jan 2006 Posts: 27
|
Posted: Wed Jul 09, 2008 15:34 Post subject: |
|
|
RunScript("somescript") means, that I call a function defined in another included script?
Cause we don't have any ExecuteScript() in _ha2_onmoduleload. _________________ German NWN1/2 Persistent World Hochwaldallianz |
|
Back to top |
|
|
Morrandir
Joined: 13 Jan 2006 Posts: 27
|
Posted: Fri Jul 18, 2008 8:47 Post subject: |
|
|
*bump* _________________ German NWN1/2 Persistent World Hochwaldallianz |
|
Back to top |
|
|
|