-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Market Problem #222
Comments
wtf valve, their russian "currency symbol" has a latin "p" instead of cyrillic one. So it's failing to strip it from the amount, causing the bug I think. GetPriceValueAsInt('0,47 pуб.') // latin
47
GetPriceValueAsInt('0,47 руб.') // cyrillic
4700
GetCurrencySymbol( 'RUB' )
'pуб.' EDIT: Seems like the steam store itself also has this, so I'm not sure why it wouldn't parse on market, can you copy "руб." from the market page and paste it into https://apps.timwhitlock.info/unicode/inspect to check. |
Yes, i have the same result |
Then I'm not sure why it would cause issues, 0,47rub should parse to 47, the bug is some multiplier to 100 somewhere. |
That "/piece." is definitely problematic, didn't know this is even a thing. I don't know if just removing last dot will work for all languages here. And for seller price, just stripping () should work. Wanna make a PR? |
I also want to fix the wrong math for the items in the stack. I want to return |
There shouldn't be strings in market with that many dots, so that's fine. |
Update regex for more price formats
Make it more elegant
well that was fixed after today's maintenance |
Describe the bug
After this update c2a4d30 i have a problem with relist overpriced market listings. All my items on market marked as overpriced. My currency is RUB. Previous version work without any problems
version with problem
version without problem
Browser name and version
chrome 127.0.6533.100
The text was updated successfully, but these errors were encountered: