Voller. Posted August 31, 2014 Report Share Posted August 31, 2014 Salut ma puteti ajuta cu aceasta eroare: asta imi apare in mysql_log doar eroare asta tot sunt bune. cache_get_field_content_int ERROR invalid datatype Asta le da crash la playeri si ma enerveaza ff tare Multumesc! Quote Link to comment Share on other sites More sharing options...
WopsS Posted August 31, 2014 Report Share Posted August 31, 2014 Si ce linia ai cu cache_get_field_content_int? Quote Link to comment Share on other sites More sharing options...
Voller. Posted August 31, 2014 Author Report Share Posted August 31, 2014 Pai sunt o gramada ... in gm dar una cred ca nu e buna ca altfel nu mergea deloc. Quote Link to comment Share on other sites More sharing options...
Voller. Posted August 31, 2014 Author Report Share Posted August 31, 2014 (edited) In callback "LoadHouses" Time Function Status Message In callback "LoadProps" In callback "LoadVehicles" In callback "LoadDuels" In callback "LoadServerConfiguration" In callback "LoadGangs" In callback "LoadTeritories" In callback "LoadGangCPS" In callback "call_LoadRaceNames" In callback "BanListCheck" In callback "LoginPlayerAccount" In callback "LoadPlayerAKA" In callback "LoadPersonalVehicleInfo" 01:59:00 cache_get_field_content_int ERROR invalid datatype In callback "BanListCheck" In callback "LoginPlayerAccount" In callback "LoadPlayerAKA" In callback "LoadClanDetails" In callback "BanListCheck" In callback "LoginPlayerAccount" In callback "LoadPlayerAKA" In callback "LoadPersonalVehicleInfo" 01:59:34 cache_get_field_content_int ERROR invalid datatype In callback "BanListCheck" In callback "LoginPlayerAccount" In callback "LoadPlayerAKA" In callback "LoadClanDetails" In callback "BanListCheck" In callback "LoginPlayerAccount" In callback "LoadPlayerAKA" In callback "LoadClanDetails" In callback "BanListCheck" In callback "LoginPlayerAccount" In callback "LoadPlayerAKA" In callback "OnAccountCreated" In callback "CreateClan" In callback "OnClanCreated" asta e in mysql_log Edited August 31, 2014 by valentin12 Quote Link to comment Share on other sites More sharing options...
Voller. Posted August 31, 2014 Author Report Share Posted August 31, 2014 SQL_Function CheckClanMembers( playerid ) { new clanname[ 128 ] ; cache_get_field_content( 0, "name", clanname, g_Handle ); if ( cache_get_field_content_int( 0, "members", g_Handle ) <= 0 ) { format( gsString, 144, "- The Clan {00FF00}%s {FFF1AF}- has been destroyed. Reason: {FF0000}No more players in.", clanname ); SendClientMessageToAll( COLOR_SPECIAL, gsString ); format( gsQuery, 128, "DELETE FROM `Clans` WHERE `id` = %d", PlayerInfo[ playerid ][ ID ] ); mysql_function_query( g_Handle, gsQuery, false, "", "" ); SetPlayerHealth( playerid, 0 ); ResetPlayerWeapons( playerid ); SetPlayerSkin( playerid, 217 ); PlayerInfo[ playerid ][ ID ] = 0; PlayerInfo[ playerid ][ rank ] = 0; PlayerInfo[ playerid ][ skin ] = 0; PlayerInfo[ playerid ][ spawnX ] = 0.0; PlayerInfo[ playerid ][ spawnY ] = 0.0; PlayerInfo[ playerid ][ spawnZ ] = 0.0; PlayerInfo[ playerid ][ spawnA ] = 0.0; PlayerInfo[ playerid ][ Weap1 ] = 0; PlayerInfo[ playerid ][ Weap2 ] = 0; PlayerInfo[ playerid ][ Weap3 ] = 0; PlayerInfo[ playerid ][ Weap4 ] = 0; PlayerInfo[ playerid ][ Weap5 ] = 0; PlayerInfo[ playerid ][ Weap6 ] = 0; PlayerInfo[ playerid ][ clan_H ] = 0; PlayerInfo[ playerid ][ clan_M ] = 0; PlayerInfo[ playerid ][ clan_S ] = 0; format( PlayerInfo[ playerid ][ Clan ], 25, "None" ); } else { foreach(new i: Player) if ( PlayerInfo[ i ][ ID ] == PlayerInfo[ playerid ][ ID ] ) FormatMSG( i, COLOR_YELLOW, "Clan Info: {FFF1AF}Member {FF0000}%s{FFF1AF} left the clan.", PlayerName( playerid ) ); SetPlayerHealth( playerid, 0 ); ResetPlayerWeapons( playerid ); SetPlayerSkin( playerid, 217 ); PlayerInfo[ playerid ][ ID ] = 0; PlayerInfo[ playerid ][ rank ] = 0; PlayerInfo[ playerid ][ skin ] = 0; PlayerInfo[ playerid ][ spawnX ] = 0.0; PlayerInfo[ playerid ][ spawnY ] = 0.0; PlayerInfo[ playerid ][ spawnZ ] = 0.0; PlayerInfo[ playerid ][ spawnA ] = 0.0; PlayerInfo[ playerid ][ Weap1 ] = 0; PlayerInfo[ playerid ][ Weap2 ] = 0; PlayerInfo[ playerid ][ Weap3 ] = 0; PlayerInfo[ playerid ][ Weap4 ] = 0; PlayerInfo[ playerid ][ Weap5 ] = 0; PlayerInfo[ playerid ][ Weap6 ] = 0; PlayerInfo[ playerid ][ clan_H ] = 0; PlayerInfo[ playerid ][ clan_M ] = 0; PlayerInfo[ playerid ][ clan_S ] = 0; format( PlayerInfo[ playerid ][ Clan ], 25, "None" ); } return ( 1 ); } Quote Link to comment Share on other sites More sharing options...
Dany_Diaz Posted August 31, 2014 Report Share Posted August 31, 2014 Problema este in felul urmator cred ca ai incercat sa schimbi versiunea de mysql si nu ai schimbato corect. P.S. Nu stiu daca tu esti scripterul sau este altcineva, dar dupa erorile primite cred ca cauza de mai sus este de vina. Quote ________________________________________________________________________________________________________________________ CMD:manele(playerid, params[]) { if(PlayerLogged[params[0]] == 0) return; SendClientMessage(playerid, COLOR_GREY, ""Ati primit kick. Motiv: Interzis manelistilor""); { Kick(params[0]); return 1; } } _______________________________________________________________________________________________________________________ Link to comment Share on other sites More sharing options...
Voller. Posted August 31, 2014 Author Report Share Posted August 31, 2014 Nu am incercat sa schimb... gm-ul il am de la un prieten..asa l-am primit si vreau sa rezolv eroarea am playeri 20 pe urma la ceva timp ma trezesc cu 4 playeri :| le da crash. Quote Link to comment Share on other sites More sharing options...
Dany_Diaz Posted August 31, 2014 Report Share Posted August 31, 2014 In aces caz, intreabal pe prietenul tau ce are serverul pentru ca doar el stie ce a facut. P.S Asa se intampla daca nu stii nimic la un gamemode dar deschizi cu el servere. Quote ________________________________________________________________________________________________________________________ CMD:manele(playerid, params[]) { if(PlayerLogged[params[0]] == 0) return; SendClientMessage(playerid, COLOR_GREY, ""Ati primit kick. Motiv: Interzis manelistilor""); { Kick(params[0]); return 1; } } _______________________________________________________________________________________________________________________ Link to comment Share on other sites More sharing options...
Voller. Posted August 31, 2014 Author Report Share Posted August 31, 2014 Trb e ca nici el nu stie...( sa faca eroarea asta Quote Link to comment Share on other sites More sharing options...
Voller. Posted August 31, 2014 Author Report Share Posted August 31, 2014 (edited) Inca o eroare : ((( CMySQLResult::GetRowDataByName() ERROR invalid row index ('0') la playeri le da last connection . Edited August 31, 2014 by valentin12 Quote Link to comment Share on other sites More sharing options...
Question
Voller.
Salut ma puteti ajuta cu aceasta eroare: asta imi apare in mysql_log doar eroare asta tot sunt bune.
cache_get_field_content_int ERROR invalid datatypeAsta le da crash la playeri si ma enerveaza ff tare
Multumesc!
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.