DinoDevs / GladiatusCrazyAddon

This was "A browser addon for the Gladiatus browser game."
https://gladiatus.dinodevs.com
GNU General Public License v3.0
41 stars 29 forks source link

Package items disappear on item move (problematic pages loading) #471

Open Ondraczz3 opened 2 months ago

Ondraczz3 commented 2 months ago

https://github.com/DinoDevs/GladiatusCrazyAddon/assets/165718681/ac8dd3f4-151d-45ab-b45e-f9ed918a9a8f

GreatApo commented 2 months ago

Can you please describe the issue? I can't tell what problem you show in the video.

FrutyX commented 2 months ago

@GreatApo The items, the moment he moves one, the others change, some disappear, am I seeing it right?

GreatApo commented 2 months ago

@GreatApo The items, the moment he moves one, the others change, some disappear, am I seeing it right?

Omg, I must be blind...

FrutyX commented 2 months ago

It's fine Apo, I did not see it the first time either.

FrutyX commented 2 months ago

We dont have much info here, I can't reproduce this...

GramThanos commented 2 months ago

There is no fix for that, we are doing the best we can without generating server traffic.

FrutyX commented 2 months ago

Thanos said and so it shall be.

GreatApo commented 2 months ago

I would just leave it open in case a better approach comes up

FrutyX commented 2 months ago

That's all nice, but has anyone actually managed to reproduce this? Because I for sure didn't.

GramThanos commented 2 months ago

Let me explain the problem.

Gladiatus has 1 API to fetch 1 item from the next packages page so that it can appear and fill in the position when you move items from your packages to your bag. So the flow is:

  1. move a package to your bag
  2. request was processed and move finished
  3. retrieve the item that will fill the spot

And here is the problem, GCA allows you to move items from packages to your bag fast. So the flow ends up being:

  1. move package A to your bag
  2. move package B to your bag
  3. request for package A finished
  4. request for package B finished
  5. retrieve the next item (which now is not the next, is the one after the next since 2 items were moved)
  6. retrieve the next item (which may be the same as on step 5, thus will not be shown)
FrutyX commented 2 months ago
![bruh](https://github.com/DinoDevs/GladiatusCrazyAddon/assets/23278552/f9773c8b-59d7-4c25-8d52-09accf4c3e1c)