Commit Graph

5967 Commits

Author SHA1 Message Date
Mikkel Krautz
f696ddc281 Server: refactor bandwidth check in processMsg. 2016-06-24 00:03:11 +02:00
Mikkel Krautz
ff09c041a0 Merge PR #2360: plugins/rl: Plugin update for game's latest version 2016-06-23 23:54:34 +02:00
Davide Beatrici
b1a9a36c30 plugins/rl: Plugin update for game's latest version
Fixed X/Z axes: Rocket League uses a left-handed Y-up coordinate system (like Mumble), even if Unreal Engine uses a Z-up one. http://www.aclockworkberry.com/world-coordinate-systems-in-3ds-max-unity-and-unreal-engine/

Game version: 1.19
http://www.rocketleaguegame.com/news/2016/06/patch-notes-v1-19-title-update-7
2016-06-23 23:52:48 +02:00
Mikkel Krautz
f28e9b7332 Merge PR #2349: plugins: update memory addresses retrieval to use procptr32_t/procptr64_t. 2016-06-23 23:33:04 +02:00
davidebeatrici
ed8748dc07 plugins: update memory addresses retrieval to use procptr32_t/procptr64_t. 2016-06-23 23:32:37 +02:00
Mikkel Krautz
51af785247 Merge PR #2354: plugins: add arch-specific mumble_plugin_win32.h variants 2016-06-23 23:09:46 +02:00
Mikkel Krautz
dce83ca911 Merge PR #2356: overlay_gl: call glDrawArrays with GL_TRIANGLES instead of GL_QUADS. 2016-06-23 23:07:29 +02:00
Mikkel Krautz
557dbae4c1 Merge PR #2355: overlay_gl: unmask framebuffer color components in drawContext(). 2016-06-23 23:06:29 +02:00
Mikkel Krautz
5a50bb2c9f Merge PR #2358: Transifex translation update 2016-06-23 23:01:51 +02:00
MumbleTransifexBot
c602ff29ea Transifex translation update
Mode: default
Minimum percent translated: 0
Matched 41 languages
2016-06-23 01:27:34 +00:00
MumbleTransifexBot
21eeeb31e3 Transifex translation update
Mode: default
Minimum percent translated: 0
Matched 41 languages
2016-06-22 01:27:35 +00:00
Mikkel Krautz
6c2cf49e4c plugins.pri, mumble_plugin_win32.h: add CONFIG(no-plugin-legacy-ptr) to disable use of non-explicit mumble_plugin_win32.h header.
The idea is that we can use the CONFIG option until we've fixed the
remaining plugins.

Once all plugins have been transitioned over to the new explicit
pointer types, we can drop the mumble_plugin_win32.h header and
point people to mumble_plugin_win32_x86.h and mumble_plugin_win32_x64.h.
2016-06-20 22:40:12 +02:00
Mikkel Krautz
c450c3ba44 plugins/rl: convert plugin to use 'mumble_plugin_win32_x86.h'. 2016-06-20 22:40:12 +02:00
Mikkel Krautz
9d7ead3929 plugins: add distinct header files for x86 and x64.
This is accomplished by making a 'generic' header,
mumble_plugin_win32_ptr_type.h

This header requires files that include it to
define PTR_TYPE and PTR_TYPE_CONCRETE.

In the old-style mumble_plugin_win32.h, PTR_TYPE
is set to 'void *', and PTR_TYPE_CONCRETE is
set to 'BYTE *'. The pModule varaible and the
getModuleAddr functions return PTR_TYPE_CONCRETE,
whereas the peekProc functions take PTR_TYPE.

The new-style arch-specific headers use the same
value for PTR_TYPE and PTR_TYPE_CONCRETE. The x86
variant uses procptr32_t. The x64 variant uses
procptr64_t.
2016-06-20 22:40:05 +02:00
Mikkel Krautz
b16e5a121e overlay_gl: unmask framebuffer color components in drawContext().
World of Warcraft masks all colors via glColorMaskIndexedEXT(0, 0, 0, 0, 0)
before we draw our overlay.

This broke overlay rendering on OS X when shadow quality was set
to anything greater than low.

This commit ensures that we allow drawing of colors to the main
framebuffer -- so we can draw the overlay properly.

Fixes mumble-voip/mumble#1010
Fixes mumble-voip/mumble#1561
2016-06-19 20:35:51 +02:00
Mikkel Krautz
e13d6c94bf overlay_gl: call glDrawArrays with GL_TRIANGLES instead of GL_QUADS.
GL_QUADS is deprecated in modern GL.
2016-06-19 20:29:26 +02:00
Mikkel Krautz
07559e23a1 Merge PR #2333: Timer: use boost::chrono::steady_clock as the underlying monotonic timer. 2016-06-15 23:42:58 +02:00
Mikkel Krautz
ab6b4b6764 Merge PR #2342: Implement uname.pri and use it to detect FreeBSD on both Qt 4 and Qt 5 2016-06-15 23:42:16 +02:00
Mikkel Krautz
2c2744ea74 Merge PR #2343: .mailmap: update dekarl's info. 2016-06-15 23:41:41 +02:00
Mikkel Krautz
a9384f11ca Merge PR #2344: Remove old-style license header from WoW plugin. 2016-06-15 23:40:20 +02:00
Mikkel Krautz
f4ca0cf25f Merge PR #2345: plugins/gtav: Plugin update for game's latest version 2016-06-11 20:48:20 +02:00
Davide Beatrici
5271180a26 plugins/gtav: Plugin update for game's latest version
Fixed:
X/Z axes: http://www.gtamodding.com/wiki/Map_system
Wrong comma at line 106
Wrong comment at line 150

Game version: 1.34
https://support.rockstargames.com/hc/en-us/articles/220249028-GTAV-Title-Update-1-34-Notes-PS4-Xbox-One-PC
2016-06-11 19:59:42 +02:00
Mikkel Krautz
64f1c095e6 Remove old-style license header from WoW plugin.
Karl Dietz has allowed us to remove the old license header
from the WoW plugin.
2016-06-11 19:18:01 +02:00
Mikkel Krautz
09d2942299 .mailmap: update dekarl's info. 2016-06-11 19:16:05 +02:00
Mikkel Krautz
5f2122c4fe Use 'contains(UNAME, FreeBSD)' instead of 'freebsd' (mkspec) to detect FreeBSD.
Qt 4 doesn't have a freebsd mkspec, so the 'freebsd' checks do not
work on FreeBSD with Qt 4.

Use 'contains(UNAME, FreeBSD)' instead.
2016-06-11 12:04:54 +02:00
Mikkel Krautz
2550c4fbc6 uname.pri: introduce uname.pri, and use it in various .pri files. 2016-06-11 12:03:17 +02:00
Mikkel Krautz
04b2635df3 Merge PR #2341: scripts/mkini.sh: consider semicolons as comments to fix .ini generation. 2016-06-11 01:56:00 +02:00
Mikkel Krautz
f6a0138a19 scripts/mkini.sh: consider semicolons as comments to fix .ini generation.
As-is, the murmur.ini.system used by our PPA builds
(and Debian-based distros) are broken because the
script doesn't set the "logfile" and "pidfile"
options.
2016-06-11 01:55:21 +02:00
Mikkel Krautz
d840fa79cd Merge PR #2335: Murmur: use non-forceful disconnect when encountering SSL handshake errors on Qt 5. 2016-06-11 01:53:46 +02:00
Mikkel Krautz
3897c794fe Murmur: use non-forceful disconnect when encountering SSL handshake errors on Qt 5.
Due to a regression in Qt 5, we can't use disconnectSocket(true)
to abort a handshake.

Use non-forceful disconnect to work around the Qt 5 bug.

See inline comment for more details.

Fixes mumble-voip/mumble#2334
2016-06-11 01:53:03 +02:00
Mikkel Krautz
c738f7b76b Merge PR #2340: plugins/ql: Plugin update for game's latest version 2016-06-11 01:51:34 +02:00
Davide Beatrici
3e7b0bab4f plugins/ql: Plugin update for game's latest version
Added:
Context/Identity escape function
Map name in identity

