timthedevguy / BuySYS

*NO LONGER MAINTAINED* Buyback application for EveOnline, can be used by Corporations/Alliances or private entities. Written in PHP 7.4
10 stars 3 forks source link

Parser not seeing quantity #34

Closed Valiantiam closed 3 years ago

Valiantiam commented 3 years ago

Fresh install.

When I copy in the following

Accelerant Decryptor    2    Generic Decryptor
Alloyed Tritanium Bar    32    Salvaged Materials
Analog Panel    39    Materials and Compounds
Artificial Neural Network    22    Salvaged Materials
Attainment Decryptor    1    Generic Decryptor
Augmentation Decryptor    1    Generic Decryptor
Auxiliary Parts    93    Materials and Compounds
Burned Logic Circuit    46    Salvaged Materials
Calm Dark Filament    1    Abyssal Filaments
Calm Electrical Filament    1    Abyssal Filaments

It shows....

image

The only way to get correct quantities is to copy from the icon view in your cargo. No other views work.

timthedevguy commented 3 years ago

Table view should work by default as long as you haven't added or removed columns (Didn't used to be able to do that). I'll have to run a few tests.

Valiantiam commented 3 years ago

Found out some more in testing.

This is what I get when I paste a raw copy from list view in game

Inferno Fury Cruise Missile    12,000    Advanced Cruise Missile    Charge            600 m3    9,060,480.00 ISK
Mjolnir Fury Cruise Missile    2,000    Advanced Cruise Missile    Charge            100 m3    1,574,760.00 ISK
Scourge Fury Cruise Missile    23,455    Advanced Cruise Missile    Charge            1,172.75 m3    15,862,147.40 ISK
Scourge Fury Light Missile    48,445    Advanced Light Missile    Charge            726.68 m3    4,719,027.45 ISK

image

Valiantiam commented 3 years ago

Looks like this issue happens in contract validation as well (I'm assuming because it uses the same parser.php)

image

When following steps 5-9 in contract validation, it improperly reads the items in the contract info.

Valiantiam commented 3 years ago

Okay I found two issues. One most certainly on my end, I apologize.

  1. Discord parses spaces into tabs when you codeblock it......
  2. Refreshing the cache and updating info under the admin tolls made all the inventory views work again for parsing.

Sorry for any wasted time.

timthedevguy commented 3 years ago

Glad the issue was fixed, I apologize I hadn't gotten a chance to investigate further (working hours for my real job currently) but glad you sorted it out. Enjoy!