SA-MP Forums

Go Back   SA-MP Forums > Other > Everything and Nothing

Reply
 
Thread Tools Display Modes
Old 30/03/2011, 01:20 AM   #1
Rokzlive
Gangsta
 
Rokzlive's Avatar
 
Join Date: Aug 2010
Location: Winder, GA USA
Posts: 566
Reputation: 11
Default SAMP Realtime Server Logs

I want to know a few things.

How do i view the server logs of my server (which is hosted by serverffs) in real time in a php panel ive already made?

How do i add a rcon panel that exucutes rcon commands in real time into my panel. (I need one like already made)

Thx
__________________
================================
Nickolas C Shaffer
Hobbiest Pawn Coder
================================
Rokzlive is offline   Reply With Quote
Old 30/03/2011, 01:11 PM   #2
__
Huge Clucker
 
__'s Avatar
 
Join Date: Nov 2010
Location: London, UK
Posts: 240
Reputation: 17
Default Re: SAMP Realtime Server Logs

1) You can't, without a complex cURL function
2) Search, there's hundreds of released "rcon panels."
__ is offline   Reply With Quote
Old 30/03/2011, 05:36 PM   #3
WackoX
Gangsta
 
WackoX's Avatar
 
Join Date: Feb 2011
Location: Amsterdam, Holland
Posts: 561
Reputation: 61
Default Re: SAMP Realtime Server Logs

You can also make it by yourself, this is what you need:

* MySQL
* Update MySQL every time someone talks, does a command, etc.
* Make Ajax script that reads live the MySQL logs.
__________________
WackoX is offline   Reply With Quote
Old 30/03/2011, 07:18 PM   #4
Rokzlive
Gangsta
 
Rokzlive's Avatar
 
Join Date: Aug 2010
Location: Winder, GA USA
Posts: 566
Reputation: 11
Default Re: SAMP Realtime Server Logs

Quote:
Originally Posted by WackoX View Post
You can also make it by yourself, this is what you need:

* MySQL
* Update MySQL every time someone talks, does a command, etc.
* Make Ajax script that reads live the MySQL logs.
Thats to easy i want a challenge And besides the mysql would HATE me xD
__________________
================================
Nickolas C Shaffer
Hobbiest Pawn Coder
================================
Rokzlive is offline   Reply With Quote
Old 31/03/2011, 05:53 AM   #5
DirtyLilFreak
High-roller
 
DirtyLilFreak's Avatar
 
Join Date: Aug 2010
Location: http://localhost Status: Active
Posts: 1,065
Reputation: 40
Default Re: SAMP Realtime Server Logs

are you looking for something like what serverffs has? Like the logs in real time?
__________________

Underground GFX
Hmm Still got an Game-MP account what can I possibly do with it?
DirtyLilFreak is offline   Reply With Quote
Old 02/04/2011, 02:43 PM   #6
Rokzlive
Gangsta
 
Rokzlive's Avatar
 
Join Date: Aug 2010
Location: Winder, GA USA
Posts: 566
Reputation: 11
Default Re: SAMP Realtime Server Logs

Yes
__________________
================================
Nickolas C Shaffer
Hobbiest Pawn Coder
================================
Rokzlive is offline   Reply With Quote
Old 02/04/2011, 02:50 PM   #7
iLinx
High-roller
 
Join Date: Jun 2009
Location: Toronto
Posts: 1,521
Reputation: 155
Default Re: SAMP Realtime Server Logs

Quote:
Originally Posted by WackoX View Post
You can also make it by yourself, this is what you need:

* MySQL
* Update MySQL every time someone talks, does a command, etc.
* Make Ajax script that reads live the MySQL logs.
That's too complicated if your script doesn't use MySQL, if you don't want to use MySQL you can write an AJAX script to read the last lines of the log (say 100) every 20-30 seconds. Then create a PHP script (and run it as a cronjob every minute) to retrieve a copy of the server log from the server via FTP.

There would be a delay of ~1 minute with the log. If you use MySQL, you can make it almost real-time, assuming that you can remote connect to your MySQL DB (also using AJAX).
iLinx is offline   Reply With Quote
Old 02/04/2011, 02:56 PM   #8
Mark_Weston
High-roller
 
Mark_Weston's Avatar
 
Join Date: Aug 2010
Location: Winnipeg, Manitoba, Canada
Posts: 1,026
Reputation: 66
Default Re: SAMP Realtime Server Logs

PHP and FTP? That what I use.
__________________

Ryan Frankenberger,
Founder and Community Director,
Instant Gaming.
[Roleplay, Flying, Trucking Servers & more coming soon.]
__________________________________________________
Mark_Weston is offline   Reply With Quote
Old 02/04/2011, 05:17 PM   #9
Rokzlive
Gangsta
 
Rokzlive's Avatar
 
Join Date: Aug 2010
Location: Winder, GA USA
Posts: 566
Reputation: 11
Default Re: SAMP Realtime Server Logs

Ive never tried php and ftp, can you maybe show me how?
__________________
================================
Nickolas C Shaffer
Hobbiest Pawn Coder
================================
Rokzlive is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] How to make simple logs for your server. Face9000 Tutorials 15 20/02/2011 04:45 AM
Unreadable server logs sanderth Server Support 9 07/11/2010 02:49 PM
Server Logs & MySQL RealCop228 Help Archive 12 04/09/2010 05:31 PM
[Question]Where is the server logs? turret001 Client Support 0 03/05/2010 06:24 PM
How to hide admin and server logs in the chat!! DualDier12 Server Support 1 17/10/2009 12:04 AM


All times are GMT. The time now is 08:43 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.