kh0dan
Умник
E:\develop\GOLD RUSSIA BY KALCOR\gamemodes\arena.pwn(25248) : symbol is never used: "pass"
E:\develop\GOLD RUSSIA BY KALCOR\gamemodes\arena.pwn(25248) : symbol is never used: "db"
E:\develop\GOLD RUSSIA BY KALCOR\gamemodes\arena.pwn(25248) : symbol is never used: "user"
E:\develop\GOLD RUSSIA BY KALCOR\gamemodes\arena.pwn(25248) : symbol is never used: "host"
E:\develop\GOLD RUSSIA BY KALCOR\gamemodes\arena.pwn(25248) : symbol is never used: "db"
E:\develop\GOLD RUSSIA BY KALCOR\gamemodes\arena.pwn(25248) : symbol is never used: "user"
E:\develop\GOLD RUSSIA BY KALCOR\gamemodes\arena.pwn(25248) : symbol is never used: "host"
PHP:
[B]stock CreateMySQLConnection(host[], user[], db[], pass[]) [SIZE=6][COLOR=rgb(61, 142, 185)]// РУГАЕТСЯ НА ЭТО[/COLOR][/SIZE][/B]
{
connects = mysql_connect("127.0.0.1", "xxxx", "xxxx", "xxxx");
if(mysql_errno(connects)==0)
{
print("[SERVER] MYSQL ПОДКЛЮЧЕНИЕ УСТАНОВЛЕНО");
}
else
{
printf("[SERVER] MYSQL ERROR CODE %d", mysql_errno(connects));
}
mysql_set_charset("cp1251");
mysql_tquery(connects, "SET CHARACTER SET 'utf8'", "", "");
mysql_tquery(connects, "SET NAMES 'utf8'", "", "");
mysql_tquery(connects, "SET character_set_client = 'cp1251'", "", "");
mysql_tquery(connects, "SET character_set_connection = 'cp1251'", "", "");
mysql_tquery(connects, "SET character_set_results = 'cp1251'", "", "");
mysql_tquery(connects, "SET SESSION collation_connection = 'utf8_general_ci'", "", "");
report_OnGameModeInit();
mysql_function_query(connects, "UPDATE `accounts` SET `prize_day` = '0', `prize_every` = '0', `pOnlineYes` = `day_online`, `day_online` = '0', `pAfkYes` = `pDayAfk`, `pDayAfk` = '0'", false, "", "");
mysql_function_query(connects, "UPDATE `bizz` SET `bProduct` = '100000'", false, "", "");
mysql_function_query(connects,"SELECT * FROM `"TABLE_BIZZ"`", true, "LoadBizz", "");
mysql_function_query(connects,"SELECT * FROM `"TABLE_HOUSE"`",true,"LoadHouses","");
mysql_function_query(connects,"SELECT * FROM `"TABLE_OTHER"`", true, "OnLoadOtherCallback", "");
mysql_function_query(connects,"SELECT * FROM `"TABLE_MERIA"`", true, "OnLoadMeriaCallback", "");
mysql_function_query(connects,"SELECT * FROM `"TABLE_PICK"`", true, "LoadPick", "");
mysql_function_query(connects,"SELECT * FROM `"TABLE_GREENZONE"`", true, "LoadZone", "");
mysql_function_query(connects, "SELECT * FROM `dropped_items` WHERE `storage_type` = '11'", true, "LoadPlantsCallBack", "");
mysql_function_query(connects, "DELETE FROM `dropped_items` WHERE `drop_time` < UNIX_TIMESTAMP()-5760 AND `storage_type` != '11'", false, "", "");
mysql_function_query(connects, "SELECT * FROM dropped_items WHERE `storage_type` != '11'", true, "LoadDItems", "");
mysql_function_query(connects,"SELECT * FROM `bank`", true, "TotalBankCeck", "" ) ;
mysql_tquery(connects,"SELECT * FROM `fraction_ranks`","OnFracRankLoad","");
mysql_tquery(connects,"SELECT * FROM `realtors`", "LoadRealtors", "");
mysql_function_query(connects, "SELECT * FROM `config`", true, "LoadConfig", "");
mysql_function_query(connects, "SELECT * FROM `hostnames`", true, "LoadNames", "");
//mysql_tquery ( connects, "SELECT * FROM `family` ORDER BY `family`.`fam_id` ASC", "family_loading" ) ;
mysql_function_query(connects, "SELECT * FROM `server_settings`", true, "LoadSettings", "");
mysql_tquery(connects, !"SELECT * FROM `podezd` ORDER BY `podezd`.`pod_id` ASC", "podezds_loading");
mysql_tquery(connects, !"SELECT * FROM `apartment` ORDER BY `apartment`.`a_id` ASC", "apartments_loading");
mysql_function_query(connects, "UPDATE `accounts` SET `pBank` = '1000000000' WHERE `pBank` > 1000000000", false, "", "");
mysql_function_query(connects, "UPDATE `accounts` SET `pCash` = '1000000000' WHERE `pCash` > 1000000000", false, "", "");
load_parkings();
return true;
}
В чем проблема, не могу понять? Символ нигде не используется, ну и ладно, убираю - куча ошибок.
