NickImpact / GTS

A take on the Global Trading Station from the Pokemon Games, expanded to a full developer API
GNU General Public License v3.0
17 stars 28 forks source link

Bug GTS money sold #120

Closed speccycy closed 3 years ago

speccycy commented 3 years ago

What is the bug? suppose i have 1 man is main ID he use GTS to sell item he sold for a price 500 pokebaht(money in server) and he use bot id to buy this he will have 500 pokebaht but he use 2 bot id buy this item simultaneously he will have 1000 pokebaht

And maybe it make CPU server load 100%

my config gts storage-method = "MariaDB"

What version of GTS are you running? GTS - 6.1.4 GTS-Extension-Reforged - 6.1.4 Impactor-sponge-7.1.5-3.1.2 Protocol-control-0.0.2 Economy Plugin - EconomyLite

What version of Sponge are you running? spongeforge-1.12.2-2838-7.3.1-RC4082

Provide a link to the file generated by /nucleus info https://gist.github.com/speccycy/bbdf0a894c943c38b8a8d28113c8dfc7

To Reproduce Steps to reproduce the behavior:

  1. 'open GTS and sold some item'
  2. 'use 2 bot id and buy this item you sell simultaneously'
  3. 'The seller earns twice the amount of the items sold'

Expected behavior A clear and concise description of what you expected to happen.

Error logs Please upload your logs to gist or another paste service. Avoid hastebin! https://gist.github.com/speccycy/b2c3334a2caa96d176a2ff68cccd4cca