Raised This Month: $ Target: $400
 0% 

ChatLog v1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Meow Mix
Member
Join Date: Mar 2009
Old 03-17-2009 , 23:11   Re: ChatLog v1.2
Reply With Quote #21

Would everyone (Authors of this script) mind if I made an addition to this script, where a popup (Not really a popup, but a popup inside the web page, not an additional window/tab) would be displayed, and you being able to chat with the servers you are logging?

Sorry if that doesn't make sense, I don't really know how to explain it.
Meow Mix is offline
Nephyrin
SourceMod Donor
Join Date: Mar 2008
Old 03-17-2009 , 23:13   Re: ChatLog v1.2
Reply With Quote #22

Go for it, if it works well i'd be happy to include it in the post
Nephyrin is offline
Chris-_-
SourceMod Donor
Join Date: Oct 2008
Old 03-18-2009 , 11:02   Re: ChatLog v1.2
Reply With Quote #23

Cool, i'm looking forward for something like that, except that it might be used for spamming if it's public.
Chris-_- is offline
Hex.
SourceMod Donor
Join Date: Feb 2009
Old 03-18-2009 , 13:21   Re: ChatLog v1.2
Reply With Quote #24

How long does it record for?
Hex. is offline
Meow Mix
Member
Join Date: Mar 2009
Old 03-18-2009 , 16:01   Re: ChatLog v1.2
Reply With Quote #25

Quote:
Originally Posted by Chris-_- View Post
Cool, i'm looking forward for something like that, except that it might be used for spamming if it's public.
My intent was to make it authenticated, I'm going to start creating it sometime tonight, I will most likely be done by tomorrow if all goes well.

Quote:
Originally Posted by Hex. View Post
How long does it record for?
You define how many rows of chat you would like to display, if that is what you're asking.
Meow Mix is offline
rodregis
Member
Join Date: Dec 2007
Location: AU
Old 03-23-2009 , 04:01   Re: ChatLog v1.2
Reply With Quote #26

Is there any update on being able to set the max rows for this?

EDIT: Whooops. I should have tried chaging the obvious first line of code.

// How many lines of chat we should display to start.

Last edited by rodregis; 04-07-2009 at 05:50.
rodregis is offline
anon666
Member
Join Date: Apr 2009
Location: south east asia
Old 04-21-2009 , 04:20   Re: ChatLog v1.2
Reply With Quote #27

Quote:
Originally Posted by Meow Mix View Post
My intent was to make it authenticated, I'm going to start creating it sometime tonight, I will most likely be done by tomorrow if all goes well.
I have came across http://ruckman.net/blog/download.php?view.4. It is basically an RCON panel and I think it can improved to include captcha or other authentication methods to prevent spamming. At the moment, I managed to modify the codes from the package to have a basic chat panel (without authentication at all, and using the hardcoded IP/PASS in the php).
anon666 is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 04-22-2009 , 09:16   Re: ChatLog v1.2
Reply With Quote #28

You'll see a lot of question marks in chat if people are talking with other languages, unless you tell the DB first what type of data you are querying for... I did a little changes to the PHP to get things right.

Right under this line (line 65):
Code:
@mysql_select_db($DB_DATABASE) or die("MySQL Failure: " . mysql_error());
I added this:
Code:
mysql_query('SET NAMES utf8', $SQL) or die("MySQL Failure: " . mysql_error());
Also modified the CSS body tag:
Code:
body
{
   background-color: #333;
   font-family: verdana, arial;
   font-size: 12px;
}
muukis is offline
Chris-_-
SourceMod Donor
Join Date: Oct 2008
Old 04-22-2009 , 12:02   Re: ChatLog v1.2
Reply With Quote #29

Cheers muukis.
Chris-_- is offline
anon666
Member
Join Date: Apr 2009
Location: south east asia
Old 04-24-2009 , 11:44   Re: ChatLog v1.2
Reply With Quote #30

Previously, the plugin was working fine. However just now after I force-shutdown my server, these lines appeared and no chats from console were logged anymore. This happens when I use a console to say when the server was first initialised (after mapload & cfg exec, no players connected). If a player says something, things will go back to normal and console say commands are logged again.

Mod = L4D. I dont know whether this is related to the latest patch today or because of the server was accidentally forced-shutdown, thus corrupting some files.

Code:
[SM] Native "SQL_EscapeString" reported: Invalid database Handle 0 (error:4)
[SM] Displaying call stack trace for plugin "chatlog.smx":
[SM] [0] Line 144, /home/groups/sourcemod/upload_tmp//phptew5hR.sp::logSomeTextYo()
[SM] [1] Line 86, /home/groups/sourcemod/upload_tmp/phptew5hR.sp::Event_PlayerChat()
anon666 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 01:11.


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