Commit Graph

1662 Commits

Author SHA1 Message Date
momo5502
b1a91125fc [Node] Rewrite entire node system 2017-06-25 21:54:35 +02:00
momo5502
e841ca48eb [Node] Clear default nodes if invalid 2017-06-25 12:44:09 +02:00
momo5502
3db31cd2ff [Utils] Fix EndsWith function 2017-06-23 20:19:33 +02:00
momo5502
424c7e7adf [D3D9Ex] Make sure the creation succeeded 2017-06-23 10:07:55 +02:00
momo5502
47c8fcc644 [AntiCheat] Use simpler compiler expression 2017-06-23 10:07:55 +02:00
momo5502
51ca49ad83 [Renderer] Implement single backend frame handler 2017-06-22 22:05:22 +02:00
momo5502
ff9fa7620e [QuickPatch] Block XP support 2017-06-22 18:31:22 +02:00
momo5502
1685a61288 [Colors] Make hook secure 2017-06-22 18:31:06 +02:00
momo5502
9c6401ad9b [Download] Remove unnecessary heap allocation 2017-06-22 10:40:39 +02:00
momo5502
dc8b30a42f [General] Fix issues and warnings 2017-06-22 10:35:45 +02:00
TheApadayo
a4dd14cde7 [Merge] bugs/mod-downloading -> feature/vs2017 2017-06-21 23:30:14 -04:00
TheApadayo
824a2a200a [Party] Don't let players join lobby with an incorrect password. 2017-06-21 23:17:13 -04:00
momo5502
c3dc8814eb [AssetHandler] Move asset related reallocations 2017-06-21 21:14:00 +02:00
momo5502
12dc916f72 [AntiCheat] Remove kernel dll hooks as the thread protection is enough 2017-06-21 21:13:34 +02:00
momo5502
2d2c4c2c31 [General] Small fixes 2017-06-21 15:11:33 +02:00
TheApadayo
b66bb9dc2e [Merge] develop -> bugs/mod-downloading 2017-06-19 16:31:58 -04:00
TheApadayo
743841731e [Download] Always set private state 2017-06-19 15:44:59 -04:00
TheApadayo
491cf4caf8 [Download] Don't allow downloading of mod files when the client provides an invalid password
-also don't even leave the menu if there is no password set when connecting to a private server
2017-06-19 15:39:48 -04:00
momo5502
1360c1a216 [Colors] Implement sv_allowColoredNames 2017-06-19 13:41:15 +02:00
momo5502
aac43f1e7d [MusicalTalent] Disable this feature 2017-06-18 12:36:19 +02:00
TheApadayo
579fa0a87c [Download] send base url as part of inforesponse. also set client dvar correctly for downloader. 2017-06-15 12:52:29 -04:00
momo5502
587b3164b4 [ZoneBuilder] Update fastfile branding 2017-06-15 11:47:35 +02:00
momo5502
a7ac3d3eba [General] Remove double include 2017-06-14 23:19:05 +02:00
momo5502
04737cbba4 [ClanTags] Fix refactoring issue 2017-06-14 22:04:16 +02:00
momo5502
08bc848267 [General] Small code fixes and optimization 2017-06-14 20:53:54 +02:00
momo5502
110aeb02f7 [General] Upgrade to C++17 features 2017-06-13 15:35:12 +02:00
momo5502
a1c14cd03f [Premake] Upgrade to VS2017 2017-06-13 14:52:43 +02:00
TheApadayo
195f6bb297 [Download] Added external server download. Still needs error checking to see if the file doesn't exist to revert back to the original host. Completely untested cause i can't get my dedi to start right now. 2017-06-12 19:22:39 -04:00
momo5502
e25cab6492 [Merge] feature/anticheat -> develop
# Conflicts:
#	src/Components/Modules/AntiCheat.hpp
#	src/Utils/Utils.cpp
#	src/Utils/Utils.hpp
2017-06-12 21:06:07 +02:00
momo5502
d096a47f48 [ServerList] Display bots separately 2017-06-12 21:02:34 +02:00
momo5502
bd3c4c8aa1 [AntiCheat] Prevent dll injection
- Hook native LdrLoadDll to prevent injection
- Hook native LdrpLoadDll to prevent injection
- Hook NtCreateThreadEx to log threads created by this process
  and kill remote threads
2017-06-12 21:00:28 +02:00
momo5502
d74fa8fb6b [Cache] Re-enable .to domain 2017-06-12 21:00:28 +02:00
momo5502
8b38b3990c [Main] Directly jump to the initialization routine 2017-06-12 19:54:11 +02:00
momo5502
342e19e87b [Merge] develop -> feature/anticheat 2017-06-11 22:50:43 +02:00
momo5502
7334e0c353 [News] Show update notification when the client is ready 2017-06-11 22:50:21 +02:00
momo5502
74a39c6e7b [AntiCheat] Disable VirtualProtect patch 2017-06-11 22:36:28 +02:00
momo5502
2a15863230 [QuickPatch] Block upnp spam 2017-06-11 21:25:31 +02:00
momo5502
a46daef6f1 [Window] Use better loading cursor 2017-06-11 21:25:18 +02:00
momo5502
a327915008 [Command] Don't crash on shell execute 2017-06-11 21:25:00 +02:00
momo5502
29ef5d6379 [AntiCheat] Add redundant code scanners 2017-06-11 21:24:32 +02:00
momo5502
7a0261ccbd [AntiCheat] Prevent dll injection
- Hook native LdrLoadDll to prevent injection
- Hook native LdrpLoadDll to prevent injection
- Hook NtCreateThreadEx to log threads created by this process
  and kill remote threads
