Commit Graph

6 Commits

Author SHA1 Message Date
davidebeatrici
ed8748dc07 plugins: update memory addresses retrieval to use procptr32_t/procptr64_t. 2016-06-23 23:32:37 +02:00
Davide Beatrici
7591b5c153 Move "escape" function to mumble_plugin_utils.h header 2016-05-29 00:57:57 +02:00
Davide Beatrici
e023f4561f plugins/bf4: Added Squad State value
- Added Squad State value (Public or Private).
- Added/Changed comments.
2016-05-19 00:33:49 +02:00
Mikkel Krautz
0c07d259dc plugins/bf4: fix JSON encoding.
The previous code accidently used the
C-string "host" and "serverID" variables
in the JSON output for the context and
identity.

To avoid too many changes, this commit
changes the JSON escape function to
work on C strings instead, and uses
that to escape the "host" and "serverID"
strings from the game before emitting
them into the JSON documents.

This commit also adds some extra code
to ensure that the game strings we
include in the JSON document are
within the printable ASCII range.
2016-05-18 23:45:08 +02:00
Davide Beatrici
e4c91e2a33 Fixed Squad/Squad Leader pointers (#2267)
- The pointers were not working on some servers, or pointing to random memory addresses. The new ones seem to work fine.
- Updated the license header.
2016-05-11 22:55:05 +02:00
Davide Beatrici
2854b32d7d Positional Audio support for Battlefield 4 (x64)
Context based on Server ID.
Identity data: IP address + port, team, squad and squad leader.
2016-05-09 01:06:28 +02:00