SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 18/12/2016, 04:29 PM   #6041
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,865
Reputation: 1394
Default Re: [REL] MySQL Plugin (Now on github!)

Quote:
Originally Posted by Max_Andolini View Post
How to return MySQL handle
pawn Code:
stock MySQL: SQL::Connect(...)
{
    // code..
    return Connection;
}

Add at the top:
pawn Code:
forward MySQL: SQL::Connect(...);
to avoid warning 208: function with tag result used before definition, forcing reparse.
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Old 18/12/2016, 04:32 PM   #6042
Max_Andolini
Huge Clucker
 
Max_Andolini's Avatar
 
Join Date: Oct 2013
Posts: 321
Reputation: 37
Default Re: [REL] MySQL Plugin (Now on github!)

Quote:
Originally Posted by Konstantinos View Post
pawn Code:
stock MySQL: SQL::Connect(...)
{
    // code..
    return Connection;
}

Add at the top:
pawn Code:
forward MySQL: SQL::Connect(...);
to avoid warning 208: function with tag result used before definition, forcing reparse.
Not required. But thank you.
Max_Andolini is offline   Reply With Quote
Old 06/01/2017, 06:41 AM   #6043
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 577
Reputation: 53
Default Re: [REL] MySQL Plugin (Now on github!)

when I try to open my server.exe file it gives me error at mysql version R41 that:
point _initialize_narrow_enviroment could not be located in the dynamic link library.
Some one help!
__________________
coool is offline   Reply With Quote
Old 09/01/2017, 08:51 PM   #6044
Ultraz
Huge Clucker
 
Ultraz's Avatar
 
Join Date: Aug 2016
Location: Egypt
Posts: 254
Reputation: 22
Default Re: [REL] MySQL Plugin (Now on github!)

I need Mysql plugin R5 mysql_static.so & .dll
or full package
Help guys
Ultraz is offline   Reply With Quote
Old 09/01/2017, 09:39 PM   #6045
Jeroen52
Gangsta
 
Jeroen52's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 877
Reputation: 74
Default Re: [REL] MySQL Plugin (Now on github!)

Quote:
Originally Posted by Ultraz View Post
I need Mysql plugin R5 mysql_static.so & .dll
or full package
Help guys
Please don't use R5, please use a newer version instead.
R5 is ancient and I discourage people from using it.
Please visit the GitHub page for the latest versions.
__________________
Jeroen52 is offline   Reply With Quote
Old 17/01/2017, 03:45 PM   #6046
Kar
Banned
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,992
Reputation: 538
Default Re: [REL] MySQL Plugin (Now on github!)

R41-2 crashing for anyone?

I'm ready to upgrade. Need feedback.
Kar is online now   Reply With Quote
Old 17/01/2017, 04:08 PM   #6047
TommyB
Big Clucker
 
TommyB's Avatar
 
Join Date: Sep 2010
Location: Texas, USA.
Posts: 179
Reputation: 202
Default Re: [REL] MySQL Plugin (Now on github!)

Quote:
Originally Posted by Kar View Post
R41-2 crashing for anyone?

I'm ready to upgrade. Need feedback.
I haven't experienced a single crash. My server's gamemode is very MySQL dependent and we average ~130 players a day, so you'll probably be okay.
__________________
fired beta tester
TommyB is offline   Reply With Quote
Old 17/01/2017, 06:49 PM   #6048
HydraHumza
Gangsta
 
HydraHumza's Avatar
 
Join Date: Oct 2014
Posts: 627
Reputation: 130
Default Re: [REL] MySQL Plugin (Now on github!)

Quote:
Originally Posted by Kar View Post
R41-2 crashing for anyone?

I'm ready to upgrade. Need feedback.
It's working fine. You must move to it
__________________
Quote:
Originally Posted by Kalcor View Post
The fact is, I am right. And if you think I'm wrong, you are wrong.
HydraHumza is offline   Reply With Quote
Old 23/01/2017, 06:03 AM   #6049
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,374
Reputation: 626
Default Re: [REL] MySQL Plugin (Now on github!)

After a long time, i must say that these c++11 solutions are rocks! I'm still learning plenty of new things from this plugin.

So, thank you maddinat0r!
__________________
I don't play and have ANY interest in SA:MP anymore! Please do not ask for help, because I'm not going to reply.
kurta999 is offline   Reply With Quote
Old 26/01/2017, 01:44 PM   #6050
ThomasTailor93
Big Clucker
 
ThomasTailor93's Avatar
 
Join Date: Jun 2010
Location: Germany (Erfurt)
Posts: 163
Reputation: 21
Default Re: [REL] MySQL Plugin (Now on github!)

I don't know if anybody uses y_inline, but anyone got a suggestion why the Pawn Compiler will crash when using YSI 4.0?
ThomasTailor93 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
****** Project: Glass int3s0 Everything and Nothing 99 26/02/2013 04:22 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


All times are GMT. The time now is 09:01 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.