Revadike / EnhancedBarter

This userscript aims to enhance your barter.vg experience!
MIT License
38 stars 6 forks source link

Regional restrictions #46

Closed otrazhenye closed 1 year ago

otrazhenye commented 1 year ago

Will it be possible to make offers for people from certain regions? Or for gifts / keys with regional restrictions? For example, I have several keys, they can only be used in China, the CIS countries or the Arab Emirates. I can send an offer to those who do not have them in the library, but I cannot remove from the offer people who cannot activate the key in their country.

Revadike commented 1 year ago

It already has region checks. If the user is from region X and the tradable is locked to region Y, it will not offer the tradable to this user.

otrazhenye commented 1 year ago

https://barter.vg/u/cfa/o/5144577/ Am I doing something wrong? this offer is sent automatically, the region tag is on. But he's clearly not from China.

Revadike commented 1 year ago

The problem is that barter does not have a designated region that includes china (except ROW): image

Barter's system is a weird mess, since their region lock tags include both countries and "regions". It's difficult to handle it well.

Revadike commented 1 year ago

On top of that, their country selector (which is a separate thing of their region selection for whatever reason) does not even include china.

image

otrazhenye commented 1 year ago

Скриншот 2022-12-28 20 13 55

it seems to me that the list of countries depends on the Region I'm in, but I have all available

arseny92 commented 1 year ago

Will it be possible to make offers for people from certain regions? Or for gifts / keys with regional restrictions? For example, I have several keys, they can only be used in China, the CIS countries or the Arab Emirates. I can send an offer to those who do not have them in the library, but I cannot remove from the offer people who cannot activate the key in their country.

It is already sort of possible, but seldom used due to lack of manual labor resources. Blocker on upstream.

Revadike commented 1 year ago

@otrazhenye

would you like to test a potential fix?

otrazhenye commented 1 year ago

of course

Revadike commented 1 year ago

of course

Revadike#3529 on discord