1. getting
    Code:
    Failed to call hook 'OnServerInitialized' on plugin 'AntiCheat v2.3.8' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 5:35 PM [Debug]   at Oxide.Plugins.AntiCheat.LoadData () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AntiCheat.OnServerInitialized () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 5:35 PM [Info] [TwigsDecay] TwigsDecay: Decayed 0 blocks (0 destroyed), 0 barricades (0 destroyed) and 0 ladders (0 destroyed)
    when reloading the plugin
     
  2. corrupted data file.
    suhtdown the server
    delete your data file
    restart the server
     
  3. No one can fix ban for CeilingHack?
    All cheaters raid houses with this cheat..
     
  4. Hi Sleeping Bag Dont Work ! :-?

    do you know what is my problem ? :(
     
  5. Wulf

    Wulf Community Admin

    I don't see how that is related to R-AntiCheat. Please post in the appropriate forum section.
     
  6. Sleeping Bag Hack:

    Permanent Check: YES
    Checks if players spawns sleeping bags (and beds) threw walls or doors.
    It will always delete the sleeping bag,
    and as optional you can punish the player.

    It Dont work for me I used Last Version of oxide 2 ( i download it today ) and i use This AntiCheat system and i and my friend make two house !

    i place a sleeping bag in his house and he palce a sleeping bag in my house !
    so anticheat dont work i thinking problem is from me !

    https://www.youtube.com/embed/Z_RNVi-4CCs?wmode=opaque
    i see this video before install anticheat !
    -------------------------
    i have just AntiCheat Plugin ==> My server is test !
    and now i am trying with last version of oxide 2 on Aug 15, 2015

    so Any Help ?
    [DOUBLEPOST=1440265704][/DOUBLEPOST]
    Please Delete Post number #544
    my post is #546
    [DOUBLEPOST=1440267227][/DOUBLEPOST]And i have a error when compiling anticheat :

    Code:
    [Oxide] 10:42 PM [Warning] Ignored obsolete game extension reference 'Oxide.Ext.
    RustLegacy' in plugin 'AntiCheat'
    Please Help
    [DOUBLEPOST=1440267349][/DOUBLEPOST]and this function dont work on my server :

    Code:
    void OnItemDeployedByPlayer(DeployableObject component, IDeployableItem item)
            {
                Puts("1");
                if (!antiSleepingBagHack) return;
                Puts("1");
                if (component.gameObject.name == "SleepingBagA(Clone)" || component.gameObject.name == "SingleBed(Clone)")
                {
                    Puts("4");
                    if (!item.character) return;
                    Puts("5");
                    if (!(MeshBatchPhysics.Linecast(item.character.eyesOrigin,component.transform.position, out cachedRaycast, out cachedBoolean, out cachedhitInstance))) return;
                    if (cachedhitInstance == null && cachedRaycast.collider.gameObject.name != "MetalDoor(Clone)") return;
                    Puts("6");
                    if (Vector3.Distance(item.character.eyesOrigin, component.transform.position) > 9f) return;
                    if ( component.transform.position.y - item.character.eyesOrigin.y > 1f) return;
                    Puts("7");
                    AntiCheatBroadcastAdmins(string.Format("{0} tried to spawn a {1} @ {2} from {3}", item.character.playerClient.userName, component.gameObject.name.Replace("(Clone)",""), component.transform.position.ToString(), item.character.eyesOrigin.ToString()));
                    AntiCheatBroadcastAdmins(string.Format("{0} was on the way", (cachedhitInstance == null) ? "Metal Door" : cachedhitInstance.physicalColliderReferenceOnly.gameObject.name.Replace("(Clone)", "")));
                    Puts(string.Format("{0} tried to spawn a {1} @ {2} from {3} threw {4}", item.character.playerClient.userName, component.gameObject.name.Replace("(Clone)", ""), component.transform.position.ToString(), item.character.eyesOrigin.ToString(), (cachedhitInstance == null) ? "Metal Door" : cachedhitInstance.physicalColliderReferenceOnly.gameObject.name.Replace("(Clone)", "")));
                    NetCull.Destroy(component.gameObject);
                    if (sleepingbaghackPunish)
                        Punish(item.character.playerClient, string.Format("rSleepHack ({0})", (cachedhitInstance == null) ? "Metal Door" : cachedhitInstance.physicalColliderReferenceOnly.gameObject.name.Replace("(Clone)", "")));            }
            }
    
    Why ? :(
    [DOUBLEPOST=1440283840,1440264774][/DOUBLEPOST]i FIX Players Sleeping bag and Bed Problem And this work with share plugin !
    i you want i get you this :X
    but i know you are best Developer and i know you are Busy !
     
  7. Will bans be on IP-Adresses soon?
     
  8. no, i don't develop for legacy anymore.
     
  9. why :-( There are no plugins that Bans on IP on legacy
     
  10. Wulf, does this version fix the SleepBag hack not working?
     
  11. Wulf

    Wulf Community Admin

    That is an old post, and not the latest version; so no, sorry.
     
  12. is there any way I can get the sleeping bag function working again?

    @Reneb this is the last thing that has to be fixed Reneb sleeping bag glitching is being used so much. Hope you can make a quick update!
     

    Attached Files:

    Last edited by a moderator: Oct 22, 2015
  13. Can someone please fix this problem with the sleeping bag glitch?
     
  14. Reneb updated R-AntiCheat with a new update entry:

    2.0.14

     
  15. Code:
    (05:27:08) | [Oxide] 5:27 AM [Debug] Preparing compilation
    (05:27:08) | [Oxide] 5:27 AM [Debug] Adding plugin to compilation: AntiCheat
    (05:27:08) | [Oxide] 5:27 AM [Warning] Ignored obsolete game extension reference 'Oxide.Ext.RustLegacy' in plugin 'AntiCheat'
    (05:27:08) | [Oxide] 5:27 AM [Error] Assembly referenced by AntiCheat plugin does not exist: Facepunch.ID.dll
    (05:27:08) | [Oxide] 5:27 AM [Error] Assembly referenced by AntiCheat plugin does not exist: Facepunch.MeshBatch.dll
    (05:27:08) | [Oxide] 5:27 AM [Error] Assembly referenced by AntiCheat plugin does not exist: Google.ProtocolBuffers.dll
    (05:27:08) | [Oxide] 5:27 AM [Debug] Probably done preparing compilation:
    (05:27:08) | [Oxide] 5:27 AM [Debug] Done preparing compilation:
    (05:27:08) | [Oxide] 5:27 AM [Debug] EnqueueCompilation called for an empty compilation
     
  16. this is a legacy plugin
     
  17. oh wow. my mistake.
     
  18. Got this after updating oxide and the Anticheat.
    Code:
    [Oxide] 5:02 PM [Error] Failed to call hook 'OnItemDeployed' on plugin 'AntiCheat v2.0.13' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 5:02 PM [Debug]   at Oxide.Plugins.AntiCheat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 5:02 PM [Error] Failed to call hook 'OnItemDeployed' on plugin 'AntiCheat v2.0.13' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 5:02 PM [Debug]   at Oxide.Plugins.AntiCheat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
  19. can you try to reproduce the bug plz?
    like when it happens?
     
  20. @Reneb I'll try it when the player amount decreases, but i had the plugin loaded for 4 minutes, and it displayed the error 18 times in that time.