Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssMySQL Server Logs (mysql server logs)

Category:script
Author(s):xXMADEXx
Downloads:1793
Rate:You need to be logged in to vote
Rating:2.5 (11 Votes)
Description:
Hello everyone, today im releasing my MySQL server logs. This resource is good for big servers, so they don't have to download the default MTA logging system files.

-------------------------------
-- Exports
-------------------------------
If you have version 1.0.0, first of all, you need to update it. The export for version 1.0.0 only is only supported on the server side. The export syntax for 1.0.0 is:
exports["resourcename"]:outputServerLogDB("Your Text")

If you have versions 1.1.0 or higher, the export is supported on the server side and client side. There is a different syntax:

exports["resourceName"]:outputServerLogDB("Your Text", "Type")

"Type" is what will save to the "Type" colum in the MySQL database.


-------------------------------
-- News and Updates
-------------------------------
1.4 - Haves A GUI Bug, Fixed In 1.5
1.5 - Fixed GUI Bug, Made Connection into "dbconnect.xml"
1.6 - Added "Database Configuraton" panel.

-------------------------------
-- Viewing Your Logs
-------------------------------
In versions 1.0.0 - 1.2.0 there is only one way to view your log, and that is through PHPMyAdmin.
In versions 1.4.0 + there are two default ways to view your logs:
- PHPMyAdmin
- Ingame log viewer (A little bugged in 1.4.0, but fixed in 1.5.0)


-------------------------------------
-- Connecting Your Database
-------------------------------------
If you have version 1.4.0 your will need to edit server.lua. If you have version 1.5.0 or higher, you simply need to just edit the xml file, dbconnection.xml, they're both very easy to setup, and noob friendly.
Now, in 1.6.0, i have added a database configuration panel. You can see an image of it in the resource images. You can use "/connectdb" to open the configuration panel.


-------------------------------
-- Known Bugs
-------------------------------
1.5.0-1.6.0 - Command bug, use /viewlogs

-------------------------------
-- Uncompiled Version
-------------------------------
Download this script, uncompiled on my website:
http://roscripts.netau.net/
...

(more)

Download latest version | Report

Version history

Version Publish Date Changes
1.6.0 2013-04-28 08:53:27 Added database configuration. Download
1.5.0 2013-04-28 02:13:51 Added connection to an XML file + compiled scripts. Download
1.4.0 2013-04-27 20:56:06 Download
1.1.0 2013-04-27 01:15:55 Added client, and type. Download
1.0.0 2013-04-26 01:01:54 First public release Download