2017-06-10 20:24:42 +02:00
momo5502
917870a19d [Cache] Re-enable .to domain 2017-06-10 20:23:24 +02:00
momo5502
88c1d8252f [ZoneBuilder] Fix memory leak 2017-06-08 20:32:41 +02:00
momo5502
96ebfb7f88 [Friends] Fix sorting comparator 2017-06-08 17:55:27 +02:00
momo5502
7531f468fd [ServerList] Fix sorting comparator 2017-06-08 17:55:18 +02:00
momo5502
20b8c1cec4 [Dedicated] Add 'unused' dedicated server code cause it's actually used
Removing it breaks the ZoneBuilder @TheApadayo!
2017-06-08 15:54:08 +02:00
momo5502
712a469465 [QuickPatch] Reimplement logfile dvar to disable the logfile 2017-06-08 12:37:09 +02:00
momo5502
4d088cd620 [QuickPatch] Fix upnp memory leak 2017-06-08 12:22:45 +02:00
momo5502
cfb252b3ee [Console] Catch exceptions thrown by PDCurses for some users 2017-06-08 11:42:01 +02:00
TheApadayo
9167a47fcf [News] Add toast if an update is available when the game starts 2017-06-07 16:04:02 -04:00
TheApadayo
2e807e673f [UPNP] Re-Enable UPNP in a separate thread 2017-06-07 15:52:02 -04:00
TheApadayo
9324b318ae [Dedicated] fix bad editing 2017-06-07 15:27:09 -04:00
TheApadayo
498359325f [Zonebuilder] Remove unused dedicated server code 2017-06-07 15:08:04 -04:00
TheApadayo
9997367ded [clipMap_t] some attempts to generate triggers 2017-06-07 14:15:32 -04:00
momo5502
445c7825c0 [Proxy] Remove steam start 2017-06-07 11:50:47 +02:00
momo5502
eb8c141ad9 [Window] Apply waiting cursor while loading fastfiles 2017-06-06 22:13:08 +02:00
momo5502
5e3a8b313c [Materials] Recover images to prevent vid_restart crashes 2017-06-06 14:02:56 +02:00
momo5502
e1c85f81d6 [ZoneBuilder] Load native XModels when not explicitly specified in the csv
aka 'primary asset'
2017-06-05 21:03:04 +02:00
momo5502
001939166b [Localization] Fix demos by locking the mutex only when necessary 2017-06-05 18:44:33 +02:00
momo5502
92b0dcffff [Friends] Remove testing code 2017-06-05 16:43:07 +02:00
momo5502
ee220e1c51 [ServerList] Better and even more efficient sorting 2017-06-05 16:24:57 +02:00
momo5502
edaa0fe033 [ServerList] Implement better sorting 2017-06-05 16:12:15 +02:00
momo5502
13fc91179f [Toast] Make sure image is valid before drawing 2017-06-05 14:39:12 +02:00
momo5502
38b64628ef [Materials] Correctly cleanup images 2017-06-05 14:31:45 +02:00
momo5502
78e7d6375d [Friends] Fix avatar corners 2017-06-05 13:47:00 +02:00
momo5502
6cc4fa582a [Friends] First version of working avatars 2017-06-05 12:53:26 +02:00
momo5502
0a5161d956 [Merge] develop -> feature/steam-avatars 2017-06-05 11:23:09 +02:00
momo5502
c42486ecd2 [Clantags] Temporarily disable until fixed 2017-06-05 00:26:34 +02:00
momo5502
ca4ccbd55d [Dedicated] Manually register sv_network_fps 2017-06-05 00:15:52 +02:00
momo5502
6f7ebb43b1 [Friends] Steam avatars 2017-06-05 00:00:46 +02:00
momo5502
171cdcf0fd [News] Add early termination support 2017-06-04 20:51:18 +02:00
momo5502
320d51ae32 [Cache] Add new cache urls 2017-06-04 20:51:05 +02:00
momo5502
2680ed2981 [AssetHandler] Don't enable missing hook for ZB 2017-06-04 18:57:43 +02:00
momo5502
63c59b70c2 [Dedicated] Optimize data transmission 2017-06-04 16:53:50 +02:00
momo5502
f0db0f2114 [AssetHandler] Don't display missing techset errors for dedis 2017-06-04 16:53:29 +02:00
momo5502
8d020f160a [Node] Update protocol version 2017-06-04 16:00:18 +02:00
momo5502
4ef714aa4c [ZoneBuilder] Disable resharper warnings 2017-06-04 15:08:50 +02:00
momo5502
cea36c5630 [ServerCommands] Use slot wrapper 2017-06-04 14:21:02 +02:00
momo5502
c8f80ceee0 [String] Use alternateive VAProvider when uninitializing
Using thread-local VAProviders in the uninitialization routine is not
possible, as thread storage has already been destroyed
2017-06-04 14:20:44 +02:00
momo5502
98642a9a59 [AntiCheat] Fix process protection 2017-06-04 12:21:57 +02:00
momo5502
53af2af8b7 [ZoneBuilder] Use static allocator as unreleased data is freed anyways 2017-06-04 11:01:04 +02:00
momo5502
0385ed0def [Console] Detect invalid consoles 2017-06-04 10:35:45 +02:00
/dev/urandom
d602d0c7c5
[ZoneBuilder] Hack around assertion crash in destructor temporarily.
Needs to be fixed properly by @momo5502.

