Fougerite Official

Fougerite Official 1.9.2

No permission to download
  • Nothing serious, just added On_PlayerBan for API usage.
  • IronPython Updated
  • Magma Updated
  • Jint Updated
  • MoonSharp Updated
  • Fougerite.dll Updated
I have tested some SQL queries It seemed to work for me, and instantly saved It in the DB.
  • Added missing System.Transactions.dll which seems to solve the issue with the Typeloading.
  • Added missing System.Data and Serialization dlls for json.
Example:

Python:
class Test5:

    def On_PluginInit(self):
        sbuilder = JSON.CreateStringBD()
        writer = JSON.CreateJsonWriter(sbuilder, True)
        #writer.Formatting = Formatting.Indented
        writer.WriteStartObject()
        writer.WritePropertyName("CPU")
        writer.WriteValue("Intel")
        writer.WritePropertyName("PSU")
        writer.WriteValue("500W")
        writer.WritePropertyName("Drives")
        writer.WriteStartArray()
        writer.WriteValue("DVD read/writer")
        writer.WriteComment("(broken)") # I do not suggest using It though, It might throw an error if using in Py, Js, Lua
        writer.WriteValue("500 gigabyte hard drive")
        writer.WriteValue("200 gigabype hard drive")
        writer.WriteEnd()
        writer.WriteEndObject()
        Util.Log(sbuilder.ToString())


        jsonobject = JSON.CreateJsonObject()
        jsonarray = JSON.CreateJsonArray()
        jsonarray.Add("Manual text")
        jsonarray.Add("Manual text2")
        jsonobject["MyArray"] = jsonarray
        Util.Log(jsonobject.ToString())

        json = "{ 'CPU': 'Intel', 'PSU': '500W', 'Drives': [ 'DVD read/writer', '500 gigabyte hard drive', '200 gigabype hard drive']}"

        jsontextreader = JSON.CreateJsonTextReader(json)
        while jsontextreader.Read():
            if jsontextreader.Value is not None:
                Util.Log("Token: " + str(jsontextreader.TokenType) + " Value: " + str(jsontextreader.Value))
            else:
                Util.Log("Token: " + str(jsontextreader.TokenType))
upload_2017-6-12_21-26-23.png
  • Fougerite.dll Updated
  • NewtonSoft dlls added, please don't forget to upload them
  • Patcher modified, please repatch or use the prepatched dlls.
  • Rust++ Updated
  • IronPython Updated
  • Jint Updated
  • Magma Updated
  • MoonSharp Updated
  • Json Support added, you may use them in py, js, lua by refering class "JSON" or in C# by importing the dll or simpy using JsonAPI from Fougerite
  • uLink Debug messages are now added, you might be able to see if an ip is attacking the ulink connection
  • some fixes at ulink
  • Fixed sleepers having godmode in 1.5.6 Beta
  • Fixed Entity's Destroy causing error sometimes
  • Making sure to not send any RPCs if the player went offline one more time
  • Totally using a different hurtevent hook, should be a lot more faster and smooth
  • Added some new Getters to increase the API
  • Built with Rider ~ JetBrains
  • https://github.com/Notulp/Fougerite/commit/b0653a4b3ae3841b8c851341322e85cb1ed0eccb
  • JSON Api: http://www.newtonsoft.com/json
  • Class: https://github.com/Notulp/Fougerite/blob/master/Fougerite/Fougerite/JsonAPI.cs
  • Patcher Updated, Re-patch or use the prepatched dlls
  • Fougerite.dll Updated
  • Fougerite.cfg Updated
  • A config option is now there, and if you wish you can enable autosaves to be threaded. Large servers will possibly love this, because there is no lagg while saving.
  • LootEvent's Cancel method is now updated, uses the legit way, and doesn't cause any problems.
  • HookSpeed methods were updated.
  • https://github.com/Notulp/Fougerite/commit/f2df26ad4c6cd8d16b8ece2706d5eb1544a42e07