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 
 
Set the Logs folder? or Ready Made Chat Log php reader?

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules
View previous topic :: View next topic  
Author Message
Baaleos



Joined: 02 Sep 2007
Posts: 830

PostPosted: Thu May 01, 2008 13:58    Post subject: Set the Logs folder? or Ready Made Chat Log php reader? Reply with quote

Hi, I was wondering if its possible via nwnx2 to set the destination of the outputted chat logs and such?

I run mysql with phpmyadmin on the same machine, and have a folder running on the disk as a website
(apache I think - Came with Mangos - Lol)

But, what I want to do, is to have the logs created and updated in real time, on the webdisk, so that in real time, the chat output is always available to me, via web.

Eg - Type in address of the server, and then navigate to the logs via URL.

Also, does anyone know if there is anyway of filtering outputed chat logs?

Eg - Currently, it is catching all messages sent, even ones sent by npcs.
My npcs have random banter scripts on their heartbeat, and they even talk when no Players are around, is it possible to filter their conversation out of the chat logs? Would this be required to go into the nwn script side? Eg - GetIsPC() check, to make sure that before it logs, it is a speaking pc?

Ideally, I would love a ready made php application that would display the contents of a chat log, then refreshes every 30 seconds.
Back to top
View user's profile Send private message
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Fri May 02, 2008 1:26    Post subject: Reply with quote

If you are using SIMTools, or just nwnx_chat, you can log player chat, stream it, do whatever you like to it, including dumping it into a database of some kind. You can specify the file it goes to in the ini of nwnx_chat.

Funky
Back to top
View user's profile Send private message
Baaleos



Joined: 02 Sep 2007
Posts: 830

PostPosted: Fri May 02, 2008 4:01    Post subject: Does that mean? Reply with quote

Does that mean I am able to set the folder it appears in?

I specifically need to get it to make the logs in a drive called w:\

w for web. Lol
Back to top
View user's profile Send private message
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Sat May 03, 2008 6:16    Post subject: Reply with quote

That I don't know, sorry, but I suspect not.

Funky
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules 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