Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
RingoRus - 09.02.2012
Server crash very often when mysql_fetch_field used in the start gamemode. Please, fix it.
AW: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
CrawScale - 13.02.2012
I get this error sometimes in my script.
The server is crashed then :S
How i fix it?
[debug] Server crashed while executing RL.amx
[debug] Backtrace (most recent call first):
[debug] #0 native mysql_fetch_field() from mysql.DLL
[debug] #1 Float:GetMySQLField_Float(fieldname[]=@0x001f0a78 "EnterX", MySQL:handle=0)+0x60 at mysql.inc:80
[debug] #2 public cmd_function(playerid=2034296, params[]=@0x00000000 "")+0x2f0 at RL.pwn:3495
[debug] #3 native CallLocalFunction() from samp-server.exe
[debug] #4 public OnPlayerCommandText(playerid=2034296, cmdtext[]=@0x00000000 "")+0xffffcc30 at mysql.inc:80
Pls help me
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
povo - 11.03.2012
After searching this thread about my problem, I couldn't find an answer so I'm posting this here.
Код:
while (mysql_fetch_row(data, "|"))
{
new tempCar[vInfo];
sscanf(data, "p<|>ddddffffddddddddddddddddddd", tempCar[vID], tempCar[vOwner], tempCar[vModel], tempCar[vLock], tempCar[vX], tempCar[vY], tempCar[vZ], tempCar[vRot], tempCar[vC1], tempCar[vC2], tempCar[vOdometer], tempCar[vMods][0], tempCar[vMods][1], tempCar[vMods][2], tempCar[vMods][3], tempCar[vMods][4], tempCar[vMods][5], tempCar[vMods][6], tempCar[vMods][7], tempCar[vMods][8], tempCar[vMods][9], tempCar[vMods][10], tempCar[vMods][11], tempCar[vMods][12], tempCar[vMods][13], tempCar[vPaintJob], tempCar[vRadioID]);
vehSpawn(tempCar);
}
The problem is that the sscanf function line return an error:
Код:
error 075: input line too long (after substitutions)
I know that there are too many arguments given to the function but how do I add a second sscanf to parse the remaining info?
Using this to parse the last integer wouldn't work, because it would parse the first:
Код:
sscanf(data, "p<|>d", tempCar[vRadioID]);
Any ideas?
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
Rac3r - 13.03.2012
Can someone pastebin the .inc used for SA:MP MySQL Plugin 2.1.1?
Our host doesn't allow us to upload any plugins, so we desperatly need the include!
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
rbN. - 13.03.2012
Quote:
Originally Posted by Rac3r
Can someone pastebin the .inc used for SA:MP MySQL Plugin 2.1.1?
Our host doesn't allow us to upload any plugins, so we desperatly need the include!
|
http://pastebin.com/BhLFC9Mb
It's 2.1.1, even though it says 2.1 on top :P
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
Infamous - 13.03.2012
I don't suppose you have what I need aswell RobinOwnz?
Quote:
Originally Posted by Infamous
Can anyone re-upload this one for me? 'Static Linux Distributions (Use on Hosted Servers e.g. ServerFFS)'
|
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
rbN. - 14.03.2012
Quote:
Originally Posted by Infamous
I don't suppose you have what I need aswell RobinOwnz?
|
Sorry, only got Windows plugin, include and libmysql D:
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
Infamous - 14.03.2012
Ah ok thanks for replying anyway mate.
Still need it if anyone else has could upload for me?
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
eakwarp - 21.03.2012
Please, upload this to working host, really need.
Respuesta: Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
OPremium - 22.03.2012
EDIT: nvm, see Blacklite's post
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
Blacklite - 24.03.2012
I think I'll just leave these links live as permanent mirrors:
- Windows (comes with libmysql.dll, .NET Framework required)
- Linux (compiled on Debian 5)
- Source
- Scripts
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
TheArcher - 24.03.2012
I think this plugin is a bit out-date.
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
Lechivre - 25.03.2012
It seems that strickenkids's site is offline.
Pls fix it i need to download the plugin
Respuesta: Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
OPremium - 25.03.2012
Quote:
Originally Posted by Lechivre
It seems that strickenkids's site is offline.
Pls fix it i need to download the plugin
|
Quote:
Originally Posted by Blacklite
I think I'll just leave these links live as permanent mirrors:
- Windows (comes with libmysql.dll, .NET Framework required)
- Linux (compiled on Debian 5)
- Source
- Scripts
|
![Roll Eyes (Sarcastic)](images/smilies/rolleyes.png)
![Roll Eyes (Sarcastic)](images/smilies/rolleyes.png)
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
lolumadd_ - 02.04.2012
Quote:
Originally Posted by TheArcher
I think this plugin is a bit out-date.
|
I have no choice. GStylelz MySQL plugin doesn't support CentOS. This does!
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
Kar - 02.04.2012
Quote:
Originally Posted by lolumadd_
I have no choice. GStylelz MySQL plugin doesn't support CentOS. This does!
|
I've been running on CentOS since Version R4>? what are you talking about :O
R4, R5, R6, R7 all on CentOS, lol.
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
lolumadd_ - 02.04.2012
Quote:
Originally Posted by Kar
I've been running on CentOS since Version R4>? what are you talking about :O
R4, R5, R6, R7 all on CentOS, lol.
|
What version of CentOS were you running on? I was using 64-bit. When I used his plugin we had some weird error and it wouldn't work. Switched to StrikenKids and it works with no hassle.
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
Kar - 02.04.2012
Quote:
Originally Posted by lolumadd_
What version of CentOS were you running on? I was using 64-bit. When I used his plugin we had some weird error and it wouldn't work. Switched to StrikenKids and it works with no hassle.
|
Oh, now I don't know which bit it runs on. But I know R6 - works with CentOS 5 and R7 works with CentOS 6
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
Czeladnik - 06.04.2012
Please reupload
Re: [REL] SA:MP MySQL Plugin 2.1.1 - Released (1/25/2011 -
AndreT - 06.04.2012
Quote:
Originally Posted by lolumadd_
What version of CentOS were you running on? I was using 64-bit. When I used his plugin we had some weird error and it wouldn't work. Switched to StrikenKids and it works with no hassle.
|
Just for the record my team has achieved the goal of getting a 64-bit build working on 64-bit CentOS before. I think they did it based largely on the Internet's and xxmitsu's advice. I heard it was quite a complicated task though