Commit Graph

595 Commits

Author SHA1 Message Date
SaltySnail 989cd3f0fc Move proxy to use normal TLD 2026-07-21 00:21:00 +02:00
SaltySnail 968c5d318e Made regionhandler trigger in http requests 2026-07-19 01:10:16 +02:00
SaltySnail f98e9a7746 Refactor region handler 2026-06-27 20:49:12 +02:00
SaltySnail d7277151cc Remove restricted region 2026-06-25 18:35:42 +02:00
SaltySnail 52e607cf2c Add region tld 2026-06-25 18:33:21 +02:00
Tixx 92381aa048 handle incomplete MSG_WAITALL during tcp receive (#248)
Addresses https://github.com/BeamMP/BeamMP-Launcher/issues/185 by
handling incomplete TCP recv despite MSG_WAITALL

Fixes running the launcher inside of wine as well as the rare instances
where this happens natively.

```
       MSG_WAITALL (since Linux 2.2)
              This flag requests that the operation block until the full request is satisfied.
              However, the call may still return less data than requested if a signal is caught,
              an error or disconnect occurs, or the next data to  be  re‐ceived is of a different type
              than that returned.  This flag has no effect for datagram sockets.

```

---

By creating this pull request, I understand that code that is AI
generated or otherwise automatically generated may be rejected without
further discussion.
I declare that I fully understand all code I pushed into this PR, and
wrote all this code myself and own the rights to this code.
2026-06-13 22:16:20 +02:00
Katharine Chui 30639abb88 enforce expected recv size during event and server info tcp recv, remove unused instance of CheckBytes function 2026-05-11 12:47:44 +02:00
Katharine Chui 23760da53b do not discard received data during RecvWaitAll when the other side closes the socket cleanly 2026-04-30 20:35:51 +02:00
Katharine Chui 809080c9aa use RecvWaitAll outside of VehicleEvent.cpp as well 2026-04-30 19:58:05 +02:00
Katharine Chui f1ec753ca3 handle incomplete MSG_WAITALL during tcp receive 2026-04-28 12:43:33 +02:00
Tixx f30a88e76e Bump version to 2.8.0 v2.8.0 2026-04-01 00:35:14 +02:00
Tixx 18a10dfe8f Better updating (#236)
Check hash pattern and launcher signature

---

By creating this pull request, I understand that code that is AI
generated or otherwise automatically generated may be rejected without
further discussion.
I declare that I fully understand all code I pushed into this PR, and
wrote all this code myself and own the rights to this code.
2026-04-01 00:05:16 +02:00
Tixx 7ae273f550 Check hash with regex 2026-03-31 23:54:12 +02:00
Tixx 13102552b7 Check launcher update signature 2026-03-31 23:54:09 +02:00
Tixx 8e4cfe55b9 Update vcpkg commit id (#234)
By creating this pull request, I understand that code that is AI
generated or otherwise automatically generated may be rejected without
further discussion.
I declare that I fully understand all code I pushed into this PR, and
wrote all this code myself and own the rights to this code.
2026-03-29 22:55:16 +02:00
Tixx 1a7bd19bc6 Update vcpkg commit id 2026-03-29 19:21:55 +02:00
Tixx f79f05bc9d Better header (redone) (#139) 2026-03-29 19:16:01 +02:00
Tixx b1e29a9295 Fix build on linux (#230)
Comment out unused function

#224 #226
---

By creating this pull request, I understand that code that is AI
generated or otherwise automatically generated may be rejected without
further discussion.
I declare that I fully understand all code I pushed into this PR, and
wrote all this code myself and own the rights to this code.
2026-03-21 20:28:40 +01:00
Tixx c6ae924346 Remove WriteHttpDebug function 2026-03-21 20:23:31 +01:00
Tixx 6e26a28831 Comment out unused function 2026-03-09 09:22:50 +01:00
Tixx e3049b3ba5 Small fixes (#222)
By creating this pull request, I understand that code that is AI
generated or otherwise automatically generated may be rejected without
further discussion.
I declare that I fully understand all code I pushed into this PR, and
wrote all this code myself and own the rights to this code.
2026-01-31 20:47:59 +01:00
Tixx b1c3b978ff Fix include order for winsock2 2026-01-24 20:34:47 +01:00
Lion Kortlepel 7d00d489e4 remove invalid flag 2026-01-24 20:09:37 +01:00
Lion Kortlepel fd398ed5ab add new header implementation for game<->launcher communication 2026-01-24 20:09:37 +01:00
Lion Kortlepel b4f0f0759d flush all prints 2026-01-24 20:09:37 +01:00
Lion Kortlepel 5b2bc2d499 print posix_spawn errors 2026-01-24 20:09:26 +01:00
Tixx 5cb4d79cdd Check for BeamNG to find the correct path 2026-01-17 19:46:17 +01:00
Tixx dbb0ef2a5c Compensate for packet loss 2026-01-17 19:44:54 +01:00
Tixx fab9ff5559 Provide more info if the launcher update fails (#214)
Also prevents the launcher from bricking itself (again)

---

By creating this pull request, I understand that code that is AI
generated or otherwise automatically generated may be rejected without
further discussion.
I declare that I fully understand all code I pushed into this PR, and
wrote all this code myself and own the rights to this code.
2025-11-22 20:09:15 +01:00
Tixx a2789a8524 Bump version to v2.7.0 v2.7.0 2025-10-20 22:39:36 +02:00
Tixx 3db98eaf0c Provide more info if the launcher update fails
Also prevents the launcher from bricking itself (again)
2025-10-05 15:13:49 +02:00
Tixx 6f84b56f1b Bump version v2.6.4 2025-09-27 20:47:14 +02:00
Tixx 6f5197217c Workaround bom header (#211)
This PR removes the utf8 bom encoding header which was causing issues.
This PR also adds support for unicode characters in the terminal on
windows.

For context it looks like the BeamNG launcher only encodes it with the
utf8 header, which is what it's currently removing.

---

By creating this pull request, I understand that code that is AI
generated or otherwise automatically generated may be rejected without
further discussion.
I declare that I fully understand all code I pushed into this PR, and
wrote all this code myself and own the rights to this code.
2025-09-27 20:14:10 +02:00
Tixx d1d2b3414b Adjust ini parser (#212)
This PR removes mid-line ini comments which were causing issue because
users had `#` and `;` in their file path.

---

By creating this pull request, I understand that code that is AI
generated or otherwise automatically generated may be rejected without
further discussion.
I declare that I fully understand all code I pushed into this PR, and
wrote all this code myself and own the rights to this code.
2025-09-27 20:08:13 +02:00
Tixx a669557726 Make logger stdout cross platform again 2025-09-21 21:54:24 +02:00
Tixx be1f5c04f7 Remove mid-line ini comments 2025-09-21 21:49:40 +02:00
Tixx 1209ff88e2 Support unicode in windows terminal 2025-09-21 21:39:57 +02:00
Tixx c40af681bf Strip bom encoding 2025-09-21 21:39:38 +02:00
Tixx c03b1d5946 Bump version to v2.6.3 v2.6.3 2025-09-17 09:20:21 +02:00
Tixx 5e73c7bce2 Check outdated registry entry for GameDir 2025-09-17 09:19:50 +02:00
Tixx 386f471362 Fix includes for linux build v2.6.2 2025-09-16 20:16:28 +02:00
Tixx 6c3bfda23b Bump version to v2.6.2 2025-09-16 20:09:56 +02:00
Tixx 5737e27bf3 Use ini instead of registry for game dir 2025-09-16 20:07:57 +02:00
Tixx 1860c0aef1 Fix userfolder on linux (hopefully) 2025-09-16 20:07:26 +02:00
Tixx 9d20b678f9 Bump version to v2.6.1 v2.6.1 2025-09-16 17:53:29 +02:00
Tixx be7594039e Fix updating logic 2025-09-16 17:52:30 +02:00
Tixx 77f3375658 Bump version to v2.6.0 v2.6.0 2025-09-16 16:38:55 +02:00
Tixx ae6e5b51bf User folder parsing updates (#208)
This PR adds support for the changes made to the BeamNG userfolder path
location.
1. Registry check for userfolder removed
2. New ini file is checked for userfolder
3. Ini parser now supports global keys

---

By creating this pull request, I understand that code that is AI
generated or otherwise automatically generated may be rejected without
further discussion.
I declare that I fully understand all code I pushed into this PR, and
wrote all this code myself and own the rights to this code.
2025-09-16 16:36:07 +02:00
Tixx 8a0f87f476 Remove registry check and add support for new ini file 2025-09-16 16:11:26 +02:00
Tixx 33b2030f97 Support global keys in ini 2025-09-16 16:10:16 +02:00