You are here: Big Brother Bot ForumAdd-OnsEchelonChatlogger, Echelon, and Databases
Pages: [1] 2   Go Down
  Print  
Author Topic: Chatlogger, Echelon, and Databases  (Read 1713 times) Bookmark and Share
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2625
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« on: August 31, 2011, 06:23:31 AM »

Hi all,
Have a client who has a weird issue. He has chatlogger installed on his bot and can view his chat in Echelon. All is fine there, you type, and it shows up on the spot. The issues is if you manually look at the database, in the chatlog table, you will not see the latest chat. You will see older chat (approx 600 or so lines), but not the latest chat.

I thought echelon pulled the chat from the database, so how is it possible the echelon shows the correct chat and if looking at the database you see only older chat?

Let me know what you need to look into this issue. Screens, URLs, MySQL details, whatever.

Thanks!
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3

Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #1 on: August 31, 2011, 07:53:30 AM »

I think you must be looking two different places or with some strange view of the correct table, Echelon can only get its data from what is in the tables
Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2625
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #2 on: August 31, 2011, 08:49:22 AM »

I think you must be looking two different places or with some strange view of the correct table, Echelon can only get its data from what is in the tables
I would say the same as you just did. Except I have triple checked and am in shock - because I see this too. Is it OK if I send you a message with info to log into echelon, ftp where it is stored (for the config file) and phpmyadmin?
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3483
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: August 31, 2011, 11:21:30 AM »

have you played with the sort feature of phpmyadmin ? you might have phpmyadmin show from the oldest to newest instead of from the newest to oldest.
Logged

Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 55
Offline Offline
WWW
« Reply #4 on: August 31, 2011, 11:32:19 AM »

Try:
select * from chatlog order by msg_time desc limit 10;
This shows you the last 10 messages
Logged

Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #5 on: August 31, 2011, 12:08:46 PM »

I would say the same as you just did. Except I have triple checked and am in shock - because I see this too. Is it OK if I send you a message with info to log into echelon, ftp where it is stored (for the config file) and phpmyadmin?

Yes, I'll take a look
Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2625
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #6 on: August 31, 2011, 01:34:19 PM »

have you played with the sort feature of phpmyadmin ? you might have phpmyadmin show from the oldest to newest instead of from the newest to oldest.
I have never used the sort feature.

Try:
select * from chatlog order by msg_time desc limit 10;
This shows you the last 10 messages

I will try this next - thanks

Yes, I'll take a look
You haz message. Thanks!
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #7 on: August 31, 2011, 02:30:47 PM »

It's in some strange order, if you change sort from none to Primary(Descending) you will see it in reverse (newest first) order
Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2625
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #8 on: August 31, 2011, 04:36:06 PM »

It's in some strange order, if you change sort from none to Primary(Descending) you will see it in reverse (newest first) order
Hmm, that is weird. Any idea why I need to do that for this database? I can give you access to another one that works fine as is.
I never set sorting either...
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #9 on: August 31, 2011, 06:34:18 PM »

Hmm, that is weird. Any idea why I need to do that for this database? I can give you access to another one that works fine as is.
I never set sorting either...

The only thing that I can think of is that records have been deleted from the table, and then they get filled in as needed. Not sure if that is how mysql works, but that is one guess.
Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2625
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #10 on: September 01, 2011, 11:52:24 AM »

I have passed the info onto the client and asked him if he deleted rows in the table.
Thank you for looking at this, if you want a personal donation (to you) just send me a address.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #11 on: September 01, 2011, 12:42:20 PM »

This ones a freebie Mordy!  Grin
Logged
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD 4 , COD 6
Posts: 154
Offline Offline
« Reply #12 on: December 11, 2011, 02:06:59 PM »

What about if you can see all the chat, and you can type back into echelon and see it come up in echelon, but it does not come up in game?
Logged
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: UrT
Posts: 198
Offline Offline
WWW
« Reply #13 on: December 11, 2011, 03:53:18 PM »

Is the rcon address/port set up right? And last I looked not all RCON protocols were supported from echelon. What game type are you trying to talk back to?
Logged

Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD 4 , COD 6
Posts: 154
Offline Offline
« Reply #14 on: December 11, 2011, 04:47:20 PM »

COD4 and MW2

The mw2's run from home, the cod4 from a gameserver company

this is what all the echelon files say for all servers  "rcon_ip" => "127.0.0.1",
« Last Edit: December 11, 2011, 04:59:48 PM by setman » Logged
Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal