16.07.2007, 15:41
(
Last edited by dugi; 04/07/2010 at 12:37 PM.
)
First of all, i just wanna precise some things about MySQL, licenses and this plugin:
- MySQL allows developpers to dev and distribute application freely using their API only if: it not includes the database engine and it's just a connector to the database.
- If you want to dev something like this, you must ask authorization and make your plugin opensource.
- In my case, i have a writen autorization of MySQL to distribute a plugin for SAMP.
- The following plugin is free to use.
- You are free to use it in your gamemodes, filterscripts or plugins.
Official Plugin Page is here
SAMP-MySQL v0.15 PAWN KIT includes PAWN .inc file (to be placed in "include" dir in pawno dir) and .pwn example file.
File size: 1.55kb
Download links:
SAMP-MySQL v0.15 Windows includes sourcecode, .dll file (windows plugin) ans libmysql.dll (place in the folder of the executable of samp server.
File size: 514kb
Download links: SAMP-MySQL v0.15 Ubuntu includes Linux .so file, libmysqlclient.so for Ubuntu and source.
File size: 895 kb
Download links: SAMP-MySQL v0.15 CentOS includes Linux .so file, libmysqlclient.so for CentOS and source.
File size: 895 kb
Download links: [u]Future Development:
[u]New Features:
[u]Implemented functions:
All your suggestions, about new features or getting better this project, are very pleased...
- MySQL allows developpers to dev and distribute application freely using their API only if: it not includes the database engine and it's just a connector to the database.
- If you want to dev something like this, you must ask authorization and make your plugin opensource.
- In my case, i have a writen autorization of MySQL to distribute a plugin for SAMP.
- The following plugin is free to use.
- You are free to use it in your gamemodes, filterscripts or plugins.
Official Plugin Page is here
SAMP-MySQL v0.15 PAWN KIT includes PAWN .inc file (to be placed in "include" dir in pawno dir) and .pwn example file.
File size: 1.55kb
Download links:
SAMP-MySQL v0.15 Windows includes sourcecode, .dll file (windows plugin) ans libmysql.dll (place in the folder of the executable of samp server.
File size: 514kb
Download links: SAMP-MySQL v0.15 Ubuntu includes Linux .so file, libmysqlclient.so for Ubuntu and source.
File size: 895 kb
Download links: SAMP-MySQL v0.15 CentOS includes Linux .so file, libmysqlclient.so for CentOS and source.
File size: 895 kb
Download links: [u]Future Development:
- samp_mysql_next_field(): to access the next field when fetching data.
- samp_mysql_affected_rows(): to get the number of affected rows by a query.
- samp_mysql_debug(): to enable/disable debug mode.
- samp_mysql_get_field_num(): to get the field value with its index => index 0 for the first field and so on.
[u]New Features:
- SA:MP 0.3 supported
- Memory deallocation: plugin is optimized to free memory correctly.
[u]Implemented functions:
- samp_mysql_connect()
- samp_mysql_select_db()
- samp_mysql_query()
- samp_mysql_store_result()
- samp_mysql_fetch_row()
- samp_mysql_get_field()
- samp_mysql_num_rows()
- samp_mysql_num_fields()
- samp_mysql_strtok()
- samp_mysql_ping()
- samp_mysql_real_escape_string()
- samp_mysql_free_result() => DON'T USE IT, IT WILL CRASH YOUR SERVER !!!
- samp_mysql_close()
All your suggestions, about new features or getting better this project, are very pleased...