L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Thread Closed 
 
Thread Rating:
  • 8 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
L2tower is sending ur database watch out
Author Message
kerberos464 Offline
Bug revealer

Posts: 1,539
Joined: Jun 2012
Reputation: 576
Version: 1.4.3.143
Post: #11
RE: L2tower is sending ur database watch out

(11-16-2012 19:08 PM)ClockMan Wrote:  
(11-16-2012 15:48 PM)kerberos464 Wrote:  my chat folder contains about 9500 files in about 29 gb... poor l2tower developers, they have to read all these =)
you can turn it off in logSettings.txt
of course, i will NOT turn it off Smile i like to analyze logs sometimes.
tell you more, i have created plugin to log chats according to my needs.

Everything is possible. The impossible just takes longer.
11-16-2012 20:03 PM
Visit this user's website Find all posts by this user
MtnDew Offline
VIP Member
***

Posts: 500
Joined: Mar 2012
Reputation: 110
Version: 1.4.2.141
Post: #12
RE: L2tower is sending ur database watch out

(11-16-2012 20:03 PM)kerberos464 Wrote:  of course, i will NOT turn it off Smile i like to analyze logs sometimes.
tell you more, i have created plugin to log chats according to my needs.

now you have me curious just what plugins are you running to get what kind of information?
(This post was last modified: 11-16-2012 23:22 PM by MtnDew.)
11-16-2012 23:22 PM
Find all posts by this user
kerberos464 Offline
Bug revealer

Posts: 1,539
Joined: Jun 2012
Reputation: 576
Version: 1.4.3.143
Post: #13
RE: L2tower is sending ur database watch out

(11-16-2012 23:22 PM)nadmaster101 Wrote:  
(11-16-2012 20:03 PM)kerberos464 Wrote:  of course, i will NOT turn it off Smile i like to analyze logs sometimes.
tell you more, i have created plugin to log chats according to my needs.

now you have me curious just what plugins are you running to get what kind of information?

for chat logging i use this one:

    LUA Programming
ChatTypesToSkip = {
--0, -- general (white)
1, -- shout
--2, -- pm
--3, -- party
8, -- trade
10, -- announcements
17, -- hero
22, -- npc
23 -- npc
}
 
LoginTime = os.date("%Y-%m-%d__%H-%M-%S")
 
function CheckIfInsideList(smsg,rmsglist)
for x,y in pairs(rmsglist) do
	if (y == smsg) then
 return true;
	end;
end;
return false;
end;
 
function OnChatUserMessage(chatType, nick, msg)
	if (CheckIfInsideList(chatType,ChatTypesToSkip) == false) then
 local file = io.open(GetDir() .. "_chat\\" .. LoginTime .. "__" .. GetMe():GetName() .. ".txt", "a")
 file:write(os.date("%Y-%m-%d %H:%M:%S") .. " | " .. chatType .. "\t| " .. nick .. "\t| " .. msg .. "\n");
 file:close();
	end;
end;


Everything is possible. The impossible just takes longer.
11-16-2012 23:26 PM
Visit this user's website Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Information When injecting L2tower freezes davidquinti 1 2,502 09-13-2019 15:46 PM
Last Post: tyrhones
  L2Tower on C2 blester83 0 1,898 10-29-2018 23:28 PM
Last Post: blester83
  L2tower work on classic L2? mhart35 0 5,678 08-06-2018 20:47 PM
Last Post: mhart35
  L2j server for L2Tower scripters tuxevil 0 2,532 07-23-2017 16:23 PM
Last Post: tuxevil
  Future of L2Tower Vinter 51 30,658 05-16-2017 02:58 AM
Last Post: Vinter
  L2Tower isn't working on Lineage II Mafia Shico 0 2,451 02-28-2017 18:56 PM
Last Post: Shico
  Disconnect when running l2tower after 5-10 minutes xBiker 2 3,140 02-25-2017 08:27 AM
Last Post: xBiker
Heart L2Tower don't work at Official Server L2Helios psychoticqueen 1 3,345 02-12-2017 03:11 AM
Last Post: TheQQmaster
  l2tower premium eBonics 0 5,949 11-01-2016 19:22 PM
Last Post: eBonics
  SIMPLE SHOUT SCRIPT L2TOWER wtfunoob2 1 2,735 07-07-2016 16:36 PM
Last Post: blaaam



User(s) browsing this thread: 1 Guest(s)