- 101
- 67
Сворачивается, потому что скрипт запрашивает через командную строку файлы звуков в папке code1 и code0. Пока что не знаю как по другому это сделать.Почему игра при подгрузке скрипта сворачивается?
UPD1. Краш.
[22:52:28.319294] (system) Session started.
[22:52:28.320272] (debug) Module handle: 04530000
MoonLoader v.026.5-beta loaded.
Developers: FYP, hnnssy, EvgeN 1137
Copyright (c) 2016, BlastHack Team
Избранное - Lua - ASI - MoonLoader
v.026.5-beta MoonLoader - это мод для игры GTA San Andreas, стремящийся стать полной современной заменой CLEO. Он вносит возможность загрузки Lua-скриптов в игру, имеет всю функциональность опкодов игры, библиотеки CLEO, плагина SAMPFUNCS и добавляет свой набор новых функций для разработки...www.blast.hk
[22:52:28.321244] (info) Working directory: D:\SAMPCLEAR\moonloader
[22:52:28.321244] (debug) FP Control: 0009001F
[22:52:28.321244] (debug) Game: GTA SA 1.0.0.0 US
[22:52:28.321244] (system) Installing pre-game hooks...
[22:52:28.324178] (system) Hooks installed.
[22:52:30.267030] (debug) Initializing opcode handler table
[22:52:30.267030] (debug) package.path = D:\SAMPCLEAR\moonloader\lib\?.lua;D:\SAMPCLEAR\moonloader\lib\?\init.lua;D:\SAMPCLEAR\moonloader\?.lua;D:\SAMPCLEAR\moonloader\?\init.lua;.\?.lua;D:\SAMPCLEAR\moonloader\lib\?.luac;D:\SAMPCLEAR\moonloader\lib\?\init.luac;D:\SAMPCLEAR\moonloader\?.luac;D:\SAMPCLEAR\moonloader\?\init.luac;.\?.luac
[22:52:30.267030] (debug) package.cpath = D:\SAMPCLEAR\moonloader\lib\?.dll;
[22:52:30.271914] (system) Loading script 'D:\SAMPCLEAR\moonloader\AutoReboot.lua'...
[22:52:30.271914] (debug) New script: 054D847C
[22:52:30.274845] (system) ML-AutoReboot: Loaded successfully.
[22:52:30.274845] (system) Loading script 'D:\SAMPCLEAR\moonloader\check-moonloader-updates.lua'...
[22:52:30.274845] (debug) New script: 054D6BFC
[22:52:30.289493] (system) Check MoonLoader Updates: Loaded successfully.
[22:52:30.289493] (system) Loading script 'D:\SAMPCLEAR\moonloader\Extended Anims.lua'...
[22:52:30.289493] (debug) New script: 054D783C
[22:52:30.312441] (system) Extended Anims.lua: Loaded successfully.
[22:52:30.312441] (system) Loading script 'D:\SAMPCLEAR\moonloader\InvBind.lua'...
[22:52:30.312441] (debug) New script: 054D79C4
[22:52:30.329042] (system) Bind Invent: Loaded successfully.
[22:52:30.330019] (system) Loading script 'D:\SAMPCLEAR\moonloader\LockBind.lua'...
[22:52:30.330019] (debug) New script: 0C70F164
[22:52:30.336858] (system) Bind Invent: Loaded successfully.
[22:52:30.336858] (system) Loading script 'D:\SAMPCLEAR\moonloader\PDcoordination.lua'...
[22:52:30.336858] (debug) New script: 132D5974
[22:52:30.346624] (system) PDcoordination.lua: Loaded successfully.
[22:52:30.346624] (system) Loading script 'D:\SAMPCLEAR\moonloader\Police Dispatch.lua'...
[22:52:30.346624] (debug) New script: 132D51CC
[22:52:31.125914] (system) Police Dispatch: Loaded successfully.
[22:52:31.125914] (system) Loading script 'D:\SAMPCLEAR\moonloader\ReloadScripts.lua'...
[22:52:31.125914] (debug) New script: 132D4D34
[22:52:31.127866] (system) ReloadScripts.lua: Loaded successfully.
[22:52:31.127866] (system) Loading script 'D:\SAMPCLEAR\moonloader\SF Integration.lua'...
[22:52:31.127866] (debug) New script: 132D5354
[22:52:31.130808] (system) SF Integration: Loaded successfully.
[22:52:31.130808] (system) Loading script 'D:\SAMPCLEAR\moonloader\SMS_Call-ID.lua'...
[22:52:31.130808] (debug) New script: 132D4EBC
[22:52:31.139591] (system) SMS&Call to ID: Loaded successfully.
[22:52:31.139591] (system) Loading script 'D:\SAMPCLEAR\moonloader\autoz.lua'...
[22:52:31.139591] (debug) New script: 132D5044
[22:52:31.230405] (system) Autoz for TRP: Loaded successfully.
[22:52:49.308421] (system) Installing post-load hooks...
[22:52:49.309392] (system) Hooks installed.
[22:53:17.176403] (error) Police Dispatch: D:\SAMPCLEAR\moonloader\Police Dispatch.lua:371: attempt to concatenate a nil value
stack traceback:
D:\SAMPCLEAR\moonloader\Police Dispatch.lua:371: in function 'getVariablesFromMessage'
D:\SAMPCLEAR\moonloader\Police Dispatch.lua:201: in function 'handleEvent'
D:\SAMPCLEAR\moonloader\Police Dispatch.lua:181: in function 'callback'
D:\SAMPCLEAR\moonloader\lib\samp\events\core.lua:79: in function <D:\SAMPCLEAR\moonloader\lib\samp\events\core.lua:53>
[22:53:17.178357] (error) Police Dispatch: Script died due to an error. (132D51CC)
А краш починю, патч выйдет. Спасибо за реагирование.