View previous topic :: View next topic |
Author |
Message |
Undertowe
Joined: 03 Jan 2005 Posts: 33
|
Posted: Tue Jul 10, 2007 11:31 Post subject: |
|
|
Gah ffs, scratch that, folks. I completely forgot that you need to have a copy of madCHook.dll in your NWNX4 directory AND in the root of your NWN2 install directory. Everything appears to be working now. Sorry for the bother. |
|
Back to top |
|
|
Elrahc
Joined: 30 Jan 2007 Posts: 10
|
Posted: Wed Jul 25, 2007 23:00 Post subject: |
|
|
Just a tip to those who're newbs like myself. You need to have Microsoft Visual C++ 2005 SP1 Redistributable Package installed (Google it to get the right version for your OS - here's the link to the x86 version).
~Elrahc |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Fri Jul 27, 2007 21:01 Post subject: |
|
|
The dll was compiled with VS2005 without SP1. |
|
Back to top |
|
|
Elrahc
Joined: 30 Jan 2007 Posts: 10
|
Posted: Sat Jul 28, 2007 1:17 Post subject: |
|
|
Then I must have been missing something else that this SP1 provided, because that's the only change I did, based on a tip from Grinning Fool.
~Elrahc |
|
Back to top |
|
|
PNJ
Joined: 30 Jun 2007 Posts: 67
|
Posted: Wed Aug 15, 2007 12:30 Post subject: |
|
|
I can't seem to get the valid receiver for Private message (Mode 4)
the sender is right but the receiveir can't be found.
In log the receveir of the private message is always : to_ID=FFFFFFFF
I added the Onenter & Ondisconnect NWNX Chat function on PCs.
Did i miss another thing?
Last edited by PNJ on Wed Aug 15, 2007 21:28; edited 1 time in total |
|
Back to top |
|
|
dumbo
Joined: 21 Aug 2005 Posts: 21
|
Posted: Wed Aug 15, 2007 21:10 Post subject: |
|
|
Private message = Mode 4 |
|
Back to top |
|
|
PNJ
Joined: 30 Jun 2007 Posts: 67
|
Posted: Wed Aug 15, 2007 21:30 Post subject: |
|
|
Yes, 4, typing error.
my code is :
Code: |
string sText = NWNXGetString("CHAT", "TEXT", "", 0);
int nMode = StringToInt(GetStringLeft(sText,2));
int nTo = StringToInt(GetSubString(sText,2,10));
if (nMode==4)
{
oPCn = dmb_getPC(nTo);
Debug("!FROM! "+GetName(oPC)+" !TO! "+GetName(oPCn)+" : "+sText);
}
|
got the sender & the message, but not the receiver. |
|
Back to top |
|
|
dumbo
Joined: 21 Aug 2005 Posts: 21
|
Posted: Wed Aug 15, 2007 22:58 Post subject: |
|
|
if it was just typo then let's try to wake virusman.
PNJ wrote: | In log the receveir of the private message is always : to_ID=FFFFFFFF |
virusman, hello! |
|
Back to top |
|
|
PNJ
Joined: 30 Jun 2007 Posts: 67
|
Posted: Wed Aug 15, 2007 23:04 Post subject: |
|
|
thank ^^ |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Wed Aug 15, 2007 23:40 Post subject: |
|
|
What versions of NWN2, NWNX4, Chat are you using?
To all: Did anyone else encounter this bug?
P.S. Hi, dumbo! |
|
Back to top |
|
|
PNJ
Joined: 30 Jun 2007 Posts: 67
|
Posted: Thu Aug 16, 2007 10:25 Post subject: |
|
|
I m using
NWN2 1.06.980
NWNX4 Chat Plugin V.0.3.3
NWN Extender 4 V.0.0.8 |
|
Back to top |
|
|
Undertowe
Joined: 03 Jan 2005 Posts: 33
|
Posted: Thu Aug 23, 2007 6:17 Post subject: |
|
|
I've been having the same issue with the same versions. Every great once in awhile it will get SOME receiver, but when it does it's the wrong one. |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Thu Aug 23, 2007 8:06 Post subject: |
|
|
Ok, I'll fix this bug, but only after Sept 9th. |
|
Back to top |
|
|
gencorky
Joined: 19 Sep 2006 Posts: 2
|
Posted: Mon Sep 17, 2007 2:51 Post subject: |
|
|
Thank's for an awsome plugin, virusman and dumbo. The ability to capture and control text is a powerful ability for module scripters. If NWNX didn't have database support, I would still probably install it just to use your plugin. |
|
Back to top |
|
|
PNJ
Joined: 30 Jun 2007 Posts: 67
|
Posted: Fri Sep 28, 2007 13:19 Post subject: |
|
|
Since the 1.10 the plugin only hook Shoot text.
Obisidian did some reworking onn the way text display (for DM avatars mainly). |
|
Back to top |
|
|
|