Author Topic: nwnx chat crashes on load.  (Read 420 times)

Legacy_Highv Priest

  • Full Member
  • ***
  • Posts: 170
  • Karma: +0/-0
nwnx chat crashes on load.
« on: April 15, 2013, 10:29:37 pm »


               The first question is do I need to hook the client enter when I'm not trying to capture text, but rather allow the functionality of NWNX!SPEAK! to allow NPC henchmen to speak in party? nwnx chat appears to function normally except the VERY MOMENT I try to execute the OnEnter function. Something in that function literally instantly crashes the server and I'd be glad to show you the log, but it doesn't reveal much.

NWNX Chat version 0.3.5 for Windows.
© 2005-2006 by dumbo (dumbo@nm.ru)
© 2006-2008 virusman (virusman@virusman.ru)
Settings:
chat_script: fky_chat2
server_script: fky_chat_srv
max_msg_len: 1024
processnpc: 0
ignore_silent: 0

! ChatProc hooked at 43ca00.
! RunProc located at 5bf9d0.
! GetIDProc located at 452f70.

o ignore_silent = 1
o CHAT: mode=5, from_oID=7F000000, msg='You are now in a No PVP area.', to_ID=00000000
o GETID: oID='7fffffff        ', ID=0

That's the last thing that pops up before it instantly locks the server up into not responding.
               
               

               
            

Legacy_acomputerdood

  • Sr. Member
  • ****
  • Posts: 378
  • Karma: +0/-0
nwnx chat crashes on load.
« Reply #1 on: April 16, 2013, 01:53:19 pm »


               did you see this thread?

http://www.nwnx.org/...9f8d825618ac4af
               
               

               
            

Legacy_Highv Priest

  • Full Member
  • ***
  • Posts: 170
  • Karma: +0/-0
nwnx chat crashes on load.
« Reply #2 on: April 16, 2013, 08:24:45 pm »


               I did unfortunately and I've still tried to solve the problem with no avail. The operating system is windows 7 64 bit if it helps. Am I missing a C++ library required to run it?
               
               

               
            

Legacy_Highv Priest

  • Full Member
  • ***
  • Posts: 170
  • Karma: +0/-0
nwnx chat crashes on load.
« Reply #3 on: April 18, 2013, 09:48:50 am »


               I've determined from testing exactly what the cause is. NWNX!CHAT!GETID is the command that causes the crash. Is anyone knowledgeable about NWNX!CHAT! enough to explain how this is happening?
               
               

               
            

Legacy_Highv Priest

  • Full Member
  • ***
  • Posts: 170
  • Karma: +0/-0
nwnx chat crashes on load.
« Reply #4 on: April 21, 2013, 02:24:13 am »


               Are there no more experts left on this?
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
nwnx chat crashes on load.
« Reply #5 on: April 21, 2013, 06:26:25 am »


               I think if you're going to find experts on this, you should probably look on the NWNX boards. I don't know enough about the plugin to speak intelligently about it, and I'm not having any problems of the kind on HG, probably because we're running a different plugin, the lin version.

According to the stickies in the NWNX boards, the current chat version is 0.3.4. What is the 0.3.5 you're running? It didn't come packaged with SIMTools, did it? Sorry, it's been a long time since I've updated it, or even run NWNX on win, so I can't recall.

Funky
               
               

               
            

Legacy_Highv Priest

  • Full Member
  • ***
  • Posts: 170
  • Karma: +0/-0
nwnx chat crashes on load.
« Reply #6 on: April 23, 2013, 09:46:11 am »


               It came from another server I used to dev for before the owner sadly lost interest in nwn. Realizing a lot of people were soon going to lose the place they loved so much I saved it and decidedly ran it out of my home. My only goal is to make the chat function allow me to have NPCs speak in party or send tells so nwn is as fun as it can be for the players, so many loved Baldur's Gate and it convinced me to establish the possibility of a large number of henchmen, each with there own stories to tell and upgrade there AI to be immensely more useful then other games. So many in nwn only have negatives to speak of and believe there is truly nothing innovative that can be done and I receive the greatest joy in the world when I prove them wrong! That Neverwinter Nights still has many tricks up her sleeve. They don't realize that the tools BioWare gave us and the functionality nwnx has to offer means virtually everything but the graphics in nwn can be changed an immense number of ways and I don't believe graphics make a good game.
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
nwnx chat crashes on load.
« Reply #7 on: April 23, 2013, 07:17:06 pm »


               The only possibility I can think of, based on your logs, is that you may be trying to have the wrong object speak. Object ID 0 is always the module itself, as far as I've seen.

Past that, try the NWNX boards.

Funky