Raised This Month: $51 Target: $400
 12% 

ChatLog v1.3.7 (Extended)


Post New Thread Reply   
 
Thread Tools Display Modes
muukis
Veteran Member
Join Date: Apr 2009
Old 06-22-2009 , 03:16   Re: ChatLog v1.3.4 (Extended)
Reply With Quote #51

Quote:
Originally Posted by HSFighter View Post
...
Thanks! Looks very interesting. I'll have to try it out.
muukis is offline
AngryVag
Member
Join Date: Jun 2009
Old 06-25-2009 , 23:22   Re: ChatLog v1.3.5 (Extended)
Reply With Quote #52

Nice plugin. A couple of issues... let me know if I should post this in the 1.2 post.

1) "ChatLogEx: Cannot log message, handle hdatabase is not set!" spamming the heck out of my logs! But it still logs to the database.

2) I can get this to work with the WebAdmin plugin but the actual ChatLogEx php page doesn't work correctly. All I get is a grey block with "Server "1"", the rest is blank! These two plugins share the same database which is hosted on another box.

Edit: Forgot to add: It also doesn't seem to log console chat from HLSW.

Any help or ideas would be great, thanks!
__________________

Last edited by AngryVag; 06-25-2009 at 23:24.
AngryVag is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 06-26-2009 , 01:44   Re: ChatLog v1.3.5 (Extended)
Reply With Quote #53

Quote:
Originally Posted by AngryVag View Post
Nice plugin. A couple of issues... let me know if I should post this in the 1.2 post.

1) "ChatLogEx: Cannot log message, handle hdatabase is not set!" spamming the heck out of my logs! But it still logs to the database.

2) I can get this to work with the WebAdmin plugin but the actual ChatLogEx php page doesn't work correctly. All I get is a grey block with "Server "1"", the rest is blank! These two plugins share the same database which is hosted on another box.

Edit: Forgot to add: It also doesn't seem to log console chat from HLSW.

Any help or ideas would be great, thanks!
1) Have you tried the latest version 1.3.5? It does not solve the the issue that causes that hdatabase not set -error but it should take care of the spamming. That issue usually pops up on round start, when the hdatabase is not yet set and the the events start to occur.

2) I've only tested the WebAdmin and found it working. You're sure that your WebAdmin is configured and working correctly? If your chatlog web interface is working, you should have no problem getting the webadmin working too.

Edit) I have not tried HLSW so I can't say what is wrong. Do you know what method it uses to print a console message?
muukis is offline
krolus
Senior Member
Join Date: May 2009
Location: Russia, Omsk
Old 06-26-2009 , 04:44   Re: ChatLog v1.3.5 (Extended)
Reply With Quote #54

in tf2, SM build 1.3.0 console message is logging
krolus is offline
Derek
Senior Member
Join Date: Sep 2007
Old 06-26-2009 , 05:26   Re: ChatLog v1.3.5 (Extended)
Reply With Quote #55

Great, plugin. We are now using it. Thanks mate.
__________________
Derek
Owner
XFactorServers
Game Server Hosting
Derek is offline
AngryVag
Member
Join Date: Jun 2009
Old 06-26-2009 , 07:52   Re: ChatLog v1.3.5 (Extended)
Reply With Quote #56

Quote:
Originally Posted by muukis View Post
1) Have you tried the latest version 1.3.5? It does not solve the the issue that causes that hdatabase not set -error but it should take care of the spamming. That issue usually pops up on round start, when the hdatabase is not yet set and the the events start to occur.

2) I've only tested the WebAdmin and found it working. You're sure that your WebAdmin is configured and working correctly? If your chatlog web interface is working, you should have no problem getting the webadmin working too.

Edit) I have not tried HLSW so I can't say what is wrong. Do you know what method it uses to print a console message?
Erm... I said it IS working with WebAdmin but NOT working with the Web Interface. The plugin IS logging to the database because they pull from the same DB. It seems to be something with the jquery script or the php page itself. Running php 5.

Yes, I have the latest version. By spamming I don't mean constantly but even with it logging at round start, a day of the server running and it spams the logs.
__________________
AngryVag is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 06-26-2009 , 10:58   Re: ChatLog v1.3.5 (Extended)
Reply With Quote #57

Quote:
Originally Posted by AngryVag View Post
Erm... I said it IS working with WebAdmin but NOT working with the Web Interface. The plugin IS logging to the database because they pull from the same DB. It seems to be something with the jquery script or the php page itself. Running php 5.

Yes, I have the latest version. By spamming I don't mean constantly but even with it logging at round start, a day of the server running and it spams the logs.
Sorry... I misread your message

I'm sure you've configured the chatlogex php correctly?

My PHP version:
PHP 5.2.1 (cli) (built: Feb 7 2007 23:11:26)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies


I'm currently busy with other things but I have plans for fixing the database handle issue. I think I have to make a dynamic array for the messages when the handle is not set. There is probably a better solution for it, but since I know very little of Sourcemod, I don't know any. I could make a temp solution for the spamming: cvar to block error logging?
muukis is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 06-26-2009 , 21:47   Re: ChatLog v1.3.5 (Extended)
Reply With Quote #58

If you haven't already noticed... I'm pretty wasted. I hope i'll get things sorted out within the next week or so. Sorry for being an ass and all that. Just trying to... go with the flow...
muukis is offline
AngryVag
Member
Join Date: Jun 2009
Old 06-28-2009 , 16:11   Re: ChatLog v1.3.5 (Extended)
Reply With Quote #59

Quote:
Originally Posted by muukis View Post
If you haven't already noticed... I'm pretty wasted. I hope i'll get things sorted out within the next week or so. Sorry for being an ass and all that. Just trying to... go with the flow...
Hah! Been there, done that man. It's all good. Yeah php is setup correctly. No error messages, just a blank grey block where the text should be scrolling. As said before, the plugin is logging to the DB because WebAdmin picks it up just fine. Problem is, things in WA are for my eyes only ya dig? So I'd like a more public display. Thanks again
__________________
AngryVag is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 07-12-2009 , 17:35   Re: ChatLog v1.3.5 (Extended)
Reply With Quote #60

I modified this plugin to remove older logs on mapchange, to prevent the chatlog from getting ginormous and eating your database.

I also tweaked it to not connect to the database until after the config files have been read (this might also help with the database handle issue?).

I hope muukis will incorporate this new functionality into the official version.
Attached Files
File Type: sp Get Plugin or Get Source (chatlogex.sp - 341 views - 19.2 KB)

Last edited by naris; 07-15-2009 at 00:20. Reason: Doh! Fixed SQL error -- manual says DAYS, server wants DAY
naris is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode