Commit graph

123 commits

Author SHA1 Message Date
Archi
be2e173404
Misc followup 2024-01-03 00:34:12 +01:00
Archi
3d503ed5ee
Fix invalid heartbeats from inactive STM accounts
It was possible before if the inventory state was the same as previously announced, even if server purged the info long time ago. Also, add required logic for recovery if that happens regardless.
2024-01-03 00:23:27 +01:00
Archi
7f1ecdd585
Misc 2024-01-01 23:22:19 +01:00
Archi
d398e84f25
Misc 2024-01-01 23:00:58 +01:00
Archi
ac427ed1ec
Misc match improvements 2024-01-01 22:58:54 +01:00
ArchiBot
e6c6bce8a7
Automatic translations update 2023-12-25 02:07:40 +00:00
Archi
2bef94e3b4
Misc 2023-12-23 23:37:29 +01:00
Archi
cf94c417d2
Misc 2023-12-23 23:16:44 +01:00
Archi
e480aca8b2
Use inventories items deduplication logic aligned with ASFB 2023-12-22 00:18:52 +01:00
Archi
2befe20f76
Use set parts also as inventories request optimization 2023-12-21 23:46:42 +01:00
Archi
40ab1d848c
.NET 8 code enhancements 2023-12-11 23:55:13 +01:00
ArchiBot
85bb68825b
Automatic translations update 2023-12-05 02:08:13 +00:00
Archi
92858de9e2
Misc 2023-12-05 00:04:38 +01:00
Archi
a7b1e01161
Revert "Disable server-side functionality in custom ASF builds"
This reverts commit 42ceb6d413.
2023-12-04 23:06:11 +01:00
ArchiBot
d737201ab5
Automatic translations update 2023-12-04 02:08:17 +00:00
Archi
27f965d4af
Kill API keys entirely
Economy bans we can handle ourselves server-side
2023-12-03 21:49:05 +01:00
Archi
a3aa93fce8
Fix diff announcement with no items added/changed 2023-12-03 16:11:38 +01:00
Archi
def3e26c92
Closes #3084 2023-12-03 13:48:51 +01:00
ArchiBot
10eb226722
Automatic translations update 2023-12-03 02:08:31 +00:00
Archi
eff60bf307
Implement background announcements for ASF STM
This will be used exclusively by users with extraordinary large inventories, or if ASF backend will just be slower than usual.
2023-12-02 19:36:34 +01:00
Archi
42ceb6d413
Disable server-side functionality in custom ASF builds 2023-12-02 18:37:40 +01:00
Archi
c7546194f8
Add handling of points shop items, and skip them for announcements 2023-11-29 19:17:02 +01:00
Archi
aea9dee4ea
Further decrease server load
We can keep inventory checksum before deduplication in the cache. If it's determined to be the same, then our inventory state didn't change, so it also doesn't make much sense to ask server for set parts and announcement.
2023-11-29 14:26:57 +01:00
Archi
a3270e4081
Misc optimization 2023-11-29 13:21:12 +01:00
Łukasz Domeradzki
36ae066c65
Closes #3073 (#3077)
* Initial implementation of announce with diff

* Add missing logic pieces

* Change in logic

* Fix checksums

* Add deduplication logic

* Update SetPart.cs

* Use standalone endpoint for diff

* Use different hashcode impl

* Update AssetForListing.cs

* Misc

* Push all the changes for this to finally work

* Use original index rather than self-calculated

ASFB makes some calculations based on index, it's better for us to have holes rather than hiding skipped items.

* Handle edge case of no assets after deduplication

* Remove dead code

* Address trim warnings

* Misc optimization
2023-11-29 00:08:16 +01:00
ArchiBot
81118633e0
Automatic translations update 2023-11-21 02:09:39 +00:00
Archi
f2ff2f4929
Closes #3060 2023-11-14 20:01:29 +01:00
Łukasz Domeradzki
b34f18497d
.NET 8 (#3005)
* Initial .NET 8

* Make it compile in release mode ignoring warnings for now

* First round of improvements

* Second round of improvements

* Third round of improvements

* Use new throws

* Fix .NET Framework, YAY, thanks madness!

Madness devs are awesome

* Misc

* Misc

* AF_NETLINK might be required for some http calls

No clue why

* Fix service files

Doesn't do what it should

* Update CardsFarmer.cs

* New improvements

* Address feedback

* Misc

* Misc

* Misc refactor

* Misc
2023-11-14 19:12:33 +01:00
Archi
e1c364cf7a
Fix wrong Bosnian language mapping 2023-11-14 15:38:10 +01:00
ArchiBot
0df46a08da
Automatic translations update 2023-10-20 02:05:48 +00:00
ArchiBot
8bd3c8b20d
Automatic translations update 2023-10-10 02:05:49 +00:00
ArchiBot
4a5b8bbf3c
Automatic translations update 2023-10-09 02:05:39 +00:00
ArchiBot
fc31027f9c
Automatic translations update 2023-07-20 02:13:50 +00:00
ArchiBot
4c73a6bc8b
Automatic translations update 2023-07-03 02:23:45 +00:00
Archi
3f91b18a4d
Refactor confirmations
Make it so the design actually follows what Steam gives us now. There is no need for standalone Confirmation object anymore, rather re-use what Steam gives us. Optimize parsing type, expose it as public API. Small breaking change in HandleConfirmations() action.
2023-06-29 22:34:26 +02:00
Archi
d7722fae84
Misc code cleanup 2023-06-29 21:56:05 +02:00
ArchiBot
c30f7f9f0c
Automatic translations update 2023-06-28 02:23:42 +00:00
ArchiBot
76cc33cabf
Automatic translations update 2023-06-18 02:23:20 +00:00
Archi
57ac7e2816
Bullet-proof against invalid Steam items 2023-06-04 16:39:16 +02:00
Archi
09ff465f4a
Misc 2023-06-03 17:56:27 +02:00
Archi
cd8c9cf80e
Closes #2908 2023-06-03 17:50:50 +02:00
ArchiBot
bf8275d34a
Automatic translations update 2023-06-01 02:33:30 +00:00
Archi
def3bdf24a
Bump limit slightly 2023-05-31 15:39:42 +02:00
Archi
b39b64e11f
Add server-side limit of items also to client side 2023-05-31 15:32:56 +02:00
Jack Nolddor
db65ed7545
Minimize chances of TooManyOffersSent during MatchActively (#2904) 2023-05-28 12:50:37 +02:00
Archi
3006290170
Stop matching actively on disconnection 2023-05-23 14:28:30 +02:00
Archi
a557b62e0b
Fix for accounts without SG timestamp
Initially I added check against zero as bullet-proofing for unexpected events, but some accounts actually report 0.

Assume 0 is older than needed, if we don't have information available, we shouldn't jump to conclusions.
2023-05-18 12:01:48 +02:00
Archi
8c83b8c51f
Closes #2900 Closes #2901 2023-05-16 21:27:36 +02:00
ArchiBot
11a1c12f0c
Automatic translations update 2023-05-01 02:13:18 +00:00
ArchiBot
5892454ff4
Automatic translations update 2023-04-07 02:08:56 +00:00