Search for a developer who masters shop/auction like plugins

Status
This thread has been locked.

Krali

Feedback score
0
Posts
11
Reactions
5
Resources
0
Hello, we have an auction plugin, which works very well, the problem being that there is a duplication glitch. The player cuts his internet connection, executes the command to sell the object then he throws the object on the ground and puts the internet connection back, with this manipulation, the object are on the ground and at the same time in the auctionhouse, so duplicated.

In the video you can see the glitch, and you can see our custom gui, I specify that the GUI does NOTHING, everything is managed by the plugin, the gui simply displays according to the data of the plugin, nothing more.

In the video you can see that I press a button to put on sale, the button does nothing other than execute a command for the player (like the sudo of essentials)

Actually the plugin check 3 times if the player has the item in the inventory
Code:
                    if (p.getInventory().getItem(slot) == null || p.getItemInHand() == null || p.getInventory().getItem(slot).getAmount() < amount)
                    {
                        p.sendMessage(ErrorMessageList.ERROR_001.getMessage());
                        hdv.getLogUtil().saveHdvMsgError(p.getDisplayName() + " la quantité est invalide.", LogHdvTypeList.MISE_EN_VENTE);
                        return;
                    }
Code:
  if (stack.isSimilar(p.getInventory().getItem(slot))) {
Code:
                        if(stack.getType() == Material.AIR) {                             return;                         }



With other auctionhouse plugins, we don't have the problem, we have taken a quick look at the code of these plugins, and we noticed in a very particular way of checking, we are looking for someone who can do the same in order to solve our problem. problem

Code of another AuctionHouse plugin with which we have no problem :
5Iky3p-7RUGq5mYJfOGQ_A.png

cNB43n-oR-aytUMIrt0Slw.png

FMGenNoVRLCjjYFj6Fc2ZQ.png
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.
Status
This thread has been locked.
Top