Fougerite Official

Fougerite Official 1.9.7

No permission to download
  • 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
  • Fixed the hurtevent issues for other animals and stuffs to get applied.
  • Patcher Changes! Use the prepatched dlls, or patch them using the patcher!
  • Fougerite.dll update!
  • I replaced the original magma hurtevent hook to the takedamage one, which seems more legit. No RPC errors appear after destroying a wall with c4 as an example. I'm also planning to swap playerhurtevent, and npchurtevent, and killed to this hook. But for now only Entity is running on It.
  • I also added the reference dlls on github so its easier to build for newbies.
  • https://github.com/Notulp/Fougerite/commit/5ff372ea2d9b55c99e9f9a8cdb3e80936eb6ffba
  • Like
Reactions: xandeturf
  • Like
Reactions: xandeturf
  • Only a Fougerite.dll update, with minimal changes, i promise to check on mysql next round. For now i added a new tp method too, which could possibly solve the problems of far teleportation. It finds the closest spawnpoint near the given vector, teleports you on the ground, and you can teleport the player in his house next, since he will load the objects near him.
  • https://github.com/Notulp/Fougerite/commit/6c4764197aa021371233bd7da906e80dc2980b57
  • Like
Reactions: salva
  • Like
Reactions: salva