Delay when buying many furnis at the same time [OTANIX]

tyutu

Member
Oct 25, 2016
110
8
The Otanix emulator is experiencing a delay problem when it comes to buying or trading multiple furnis at once, the avatar gets stuck until all the furnis are inserted into the database and inventory. Does any programmer know how to solve this?
Google Tradutor

Example
zALxzFA.gif
 

Attachments

  • 1545914706709.png
    1545914706709.png
    200.2 KB · Views: 2

MayoMayn

BestDev
Oct 18, 2016
1,423
683
For each item in your inventory, that's a row inside the items table.
Because some idiots who doesn't know how data structures work, they couldn't bother to create a column called "amount" and simply use that to figure out how many of that certain item is in your inventory.
So if you buy 1000 of the same furni, it'll do 1000 insert queries.
Because RIP logic
 

tyutu

Member
Oct 25, 2016
110
8
For each item in your inventory, that's a row inside the items table.
Because some idiots who doesn't know how data structures work, they couldn't bother to create a column called "amount" and simply use that to figure out how many of that certain item is in your inventory.
So if you buy 1000 of the same furni, it'll do 1000 insert queries.
Because RIP logic

If I pass the emulator can you solve this problem for me? Especially when buying many furnis in the catalog, I need a lot to correct this: '(
 

Users who are viewing this thread

Top