Important About LootCancel Event

Discussion in 'News & Announcements' started by DreTaX, Feb 22, 2017.

  1. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,818
    Likes Received:
    602
    Remember why LegitRaid was sort of crap?
    It was because after a given time, you couldn't open the chests when you were spamming E button on them.

    This was because when I wanted to patch the eject method correctly, It was protected, and the patching failed. Also, the Eject method couldn't be called like that, It said an outside script was calling the method and that should never happen...

    Well @salva reminded me, and looked into this again. A simple variable type changing and setting It seems to work lol.. I'm surprised that I have never tried this.

    Canceling the event however is still not good, It will cause an error, because the LootEvent Enter doesn't finish in time in Rust, so I have to delay It a bit with a small timer. But upon that, no more location faking, and It seems to work pretty well. I spammed E on It.

    Will be in the next release.

     
    #1
    • Like Like x 1

Share This Page

iHax Comunity/