|
Post by Lanthar D'Alton on Oct 21, 2003 18:34:37 GMT -5
TSIA. (Title Says It All) -Lanthar
|
|
redgolem
Cult Member
There is no such thing as lost - there is only adventure.
Posts: 4
|
Post by redgolem on Nov 28, 2003 13:37:06 GMT -5
How goes the speech recognition system? It's been a while since the last posting on this.
Suggestion: If you make the system interface extensible to allow custom plugins, then it could save you much work by having community folk work on the plugins and components of the system. Then all you would need to make is the base system and plugin infrastructure, and then reap benefits of the plugins.
|
|
|
Post by Venarx on Jun 13, 2004 9:50:57 GMT -5
I'm having trouble installing it... I installed the .erf, but I'm confused on how to install the nwnx and mySQL database. So far all I have done is this: 1. Imported the .erf 2. Installed the WinPcap program 3. Placed nwnx_system.mod in my modules folder Now what? I'm confused here....
|
|
|
Post by Lanthar D'Alton on Jun 13, 2004 17:28:46 GMT -5
|
|
|
Post by CelestialRyan on Aug 20, 2004 14:32:29 GMT -5
I've installed the speech system ok, however I've found it to be slightly tempermental, not picking up a player's chat now and again (sometimes a random player's chat seems not to be noticed for his/her playing session). Do you have any ideas what could cause this? Oh, btw, I used Lilac Soul's erf requirements editor to make the scripts include work without HotU, which you may wish to do for future downloads. Generally, it looks like a nice system however.
|
|
|
Post by Lanthar D'Alton on Aug 21, 2004 14:40:58 GMT -5
Send me an email at lanthardalton@icqmail.com CelestialRyan.
-Lanthar
|
|
|
Post by Anduris on Sept 1, 2004 22:53:49 GMT -5
I´ve looked through the RAR you have on the vault, and I can´t for the life of me find a .mod file that starts with nwnx, which the NWNX documentation says that all mods need to start with. Am I missing something?
|
|
|
Post by Anduris on Sept 9, 2004 19:25:11 GMT -5
Okay, I've got it all installed, and I'm working on using it to make my custom language system. I have a question, though. Is there a way, using this system, to prevent text from being shown to the other players? For instance, if someone uses the DM channel for a language, do the DMs necessarily have to see it?
|
|
|
Post by Lanthar D'Alton on Sept 11, 2004 12:06:21 GMT -5
No. The program is a packet sniffer, so it only listens in.... to filter the text would take a packet filter.
-Lanthar
|
|
|
Post by TitoTheBandito on Sept 15, 2004 22:04:08 GMT -5
Having problems getting it to work. Can't wait to resolve them, because it looks like a fun system Problem is basically that I'm speaking the word *help* on my server and nothing is happening. Not even something that suggests an error is occuring. NWNX2 is running and connected to the nwn DB (mysql) through a connection named nwn. The listener connects to the DB through the same connection (tried a seperate connection for listener and nwnx2 to the same DB named nwn both will all necessary privileges to no avail) and no errors are occuring. I ran the Talus setup mod, launched the listener, pulled the lever and nothing happened, nor did speaking *help* or *lol* do anything in the setup mod or in my own. One possibility comes to mind: NWNX2 issued an updated driver that bypasses ODBC and communicates directly with mysql. The only way (within reason) I could connect the listener to the DB was by installing the mysql odbc driver. Must both the listener and NWNX2 go through ODBC for the system to work in-game? The listener is connected to the DB and reporting in its window everything typed as well as copying a log of everything spoken, but the emotes aren't working (haven't tried anything more complex than the included emotes yet). I noticed the mod name needs to be identical to the file name. Does that include the ".mod" at the end? I tried both ways. Also got rid of the password for all relevant connections but it didn't matter since both NWNX2 and ODBC use the password. I followed the instructions to the letter except for 4) optional...edit DMFI........ 2 other possibilites are that 1)a bioware update broke the speech system and 2) I misunderstood how to use the system in-game. in talk mode I'm typing *help* stars included, pressing enter, and nothing is happening. Also tried *lol* and *bow* and *bows* and got no result. I'll try reverting the NWNX2 driver back to ODBC and see if it matters. I'll also skim through the included code until either I find out what I did wrong or I get a response here. Thanks in advance
|
|
|
Post by Lanthar D'Alton on Sept 16, 2004 0:38:05 GMT -5
hmm. Well, my advice: 1: make sure the listener shows that a)you connected, and b)your words are caught by it. If you are not using direct connect and giving it the external IP, it won't actually use the network, so the listener has nothing to listen in on. Note: 192.168.x.x is not an external IP. to get your external IP, go to www.ipchicken.com and read the big blue numbers (well, they were big blue numbers last time I used it, but anyway...) 2: Check to make sure that pulling that lever did what it is supposed to: created the database table. There should be a table named nwn_speech in your database now. If there isn't then your nwnx isn't behaving right or you didn't launch the test module with the nwnx.exe (I don't think this applies to you, but hey, others might read this post for help too) 3: Make CERTAIN that your module Filename matches the Name setting under the "Module Properties->Basic" tab. These must match, because the listener sends the filename with it into the database speech table so that more than one module can run on one machine at a time. 4: Stand around in the module for 5 minutes after saying *help*. I launch the lds_spch_runonce script using a DelayCommand(200.0, ExecuteScript(".....")); I'm not certain I put that into the demo module or installation notes, but I thought I did. Either way... that's a good thing to check. 5: If all else seems right, check the log file nwnx makes of the database calls and results. -Lanthar
|
|
|
Post by TitoTheBandito on Sept 16, 2004 3:04:03 GMT -5
1: make sure the listener shows that a)you connected, and b)your words are caught by it.
yes and yes
If you are not using direct connect and giving it the external IP, it won't actually use the network, so the listener has nothing to listen in on.
I'm connecting through gamespy as the instructions suggest. Not direct connecting, though. Speech is coming up on the listener window. I assume that means it's good.
2: Check to make sure that pulling that lever did what it is supposed to: created the database table. There should be a table named nwn_speech in your database now.
there is
3: Make CERTAIN that your module Filename matches the Name setting under the "Module Properties->Basic" tab. These must match, because the listener sends the filename with it into the database speech table so that more than one module can run on one machine at a time.
I copied and pasted the name. I tried with and without the ".mod" at the end.
4: Stand around in the module for 5 minutes after saying *help*. I launch the lds_spch_runonce script using a DelayCommand(200.0, ExecuteScript(".....")); I'm not certain I put that into the demo module or installation notes, but I thought I did. Either way... that's a good thing to check.
didn't work
5: If all else seems right, check the log file nwnx makes of the database calls and results.
checked the nwnx log and found the following repeating a large number of times in a few seconds:
o Got request: SELECT player, ip, port, speech, type FROM nwn_speech where servername='Dreamtime CEP.mod' LIMIT 1 o Sent response (-1 bytes):
Another potential indicator...
Basically, the following:
while(GetStringLength(input.sSpeech) > 1) { ParseString(input); input=PopSpeech(); }
is never happening no matter what I type in-game. Checkstrings is being called, but the while loop isn't firing.
Calling it quits for today. I'll examine more closely tomorrow.
|
|
|
Post by AChi on Sept 20, 2004 0:32:05 GMT -5
Something you may wish to check. I had a problem similar to yours I think. What was wrong was that the mod name was either to long or it contained '(' ')' not sure which one it was.
|
|
|
Post by TitoTheBandito on Sept 20, 2004 20:51:02 GMT -5
Thanks for the response, but my mod name is shorter than the name of the demo mod that came with Talus Speech. Not even the demo mod is processing speech, even though NWNX2 and Talus Listener have a valid connection to the DB and the tables have been created. I put debug comments into the code and the loop that is supposed to search speech for key phrases with stars in them is occuring about once a second but it never gets around to searching the speech. Either that, or it's searching and for some reason isn't recognizing what it is searching for which I doubt. I'd love to leave Talus in but at this point if nobody can figure the problem out I'll have to pull out the code The problem is either beyond me or so obvious I'm overlooking it.
|
|
|
Post by TitoTheBandito on Sept 20, 2004 20:59:32 GMT -5
Not compatible with windows 98 perhaps?
|
|