Jump to content

hello

Pending 2.0.3

rustfoxgaming
rustfoxgaming

Posted

(23:41:57) | Failed to call hook 'BTCmd' on plugin 'BradleyTiers v2.0.3' (JsonReaderException: Unexpected character encountered while parsing value: G. Path '', line 0, position 0.)

 

 

Krungh Crow

Posted (edited)

have you deleted the old lang files prior to the 2.0 rewrite ?
Or changed/added the tiers ? it also has to follow 0 1 2 3 4 5 etc etc for each tier 

 

  "Tiers": {
    "0": { <------------------------------
      "Name": "Broken",
      "BradleyHealth": 500.0,

 

Edited by Krungh Crow
rustfoxgaming

Posted

4 hours ago, Krungh Crow said:

have you deleted the old lang files prior to the 2.0 rewrite ?
Or changed/added the tiers ? it also has to follow 0 1 2 3 4 5 etc etc for each tier 

 

  "Tiers": {
    "0": { <------------------------------
      "Name": "Broken",
      "BradleyHealth": 500.0,

 

BradleyTiers 2.json

Krungh Crow

Posted

the json seems valid 

can send me the lang files ?

Krungh Crow

Posted (edited)

also is valid

can you paste me the full error ? not just the 1st line ?

Edited by Krungh Crow
rustfoxgaming

Posted

just when i type the command and cant have notification what dificulty spawn

 

Krungh Crow

Posted

i used your files on my testserver and its showing correclty.
How are you editing the files and or uploading them ?

Krungh Crow

Posted

try editing with vs code or vs 2026 then upload it .
or edit it through the backend of your server directly

Krungh Crow

Posted (edited)

try uploading it through you webs ftp and use a better editor or do it directly through the webs interface (editing)

Edited by Krungh Crow
rustfoxgaming

Posted

Failed to call hook 'BTCmd

(04:31:25) | Failed to call hook 'BTCmd' on plugin 'BradleyTiers v2.0.4' (JsonReaderException: Unexpected character encountered while parsing value: G. Path '', line 0, position 0.)

at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <271c58b7a8684db5a2c92be17a81f252>:0

at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <271c58b7a8684db5a2c92be17a81f252>:0

at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0

at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x00043] in <271c58b7a8684db5a2c92be17a81f252>:0

at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <271c58b7a8684db5a2c92be17a81f252>:0

at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <271c58b7a8684db5a2c92be17a81f252>:0

at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0

at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <271c58b7a8684db5a2c92be17a81f252>:0

at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0

at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0

at Oxide.Core.Libraries.Lang.GetMessageFile (System.String plugin, System.String lang) [0x00067] in <15f61ddda771464d8246ebdce8ff4811>:0

at Oxide.Core.Libraries.Lang.GetMessageKey (System.String key, Oxide.Core.Plugins.Plugin plugin, System.String lang) [0x00036] in <15f61ddda771464d8246ebdce8ff4811>:0

at Oxide.Core.Libraries.Lang.GetMessage (System.String key, Oxide.Core.Plugins.Plugin plugin, System.String userId) [0x00017] in <15f61ddda771464d8246ebdce8ff4811>:0

at Oxide.Plugins.BradleyTiers.BTCmd (BasePlayer player, System.String command, System.String[] args) [0x00077] in <f497d1444e3b40898ea583eb0b41c25e>:0

at Oxide.Plugins.BradleyTiers.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003b0] in <f497d1444e3b40898ea583eb0b41c25e>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0

  • Like 1
Krungh Crow

Posted (edited)

lang file corruption .

Delete all lang files (of bradleytiers only) and reload the plugin ,

Set your client to english (RUST) and use the command.

Edited by Krungh Crow
rustfoxgaming

Posted

25 minutes ago, Krungh Crow said:

lang file corruption .

Delete all lang files (of bradleytiers only) and reload the plugin ,

Set your client to english (RUST) and use the command.

I don't need to put my game in English; I've never done it. All the plugins work perfectly.

Krungh Crow

Posted (edited)

its to rule out oxide seeing the base file. incorrectly

Somehow your editor or ftp or even the host is adding a G infront of the langfile when intitalising and creating the file (invis character)

Edited by Krungh Crow
2.2m

Downloads

Total number of downloads.

10.4k

Customers

Total customers served.

150.7k

Files Sold

Total number of files sold.

3.2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.