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 
 
Problem whith nwnx_chat 0.3.4-win

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows technical support
View previous topic :: View next topic  
Author Message
void



Joined: 26 Apr 2010
Posts: 3

PostPosted: Mon Apr 26, 2010 16:26    Post subject: Problem whith nwnx_chat 0.3.4-win Reply with quote

I apologise for bad English, it's not my native language and i use it not often.

My problem is that:

nwnx_chat.dll copied to <nwn_root_dir>

nwnx.ini section
Code:
[CHAT]
debuglevel=3
chat_script=nl_mod_ochat
server_script=nl_mod_ochat_s
processnpc=1
ignore_silent=0


dmb_ChatInit placed in onModuleLoad script, as well as dmb_PCIn/dmb_PCOut in onPlayerEnter/onPlayerExit scripts

nl_mod_ochat
Code:

#include "dmb_chat"
#include "vd_inc_debug"
void main()
  {
  object oSpeaker = OBJECT_SELF;
  SetLocalString( oSpeaker, "NWNX!CHAT!TEXT", dmb_GetSpacer() );
  string sMessage = GetLocalString( oSpeaker, "NWNX!CHAT!TEXT" );
  vd_DebugMessageIngame( DEBUG_MODULE_CHAT, "nl_mod_ochat", oSpeaker, sMessage, DEBUG_LEVEL_DEBG );
  }

vd_DebugMessageIngeim is simply wrapper for WriteTimestampedLogEntry

logs.0/nwnx.txt
Code:
NWN Extender V.2.7-beta4
(c) 2004 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
(c) 2007-2008 by virusman
visit us at http://www.nwnx.org

* Loading plugins...
* Plugin ceditor is loaded.
* Plugin chat is loaded.
* Plugin events is loaded.
* Plugin fixes is loaded.
* Plugin functions is loaded.
* Plugin leto is loaded.
* Plugin odbc is loaded.
* Plugin profiler is loaded.
* Plugin resetplugin is loaded.
* Plugin resman is loaded.
* Plugin restart is loaded.
* Plugin systemdata2 is loaded.
* NWNX2 activated.


logs.0/nwnx_chat.txt
Code:
NWNX Chat version 0.3.4 for Windows.
(c) 2005-2006 by dumbo (dumbo@nm.ru)
(c) 2006-2008 virusman (virusman@virusman.ru)
! ChatProc hooked at 43ca00.
! RunProc located at 5bf9d0.
! GetIDProc located at 452f70.

after server start i type something in game chat and looking into logs.0/nwnserverlog1.txt
Code:
[Mon Apr 26 17:05:54] [CHAT] [nl_mod_ochat] [void] [MyTestCharacter] ............... <- 1024 dots

Looks like nwnx_chat not hooking changing of NWNX!CHAT!TEXT on oSpeaker.

Hope for some help.
Back to top
View user's profile Send private message
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Tue Apr 27, 2010 15:27    Post subject: Reply with quote

Are you calling the relevant chat functions in OnModuleLoad, OnClientEnter and OnClientLeave?
Back to top
View user's profile Send private message
void



Joined: 26 Apr 2010
Posts: 3

PostPosted: Wed Apr 28, 2010 15:50    Post subject: Re: Problem whith nwnx_chat 0.3.4-win Reply with quote

void wrote:

dmb_ChatInit placed in onModuleLoad script, as well as dmb_PCIn/dmb_PCOut in onPlayerEnter/onPlayerExit scripts

Yes. Maybe I have a mistaken dialog.tlk, but those functions sounded as i wrote (onPlayerEnter/onPlayerExit). =)
Back to top
View user's profile Send private message
void



Joined: 26 Apr 2010
Posts: 3

PostPosted: Thu Apr 29, 2010 11:40    Post subject: Reply with quote

Hm... The same pw under linux works fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows technical support 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