Commit Graph

42 Commits

Author SHA1 Message Date
Mikkel Krautz
f6ba3a52bf Auto-update LICENSE.header in source files. 2018-01-01 23:05:37 +01:00
davidebeatrici
2a51c7bff6 Accomplish changes in all the plugins 2017-11-19 21:48:55 +01:00
Mikkel Krautz
91ebb8b0b5 Update tree copyrights to 2017. 2017-01-08 21:05:57 +01:00
Arthur Moore
8494361833 l4d2 plugin: cleanup
Renamed *_address to *_offset
Aligned whitespace
Moved module calculations to peekProc area
2016-11-25 15:48:20 -05:00
Arthur Moore
cd92d83705 l4d2 plugin: combined plugin files
Combined both Windows and Linux plugins into a single file
2016-11-25 15:48:20 -05:00
davidebeatrici
746322ecc1 plugins/l4d2: Rename "l4d2.cpp" to "l4d2_win32.cpp" 2016-08-11 23:41:21 +02:00
davidebeatrici
88797fa324 mumble/plugins: Rename Win32 headers 2016-08-11 23:31:15 +02:00
Davide Beatrici
c757a814f1 plugins/l4d2: Updated server ID memory address
Probably it has been changed by this update: http://www.l4d.com/blog/post.php?id=22630
It mentions only fixes for the MacOS version, but also the Windows one got a small update.

Also:
Removed wrong comma in identity at line 103.
Moved "std:endl" in the identity item's line.
Removed extra zero in memory addresses.
Removed empty line at the end of the file.
2016-07-18 16:58:19 +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
a3275f579b plugins/l4d2: fix build. 2016-06-07 00:14:43 +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
Joeliam
192a89c4d1 Fix Left 4 Dead 2 plugin and clean up plugin code
Thanks to @mrzchuck for answering system based programming questions
and helping me with my first use of github.

This plugin supports the latest version of L4D2 (version 2.1.4.5)

Most of my code changes are based on the mumble wiki plugin guide
styling and/or the Counter Strike (CS) plugin (both of which are more
standardized and easier to read). I removed the calcout function by
pulling in the front and top vectors directly from L4D2. I simplified
the trylock function by calling fetch from it (previously trylock and
fetch contained duplicate code). The style for context support seemed
convoluted so I changed it to emulate the style of the CS plugin (the
logic is still the same). Lastly, I added many helpful comments
describing the variables, functions, and general principles of mumble
plugins.

I have performed extensive testing and found excellent results.
2016-05-08 22:58:20 +02:00
Davide Beatrici
8017a01b40 l4d2: Plugin update for latest game version
Support for Left 4 Dead 2 version 2.1.4.4
2016-04-10 23:05:04 +02:00
Stefan Hacker
f2bfe2f78b L4D2 PA plugin update to game version 2.1.3.5 (#1184)
By Ophidiophobia.
2014-03-13 01:08:30 +01:00
Micah Caldwell
4305165aa5 Updated L4D2 to 5338. 2013-07-02 21:48:36 -07:00
Micah Caldwell
56ce5d591c Updated L4D2 Offsets
Updated the L4D2 Offsets.  Most of them were just small shifts in
memory.

The state offset no longer appears to work however so I simply
changed it so state is derived from the hostname (which is an empty
string in menus).  This may lead to a brief period during loading where
the hostname is set but the positions aren't yet, but it should only be
momentary.
2013-07-01 18:52:43 -07:00
Kissaki
9bd10b0001 refacs; initialization, var-scope reduction, replace c-style casts, rm unused
* DBus.h, AudioOutputSpeech.cpp: initialize uninitialized members,
* d3d10.cpp: actually use assigned results for a dbg output
* lib.cpp, link.cpp: c-style to c++-style casts
* SpeexMark.cpp, ResampMark.cpp: rm unused var
* AGC.cpp, ResampMark.cpp:
rm unused var (ineffective return statement after prior return;
thus removing unused code - but someone check if sth. was missed there)
2012-10-24 19:24:33 +02:00
Stefan Hacker
e5c564931d Fix zero terminations.
- With wchar_t arrays
- Where it was missing
2012-07-15 14:49:36 +02:00
Piotr Chodań
f81049d675 Added context support for the l4d2 plugin.
Changed global pointers to static (as thorvald requested in one of my
previous commits. Context contains provides ipport as json attribute.
2012-05-14 23:29:33 +02:00
d-rez
84b897c486 Fixed l4d2 pa plugin for build 4777, re-enabled states support 2012-05-13 11:23:35 +02:00
Benjamin Jemlich
f90c6e35ab More plugin touching 2012-05-01 11:12:43 +02:00
Tuck Therebelos
6297937ac8 Update/Fix L4D plugins 2011-03-29 03:01:36 -05:00
Thorvald Natvig
f3437a6ba7 Update copyright year ranges of dev team. 2011-03-18 05:52:51 +01:00
Tuck Therebelos
2da7fb60ad Plugin update run 2011-02-12 20:10:24 -06:00
Tuck Therebelos
120fa9ee1e Plugin updates for release 2010-12-19 16:45:47 -06:00
Tuck Therebelos
685954cc12 Source updates 2010-08-23 20:59:41 -05:00
Tuck Therebelos
a4b5217726 Arma2 conditional to prevent premature linking; L4D2 update 2010-08-15 17:17:00 -05:00
Tuck Therebelos
019c47a003 l4d2 update 2010-07-30 18:13:16 -05:00
Tuck Therebelos
d0a66273e3 Source plugin updates; clarify regName parameter usage in Murmur.ini 2010-07-29 15:45:49 -05:00
Thorvald Natvig
653db46472 Indent, changelog, submodule and language update 2010-07-25 17:40:32 +02:00
Stefan Hacker
10e5299520 Prevent l4d2 plugin from crashing Mumble on trylock 2010-07-12 16:22:49 +02:00
Tuck Therebelos
bbd417b289 Fix typo in L4D2 2010-07-11 13:57:20 -05:00
Tuck Therebelos
492ffa4db9 See if state value causes L4D2 bug 2010-07-10 22:44:05 -05:00
Tuck Therebelos
69aaf673b7 Plugin updates 2010-05-15 17:46:07 -05:00
Tuck Therebelos
6b5b73816b L4D2 update 2010-04-28 15:42:19 -05:00
Tuck Therebelos
f0b40a65d4 Gmod, L4D2 updates 2010-03-04 20:59:20 -06:00
Thorvald Natvig
f2c191daf8 The grand plugin multiregexp experiment 2010-02-25 15:18:35 +01:00
Thorvald Natvig
c263aa0a7d Update plugins to new trylock signature 2010-02-25 13:19:47 +01:00
Thorvald Natvig
1c79299230 Indent, changelog, submodule and language update 2010-02-23 16:16:44 +01:00
Tuck Therebelos
0de84db9b9 DoDs, L4D2, TF2 updates 2010-02-13 18:56:46 -06:00
Thorvald Natvig
e207ef60c4 Zero camera positions in plugins' fetch() 2010-02-08 17:11:59 +01:00
Tuck Therebelos
71fd273be1 Add L4D2 plugin 2010-01-21 13:05:15 -06:00