View previous topic :: View next topic |
Author |
Message |
Daijin
Joined: 09 Jul 2007 Posts: 23 Location: Dunjon/Warr Acres, Ok
|
Posted: Thu Nov 24, 2011 18:39 Post subject: Crash Bug |
|
|
Okay, re-posting differently in referral to Funky Swerve's advice.
Windows 7 64 bit (6.1, Build 7601)
Intel i7-2600 cpu @ 3.40 ghz (8 cpus)
8192 mb ram
DirectX 11
Using nwnx2.exe (2.6.1.0)
With the plugins:
nwnx_chat.dll (0.3.4.0)
nwnx_deletechar.dll (0? 1/18/2006 409pm)
nwnx_fixes.dll (1.0.5.0)
nwnx_leto.dll (0? 3/19/2004 456pm)
nwnx_odbc.dll (0.9.2.4)
nwnx_resetplugin.dll (0? 11/23/2005 902pm)
nwnx_TMI.dll (0? 11/29/2008 759pm)
nwnx-module.dll (2.6.1.0)
NWNTX.dll (1.0.0.0)
nwntx_compiler.dll (0? 6/26/2011 112pm)
Ran the patch to alter nwnmain.exe with the Client extender which i think uses:
nwncx.dll (0.1.0.3)
nwncx_disablems.dll (0? 8/4/2011 338pm)
nwncx_dmtest.dll (0? 8/4/2011 338pm)
nwncx_nwnxbridge.dll (0? 8/4/2011 338pm)
nwncx_tweaks.dll (0? 8/4/2011 338pm)
Here is the crash bug in order of detail and narrowed down how it was figured out:
Everything I used in SIMTools seemed to work fine, except for the tell routing function.
I had const int DMS_HEAR_TELLS = TRUE;
Whenever anyone sent a tell across LAN or internet connection and the Server host DM or Player was not logged in, it ran fine. They could send tells as normal.
But whenever the host DM/Player logged in and someone sent a tell, the whole Server crashed.
I tried const int DMS_HEAR_TELLS = FALSE; yet any tell if Host DM/player was logged in still crashed server.
I could not figure it out. Funky Swerve (thank you, Funky) tried to help me figure it out, he suspected it was a plugin issue for maybe win 64 bit, but was not 100% certain.
I also had a problem with nwnxcool: Hooking it up, and putting in the scripts in the module had the following issues: Hitting the * key for the drive camera, crashed the client (not server). Also trying to unequip anything with the weapon_hook=1 made it impossible to do so, saying in talk, you cannot unequip this item, it is cursed (but only on the logs, it did not show ingame).
After drawing from Funky Swerve's guessed conclusion, I went through everything step by step trying to figure it out.
Here is what I found out.
The patched version of NWNCX does not work on this machine with SIMtools or nwnxcool. Maybe its the altering of the nwnmain.exe, I dont know. I am a not a scripter or even coder, just noticed the issues stopped when i put back in the original nwnmain.exe.
Maybe its just a out of date .dll file but those are all the latest I could find.
I removed the patched version of nwnmain.exe that uses NwnCx, and used the original nwnmain.exe. Here is what happened:
Players sending tells to anyone with Host DM/player logged in no longer crashes server, long as: const int DMS_HEAR_TELLS = FALSE;
If set to TRUE; server crashes as usual.
The Nwnxcool plug in now works: no more * key crashing the client, and players can equip/unequip with no issue, and the weapon_hook=1 works wonderfully on CEP or custom baseitem weapons _________________ Daijin Dreamweaver, Leader of the Dream Warriors for 32 Earth years.
Faith, Loyalty, Honor, Truth and Friendship always.
I live to serve, O' Lord Jesus, Thy Will Be Done! |
|
Back to top |
|
|
Daijin
Joined: 09 Jul 2007 Posts: 23 Location: Dunjon/Warr Acres, Ok
|
Posted: Thu Nov 24, 2011 18:51 Post subject: |
|
|
Also I should point this out:
With the server with NwnCX patched in:
One LAN player did not have nwncx patched and with
I tried const int DMS_HEAR_TELLS = FALSE;
she did not crash the server. But soon as others logged in (some with NwnCx) and someone sent a tell, server crashed. _________________ Daijin Dreamweaver, Leader of the Dream Warriors for 32 Earth years.
Faith, Loyalty, Honor, Truth and Friendship always.
I live to serve, O' Lord Jesus, Thy Will Be Done! |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Thu Nov 24, 2011 19:15 Post subject: |
|
|
Remove nwncx_nwnxbridge.dll unless you need NWNX plugins running in the client. Not all NWNX plugins support running through NWNCX brigde, and if they don't, they surely will crash the client. _________________ In Soviet Russia, NWN plays you! |
|
Back to top |
|
|
Daijin
Joined: 09 Jul 2007 Posts: 23 Location: Dunjon/Warr Acres, Ok
|
Posted: Thu Nov 24, 2011 19:49 Post subject: |
|
|
Yay, that fixed the nwnxcool to work with the nwncx patched nwnmain.exe.
Also fixed the tell routing crash long as
const int DMS_HEAR_TELLS = FALSE;
If TRUE, then it does the server crash again. That is all that remains. _________________ Daijin Dreamweaver, Leader of the Dream Warriors for 32 Earth years.
Faith, Loyalty, Honor, Truth and Friendship always.
I live to serve, O' Lord Jesus, Thy Will Be Done! |
|
Back to top |
|
|
werehound
Joined: 17 Aug 2010 Posts: 41
|
Posted: Fri Dec 02, 2011 0:53 Post subject: |
|
|
Daijin wrote: | Yay, that fixed the nwnxcool to work with the nwncx patched nwnmain.exe.
Also fixed the tell routing crash long as
const int DMS_HEAR_TELLS = FALSE;
If TRUE, then it does the server crash again. That is all that remains. |
I've had this issue with simtools on my machine as well under Windows. I'm unsure why.
Ended up leaving out simtools completely when I was hosting on Windows. |
|
Back to top |
|
|
Daijin
Joined: 09 Jul 2007 Posts: 23 Location: Dunjon/Warr Acres, Ok
|
Posted: Sat Jun 09, 2012 6:39 Post subject: |
|
|
Anyone have any idea or news on the win 7 64 bit tell bug that crashes server? _________________ Daijin Dreamweaver, Leader of the Dream Warriors for 32 Earth years.
Faith, Loyalty, Honor, Truth and Friendship always.
I live to serve, O' Lord Jesus, Thy Will Be Done! |
|
Back to top |
|
|
werehound
Joined: 17 Aug 2010 Posts: 41
|
Posted: Sun Jun 10, 2012 3:46 Post subject: |
|
|
I've had the issues across many 32-bit versions of windows. I've been unable to narrow down the issue. If this could be fixed I'd be using SimTools in a heartbeat.
Anytime I send a system message (the grey server-based messages) or have an object send anyone a tell the server crashes. As long as I disable tell-routing (sending tells to DMs, for instance) everything works fine. |
|
Back to top |
|
|
Daijin
Joined: 09 Jul 2007 Posts: 23 Location: Dunjon/Warr Acres, Ok
|
Posted: Fri Jul 13, 2012 9:03 Post subject: |
|
|
Finally! It turns out that you need a full install of DX9 and nwmain.exe and nwn.exe have to be running in xp 3 compatibility mode and have run as admin selected (regardless if you are admin login or not).
It fixed the tell crash. Apparently windows 7 64 bit's DX 9 install is missing a lot of files..... _________________ Daijin Dreamweaver, Leader of the Dream Warriors for 32 Earth years.
Faith, Loyalty, Honor, Truth and Friendship always.
I live to serve, O' Lord Jesus, Thy Will Be Done! |
|
Back to top |
|
|
|
|
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
|