Search results

  1. tarynkelley

    Solved C# Plugin - Random Crash with threading

    Coroutines maybe? I'm having a look at http://answers.unity3d.com/questions/357033/unity3d-and-c-coroutines-vs-threading.html at the moment.
  2. tarynkelley

    Approved DestroySystem

    It has to be: self.TurnOfAfterATime = int(ini.GetSetting("options", "TurnOfAfterATime")) self.Time = int(ini.GetSetting("options", "Time")) * 1000
  3. tarynkelley

    Solved C# Plugin - Random Crash with threading

    Rust Legacy Unity version really sucks. I also cannot use a Disconnect function in a timer :/ It also crashes the server randomly.
  4. tarynkelley

    Approved DestroySystem

    Is it possible to add a timer to the destroy system so that it will deactivate automatically after x seconds?
  5. tarynkelley

    Approved VoteBan

    it has to be Fixed version of VoteBan: __title__ = 'VoteBan' __author__ = 'Jakkee' __version__ = '1.1.2' import clr clr.AddReferenceByPartialName("Fougerite") import Fougerite import System PluginSettings = {} class VoteBan: #Storing these here so if the player disconnects it doesn't...
  6. tarynkelley

    Approved DestroySystem

    its /instako and /instkoall (to remove the complete building/structure)
  7. tarynkelley

    Approved ChangeOwner

    Yeah something is wrong with Entity.ChangeOwner function (http://fougerite.com/wiki/entity/)
  8. tarynkelley

    Approved ChangeOwner

    [IronPython] Error in plugin ChangeOwner: Traceback (most recent call last): File "<string>", line 88, in On_Command TypeError: Cannot cast from source type to destination type. Same for me when I use /changeowner
  9. tarynkelley

    Solved C# Plugin - Random Crash with threading

    And probably also fixed in Rust Experimental? Thats why its working for Pluton?
  10. tarynkelley

    Solved C# Plugin - Random Crash with threading

    The server definitely crashs when you use Disconnect function with threadings. It seems to be a design problem of Unity that you cannot use the Unity API in threads.
  11. tarynkelley

    Solved C# Plugin - Random Crash with threading

    It is crashing even more often with the new Fougerite version. http://answers.unity3d.com/questions/180243/threading-in-unity.html I decided to move the Player.Disconnect function out of the thread and to work with thread.join() Currently testing the module.. I very hope this will finally fix...
  12. tarynkelley

    Solved C# Plugin - Random Crash with threading

    Also with the newest Fougerite version there are still the same crashes. I wish i could work the error message out. I have no idea what it means.
  13. tarynkelley

    Approved Clans

    Yes I already had a look into the source code. Will try it out tonight.
  14. tarynkelley

    Approved VoteBan

    Does it not have to be: def isBannable(self, Player): try: if Player.Admin: if DataStore.Get("VoteBan", "AdminBannable") == "true": return True else: return False elif...
  15. tarynkelley

    Important Break Time Runs In

    Maybe this is happening when the players rust client crashes and he did not timeout from the server yet and you try to kick / disconnect him? I set: server.clienttimeout 5
  16. tarynkelley

    Environment.TickCount returns negative numbers

    Hey, is there any way or solution to fix this problem except restarting the server? https://msdn.microsoft.com/en-us/library/system.environment.tickcount%28v=vs.110%29.aspx
  17. tarynkelley

    Solved C# Plugin - Random Crash with threading

    Crashlog see attachments. Sourcecode: namespace WhiteListCountry { using Fougerite; using Fougerite.Events; using System; using System.Globalization; using System.IO; using System.Threading; using System.Collections.Generic; using UnityEngine; using GeoIP...
  18. tarynkelley

    Solved C# Plugin - Random Crash with threading

    I added a 20 sec delay before pl.Disconnect() via System.Timers but my Plugin is still crashing sometimes. :( I have no idea why :(
  19. tarynkelley

    NoSuicide

    Name: NoSuicide Description: Prevents that user can kill themselves with F1 + suicide command. Commands: /suicide on , /suicide off (Disabling and activating suicide)
  20. tarynkelley

    Solved C# Plugin - Random Crash with threading

    Well so far all is working, except for some unknown reason the plugin might crash the server, but its very rare, once per day. I wanna release this plugin when this bug has been fixed.