[Plugin] [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded...
#25

lets see if posting is fixed here...

pawn Code:
public billboard(playerid){
    new conBillboard;
    conBillboard = samp_mysql_connect(mysqlhost, mysqluser, mysqlpassword);
    if(conBillboard == 0){
        SendClientMessage(playerid,red,"Error connecting to mysql database. Please notify administrator.");
    }else{
        samp_mysql_select_db(mysqldb);
        samp_mysql_query("select entry from billboard order by id");
        samp_mysql_store_result();
        new string[1024];
        while(samp_mysql_fetch_row(string)){
      printf("%s\n",string);
        }
        samp_mysql_close();
    }
    SetTimer("billboard",120000,0);
    return 1;  
}
thats what im doing. it causes a server crash as soon as a player connects. as best i can tell, i am doing the exact same thing you are doing.

the database is working, the userid, password, and mysqldb are all set correctly because i use them in a vehicle spawn function (that looks up vehicle id's in a sql table based on their name)...

its only when i am doing the while loop that things break.

for windows, i am using your executables entirely. on linux, i compiled the plugin, and am using a precompiled libmysqlclient from 5.0.41

as for the double post above, i apologize...but this site was having tremendous difficulty in doing anything with large posts earlier

i dont see the point of complaining about double posting on a forum anyway. if you dont do it at times, it completely does away with the intended purpose of "show new replies to your posts". this is my opinion, and thats all it is. i dont make the rules here, nor do i enforce them. i try and follow them as best i can, but with the site doing what it was doing earlier, there was no way around it.
Reply


Messages In This Thread
[REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by ADreNaLiNe-DJ - 16.07.2007, 15:41
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by ADreNaLiNe-DJ - 16.07.2007, 15:51
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by ADreNaLiNe-DJ - 16.07.2007, 16:16
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by d.wine - 16.07.2007, 16:56
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by ADreNaLiNe-DJ - 16.07.2007, 16:58
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by d.wine - 16.07.2007, 18:30
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by Mike - 16.07.2007, 20:21
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by ADreNaLiNe-DJ - 16.07.2007, 20:55
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by Matite - 17.07.2007, 09:08
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by boylett - 17.07.2007, 13:57
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by courage - 17.07.2007, 15:13
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by ADreNaLiNe-DJ - 17.07.2007, 17:47
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by ADreNaLiNe-DJ - 17.07.2007, 17:54
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by boylett - 17.07.2007, 19:18
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by ADreNaLiNe-DJ - 17.07.2007, 19:58
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by boylett - 17.07.2007, 20:53
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by ADreNaLiNe-DJ - 17.07.2007, 20:56
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by boylett - 17.07.2007, 21:02
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by fluid - 17.07.2007, 21:13
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by ADreNaLiNe-DJ - 17.07.2007, 21:56
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by fluid - 17.07.2007, 22:52
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by fluid - 18.07.2007, 06:07
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by fluid - 18.07.2007, 06:30
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by ADreNaLiNe-DJ - 18.07.2007, 08:10
Re: [REL] SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-16-2007) - by fluid - 18.07.2007, 09:12
Re: [REL]SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 18.07.2007, 13:26
Re: [REL]SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-18-2007 => see 1st p - by fluid - 18.07.2007, 15:33
Re: [REL]SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 18.07.2007, 15:55
Re: [REL]SAMP-MySQL and SAMP-MYSQL-lite v0.11 (last edit 07-18-2007 => see 1st p - by fluid - 18.07.2007, 16:42
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 18.07.2007, 18:04
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by courage - 18.07.2007, 18:18
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 18.07.2007, 18:23
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by fluid - 18.07.2007, 18:57
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 18.07.2007, 19:44
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by fluid - 19.07.2007, 00:39
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 19.07.2007, 05:47
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by fluid - 19.07.2007, 07:11
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 19.07.2007, 08:53
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by 50p - 19.07.2007, 11:46
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 19.07.2007, 11:51
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by fluid - 06.09.2007, 20:48
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by visagalis - 07.09.2007, 14:03
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 07.09.2007, 16:00
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by visagalis - 07.09.2007, 18:35
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by kok - 08.09.2007, 09:22
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 08.09.2007, 17:24
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 08.09.2007, 17:29
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by visagalis - 08.09.2007, 19:51
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by Pleite - 14.09.2007, 15:38
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 17.09.2007, 19:26
Problem with Server and the plugin - by Tempo - 23.09.2007, 14:08
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 24.09.2007, 16:18
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by killer57 - 25.09.2007, 22:14
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by fluid - 26.09.2007, 19:31
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by Tony_Columbo - 03.10.2007, 04:28
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 05.10.2007, 15:44
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by thisforumlags - 09.10.2007, 02:28
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by ADreNaLiNe-DJ - 10.10.2007, 22:35
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by TheSh@rk - 25.10.2007, 18:30
Re: [REL]SAMP-MySQL v0.12 (last edit 07-18-2007 => see 1st post) - by IJzerenRita - 25.10.2007, 18:38
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by elmenor25 - 26.12.2008, 01:10
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by asdd - 26.12.2008, 04:10
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by drV - 26.12.2008, 08:25
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by Bardokas - 26.12.2008, 09:26
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by drV - 26.12.2008, 09:53
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by Bardokas - 26.12.2008, 18:06
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by [M2S]moe - 26.12.2008, 18:40
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by Bardokas - 26.12.2008, 18:54
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by drV - 26.12.2008, 21:03
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by drV - 26.12.2008, 21:09
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by chenza - 27.12.2008, 05:25
Please, help me! - by joco96 - 28.12.2008, 12:10
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by Bardokas - 28.12.2008, 12:12
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by joco96 - 28.12.2008, 12:18
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by Bardokas - 28.12.2008, 12:53
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by joco96 - 28.12.2008, 13:39
[REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by [NoV]LaZ - 28.12.2008, 19:00
[REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by joco96 - 29.12.2008, 09:59
Re: [REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by chenza - 30.12.2008, 14:04
[REL]SAMP-MySQL v0.13 - Windows, Ubuntu and CentOs supported !!! - by [NoV]LaZ - 01.01.2009, 02:03
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Dreftas - 02.11.2009, 14:43
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by SoeH - 03.11.2009, 11:52
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by MenaceX^ - 03.11.2009, 12:14
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by SoeH - 03.11.2009, 12:26
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by SE7ENGX - 03.11.2009, 17:41
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Joe Staff - 03.11.2009, 18:11
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by mprofitt - 03.11.2009, 18:32
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Redgie - 04.11.2009, 18:26
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by MenaceX^ - 04.11.2009, 18:55
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Redgie - 04.11.2009, 22:15
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Tirus - 02.04.2010, 10:54
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by MenaceX^ - 02.04.2010, 12:33
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by minimicro - 02.04.2010, 14:07
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Kevinterra - 15.04.2010, 14:07
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Hiddos - 15.04.2010, 19:43
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Victor - 15.04.2010, 19:53
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Sergei - 16.04.2010, 13:14
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Dreftas - 19.04.2010, 11:48
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by chenza - 24.04.2010, 14:40
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Mlody626 - 26.05.2010, 17:31
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Mlody626 - 26.05.2010, 17:31
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Burridge - 26.05.2010, 17:33
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Mlody626 - 26.05.2010, 17:35
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Burridge - 26.05.2010, 17:36
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by nemesis- - 26.05.2010, 20:12
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by StrickenKid - 26.05.2010, 20:42
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by gcw - 21.06.2010, 19:09
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Sergei - 21.06.2010, 19:27
Respuesta: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by DarkChildren - 10.07.2010, 17:05
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Ernis456 - 12.07.2010, 13:53
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Blacklite - 13.07.2010, 21:57
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Sergei - 13.07.2010, 22:12
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by MemoX - 01.08.2010, 00:29
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Septimus314 - 01.08.2010, 19:03
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Cank - 04.08.2010, 20:27
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Cameltoe - 04.08.2010, 21:34
Re: [REL]SAMP-MySQL v0.15 - SAMP 0.3 supported!!! corrected version uploaded... - by Cank - 04.08.2010, 21:43

Forum Jump:


Users browsing this thread: 1 Guest(s)