|
Post by bluedemon on Apr 28, 2008 18:21:10 GMT
Well, I'm having this problem since version 2.0, now I'm using 3.0 and it stays the same. It didn't happen with versions prior to 2.0.
It's like the player DM channel didn't correspond to number 14 in the HandleOtherSpeech function. All the other channels work perfectly but I don't know why this one doesn't.
Any ideas?
|
|
|
Post by FunkySwerve on Apr 28, 2008 19:48:37 GMT
It does correspond to 14, so you're going to have to actually explain the problem for me to help you. Give me scenarios where you are seeing something you don't expect.
Funky
|
|
|
Post by bluedemon on Apr 29, 2008 19:06:16 GMT
I'm referring to this part:
void HandleOtherSpeech(object oHOPC, object oHOTarget, string sHOText, int nHOChannel, string sHOLogMessageTarget) { string sHOTarget, sEscape; switch(nHOChannel)//all speech besides emotes, player commands, and metachannels - sort by channel { ////////////Player speaker channels from 1-14
There's a case where channel is 14 and anything i put there doesn't work, even the DMChannelForwardToDMs fuction doesn't work in there, but works perfectly in case 30, so when a player talks using the DM channel it's not forwarded to the DMs but when a DM talks in DM channel it works perfectly.
|
|
|
Post by FunkySwerve on Apr 29, 2008 21:26:19 GMT
All I can tell you is that it works perfectly out of the box, so one of the changes you've made is the likely culprit. The only way I'll be able to point you to the problem is if you post the modified code. That would include fky_chat, if you've altered it, and the HandleOtherSpeech function itself. And again, I'll need a SPECIFIC example of failure - telling me that anything you put in there fails doesn't help, without me knowing which 'anything's you've tried. Also, are you using the windows or linux version? Did you get the dlls (or sos, if linux) from the SIMTools page's rar, or elsewhere?
Or, if you prefer, you can send the mod to highergrounddmteam@yahoo.com and I can troubleshoot it for you.
Funky
|
|
|
Post by bluedemon on Apr 30, 2008 15:13:14 GMT
This is what I'm using: NWNX2 version 2.6.1.1 for Windows. nwnx_chat.dll version 0.3.1.0 nwnx-module.dll version 2.6.1.0 LetoScript.dll version 0.4.0.16 madCHook.dll version 2.1.5.0 nwnx_leto.dll nwnx_odbc.dll version 0.9.2.4 nwnx_resetplugin.dll
I've always downloaded it from the nwvault SIMTools page. I think it stopped working when I updated the NWNchat plugin because I think that was one of the things which came with SIMTools 2.0. I've tried it with 2 different PCs. It doesn't look like a code problem because I've made this test:
Using SIMTools Demo module 3.1 I've only made these modifications in fky_chat_conf:
const int SEND_CHANNELS_TO_CHAT_LOG = FALSE; (I've tried this one with both TRUE and FALSE) const int DM_PLAYERS_HEAR_DM = TRUE; const int ADMIN_PLAYERS_HEAR_DM = TRUE; Set up the DM CDKeys (I've tried setting up Admin CDKeys instead also). Recompiled.
And anything said in the player DM channel isn't forwarded to the player DMs. I've tested the DM commands to check that the player was considered as DM by SIMTools.
I'll send you this demo module if u want. Seems like this only happens to me :S
|
|
|
Post by FunkySwerve on Apr 30, 2008 17:51:31 GMT
Did you recompile after making the changes to the config script? Without a full recompile, your dm keys won't be recognized, as it uses the last successful compilation until you do. If that isn't the issue, send me the mod, and I'll puzzle it out for you.
Funky
|
|
|
Post by bluedemon on May 1, 2008 15:12:24 GMT
I recompiled it, I also tested the DM commands to ensure the DM keys were recognized.
I just sent the mod to the email you told me.
|
|
|
Post by bluedemon on May 9, 2008 20:07:55 GMT
Any news?
|
|
|
Post by FunkySwerve on May 9, 2008 20:53:39 GMT
Sorry, I thought I'd replied to the email you sent again, but checking my outbox I see that I didn't. The mod you sent was just the test mod with your cd key added, according to the dif I ran. It also worked when I added mine, so there's a problem with your plugins, or with the changes you made and didn't send, if that module isn't working for you. Are you in fact having issues with that module, or just your changes?
Funky
|
|
|
Post by bluedemon on May 10, 2008 14:16:35 GMT
With that module too, that's why I sent it. I have used the plugins included with SIMTools, exactly those ones and nothing else and it doesn't work either
|
|
|
Post by FunkySwerve on May 10, 2008 16:25:15 GMT
You need to reread the readme, because I know for a fact the plugins are good - hundreds of people have used them successfully. You've missed something, or misinstalled it. Are you positive you are getting a SUCCESSFUL compile and then saving after making your edits? That's the most common error, since when you merge SIMTools with other scripts, you will often exceed the capacity of the bioware compiler, and have to resort to using the (much better) PRC compiler. That is not an issue with the demo mod, however, so if you successfully compiled and saved it and are still not getting dm channel, you've done something else wrong. The next step is to post your nwnx.txt and nwnx_chat.txt logs. Or, failing that, I can recompile the test mod and send it back to you to see if it works for you then.
Funky
|
|