Raised This Month: $399 Target: $400
 99%   Almost there!

[Any] Save player chat to file V1.2.1


Post New Thread Reply   
 
Thread Tools Display Modes
citkabuto
Junior Member
Join Date: Dec 2009
Old 04-12-2010 , 11:30   Re: [Any] Save player chat to file V1.2.1
Reply With Quote #31

I've been told that, because of the way Garry's Mod handles team names, the GetTeamName() function will often fail.
Unfortunately, there's no nice way of catching this as the API function doesn't return any success/error code.

The only fix would be to check if the current game is Garry's Mod and to disable the GetTeamName() call.
citkabuto is offline
cameltoe Joe
Member
Join Date: Nov 2010
Old 01-15-2011 , 20:44   Re: [Any] Save player chat to file V1.2.1
Reply With Quote #32

groovy saves me trailing through count;less logs to fin what i need
__________________
A man is not old until reality takes the place of is dreams... I just keep dreaming

{ASBO}Gaming
cameltoe Joe is offline
cameltoe Joe
Member
Join Date: Nov 2010
Old 03-14-2011 , 12:32   Re: [Any] Save player chat to file V1.2.1
Reply With Quote #33

Hi could you tell me what the problem is I have been using this flawlessly for some time and now i am getting these errors

Code:
L 03/13/2011 - 18:43:09: [SM] Displaying call stack trace for plugin "savechat.smx":
L 03/13/2011 - 18:43:09: [SM]   [0]  Line 206, /home/groups/alliedmodders/forums/files/6/6/0/9/4/58542.attach::SaveMessage()
L 03/13/2011 - 18:43:09: [SM]   [1]  Line 172, /home/groups/alliedmodders/forums/files/6/6/0/9/4/58542.attach::LogChat()
L 03/13/2011 - 18:43:09: [SM]   [2]  Line 73, /home/groups/alliedmodders/forums/files/6/6/0/9/4/58542.attach::Command_Say()
L 03/14/2011 - 13:52:58: SourceMod error session started
***UPDATE****
Seems to have cleared itself
all running aok
keep up the good work
__________________
A man is not old until reality takes the place of is dreams... I just keep dreaming

{ASBO}Gaming

Last edited by cameltoe Joe; 03-15-2011 at 14:20.
cameltoe Joe is offline
sipster19
Senior Member
Join Date: Mar 2011
Old 08-28-2011 , 02:50   Re: [Any] Save player chat to file V1.2.1
Reply With Quote #34

I have been using this plugin for a while and I wanted to say it works great. Thanks you citkabuto.
sipster19 is offline
niask1
Junior Member
Join Date: Dec 2010
Location: Kaluga, Russia
Old 08-30-2011 , 10:56   Re: [Any] Save player chat to file V1.2.1
Reply With Quote #35

L4D2 server. sm_record_detail convar doesn't work
Code:
18:52:43 sm_record_detail
18:52:43 Unknown command "sm_record_detail"
Code:
18:53:30 sm plugins list
18:53:30 [SM] Listing 29 plugins:
           ...
           12 "SaveChat" (SaveChat_1.2.1) by citkabuto
           ...
niask1 is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 09-25-2012 , 17:33   Re: [Any] Save player chat to file V1.2.1
Reply With Quote #36

Hello,

The plugin has worked well so far (about 1 month) and it gives me this error:

Quote:
L 09/25/2012 - 22:43:22: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 09/25/2012 - 22:43:22: [SM] Native "WriteFileLine" reported: String formatted incorrectly - parameter 3 (total 2)
L 09/25/2012 - 22:43:22: [SM] Displaying call stack trace for plugin "savechat.smx":
L 09/25/2012 - 22:43:22: [SM] [0] Line 206, F:\SRCDS\l4d2\left4dead2\left4dead2\addons\so urcemod\scripting\savechat.sp::SaveMessage()
L 09/25/2012 - 22:43:22: [SM] [1] Line 172, F:\SRCDS\l4d2\left4dead2\left4dead2\addons\so urcemod\scripting\savechat.sp::LogChat()
L 09/25/2012 - 22:43:22: [SM] [2] Line 82, F:\SRCDS\l4d2\left4dead2\left4dead2\addons\so urcemod\scripting\savechat.sp::Command_SayTea m()
Cordialy
eric0279 is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 06-17-2014 , 12:44   Re: [Any] Save player chat to file V1.2.1
Reply With Quote #37

would be nice to include STEAMID for each chatline so you can identify the person who wrote it. Also MysQL support would be nice.

Normal:
[19:21:51] [ SE ] [TERRORIST ] Mr0z!k[AkMaster] : hey

With STEAMID:
[19:21:51] [ SE ] [TERRORIST ] (STEAM_1:03346144 | 89.162.119.20) Mr0z!k[AkMaster] : hey
Ejziponken is offline
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 06-17-2014 , 13:08   Re: [Any] Save player chat to file V1.2.1
Reply With Quote #38

With MySQL Support try the following. Although this Plugin is MySQL / Webpanel only, it doesn't create file logs on the Server.

https://forums.alliedmods.net/showthread.php?t=91331

The Plugin version attached to the first post creates errors, so I'd use this Version.

https://forums.alliedmods.net/showpo...&postcount=136

Only take the Webpanel from the first post. Works fine for me in INSURGENCY.
Wolfseye is offline
Send a message via Skype™ to Wolfseye
kills
AlliedModders Donor
Join Date: Sep 2008
Location: ROU
Old 05-11-2016 , 12:46   Re: [Any] Save player chat to file V1.2.1
Reply With Quote #39

/home/groups/sourcemod/upload_tmp/php3Us2n4.sp(101) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
kills is offline
Ethorbit
Member
Join Date: Sep 2016
Location: Portland Oregon
Old 07-03-2017 , 17:05   Re: [Any] Save player chat to file V1.2.1
Reply With Quote #40

I love this addon and so I made a few modifications and added 2 new features.
1. Player disconnects are logged
2. All player console commands are logged, ones that are console commands have [COMMAND]: behind the commands and chat messages are in the same format as before.

Both require sc_record_detail to be set on 1.

Source file:
https://depositfiles.com/files/lgglwhm9z

Compiled file:
https://depositfiles.com/files/iiym0g2g6

I don't like deposit files at all, but we can't reply to posts with our own uploaded files and I know that I will never use deposit files again, so these uploads should be up forever.

Last edited by Ethorbit; 07-03-2017 at 17:06.
Ethorbit is offline
Reply


Thread Tools
Display Modes

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 03:36.


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