Может для начало мод соберешь?
/setdim 3244522Реформы армии нет
Посмотреть вложение 8770
[INFO] Loading NodeJS packages...
[INFO] Starting packages...
[DONE] Server packages have been started.
Initializing Bootstrapper.dll (1.1.0.0)..
-> SERVER STARTED AT 26.06.2023 17:37:15
Unable to load acl.xml
ACLEnabled: False
Loaded 667 entries from vehicleData.json
Loading resources..
-> Starting NeptuneEvo resource..
NeptuneEvo: loading scripts.. found 1 script(s)
NeptuneEvo: instantiating NeptuneEvo.Main..
Object cannot be cast from DBNull to other types.
Object cannot be cast from DBNull to other types.
17:37:16.470 | Info | Main | No Connect To Main DataBase
Object cannot be cast from DBNull to other types.
Object cannot be cast from DBNull to other types.
17:37:16.487 | Info | Main | No Connect To Main Config
17:37:16.576 | Info | Utils.Redis | Start: All ok. For server: 0
17:37:16.579 | Info | Main | Backup Starting
Object cannot be cast from DBNull to other types.
Object cannot be cast from DBNull to other types.
17:37:16.603 | Succ | Core.Economy | Economy loaded.
17:37:16.611 | Info | Chars.Repository | [00:00:00.0008847] Inventory system loaded (0)
17:37:16.632 | Info | nTimer | Elapsed(5175e379-ca30-401c-a99f-99ec8a662bf6,MS:0,ONCE:True,From:) Task #1 Exception: System.InvalidCastException: Object cannot be cast from DBNull to other types.
at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider)
at MySql.Data.MySqlClient.Driver.LoadCharacterSets(MySqlConnection connection)
at MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection)
at MySql.Data.MySqlClient.MySqlConnection.Open()
at NeptuneEvo.Functions.BackupSql.Backup() in C:\Users\qweiu\Downloads\redage_v3-main\dotnet\resources\NeptuneEvo\Functions\BackupSql.cs:line 30
at Redage.SDK.nTimer.<Elapsed>b__32_0() in C:\Users\qweiu\Downloads\redage_v3-main\dotnet\resources\NeptuneEvoSDK\Timers.cs:line 428
The given key '63' was not present in the dictionary.
The given key '63' was not present in the dictionary.
The given key '63' was not present in the dictionary.
The given key '63' was not present in the dictionary.
The given key '63' was not present in the dictionary.
The given key '63' was not present in the dictionary.
The given key '63' was not present in the dictionary.
The given key '63' was not present in the dictionary.
The given key '63' was not present in the dictionary.
The given key '63' was not present in the dictionary.
The given key '63' was not present in the dictionary.
The given key '63' was not present in the dictionary.
The given key '63' was not present in the dictionary.
Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key '63' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at MySql.Data.MySqlClient.MySqlField.SetFieldEncoding()
at MySql.Data.MySqlClient.MySqlField.set_CharacterSetIndex(Int32 value)
at MySql.Data.MySqlClient.NativeDriver.GetColumnData(MySqlField field)
at MySql.Data.MySqlClient.NativeDriver.GetColumnsData(MySqlField[] columns)
at MySql.Data.MySqlClient.Driver.GetColumns(Int32 count)
at MySql.Data.MySqlClient.ResultSet.LoadColumns(Int32 numCols)
at MySql.Data.MySqlClient.ResultSet..ctor(Driver d, Int32 statementId, Int32 numCols)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlDataReader.Close()
at MySql.Data.MySqlClient.MySqlCommand.ResetReader()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at LinqToDB.Data.DataConnection.ExecuteReaderAsync(CommandBehavior commandBehavior, CancellationToken cancellationToken)
at LinqToDB.Data.DataConnection.QueryRunner.ExecuteReaderAsync(CancellationToken cancellationToken)
at LinqToDB.Linq.QueryRunner.ExecuteQueryAsync[T](Query query, IDataContext dataContext, Mapper`1 mapper, Expression expression, Object[] ps, Object[] preambles, Int32 queryNumber, Func`2 func, TakeSkipDelegate skipAction, TakeSkipDelegate takeAction, CancellationToken cancellationToken)
at LinqToDB.Linq.QueryRunner.ExecuteQueryAsync[T](Query query, IDataContext dataContext, Mapper`1 mapper, Expression expression, Object[] ps, Object[] preambles, Int32 queryNumber, Func`2 func, TakeSkipDelegate skipAction, TakeSkipDelegate takeAction, CancellationToken cancellationToken)
at LinqToDB.Linq.ExpressionQuery`1.GetForEachAsync(Action`1 action, CancellationToken cancellationToken)
at LinqToDB.AsyncExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken token)
at NeptuneEvo.Chars.Repository.InitRoulette() in C:\Users\qweiu\Downloads\redage_v3-main\dotnet\resources\NeptuneEvo\Chars\Repository.cs:line 1083
at NeptuneEvo.Chars.Repository.InitRoulette() in C:\Users\qweiu\Downloads\redage_v3-main\dotnet\resources\NeptuneEvo\Chars\Repository.cs:line 1147
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_1(Object state)
at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()Out of sync with server
Код:[INFO] Loading NodeJS packages... [INFO] Starting packages... [DONE] Server packages have been started. Initializing Bootstrapper.dll (1.1.0.0).. -> SERVER STARTED AT 26.06.2023 17:37:15 Unable to load acl.xml ACLEnabled: False Loaded 667 entries from vehicleData.json Loading resources.. -> Starting NeptuneEvo resource.. NeptuneEvo: loading scripts.. found 1 script(s) NeptuneEvo: instantiating NeptuneEvo.Main.. Object cannot be cast from DBNull to other types. Object cannot be cast from DBNull to other types. 17:37:16.470 | Info | Main | No Connect To Main DataBase Object cannot be cast from DBNull to other types. Object cannot be cast from DBNull to other types. 17:37:16.487 | Info | Main | No Connect To Main Config 17:37:16.576 | Info | Utils.Redis | Start: All ok. For server: 0 17:37:16.579 | Info | Main | Backup Starting Object cannot be cast from DBNull to other types. Object cannot be cast from DBNull to other types. 17:37:16.603 | Succ | Core.Economy | Economy loaded. 17:37:16.611 | Info | Chars.Repository | [00:00:00.0008847] Inventory system loaded (0) 17:37:16.632 | Info | nTimer | Elapsed(5175e379-ca30-401c-a99f-99ec8a662bf6,MS:0,ONCE:True,From:) Task #1 Exception: System.InvalidCastException: Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) at MySql.Data.MySqlClient.Driver.LoadCharacterSets(MySqlConnection connection) at MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection) at MySql.Data.MySqlClient.MySqlConnection.Open() at NeptuneEvo.Functions.BackupSql.Backup() in C:\Users\qweiu\Downloads\redage_v3-main\dotnet\resources\NeptuneEvo\Functions\BackupSql.cs:line 30 at Redage.SDK.nTimer.<Elapsed>b__32_0() in C:\Users\qweiu\Downloads\redage_v3-main\dotnet\resources\NeptuneEvoSDK\Timers.cs:line 428 The given key '63' was not present in the dictionary. The given key '63' was not present in the dictionary. The given key '63' was not present in the dictionary. The given key '63' was not present in the dictionary. The given key '63' was not present in the dictionary. The given key '63' was not present in the dictionary. The given key '63' was not present in the dictionary. The given key '63' was not present in the dictionary. The given key '63' was not present in the dictionary. The given key '63' was not present in the dictionary. The given key '63' was not present in the dictionary. The given key '63' was not present in the dictionary. The given key '63' was not present in the dictionary. Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key '63' was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at MySql.Data.MySqlClient.MySqlField.SetFieldEncoding() at MySql.Data.MySqlClient.MySqlField.set_CharacterSetIndex(Int32 value) at MySql.Data.MySqlClient.NativeDriver.GetColumnData(MySqlField field) at MySql.Data.MySqlClient.NativeDriver.GetColumnsData(MySqlField[] columns) at MySql.Data.MySqlClient.Driver.GetColumns(Int32 count) at MySql.Data.MySqlClient.ResultSet.LoadColumns(Int32 numCols) at MySql.Data.MySqlClient.ResultSet..ctor(Driver d, Int32 statementId, Int32 numCols) at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlDataReader.Close() at MySql.Data.MySqlClient.MySqlCommand.ResetReader() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at LinqToDB.Data.DataConnection.ExecuteReaderAsync(CommandBehavior commandBehavior, CancellationToken cancellationToken) at LinqToDB.Data.DataConnection.QueryRunner.ExecuteReaderAsync(CancellationToken cancellationToken) at LinqToDB.Linq.QueryRunner.ExecuteQueryAsync[T](Query query, IDataContext dataContext, Mapper`1 mapper, Expression expression, Object[] ps, Object[] preambles, Int32 queryNumber, Func`2 func, TakeSkipDelegate skipAction, TakeSkipDelegate takeAction, CancellationToken cancellationToken) at LinqToDB.Linq.QueryRunner.ExecuteQueryAsync[T](Query query, IDataContext dataContext, Mapper`1 mapper, Expression expression, Object[] ps, Object[] preambles, Int32 queryNumber, Func`2 func, TakeSkipDelegate skipAction, TakeSkipDelegate takeAction, CancellationToken cancellationToken) at LinqToDB.Linq.ExpressionQuery`1.GetForEachAsync(Action`1 action, CancellationToken cancellationToken) at LinqToDB.AsyncExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken token) at NeptuneEvo.Chars.Repository.InitRoulette() in C:\Users\qweiu\Downloads\redage_v3-main\dotnet\resources\NeptuneEvo\Chars\Repository.cs:line 1083 at NeptuneEvo.Chars.Repository.InitRoulette() in C:\Users\qweiu\Downloads\redage_v3-main\dotnet\resources\NeptuneEvo\Chars\Repository.cs:line 1147 at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_1(Object state) at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi) at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state) at System.Threading.QueueUserWorkItemCallback.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()Out of sync with server
БД подключил в 3-ех файлах, в чем проблема?
СпасибоПроблема очевидная - никто не читает инструкцию, зачем она вообще тогда нужна?
В инструкции четко написано какую версию MySQL (MariaDB) нужно ставить, а вы все равно ставите что вам хочется.
Проблема с портами.что если в мастер листе сервера нет, подключаешься по айпи конекшон лост реконектинг, тем временем сервер в строке запущен без ошибок, проверил много раз, все запущено все работает но не заходит
Они не работали с самого начала слива.Реформы армии нет
Посмотреть вложение 8770
бля я просто чайник и не очень все понимаю, кстати при подключении по айпи нету загрузки данныхПроблема с портами.
В мастер листе сервер может быть виден но к нему не подключиться вечная загрузка разбирайся с портами и в конфиге надо указывать IP4v.
Могу завтра помочь.бля я просто чайник и не очень все понимаю, кстати при подключении по айпи нету загрузки данных
буду благодаренМогу завтра помочь.
А сейчас я спать
Прикинь не помогает.А сохранить и пересобрать решение не пробовал? Помогает говорят.
Странно. Мне помогло сохранить и пересобрать решение. Может что то не так делаешь?
public static Vector3[] ArmyCheckpoints = new Vector3[13]
{
new Vector3(-2349.2397, 3217.694, 28.5), // guns 0
new Vector3(-2340.1667, 3223.0715, 28.5), // dressing room 1
new Vector3(-108.0619, -2414.873, 5.000001), // army docks mats 2
new Vector3(-2360.946, 3249.595, 31.81073), // army lift 1 floor 3
new Vector3(-2360.66, 3249.115, 91.90369), // army lift 9 floor 4
new Vector3(-2344.1865, 3219.297, 28.5), // army stock 5
new Vector3(-1796.6366, 3099.8145, 32.841824), // Починка наземного транспорта 6
new Vector3(-524.7707, -2902.6392, 6.0003), // Починка воздушного транспорта 7
new Vector3(-289.3858, -2663.2488, 5.1595364), // Общая тревога кнопка 8
new Vector3(-330.44122, -2778.9834, 5.3272867), // Вход из мира в инту 9
new Vector3(-2345.4094, 3225.2507, 29.22482), // Выход из инты в мир 10
new Vector3(-315.38025, -2698.401, 7.54995), // Вход из мира в инту 11
new Vector3(-2352.8345, 3252.8472, 32.810738), // Выход из инты в мир 12
};
А он не то же самое написал что собрал и 0 толку.А сохранить и пересобрать решение не пробовал? Помогает говорят.
На сколько я не ошибаюсь кардиналы ещё в клиенте надо менять.А сохранить и пересобрать решение не пробовал? Помогает говорят.