- 0
Войдите для возможности подписаться
Подписчики
0
Что делать если При создание Бизнеса сервер выключается?
Вопрос от
Добрый Кот
,
-
Последние посетители 0 пользователей онлайн
Ни одного зарегистрированного пользователя не просматривает данную страницу
Опубликовано · Жалоба
Что делать сервер выключается при Создание Бизнеса, сервер стоит на хостинге
if(strcmp(cmd, "/addbiz", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, -1, "У вас нет прав на использование этой команды!");
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD2, "Используйте: /addbiz [Сумма] [Уровень]");
new money = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD2, "Используйте: /addbiz [Сумма] [Уровень]");
new level = strval(tmp);
createdb++;
GetPlayerPos(playerid, BizInfo[createdb][HOx],BizInfo[createdb][HOy],BizInfo[createdb][HOz]);
format(BizInfo[createdb][owner],32,"НА ПРОДАЖЕ!");
BizInfo[createdb][sale] = 0;
BizInfo[createdb][stoim] = money;
BizInfo[createdb][lvl] = level;
new iniOpen = ini_openFile("biznes.cfg");
ini_setInteger(iniOpen, "Biznes", createdh);
ini_closeFile(iniOpen);
SaveBiz(createdb);
Bizpic = CreatePickup(1239,2,BizInfo[createdb][HOx],BizInfo[createdb][HOy],BizInfo[createdb][HOz]);
SendClientMessage(playerid, COLOR_GRAD2, "Бизнес успешно создан");
format_string = "";
new years, months, days, hours, minutes, seconds, data[128]; getdate(years, months, days); gettime(hours, minutes, seconds);
format(data, 128, "%02d/%02d/%04d %d:%d", days, months, years, hours, minutes);
mysql_format(MySQLGo, format_string, 300, "INSERT INTO `logs` (`NameAdmin`,`LogName`,`LogAmount`,`GivePlayer`,`Date`) VALUES ('%s','AddBiz For Sale','%d','None','%s')", NamePlayer[playerid], money, data);
mysql_tquery(MySQLGo, format_string);
return 1;
}
Console clear!
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3e, (C)2005-2012 SA-MP Team
[16:16:54]
[16:16:54] Server Plugins
[16:16:54] --------------
[16:16:54] Loading plugin: streamer.so
[16:16:54]
*** Streamer Plugin v2.7.2 by Incognito loaded ***
[16:16:54] Loaded.
[16:16:54] Loading plugin: sscanf.so
[16:16:54]
[16:16:54] ===============================
[16:16:54] sscanf plugin loaded.
[16:16:54] Version: 2.8.1
[16:16:54] (c) 2012 Alex "Y_Less" Cole
[16:16:54] ===============================
[16:16:54] Loaded.
[16:16:54] Loading plugin: mysql_static.so
[16:16:54] >> plugin.mysql: R39-4 successfully loaded.
[16:16:54] Loaded.
[16:16:54] Loading plugin: nativechecker.so
[16:16:54] Loaded.
[16:16:54] Loading plugin: CRP.so
[16:16:54]
[16:16:54] ______________________________________
[16:16:54] Convert Rus To Pwn v0.1.1 loaded
[16:16:54] ______________________________________
[16:16:54] By: Fro (c) Copyright <TBG> 2009-2011
[16:16:54] ______________________________________
[16:16:54] Loaded.
[16:16:54] Loading plugin: crashdetect.so
[16:16:54] CrashDetect v4.15.1 is OK.
[16:16:54] Loaded.
[16:16:54] Loaded 6 plugins.
[16:16:55]
[16:16:55] Filterscripts
[16:16:55] ---------------
[16:16:55] Loading filterscript 'fsdebug.amx'...
[16:16:55]
*********************
* SA:MP DEBUG 0.2 *
[16:16:55] * By Simon Campbell *
*********************
[16:16:55] * Version: 0.5d *
*********************
[16:16:55] * -- LOADED *
*********************
[16:16:55] Loaded 1 filterscripts.
[16:16:56] Подключение к базе выполнено.
[16:16:56] Версия MySQL: R39-5.
[16:16:56] Кодировка: cp1251.
[16:16:57] [loading] Loaded 26 Objects from: maps.map
[16:16:57] [loading] Loaded 26794 DynamicObjects from: maps.map
[16:16:57] [loading] Всего загружено объектов из файла: 26820
[16:16:57] limits: 1500
[16:16:57] CK:0 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:16:57] CK:1 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:16:57] CK:2 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:16:57] CK:3 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:16:57] CK:4 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:16:57] CK:5 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:16:57] CK:6 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:16:57] CK:7 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:16:57] CK:8 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:16:57] CK:9 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:16:57] Pickups 1000/50000
[16:16:57] OnGameModeInit достиг конца
[16:16:57] Number of vehicle models: 0
[16:16:57] [Загрузка MYSQL]: Банки фракций загружены.
[16:16:57] [Загрузка MYSQL]: Личных авто загружено 299/2000
[16:16:57] [Загрузка MYSQL]: Подъезды успешно загружены. Всего: 49
[16:16:57] [Загрузка MYSQL]: Дома успешно загружены. Всего: 35
[16:16:57] [Загрузка MYSQL]: Квартиры успешно загружены. Всего: 140
[16:16:57] [Загрузка MYSQL]: Магазины акссесуаров успешно загружены. Всего: 2
[16:16:57] Гараж Ид:1 не был загружен из-за 0 0 0 кроодинат!
[16:16:57] [Загрузка MYSQL]: Гаражи успешно загружены. Всего: 60
[16:16:57] [Загрузка MYSQL]: Заправки успешно загружены. Всего: 3
[16:16:57] Ларек Ид: 1 не был загружен!
[16:16:57] [Загрузка MYSQL]: Ларьки с едой успешно загружены. Всего: 14
[16:16:57] [Загрузка MYSQL]: Банкоматы успешно загружены. Всего: 6
Console clear!
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3e, (C)2005-2012 SA-MP Team
[16:18:29]
[16:18:29] Server Plugins
[16:18:29] --------------
[16:18:29] Loading plugin: streamer.so
[16:18:29]
*** Streamer Plugin v2.7.2 by Incognito loaded ***
[16:18:29] Loaded.
[16:18:29] Loading plugin: sscanf.so
[16:18:29]
[16:18:29] ===============================
[16:18:29] sscanf plugin loaded.
[16:18:29] Version: 2.8.1
[16:18:29] (c) 2012 Alex "Y_Less" Cole
[16:18:29] ===============================
[16:18:29] Loaded.
[16:18:29] Loading plugin: mysql_static.so
[16:18:29] >> plugin.mysql: R39-4 successfully loaded.
[16:18:29] Loaded.
[16:18:29] Loading plugin: nativechecker.so
[16:18:29] Loaded.
[16:18:29] Loading plugin: CRP.so
[16:18:29]
[16:18:29] ______________________________________
[16:18:29] Convert Rus To Pwn v0.1.1 loaded
[16:18:29] ______________________________________
[16:18:29] By: Fro (c) Copyright <TBG> 2009-2011
[16:18:29] ______________________________________
[16:18:29] Loaded.
[16:18:29] Loading plugin: crashdetect.so
[16:18:29] CrashDetect v4.15.1 is OK.
[16:18:29] Loaded.
[16:18:29] Loaded 6 plugins.
[16:18:29]
[16:18:29] Filterscripts
[16:18:29] ---------------
[16:18:29] Loading filterscript 'fsdebug.amx'...
[16:18:29]
*********************
* SA:MP DEBUG 0.2 *
[16:18:29] * By Simon Campbell *
*********************
[16:18:29] * Version: 0.5d *
*********************
[16:18:29] * -- LOADED *
*********************
[16:18:29] Loaded 1 filterscripts.
[16:18:30] Подключение к базе выполнено.
[16:18:30] Версия MySQL: R39-5.
[16:18:30] Кодировка: cp1251.
[16:18:32] [loading] Loaded 26 Objects from: maps.map
[16:18:32] [loading] Loaded 26794 DynamicObjects from: maps.map
[16:18:32] [loading] Всего загружено объектов из файла: 26820
[16:18:32] limits: 1500
[16:18:32] CK:0 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:18:32] CK:1 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:18:32] CK:2 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:18:32] CK:3 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:18:32] CK:4 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:18:32] CK:5 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:18:32] CK:6 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:18:32] CK:7 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:18:32] CK:8 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:18:32] CK:9 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:18:32] Pickups 1000/50000
[16:18:32] OnGameModeInit достиг конца
[16:18:32] Number of vehicle models: 0
[16:18:32] [Загрузка MYSQL]: Банки фракций загружены.
[16:18:32] [Загрузка MYSQL]: Личных авто загружено 299/2000
[16:18:32] [Загрузка MYSQL]: Подъезды успешно загружены. Всего: 49
[16:18:32] [Загрузка MYSQL]: Дома успешно загружены. Всего: 35
[16:18:32] [Загрузка MYSQL]: Квартиры успешно загружены. Всего: 140
[16:18:32] [Загрузка MYSQL]: Магазины акссесуаров успешно загружены. Всего: 2
[16:18:32] Гараж Ид:1 не был загружен из-за 0 0 0 кроодинат!
[16:18:32] [Загрузка MYSQL]: Гаражи успешно загружены. Всего: 60
[16:18:32] [Загрузка MYSQL]: Заправки успешно загружены. Всего: 3
[16:18:32] Ларек Ид: 1 не был загружен!
[16:18:32] [Загрузка MYSQL]: Ларьки с едой успешно загружены. Всего: 14
[16:18:32] [Загрузка MYSQL]: Банкоматы успешно загружены. Всего: 6
[16:19:10] Incoming connection: 91.242.1.99:50522
[16:19:10] [join] Roman_Axmedov has joined the server (0:91.242.1.99)
[16:19:30] inv Roman_Axmedov
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3e, (C)2005-2012 SA-MP Team
[16:24:36]
[16:24:36] Server Plugins
[16:24:36] --------------
[16:24:36] Loading plugin: streamer.so
[16:24:36]
*** Streamer Plugin v2.7.2 by Incognito loaded ***
[16:24:36] Loaded.
[16:24:36] Loading plugin: sscanf.so
[16:24:36]
[16:24:36] ===============================
[16:24:36] sscanf plugin loaded.
[16:24:36] Version: 2.8.1
[16:24:36] (c) 2012 Alex "Y_Less" Cole
[16:24:36] ===============================
[16:24:36] Loaded.
[16:24:36] Loading plugin: mysql_static.so
[16:24:36] >> plugin.mysql: R39-4 successfully loaded.
[16:24:36] Loaded.
[16:24:36] Loading plugin: nativechecker.so
[16:24:36] Loaded.
[16:24:36] Loading plugin: CRP.so
[16:24:36]
[16:24:36] ______________________________________
[16:24:36] Convert Rus To Pwn v0.1.1 loaded
[16:24:36] ______________________________________
[16:24:36] By: Fro (c) Copyright <TBG> 2009-2011
[16:24:36] ______________________________________
[16:24:36] Loaded.
[16:24:36] Loading plugin: crashdetect.so
[16:24:36] CrashDetect v4.15.1 is OK.
[16:24:36] Loaded.
[16:24:36] Loaded 6 plugins.
[16:24:36]
[16:24:36] Filterscripts
[16:24:36] ---------------
[16:24:36] Loading filterscript 'fsdebug.amx'...
[16:24:36]
*********************
* SA:MP DEBUG 0.2 *
[16:24:36] * By Simon Campbell *
*********************
[16:24:36] * Version: 0.5d *
*********************
[16:24:36] * -- LOADED *
*********************
[16:24:36] Loaded 1 filterscripts.
[16:24:37] Подключение к базе выполнено.
[16:24:37] Версия MySQL: R39-5.
[16:24:37] Кодировка: cp1251.
[16:24:39] [loading] Loaded 26 Objects from: maps.map
[16:24:39] [loading] Loaded 26794 DynamicObjects from: maps.map
[16:24:39] [loading] Всего загружено объектов из файла: 26820
[16:24:39] limits: 1500
[16:24:39] CK:0 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:24:39] CK:1 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:24:39] CK:2 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:24:39] CK:3 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:24:39] CK:4 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:24:39] CK:5 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:24:39] CK:6 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:24:39] CK:7 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:24:39] CK:8 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:24:39] CK:9 Taken: 0 Sendername:No-one Giveplayer: No-one
[16:24:39] Pickups 1000/50000
[16:24:39] OnGameModeInit достиг конца
[16:24:39] Number of vehicle models: 0
[16:24:39] [Загрузка MYSQL]: Банки фракций загружены.
[16:24:39] [Загрузка MYSQL]: Личных авто загружено 299/2000
[16:24:39] [Загрузка MYSQL]: Подъезды успешно загружены. Всего: 49
[16:24:39] [Загрузка MYSQL]: Дома успешно загружены. Всего: 35
[16:24:39] [Загрузка MYSQL]: Квартиры успешно загружены. Всего: 140
[16:24:39] [Загрузка MYSQL]: Магазины акссесуаров успешно загружены. Всего: 2
[16:24:39] Гараж Ид:1 не был загружен из-за 0 0 0 кроодинат!
[16:24:39] [Загрузка MYSQL]: Гаражи успешно загружены. Всего: 60
[16:24:39] [Загрузка MYSQL]: Заправки успешно загружены. Всего: 3
[16:24:39] Ларек Ид: 1 не был загружен!
[16:24:39] [Загрузка MYSQL]: Ларьки с едой успешно загружены. Всего: 14
[16:24:39] [Загрузка MYSQL]: Банкоматы успешно загружены. Всего: 6
[16:24:47] Incoming connection: 91.242.1.99:51407
[16:24:48] [join] Roman_Axmedov has joined the server (0:91.242.1.99)
[16:25:02] inv Roman_Axmedov
[16:25:12] [debug] Server crashed while executing eternitymy.amx
[16:25:12] [debug] AMX backtrace:
[16:25:12] [debug] #0 native fclose () from samp03svr-cr
[16:25:12] [debug] #1 0000db10 in dini_Create (filename[]=@01107804 "biznes/1.cfg") at C:\Users\Роман\Desktop\Мод ЭТЕРНИТИ\pawno\include\dini.inc:41
[16:25:12] [debug] #2 00262924 in SaveBiz (bizid=1) at C:\Users\Роман\Desktop\Мод ЭТЕРНИТИ\gamemodes\eternitymy.pwn:39522
[16:25:12] [debug] #3 000daecc in public OnPlayerCommandText (playerid=0, cmdtext[]=@01101a5c "/addbiz 10 1") at C:\Users\Роман\Desktop\Мод ЭТЕРНИТИ\gamemodes\eternitymy.pwn:13203
[16:25:12] [debug] Native backtrace:
[16:25:12] [debug] #0 f667ae8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[16:25:12] [debug] #1 f6673bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[16:25:12] [debug] #2 f6674dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[16:25:12] [debug] #3 f6675226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[16:25:12] [debug] #4 f667aadc in ?? () from plugins/crashdetect.so
[16:25:12] [debug] #5 f76e2d50 in __kernel_rt_sigreturn () from linux-gate.so.1
[16:25:12] [debug] #6 f7418b56 in fclose () from /lib32/libc.so.6
[16:25:12] [debug] #7 0804f544 in ?? () from ./samp03svr-cr
[16:25:12] [debug] #8 080503e4 in ?? () from ./samp03svr-cr
[16:25:12] [debug] #9 f667694b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[16:25:12] [debug] #10 f66798f8 in ?? () from plugins/crashdetect.so
[16:25:12] [debug] #11 f667d916 in amx_Exec () from plugins/crashdetect.so
[16:25:12] [debug] #12 f6675be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[16:25:12] [debug] #13 f6679659 in ?? () from plugins/crashdetect.so
[16:25:12] [debug] #14 0806f902 in ?? () from ./samp03svr-cr
[16:25:12] [debug] #15 0807fe6c in ?? () from ./samp03svr-cr
[16:25:12] [debug] #16 080adbe1 in ?? () from ./samp03svr-cr
[16:25:12] [debug] #17 080adcd2 in ?? () from ./samp03svr-cr
[16:25:12] [debug] #18 080b79c0 in ?? () from ./samp03svr-cr
[16:25:12] [debug] #19 0807d736 in ?? () from ./samp03svr-cr
[16:25:12] [debug] #20 0807d962 in ?? () from ./samp03svr-cr
[16:25:12] [debug] #21 08077c23 in ?? () from ./samp03svr-cr
[16:25:12] [debug] #22 f73cfa63 in __libc_start_main () from /lib32/libc.so.6
Поделиться сообщением
Ссылка на сообщение