пацанчеке, вообщем, связался с такими ошибками как:
и
[ERROR] gamemodes/darkrp/gamemode/core/mysqlite.lua:156: attempt to index upvalue 'MySQLite_config' (a nil value)
1. initialize - gamemodes/darkrp/gamemode/core/mysqlite.lua:156
2. unknown - gamemodes/darkrp/gamemode/init.lua:40
Код первого файла:
а ну и вот собственно сборка Сборка - ОРИГИНАЛЬНАЯ СБОРКА MetaHub CITY17 [Server/Client Часть]
Lua:
[ERROR] gamemodes/darkrp/gamemode/db.lua:1: attempt to call global 'mysql' (a nil value)
1. unknown - gamemodes/darkrp/gamemode/db.lua:1
2. IncludeSV - [C]:-1
3. unknown - gamemodes/darkrp/gamemode/sh_init.lua:48
4. include - [C]:-1
5. unknown - gamemodes/darkrp/gamemode/init.lua:3
и
[ERROR] gamemodes/darkrp/gamemode/core/mysqlite.lua:156: attempt to index upvalue 'MySQLite_config' (a nil value)
1. initialize - gamemodes/darkrp/gamemode/core/mysqlite.lua:156
2. unknown - gamemodes/darkrp/gamemode/init.lua:40
Код первого файла:
SQL:
rp._Stats = mysql('localhost','root', '', 'darkpp', 3306)
rp._Credits = mysql('localhost','root', '', 'darkpp', 3306)
MySQLite_config = MySQLite_config or {} -- Ignore this line
MySQLite_config.EnableMySQL = true
MySQLite_config.Host = "IP"
MySQLite_config.Username = "USER"
MySQLite_config.Password = "PASSWORD"
MySQLite_config.Database_name = "DBNAME"
MySQLite_config.Database_port = 3306
MySQLite_config.Preferred_module = "tmysql4"
а ну и вот собственно сборка Сборка - ОРИГИНАЛЬНАЯ СБОРКА MetaHub CITY17 [Server/Client Часть]
Lua:
[ERROR] gamemodes/darkrp/gamemode/core/mysqlite.lua:156: attempt to index upvalue 'MySQLite_config' (a nil value)
1. initialize - gamemodes/darkrp/gamemode/core/mysqlite.lua:156
2. unknown - gamemodes/darkrp/gamemode/init.lua:40
Последнее редактирование модератором: