User contributions for Ryden
Jump to navigation
Jump to search
13 January 2008
- 18:2018:20, 13 January 2008 diff hist +1,937 N Modules/MTA-MySQL/mysql unbuffered query New page: __NOTOC__ Executes an unbuffered query in the server and retreives the result. '''IMPORTANT:''' It is '''strongly''' recommended to call [[Modules/MTA-MySQL/mysql_free_result|mysql_free_...
- 18:1118:11, 13 January 2008 diff hist 0 m Modules/MTA-MySQL/mysql query Changed "Important" to uppercase
- 18:1118:11, 13 January 2008 diff hist +1 Modules/MTA-MySQL/mysql query No edit summary
- 18:1018:10, 13 January 2008 diff hist +1,349 N Modules/MTA-MySQL/mysql query New page: __NOTOC__ Executes a query in the server and retreives the result. '''Important:''' It is '''strongly''' recommended to call mysql_free_result aft...
- 18:0018:00, 13 January 2008 diff hist +1,275 N Modules/MTA-MySQL/mysql insert id New page: __NOTOC__ Returns the value generated for an AUTO_INCREMENT field in the last query. For more information about when is this value updated visit http://dev.mysql.com/doc/refman/5.0/en/mys...
- 17:4917:49, 13 January 2008 diff hist +457 N Modules/MTA-MySQL/mysql info New page: __NOTOC__ Returns a string with information of the last executed query. For more information about the possible returned values please visit http://dev.mysql.com/doc/refman/5.0/en/mysql-i...
- 17:4717:47, 13 January 2008 diff hist +865 N Modules/MTA-MySQL/mysql hex string New page: __NOTOC__ Converts a string to an hexadecimal representation of it. It is useful to insert binary data in blob fields, or to retreive and show it in your resources. It doesn't append '0x' ...
- 17:4117:41, 13 January 2008 diff hist +576 N Modules/MTA-MySQL/mysql get server version New page: __NOTOC__ Returns a number that represents the MySQL server version in this format: major_version*10000 + minor_version *100 + sub_version For example, 5.0.12 is returned as 50012. This ...
- 17:3917:39, 13 January 2008 diff hist +343 N Modules/MTA-MySQL/mysql get server info New page: __NOTOC__ Returns a string that represents the server version number. ==Syntax== <syntaxhighlight lang="lua"> string mysql_get_server_info ( MySQLConnection handler ) </syntaxhighlight> ===Required arguments=== *...
- 17:3817:38, 13 January 2008 diff hist +357 N Modules/MTA-MySQL/mysql get proto info New page: __NOTOC__ Returns an integer representing the protocol version used by current connection. ==Syntax== <syntaxhighlight lang="lua"> int mysql_get_proto_info ( MySQLConnection handler ) </syntaxhighlight> ===Requir...
- 17:3717:37, 13 January 2008 diff hist +401 N Modules/MTA-MySQL/mysql get host info New page: __NOTOC__ Returns a string describing the type of connection in use, including the server hostname. ==Syntax== <syntaxhighlight lang="lua"> string mysql_get_host_info ( MySQLConnection handler ) </syntaxhighlight>...
- 17:2617:26, 13 January 2008 diff hist +470 N Modules/MTA-MySQL/mysql get client version New page: __NOTOC__ Returns an integer that represents the client library version. The value has the format XYYZZ where X is the major version, YY is the release level, and ZZ is the version number...
- 17:2517:25, 13 January 2008 diff hist +243 N Modules/MTA-MySQL/mysql get client info New page: __NOTOC__ Returns a string representing the client library version ==Syntax== <syntaxhighlight lang="lua"> string mysql_get_client_info ( ) </syntaxhighlight> ===Returns=== A string with the client library versio...
- 17:0417:04, 13 January 2008 diff hist +1,165 N Modules/MTA-MySQL/mysql get character set info New page: __NOTOC__ Retreives information about a character set ==Syntax== <syntaxhighlight lang="lua"> string, string, string, string, int, int mysql_get_character_set_info ( MySQLConnection handler, string char...
- 16:5416:54, 13 January 2008 diff hist +1,498 N Modules/MTA-MySQL/mysql change user New page: __NOTOC__ Changes the current MySQL session authentication. ==Syntax== <syntaxhighlight lang="lua"> bool mysql_change_user ( MySQLConnection handler, string new_username, string new_password [, string n...
- 16:4316:43, 13 January 2008 diff hist +800 N Modules/MTA-MySQL/mysql affected rows New page: __NOTOC__ Returns the number of changed rows (for UPDATE), inserted rows (for INSERT) or deleted rows (for DELETE) in the last query. For SELECT statements it works like [[Modules/MTA-MySQ...
- 16:3716:37, 13 January 2008 diff hist +14 Modules/MTA-MySQL/mysql escape string →Example
- 16:3616:36, 13 January 2008 diff hist +1,369 N Modules/MTA-MySQL/mysql escape string New page: __NOTOC__ Escapes a query string to avoid sql injection attacks. This function should be used for every executed query that uses any data given by the players. ==Syntax== <syntaxhighlight lang="lua"> st...
- 16:2616:26, 13 January 2008 diff hist +746 N Modules/MTA-MySQL/mysql select db New page: __NOTOC__ Changes the current default database. ==Syntax== <syntaxhighlight lang="lua"> bool mysql_select_db ( MySQLConnection handler, string database ) </syntaxhighlight> ===Required arguments=== * '''handler:''...
- 15:2815:28, 13 January 2008 diff hist +21 m Modules Added to the Modules category
- 15:0015:00, 13 January 2008 diff hist +982 N Modules/MTA-MySQL/mysql ping New page: __NOTOC__ Checks if the given MySQL connection is still alive. ==Syntax== <syntaxhighlight lang="lua"> bool mysql_ping ( MySQLConnection handler ) </syntaxhighlight> ===Required arguments=== * '''handler:''' A val...
- 14:5314:53, 13 January 2008 diff hist +68 Modules/MTA-MySQL/mysql errno →Example
- 14:5314:53, 13 January 2008 diff hist +35 m Modules/MTA-MySQL/mysql error →Example
- 14:5214:52, 13 January 2008 diff hist +802 N Modules/MTA-MySQL/mysql error New page: __NOTOC__ Returns the last error string of a MySQL connection. ==Syntax== <syntaxhighlight lang="lua"> string mysql_error ( MySQLConnection handler ) </syntaxhighlight> ===Required arguments=== * '''handler:''' A ...
- 14:5014:50, 13 January 2008 diff hist +4 m Modules/MTA-MySQL/mysql errno Added the return value type
- 14:4914:49, 13 January 2008 diff hist −2 Modules/MTA-MySQL/mysql errno No edit summary
- 14:4814:48, 13 January 2008 diff hist +788 N Modules/MTA-MySQL/mysql errno New page: __NOTOC__ Returns the last error number of a MySQL connection. ==Syntax== <syntaxhighlight lang="lua"> mysql_errno ( MySQLConnection handler ) </syntaxhighlight> ===Required arguments=== * '''handler:''' A valid M...
- 14:4214:42, 13 January 2008 diff hist +16 Modules/MTA-MySQL/mysql close No edit summary
- 14:4214:42, 13 January 2008 diff hist +8 m Modules/MTA-MySQL/mysql connect No edit summary
- 14:2914:29, 13 January 2008 diff hist +663 N Modules/MTA-MySQL/mysql close New page: __NOTOC__ Closes an established connection to a MySQL server. ==Syntax== <syntaxhighlight lang="lua"> mysql_close ( handler ) </syntaxhighlight> ===Required arguments=== * '''handler:''' A valid MySQL link ===Ret...
- 14:1614:16, 13 January 2008 diff hist +10 m Modules/MTA-MySQL/mysql connect Removed table of contents
- 14:1514:15, 13 January 2008 diff hist +2,241 N Modules/MTA-MySQL/mysql connect New page: Makes a connection to a MySQL server and returns a handler to it. ==Syntax== <syntaxhighlight lang="lua"> handler mysql_connect ( string hostname, string username, string password, string database, [ in...
- 13:4813:48, 13 January 2008 diff hist +635 N Modules New page: Modules are extensions for MTA's lua to provide new external functions that aren't available in the self core. All modules listed here are not included with the MTA distributions and if yo...
- 13:3913:39, 13 January 2008 diff hist +1,192 N Modules/MTA-MySQL New page: {{Module_Info| name = MTA MySQL | version = 0.1 | author = Alberto Alonso | module_website = ''Not available'' | download_link = [http://...
- 13:1213:12, 13 January 2008 diff hist +89 Template:Module Info Added version field
- 13:1113:11, 13 January 2008 diff hist +903 N Template:Modules/MTA-MySQL/Result functions New page: * mysql_data_seek * mysql_fetch_field * mysql_fields * [[Modules/MTA-MySQL/...
- 13:0713:07, 13 January 2008 diff hist +1,441 N Template:Modules/MTA-MySQL/Handler functions New page: * mysql_connect * mysql_close * mysql_errno * [[Modules/MTA-MySQL/mysql_error|mysql_... current
- 12:5712:57, 13 January 2008 diff hist +22 m Modules/MySQL Added the category Modules
- 12:5412:54, 13 January 2008 diff hist +60 N Category:Modules New page: Here you have a complete list of the MTA third-party modules
- 12:4512:45, 13 January 2008 diff hist +724 N Template:Module Info New page: {| style="float: right; border: 1px solid black; border-collapse: collapse; width: 300px" |- style="font-weight: bold; font-style: italic; background-color: #9DC5FF; padding: 0px; text-ali...
- 12:4312:43, 13 January 2008 diff hist +24 N User:Alberto Alonso New page: Page still not available
8 January 2008
- 01:0801:08, 8 January 2008 diff hist +4 m OnPlayerDamage Added link to onClientPlayerDamage in the notes