Improved:
Horizontal and vertical view memory addresses changed, the new ones are updated in real-time
Team names

Fixed:
Avatar/Camera front and top vectors calculation
Wrong comment at line 140

Game version: 1069
http://steamcommunity.com/games/282440/announcements/detail/876328108049672536
2016-06-10 22:04:22 +02:00
Mikkel Krautz
a3275f579b plugins/l4d2: fix build. 2016-06-07 00:14:43 +02:00
Mikkel Krautz
8929c7416f Timer: use boost::chrono::steady_clock as the underlying monotonic timer.
Once we require C++11, we can drop this, and use std::chrono instead.

Fixes mumble-voip/mumble#1065
2016-06-06 22:29:33 +02:00
Mikkel Krautz
f491aac4a4 Merge PR #2221: Murmur.ice: add updateCertificate() method. 2016-06-06 22:03:35 +02:00
Mikkel Krautz
6091625bc9 Murmur.ice: add updateCertificate() method.
This allows live certificate/private key reloading
for individual virtual servers.

This makes it possible to integrate Murmur with
an external Let's Encrypt script, without having
to fully restart the virtual server in the process.
2016-06-06 22:01:02 +02:00
Mikkel Krautz
18e801431b Cert: add ERR_clear_error() to the end of initializeCert(). 2016-06-06 21:42:59 +02:00
Mikkel Krautz
0a5b68c4d0 Merge PR #2326: Murmur: add no-op userTextMessage signal for DBus to silence connect()'s error log output. 2016-06-06 21:36:22 +02:00
Mikkel Krautz
5467f3a345 Murmur: add no-op userTextMessage signal for DBus to silence connect()'s error log output.
This gets rid of the following (harmless, but worrying) error in Murmur's log:

    <W>2016-06-04 00:17:39.229 QObject::connect: No such slot MurmurDBus::userTextMessage(const User *, const TextMessage &)
2016-06-06 21:35:59 +02:00
Mikkel Krautz
9b5d066025 Merge PR #2327: plugins/l4d2: Plugin update for game's latest version and identity support 2016-06-06 21:31:19 +02:00
Davide Beatrici
e652888ddc Plugin update for game's latest version and identity support
Added:
- Correct avatar position (the one used before was the camera one)
- Camera position
- State value
- Context based on server ID
- Server name in identity
- Map name in identity
- Player nickname in identity

Game version: 2.1.4.6
http://www.l4d.com/blog/post.php?id=22240
2016-06-04 02:07:54 +02:00
Mikkel Krautz
fd9c7941b3 Murmur: add no-op userTextMessage signal for DBus to silence connect()'s error log output.
This gets rid of the following (harmless, but worrying) error in Murmur's log:

    <W>2016-06-04 00:17:39.229 QObject::connect: No such slot MurmurDBus::userTextMessage(const User *, const TextMessage &)
2016-06-04 00:51:46 +02:00
Mikkel Krautz
5640f0a2c0 Merge PR #2323: Transifex translation update 2016-06-03 21:44:40 +02:00
MumbleTransifexBot
cb63f318ed Transifex translation update
Mode: default
Minimum percent translated: 0
Matched 41 languages
2016-06-02 01:27:37 +00:00
Mikkel Krautz
3e1d7ed9c2 Merge PR #2320: [Rocket League] Fixed inverted Z (left/right) value 2016-05-31 22:33:23 +02:00
Davide Beatrici
d2416ca4fb Fixed inverted Z (left/right) value
Rocket League uses a right handed coordinate system.
2016-05-31 18:54:32 +02:00
Mikkel Krautz
44ea8c860b Merge PR #2315: Add GTA V plugin to the build and to the installer. 2016-05-29 11:56:51 +02:00
Mikkel Krautz
7a89a2ca18 Add GTA V plugin to the build and to the installer. 2016-05-29 11:55:22 +02:00
Mikkel Krautz
eb0a2a0f10 Merge PR #2314: Plugin update for latest version of Rocket League 2016-05-29 01:27:19 +02:00
Davide Beatrici
b147287818 Plugin update for latest version of Rocket League
Unknown game update.
2016-05-29 01:27:09 +02:00