|
|
#1 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Sep 2007
Posts: 210
Reputation: 237
|
MySQL Plugin 27/01/2013: Due to a lack of time, as well as interest, I have decided to open a google project site. I have removed the download links some days ago, because I was thinking about a good solution of how to let this plugin "alive". I would appreciate if some scripters/developers out there are going to continue the project with new features or important bug fixes. Some people seem to face bugs and crashes all the time, while others have been using it for ages without any problems. I have to mention that I'm not going to update the download links (for newer versions) in this thread, because the google project site will be the new placeholder. Once again, anyone is welcome to work on this plugin. If anyone is interested in working or rather continuing the plugin, feel free to contact me via google or the SA-MP forums and I will be able to add you as a contributor/committer on the project site. You will find downloads for R5-R7 below. BlueG How to install: Move mysql.dll (windows) or mysql.so (linux) to your 'plugins/' directory. On windows you'll have to download the mysql library (libmysql.dll, see downloads) and move it to your main server directory. The server configuration (server.cfg) has to be edited aswell.
PAWN Scripting: (a_mysql.inc)
Compiling Notes:
Downloads: (for newer updates, use the google project site above!) NOTE: DON'T USE VERSION R7 OR ABOVE IF YOU HAVE NO IDEA WHAT THREADING MEANS OR HOW IT WORKS. YOU MIGHT HARM YOUR SERVER WHEN USING IT NOT PROPERLY.
Thanks to:
If you have any questions, post them here!
Last edited by BlueG; 28/01/2013 at 09:32 AM. |
|
|
|
|
|
#2 |
|
Banned
![]() Join Date: Apr 2007
Location: Republic of Ireland
Posts: 4,307
Reputation: 350
|
Good job GStylezzz
|
|
|
|
|
|
#3 |
|
Little Clucker
![]() Join Date: May 2006
Posts: 41
Reputation: 2
|
Need something better to get values. It would be great to have mysql_get_field() or c_strtok() like in [RAZ]ADreNaLiNe-DJ plugin are.
|
|
|
|
|
|
#4 | |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Sep 2007
Posts: 210
Reputation: 237
|
Quote:
row1 row2 row3 Now you can just use strtok to split it in tokens.Also 'mysql_get_field' is probably a good idea for the next version. |
|
|
|
|
|
|
#5 |
|
Little Clucker
![]() Join Date: May 2006
Posts: 41
Reputation: 2
|
I know strtok function in PAWN, but in C i think it will be faster?
|
|
|
|
|
|
#6 |
|
Little Clucker
![]() Join Date: Jan 2008
Posts: 34
Reputation: 2
|
hey
does the memory deallocation work here correctly? |
|
|
|
|
|
#7 |
|
Big Clucker
![]() ![]() Join Date: Oct 2007
Posts: 178
Reputation: 2
|
I think so. The code is much cleaner here and I hadn't any problems with this plugin on Debian 4.0 ETCH.
|
|
|
|
|
|
#8 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jul 2008
Posts: 913
Reputation: 52
|
Somebody is finally adding some more stuff to mysql, great job!
|
|
|
|
|
|
#9 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2008
Posts: 1,070
Reputation: 8
|
Do I have to know PHP to make a page that shows user stats online?
|
|
|
|
|
|
#10 | |
|
Banned
![]() Join Date: Apr 2007
Location: Republic of Ireland
Posts: 4,307
Reputation: 350
|
Quote:
Last edited by JaTochNietDan; 23/07/2011 at 04:27 AM. |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mysql Error using the Mysql 2.1.1 Plugin | yvoms | Scripting Help | 1 | 31/05/2012 02:10 PM |
| MySQL Plugin R5 plugin problem | dud | Scripting Help | 12 | 05/12/2011 06:28 PM |
| Strikens Mysql vs BlueG's Mysql plugin | PrawkC | Scripting Help | 4 | 30/09/2011 10:30 AM |
| [help][plugin] Can't load mysql plugin | mariomako | Help Archive | 8 | 16/07/2011 02:37 PM |
| mysql plugin. loading plugin failed | ikkentim | Help Archive | 2 | 10/02/2011 02:32 PM |