SA-MP Forums Archive
[Plugin] [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... (/showthread.php?tid=7106)

Pages: 1 2 3 4 5 6


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Mlody626 - 26.05.2010

I have a problem with excessive memory usage by the plugin. For example, when downloading a player statistics memory usage continues to grow, and after several hours by the server memory footprint is over 200 MB.

In this way, downloading the data:

Quote:

new string [128];
new dest [256];

for (new x = 0, x <500, x + +) (

format (string, sizeof (string), "SELECT Pass FROM Players WHERE Nick = 'Mlody626'");
mysql_query (string);
mysql_store_result (ConID);
mysql_fetch_row_format (dest, "|");

print (dest);

)

I'm doing something wrong or something else we need to do to the memory consumption does not grow indefinitely?
Please help

Sorry, accidentally double-post I wrote



Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Burridge - 26.05.2010

Mlody626; I suggest using another MySQL plugin, this one is old, outdated, and not even supported anymore.


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Mlody626 - 26.05.2010

Which plugin you recommend? I used Ethan's plugin but it did not work too well on Linux


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Burridge - 26.05.2010

Then try using G-sTyLeZzZ's. I find his to be quite similar to this one, but coded better, and more optimized. Plus it's updated regularly.


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - nemesis- - 26.05.2010

Go with GStylez plugin. Stricken's has stability issues.


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - StrickenKid - 26.05.2010

Quote:
Originally Posted by Mlody626
Which plugin you recommend? I used Ethan's plugin but it did not work too well on Linux
I admit I'm not very familiar with Linux, mostly because I've never used it before...

But, that's why I ask for feedback... If you're having problems with the plugin on Linux, post a reply giving me some information, and I will do my best to work on it.

-Ethan


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - gcw - 21.06.2010

Is this Plugin for Debian Servers too?


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Sergei - 21.06.2010

I suggest you to not use this plugin. Last update was made more than 8 months ago and still it has plenty of bugs.


Respuesta: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - DarkChildren - 10.07.2010

Wow... this is going to be very handy indeed.

Cheers. xD!!!


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Ernis456 - 12.07.2010

Where can I get Linux Debian OS file ?


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Blacklite - 13.07.2010

This plugin works fine, and has always worked fine (I am running Debian 5, but the DLL has also worked on windows vista and windows 7). I can fire thousands of queries a second at it and it still goes.

If you are having problems, then it is more than likely that you have done something wrong.


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Sergei - 13.07.2010

Quote:
Originally Posted by Blacklite
View Post
This plugin works fine, and has always worked fine.
What about not being able to free memory, one of the most important things?


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - MemoX - 01.08.2010

can you upload v 0.14 in .so pls?


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Septimus314 - 01.08.2010

ok this may be pro noob... well i am one. But Uhm I have the MySQL include... and its all set. But when i launch server.exe and then go into the server the commands dont do anything... any help? do i need to download mysql install and set up a account etc....


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Cank - 04.08.2010

noob question:
i want to load the plugin but in the console it writes: Failed.
what do i have to write in server.cfg?
and where to place the .dll's?


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Cameltoe - 04.08.2010

inside samp server folder make a folder called "Plugins" the the .dll files into that folder.

in server.cfg add a line like this: plugins mysql


Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - Cank - 04.08.2010

still doesn't work