CS-GEJMERZY / VIP-Plugin

VIP plugin designed to work with CSS framework on cs2 servers.
GNU General Public License v3.0
13 stars 3 forks source link

[BUG] VIP Dosent work #48

Open Nolvade opened 4 months ago

Nolvade commented 4 months ago
 Error while loading player data on join: System.InvalidCastException: Unable to convert MySQL date/time to System.DateTime, set AllowZeroDateTime=True or ConvertZeroDateTime=True in the connection string. See https://mysqlconnector.net/connection-options/
   at MySqlConnector.ColumnReaders.TextDateTimeColumnReader.ParseDateTime(ReadOnlySpan`1 data, Boolean convertZeroDateTime, Boolean allowZeroDateTime, DateTimeKind dateTimeKind) in /_/src/MySqlConnector/ColumnReaders/TextDateTimeColumnReader.cs:line 40
   at MySqlConnector.Core.Row.GetValue(Int32 ordinal) in /_/src/MySqlConnector/Core/Row.cs:line 94
   at MySqlConnector.Core.Row.GetDateTime(Int32 ordinal) in /_/src/MySqlConnector/Core/Row.cs:line 329
   at Core.Managers.DatabaseManager.GetPlayerServices(Int32 playerId, ServiceAvailability availability) in /home/runner/work/VIP-Plugin/VIP-Plugin/src/Managers/DatabaseManager.cs:line 136
   at Core.Models.PlayerData.LoadData(CCSPlayerController player, GroupManager groupManager, DatabaseManager databaseManager) in /home/runner/work/VIP-Plugin/VIP-Plugin/src/Models/PlayerData.cs:line 72
   at Core.Plugin.<>c__DisplayClass9_1.<<EventPlayerConnectFull>b__1>d.MoveNext() in /home/runner/work/VIP-Plugin/VIP-Plugin/src/Events.cs:line 38 

i tried everything 2 days ago vip was working very well After update everything is down...

Nolvade commented 4 months ago

I dont know what u did or something fixed but its working rn :)

Edit

I join to server once again and dosent work again XDD

Edit 2

Its only work on first acc what i add second acc cant be add idk why

Edit 3

Mogę prosić do Ciebie discorda? wyjaśnie ci jak to u mnie wygląda

Edit 4

Nie dziala 4 grupa VIP moga tylko istniec 3 grupy dlaczego? nie wiem