Messages not showing in chat properlyFixed
I figured showing a picture might explain more than not.

Thanks for the screenshot. It looks like the default language isn't registering properly :(

I'll look into that now.

Merged post

I've not been able to replicate this. What language are you set to? It looks you are set to English "en" so it should work.

Did it generate the SyncPipes.json file in your "[rust server]\oxide\lang\en" folder?
plug is broken as it seems i just got the same as above

 

Same issue and no it did not make the file in en language
Very odd. I will try and get to the bottom of it ASAP. 
No it never generated the language file
5f9543a0e5aa9.jpg Joe90
Very odd. I will try and get to the bottom of it ASAP. 

Try this:

lang.RegisterMessages(en, this);​

Instead of:

lang.RegisterMessages(en, Instance, "en");​

Note: You can leave the "en" if you want, it's the assumed default though.

5e13a8d5b2bc5.jpg Wulf

Try this:

lang.RegisterMessages(en, this);​

Instead of:

lang.RegisterMessages(en, Instance, "en");​

Note: You can leave the "en" if you want, it's the assumed default though.

I've tried to implement that. I've also added some logging so you should see a message in the server console that reads "Registered language for 'en'" when LoadDefaultMessages is run.
5e13a8d5b2bc5.jpg Wulf

Try this:

lang.RegisterMessages(en, this);​

Instead of:

lang.RegisterMessages(en, Instance, "en");​

Note: You can leave the "en" if you want, it's the assumed default though.

There are few problems with language system after last updates. Its adding new values in language file, but it doesnt seems to detect them in oxide core

@Orange Thanks for letting me know. I've put a fallback sytem in as well in case the message isn't returned by Oxide, so hopefully this should resolve it in the short term.
5ba216a6d7f65.png Orange

There are few problems with language system after last updates. Its adding new values in language file, but it doesnt seems to detect them in oxide core

It wouldn't magically have issues when there have been no changes... Not aware of any either, and this issue does not appear to be "new", just a null Instance.

5f9543a0e5aa9.jpg Joe90
I've tried to implement that. I've also added some logging so you should see a message in the server console that reads "Registered language for 'en'" when LoadDefaultMessages is run.

The reason for my example is that your Instance isn't set before that method is called I believe, so it would be null and your messages wouldn't be registered to your plugin.

5e13a8d5b2bc5.jpg Wulf

The reason for my example is that your Instance isn't set before that method is called I believe, so it would be null and your messages wouldn't be registered to your plugin.

Ah missed that Instance was still in there (and misread what you wrote :S ), meant to swap that out when I moved it. Will correct it and re-release it.
Thanks Wulf

Locked automatically