Problem z pluginem roll
-
Plugin roll nie działa nie chce się załadować pod spodem log:
13:56 [Error] Failed to initialize plugin 'RollTheDice v1.0.4' (JsonReaderException: After parsing a value an unexpected character was encountered: C. Path 'CmdRoll_Player3', line 21, position 3.) at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0 13:56 [Info] Unloaded plugin RollTheDice v1.0.4 by clang 13:56 [Info] No previous version to rollback plugin: RollTheDice -
@Misiek2115 spróbuj usunąć plik konfiguracyjny i przeładuj plugin
o.reload RollTheDice -
Robiłem tak wielokrotnie
-
Podrzuć jeszcze logi z kompilatora.
-
Teraz coś takiego przy próbie reload
Error] Error while compiling: RollTheDice.cs(386,20): error CS0246: The type or namespace name `EEntityFluidEffectType' could not be found. Are you missing an assembly reference? -
@Misiek2115 Jesteś pewien, że używasz zaktualizowanego pluginu?
-
@youhosi pobrany z tego forum

-
Dla pewności wrzucony jeszcze raz i takie coś:
17:09 [Info] RollTheDice was compiled successfully in 1604ms
17:09 [Error] Unable to find main plugin class: RollTheDice
17:09 [Info] No previous version to rollback plugin: RollTheDice -
Jesteś pewny, że zrobiłeś wszystko dobrze? Nie widzę w kodzie
EEntityFluidEffectType.
Na pewno pobrałeś wersję dla V2? Tutaj ją możesz pobrać.
-
Dokładnie ta wersja pobrana i sprawdzałem i jest w kodzie to
-
Wcześnie było teraz nie widzę tego

-
W takim razie usuń wszystkie pliki po tym pluginie i dodaj go jeszcze raz.
-
Zrobiłem tak jak mówiłeś i:
17:23 [Info] RollTheDice was compiled successfully in 1750ms
17:23 [Error] Unable to find main plugin class: RollTheDice
17:23 [Info] No previous version to rollback plugin: RollTheDice
17:23 [Error] Error while compiling: RollTheDice.cs(575,22): error CS1525: Unexpected symbol(', expecting,',;', or='Nie patrz na godzinę bo nie skonfigurowana jest
-
@youhosi wcześniej plugin działał lecz po restarcie serwera już nie działa
-
@Misiek2115 Nie aktualizowałeś przypadkiem serwera?
-
Aktualizowany był tylko jak wyszła aktualizacja Hurtworld
-
Proszę, naprawiłem dla Ciebie ten plugin. Daj znać, czy działa.
RollTheDice.cs -
@Gokuś niestety teraz taki błąd:
[Error] Error while compiling: RollTheDice.cs(738,19): error CS1525: Unexpected symbol `end-of-file' -
@Gokuś napisał w Problem z pluginem roll:
RollTheDice.cs
Forum NodeBB dodaje do pliku 14 znaków (timestamp) przez co nazwa pluginu jest zmieniana, co skutkuje tym, że mu się plugin nie załaduje. Jeśli możesz i jeśli będziesz dodawał/edytował inne pluginy to zapakuj je do archiwum zip.
-
@Misiek2115 napisał w Problem z pluginem roll:
niestety teraz taki błąd:
[Error] Error while compiling: RollTheDice.cs(738,19): error CS1525: Unexpected symbol end-of-file'A to dziwne bo mi się normalnie plugin załadował.
9:28 [Info] Loading Oxide Core v2.0.3939... 19:28 [Info] Loading extensions... 19:28 [Info] Latest compiler MD5: 8ce6d27e7718e3d164766bba8833537a 19:28 [Info] Local compiler MD5: 8ce6d27e7718e3d164766bba8833537a 19:28 [Info] Loaded extension CSharp v2.0.4000 by Oxide and Contributors 19:28 [Info] Loaded extension Hurtworld v2.0.3938 by Oxide and Contributors 19:28 [Info] Loaded extension MySql v2.0.3755 by Oxide and Contributors 19:28 [Info] Loaded extension SQLite v2.0.3754 by Oxide and Contributors 19:28 [Info] Loaded extension Unity v2.0.3756 by Oxide and Contributors 19:28 [Info] Using Covalence provider for game 'Hurtworld' 19:28 [Info] [Rcon] Server started successfully on port 25580 19:28 [Info] Loading plugins... 19:28 [Info] Loaded plugin Hurtworld v2.0.3938 by Oxide and Contributors 19:28 [Info] Loaded plugin Unity v2.0.3756 by Oxide and Contributors 19:29 [Info] AllInOne and RollTheDice were compiled successfully in 2127ms 19:29 [Info] Loaded plugin AllInOne v1.0.0 by YouHosi 19:29 [Info] Loaded plugin RollTheDice v1.0.4 by clang
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Zarejestruj się Zaloguj się