Closed z9484 closed 1 year ago
Maybe this could help: For fun, I just managed to build the old kq lives version from 2007 for my gp2x. I wanted to make a quick cash, but the selling glitch doesn't work there. The sources I used are in this archive along with an old gp2x version that only works with early firmware (1.4.0).
We dropped allegro and switched to libsdl2. Looks like the bug was probably added in that conversion.
...
if you have more than one item of the same kind, you can sell them in bulk. If you sell all of them, the item line is still showing. You can keep selling it one at a time (it says 1 of 0). Actually, I just tested this with a lone item and it also seems to work. You can then buy something very expensive and keep on selling it until the button breaks down (or you just get tired of it). It might be in
itemmenu.cpp
inremoveIndex
(or inremove_item
?).It reminds me of another one: when you get another character, it's equipment appears also in item list. But it disappears if you sort the list. It might be linked to the previous bug.
... Originally posted by @8Gilles8 in https://github.com/OnlineCop/kq-fork/discussions/157#discussioncomment-4450056