See.
2017-06-03 23:58:05 +02:00
momo5502
0f0fc637ff [Console] Fix console output 2017-06-03 17:35:40 +02:00
/dev/tty0
c44afc9005 [Credits] Add V2 to credits menu 2017-06-03 17:02:45 +02:00
momo5502
91871fd0d4 [AntiCheat] Fix indentation 2017-06-03 00:27:05 +02:00
momo5502
089c0d152c [IMaterial] Add techset remapping 2017-06-02 22:18:14 +02:00
momo5502
ff15fb07fc [IO] More efficient file check 2017-06-02 22:18:00 +02:00
momo5502
49c0b7d3a1 [String] Use leak-free local storage implementation of VA 2017-06-02 22:05:45 +02:00
/dev/urandom
a739e3bc8d
[Hooking] Fix variable typos. 2017-06-02 21:35:05 +02:00
momo5502
b219858a52 [AntiCheat] Disable vp hook when it's not needed 2017-06-02 21:32:29 +02:00
momo5502
08bff1cf59 [AntiCheat] Remove virtualprotect hook 2017-06-02 21:24:11 +02:00
momo5502
d8c3e7fcee [String] Make VA leak-safe 2017-06-02 15:36:20 +02:00
momo5502
8785dfe316 [Download] Fix memory leaks 2017-06-02 12:26:08 +02:00
momo5502
8732dd68e9 [Wine] Revert /dev/roots changes as wine works fine for me 2017-06-01 22:23:26 +02:00
/dev/root
ab6cca65f9 [Dedicated] Removed hooks which failed in wine 2017-06-01 18:32:22 +02:00
RektInator
a6abc8fe72 [ServerCommands] Old code removed. 2017-06-01 14:30:56 +02:00
RektInator
e64e9bffd6 [ServerCommands] Fix servercommand assembly 2017-06-01 14:26:38 +02:00
momo5502
1b6255f069 [Scheduler] Correctly register the scheduler 2017-06-01 10:54:16 +02:00
momo5502
fe3e37347d [Scheduler] Distinguish between dedi and client interface 2017-06-01 10:25:13 +02:00
/dev/urandom
38e4f75411
[QuickPatch] Fix crash caused by drawing mini console when no graphics initialized. 2017-06-01 02:13:53 +02:00
/dev/urandom
c639f232f9
[Exception] Fix crash caused by drawing DEBUG text when no graphics initialized. 2017-06-01 02:13:39 +02:00
momo5502
17ae11544d [Node] Introduce net_natFix dvar 2017-05-31 23:45:49 +02:00
RektInator
123fd8bff3 [Clantags] Also apply clantags on overhead names. 2017-05-31 19:15:03 +02:00
momo5502
78530a247d [Scheduler] Fix connect protocol 2017-05-31 18:12:22 +02:00
momo5502
9f50c260c8 [Threading] Make VA thread safe
This fixes an issue for dedis
2017-05-31 18:03:33 +02:00
momo5502
7af0f7368c [Node] Check if ports match to get rid of unforwarded nodes 2017-05-31 18:03:05 +02:00
RektInator
1e382af801 [Clantags] iw4x_clantag -> clantag 2017-05-31 16:17:34 +02:00
momo5502
7dbfdb8a79 [Scheduler] Fix errors 2017-05-31 16:09:41 +02:00
momo5502
fe6cb2d737 [Scheduler] Introduce scheduler with 80 compile errors 2017-05-31 15:50:32 +02:00
momo5502
4bb1157234 [Loader] Make use of typeinfo for singleton and name resolving 2017-05-31 12:04:56 +02:00
momo5502
1628afb4c3 [ServerCommands] Optimize code and adapt to our style 2017-05-31 10:42:43 +02:00
momo5502
8cf9c0d93f [Clantags] More fixes 2017-05-31 10:33:25 +02:00
momo5502
fbec01b237 [CardTitles] More fixes 2017-05-31 10:33:18 +02:00
momo5502
3e1b5df639 [CardTites] Optimize code 2017-05-31 09:59:03 +02:00
momo5502
5c91a8c451 [Clantags] Optimize code and get rid of memory leaks 2017-05-31 09:58:36 +02:00
RektInator
e99894f692 [Clantags] Initial commit
TODO: Add clantag to player overhead names and 'killed by' popup menus.
2017-05-31 03:33:31 +02:00
RektInator
fb6dd4a205 Merge remote-tracking branch 'refs/remotes/origin/develop' into v2features 2017-05-31 01:57:59 +02:00
RektInator
6357207326 [Dedicated] Fixed server command 2017-05-31 01:51:45 +02:00
RektInator
f798af7840 [Dedicated] Updated friend discovery hook 2017-05-31 01:51:06 +02:00
RektInator
0661972f68 [CardTitles] Changed command index. 2017-05-31 01:42:25 +02:00
RektInator
6f71a65a83 [Dedicated] Update cardtitles across clients. 2017-05-31 00:27:08 +02:00
RektInator
e55f807003 [CardTitles] Refactored CardTitle code. 2017-05-30 23:39:57 +02:00
momo5502
ee91306681 [Main] Shorten binary check 2017-05-30 23:35:56 +02:00
momo5502
86491a7372 [Main] Optimize entrypoint 2017-05-30 23:34:52 +02:00
momo5502
eb71cf0ae8 [Node] Fix sync nodes lag 2017-05-30 23:24:55 +02:00
momo5502
991056b362 [Maps] Check map hash and redownload when different 2017-05-30 21:49:13 +02:00
momo5502
a54e322f9c [Download] Only create dir when downloading a map 2017-05-30 21:07:05 +02:00
RektInator
f6b855e3c1 [CardTitles] Fixed ASM mistake 2017-05-30 20:56:14 +02:00
momo5502
15aea4e0bc [Node] Get serverlist from dedis 2017-05-30 20:31:00 +02:00
momo5502
2760e57c97 [Maps] Reenable distortion on custom maps
Distortion bugs should be fixed now
2017-05-30 19:23:06 +02:00
TheApadayo
2fae76875d [Structs] Correct usercmd_s struct 2017-05-30 13:22:04 -04:00
RektInator
a5a8b86c8c [ServerCommands] Fix shortjump type 2017-05-30 18:49:51 +02:00
RektInator
859f00acdd [CardTitles] Code optimizations 2017-05-30 18:38:54 +02:00
RektInator
d77c74f5a9 [Weapon] Runtime memory editing removed. 2017-05-30 16:32:17 +02:00
RektInator
652d7ff4fc [Weapon] This might fix the fucked anims. 2017-05-30 15:58:39 +02:00
RektInator
150790a279 [ServerCommands] Fail hooks installed. 2017-05-30 15:37:50 +02:00
RektInator
dcb6c2b9e8 [ServerCommands] Server command hooks added 2017-05-30 14:29:09 +02:00
RektInator
9f0dc1139d [CardTitles] Initial commit
Refactored most from V2's codebase already. TableLookupByRowHookStub
needs additional refactoring.
2017-05-30 13:45:19 +02:00
momo5502
350c451de8 [IMaterial] Find sortkey by comparing techsets 2017-05-30 10:52:22 +02:00
momo5502
7570ad055e [IMaterial] Fix for material remap fails 2017-05-30 10:09:27 +02:00
RektInator
d0663eaefc [AssetHandler] Visual bugs fixed. 2017-05-30 01:36:24 +02:00
momo5502
c21b3cd7a9 [Loader] Don't initialize COM model stuff in winw 2017-05-29 23:44:34 +02:00
momo5502
db2adce865 [Maps] Disable speculars on custom maps 2017-05-29 20:43:15 +02:00
momo5502
308b49ef0e [Party] Disconnect before connecting 2017-05-29 20:43:03 +02:00
momo5502
e13a8045a2 [ZoneBuilder] Use language dir for techset generation 2017-05-29 19:52:37 +02:00
momo5502
d6b6cfe06b [ZoneBuilder] Change fastfile version
As the techset bug is huge (90% of all assets require techsets)
we have to rebuild all fastfiles!
2017-05-29 10:58:43 +02:00
momo5502
d57bbbec18 [Materials] Remove unnecessary workarounds 2017-05-29 10:56:35 +02:00
momo5502
f6a242c6b7 [IMaterialTechniqueSet] Correctly write all arguments 2017-05-29 10:54:20 +02:00
momo5502
669a829c5c [Materials] Don't synchronize techset remapping 2017-05-28 22:39:37 +02:00