1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

[SOLVED] Fake tile packet

Discussion in 'Development' started by Aviv, Feb 7, 2017.

  1. Aviv

    Aviv Baby Zombie

    Messages:
    156
    how can i send a fake chest tile using packets and get its inventory?
     
  2. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
  3. gistrec

    gistrec Witch

    Messages:
    68
    GitHub:
    gistrec
  4. gistrec

    gistrec Witch

    Messages:
    68
    GitHub:
    gistrec
    But, unfortunately InventoryTransactionEvent is not working stably.
    I try to make similar plugin and take the same problem (can't cancelled event)
    I think, you should use ReceivePacketEvent instead InventoryTransactionEvent
    And when you need to cancel ITK - resend shop and player inventory
     
  5. Aviv

    Aviv Baby Zombie

    Messages:
    156
    gistrec likes this.
  6. Aviv

    Aviv Baby Zombie

    Messages:
    156
    You can. but how does this related? but thanks for the help. I already found out a better way of doing it :p
    SOLVED
     
    gistrec likes this.
  7. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    If you found a solution, would you mind sharing it here to help out others who may have the same issue?
     
    gistrec and Muqsit like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.