Commit Graph

1952 Commits

Author SHA1 Message Date
momo5502
d9ad474905 [IW4MVM] Disable the mod when it's not needed 2017-07-05 21:37:54 +02:00
momo5502
ff55efb4fd [Submodules] Update iw4mvm 2017-07-05 21:08:34 +02:00
momo5502
bbc28a0a8b [IW4MVM] Include IW4MVM 2017-07-05 20:50:12 +02:00
momo5502
a3939860ea [Download] Fix fastdownload 2017-07-05 09:13:51 +02:00
momo5502
b54b18806f [AntiCheat] Use more efficient hashing 2017-07-03 22:17:46 +02:00
momo5502
0c2c7bb7e9 [ZoneBuilder] Fix zlib compile error 2017-07-03 16:48:02 +02:00
momo5502
4aba6fa06d [Submodules] Get rid of zstd 2017-07-03 16:43:48 +02:00
momo5502
41a85262f5 [Scheduler] Fix startup 2017-07-03 15:40:32 +02:00
momo5502
c68ac46d10 [Scheduler] Don't start thread during unit tests 2017-07-03 15:22:15 +02:00
momo5502
e80eb6fb43 [General] Get rid of FPS drops 2017-07-03 15:07:47 +02:00
momo5502
50ae631dcb [Node] Faster query 2017-07-03 11:09:36 +02:00
momo5502
12eeac1903 [Node] Faster query 2017-07-03 10:57:55 +02:00
momo5502
93dd36540b [Session] Reenable sessions for now 2017-07-02 19:11:13 +02:00
momo5502
87b02f1b49 [Session] Disable sessions for now to make the game more stable 2017-07-02 19:05:58 +02:00
momo5502
622242f3b0 [Download] Fix modlist download 2017-07-02 19:00:28 +02:00
momo5502
a07c84e9ad [Slowmotion] Don't draw CI at all as it's unreliable 2017-07-02 14:41:31 +02:00
momo5502
9847e1a512 [Download] Hash password for url safety 2017-07-02 14:16:06 +02:00
momo5502
5036fb2e84 [Session] Don't start thread during unit tests 2017-07-02 14:02:17 +02:00
momo5502
276ab43351 [AntiCheat] Uninstall lib hooks before writing minidumps 2017-07-02 13:41:31 +02:00
momo5502
71dd5632f4 [Dedicated] Enable chat hooks for clients as well 2017-07-02 13:30:23 +02:00
momo5502
6649c9344d [Session] Sign data asynchronously to prevent lags 2017-07-02 13:13:06 +02:00
momo5502
688a5d9cac [QuickPatch] Allow windows 5 again 2017-07-02 11:12:17 +02:00
momo5502
fea0cb9440 [Colors] Fix dedi crashes 2017-07-02 00:43:09 +02:00
momo5502
244b46ac0d [Dedicated] Fix dedis on wine 2017-06-30 11:09:01 +02:00
momo5502
66dd013925 [AntiCheat] Fix linux usage 2017-06-30 10:37:37 +02:00
momo5502
d697c94388 [FileSystem] Remove debug message 2017-06-30 00:41:15 +02:00
momo5502
dd1308a7f9 [StringTable] Use the game's hashing function 2017-06-30 00:35:04 +02:00
momo5502
1760741975 [Slowmotion] Optimize killcam 2017-06-29 23:03:57 +02:00
momo5502
527f93803c [General] Update protocol version 2017-06-29 23:03:25 +02:00
momo5502
676866ca54 [Stats] Correctly write stats to file (not steam's remote storage) 2017-06-29 15:54:47 +02:00
momo5502
8dfbe47bc6 [Dedicated] Implement event for chat 2017-06-28 21:30:39 +02:00
momo5502
81608fb782 [AntiCheat] Fix duplicate anticheat definition 2017-06-28 21:30:39 +02:00
momo5502
8a1936347f [Node] Optimize code 2017-06-26 23:23:08 +02:00
momo5502
a3df6c45da [Compression] Use max compression level for zstd 2017-06-26 20:43:52 +02:00
momo5502
a011022da5 [ZoneBuilder] Use ZSTD for fastfile compression 2017-06-26 20:30:29 +02:00
momo5502
19f49a0273 [Compression] Implement zstd for fastfiles (unfinished) 2017-06-26 19:01:52 +02:00
momo5502
ac7943cfbb [Download] Fix password protected moddownload 2017-06-26 13:04:30 +02:00
momo5502
0051722d94 [Node] Remove empty line 2017-06-26 00:09:05 +02:00
momo5502
72fe016543 [Node] Regularly store nodes 2017-06-26 00:01:58 +02:00
momo5502
85032c5e27 [ServerList] Add bot count 2017-06-25 22:07:16 +02:00
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
momo5502
144874d36b [Materials] Don't compare remapped techniques 2017-05-28 22:21:26 +02:00
momo5502
df2dd13b1d [Maps] Make sure techsets are clean when sorting materials 2017-05-28 18:13:48 +02:00
momo5502
345c8e5a98 [Maps] Delay material sorting 2017-05-27 20:50:22 +02:00
momo5502
692c80bf98 [Maps] Don't wait for the entire database, just glass data
This actually allows the thread to continue and this 'fixes' the
material crash for custom maps. The Material_Sort function requires
something our thread seems to compute. I haven't had a deep look into it,
as for now this fix works, but for the future, a real fix is needed!
2017-05-27 19:22:56 +02:00
momo5502
8076deeb91 [Maps] Temporarily disable distortion warnings 2017-05-27 17:26:12 +02:00
momo5502
b166af9f1b [ZoneBuilder] Use the custom entry point again 2017-05-27 17:17:12 +02:00
momo5502
908343a381 [ZoneBuilder] Disable experimental entrypoint until bugs are fixed 2017-05-27 15:38:12 +02:00
momo5502
84e2a2a7be [Dvar] Allow fov up to 120 2017-05-27 14:40:12 +02:00
momo5502
4803cd1289 [ZoneBuilder] Fix commandline parsing 2017-05-27 14:22:26 +02:00
TheApadayo
5be5c70cb6 [ZoneBuilder] building techsets.ff is now working. still need to clean it up and add a function to generate defaults.ff as well.
also featured in this commit:
- better cpu performance when running zb from the shell
- asset pools that are bigger than ever!
- new random struct stuff
2017-05-26 15:41:40 -04:00
TheApadayo
5bbfdfed53 [ZoneBuilder] make startup prettier 2017-05-25 18:08:43 -04:00
momo5502
d0fc79ef2f [ZoneBuilder] Use stderr for error messages 2017-05-25 21:12:20 +02:00
momo5502
7dd6ff0fe2 [Download] Optimize map download 2017-05-25 20:18:20 +02:00
momo5502
fc6c24ca30 [IFxEffectDef] Don't load native fx first 2017-05-25 15:01:28 +02:00
momo5502
72efac3a3a [ZoneBuilder] Fix command execution 2017-05-25 13:34:01 +02:00
momo5502
02741fff00 [WebIO] Fix moddownload (don't enforce content length) 2017-05-25 12:40:39 +02:00
TheApadayo
281e986f4f [ZoneBuilder] Fix stdout usage for zb. new entry point should work fully now. 2017-05-23 10:42:04 -04:00
TheApadayo
1b3a1302c5 [ZoneBuilder] Added Com_Error handling (very simple) and added default zones to fix build error. buildall should work now for iw4x-data 2017-05-22 21:55:03 -04:00
TheApadayo
0b6e7355a8 [ZoneBuilder] implement custom entry point for zonebuilder instead of nuking Com_Init
Still doesn't work for some reason and i still need to implement Com_Error functionality to see what the error is
2017-05-22 21:34:01 -04:00
/dev/urandom
708c30afaf
Revert "Revert "[ZoneBuilder] Neuter startup more and add support for defaults.ff and shaders.ff"" 2017-05-21 23:00:39 +02:00
/dev/urandom
c2930e59fb
Revert "[ZoneBuilder] Neuter startup more and add support for defaults.ff and shaders.ff" 2017-05-21 22:59:59 +02:00
TheApadayo
63cec317b4 [ZoneBuilder] Neuter startup more and add support for defaults.ff and shaders.ff
shaders.ff should probably be re-generated to include every single techies including the SP ones. i'll do that later
2017-05-20 14:41:04 -04:00
momo5502
f6894b46c5 [Download] Add ssl support 2017-05-15 21:57:45 +02:00
momo5502
a5a56f1e72 [Download] Implement gsc http download 2017-05-14 20:32:39 +02:00
momo5502
309e2d2987 [Script] Allow adding custom script functions 2017-05-13 12:09:58 +02:00
momo5502
221e550180 [Submodules] Update WinToast and libtomcrypt 2017-05-12 19:52:42 +02:00
momo5502
2be74b22be [Submodules] Update them all 2017-05-10 21:49:06 +02:00
momo5502
a1bf2ee2e8 [Script] Remove debug message 2017-05-08 18:47:20 +02:00
momo5502
62f58b5b09 [Script] Fix setExpFog hook 2017-05-07 19:04:57 +02:00
momo5502
32a6e53dbd [Resource] Add copyright 2017-05-07 13:37:18 +02:00
momo5502
f2d1eac4b8 [Submodules] Update them all 2017-05-04 12:45:08 +02:00
momo5502
9bf36c2c77 [IMaterial] Adjust missing techset message 2017-05-04 12:30:39 +02:00
momo5502
66bf02ba43 [AssetHandler] Optimize bypass state handling 2017-05-04 12:30:22 +02:00
momo5502
e5bca7654b [Exception] Fix error message 2017-05-02 13:37:41 +02:00
momo5502
997165d012 [Maps] Temporarily disable distortion for custom maps 2017-05-01 14:57:17 +02:00
momo5502
2c9a051aad [ZoneBuilder] Enumerate XAssetEntries instead of logging them 2017-05-01 13:08:34 +02:00
momo5502
70d7312472 [Script] Allow 6 params for setExpFog 2017-04-29 23:08:41 +02:00
momo5502
7fcd0331be [Colors] Fix color sign 2017-04-29 00:18:51 +02:00
momo5502
93e65b4767 [General] Fix issues for vs17 compatibility 2017-04-28 14:18:28 +02:00
momo5502
f750a15e78 [QuickPatch] Remove r from version 2017-04-27 22:30:08 +02:00
momo5502
3e20ca366a [ZoneBuilder] Better FastFile obfuscation 2017-04-27 22:03:05 +02:00
momo5502
d6a674b883 [Exception] Don't deadlock trying to close the window 2017-04-27 11:14:44 +02:00
momo5502
f7a337f04c [IMaterial] Update techset mapping 2017-04-26 08:05:11 +02:00
momo5502
7c728b4658 [General] Use preincrement 2017-04-24 22:33:13 +02:00
momo5502
cdf759736f [IMaterial] Indentation 2017-04-24 21:14:59 +02:00
momo5502
e2bad62c70 [IXModel] Remove legacy support 2017-04-24 21:14:50 +02:00
momo5502
91c9cda59f [Bots] Spawn models delayed 2017-04-24 21:14:08 +02:00
momo5502
1e617dc299 [Maps] Add model debug code 2017-04-24 21:13:54 +02:00
momo5502
1481b02867 [Exception] Fix R_RegisterFont 2017-04-23 13:38:24 +02:00
momo5502
d97c886ccd [General] Fix R_RegisterFont 2017-04-23 13:32:47 +02:00
momo5502
1d5df78692 [Bots] Add spawnBot command 2017-04-23 13:32:47 +02:00
momo5502
a830fcde97 [General] Adjust shader structures 2017-04-22 21:47:04 +02:00
RektInator
c1615eb67f [Isnd_alias_list_t] Compiler warnings fixed. 2017-04-22 19:20:17 +02:00
RektInator
2e92534e4d [Isnd_alias_list_t] Property setting from json implemented, speakermap is todo. 2017-04-22 18:27:52 +02:00
momo5502
1470c8c308 [ZoneBuilder] Add non-redundant iwi dumper 2017-04-21 20:49:06 +02:00
momo5502
274b630c39 [Logger] Allow formatting larger messages 2017-04-21 20:48:31 +02:00
momo5502
ef882ff398 [IMaterial] Fix mapping for effect techsets 2017-04-20 21:52:50 +02:00
momo5502
1b41692f36 [IFxEffectDef] Add fx importer 2017-04-20 21:28:01 +02:00
momo5502
34df306212 [IMaterial] Add mapping for fx materials 2017-04-20 21:27:38 +02:00
momo5502
dbe0af988f [IGfxWorld] Test pointer duplication 2017-04-18 19:28:00 +02:00
momo5502
85d519b7b0 [Maps] Disable model sorting until it's fixed 2017-04-16 14:29:35 +02:00
momo5502
ee466a26bc [General] Ensure primitive type sizes 2017-04-16 12:31:16 +02:00
momo5502
6f72458a40 [IMaterial] Fix code analysis warning 2017-04-16 11:56:57 +02:00
momo5502
d11f5dee1f [Memory] Use global memory allocator when possible 2017-04-16 11:47:57 +02:00
momo5502
a177e20bf6 [IMaterial] Fix technique mapping 2017-04-16 01:51:41 +02:00
momo5502
79c38f44f3 [IGfxWorld] Reflection null check missing 2017-04-16 01:51:23 +02:00
momo5502
0218c76a26 [IMaterial] Check if replacement was found 2017-04-15 22:50:20 +02:00
momo5502
360729120c [General] Allow building custom maps 2017-04-15 16:48:43 +02:00
momo5502
85072b41b2 [QuickPatch] Add nointro flag 2017-04-13 22:04:01 +02:00
momo5502
c03268347a [Maps] Only load usermaps iwd if available 2017-04-09 18:27:58 +02:00
momo5502
139ac3a80b [AntiCheat] Fix virtual protect hook 2017-04-09 13:54:41 +02:00
momo5502
ddddf9914d [IPCPipe] Disable when building zones 2017-04-08 17:29:07 +02:00
momo5502
8b22a1ff70 [Maps] Load map specific arena files 2017-04-08 15:32:51 +02:00
momo5502
0e56b345d8 [Maps] Ignore cull distance for frustum calculation 2017-04-07 22:07:44 +02:00
momo5502
2df233d694 [IclipMap_t] Read missing SModelAABBNodes 2017-04-07 22:07:23 +02:00
momo5502
8e67a43308 [ZoneBuilder] Don't read stats 2017-04-07 22:07:07 +02:00
momo5502
0a00ceef9e [Maps] Download missing map on map rotation 2017-04-07 21:37:01 +02:00
momo5502
67defdf5a3 [Download] Implement map download 2017-04-06 22:22:47 +02:00
momo5502
8bb3c1deca [Maps] Implement support for usermaps 2017-04-06 22:22:30 +02:00
TheApadayo
b0d4309067 [Game] Add R_DrawDebugBounds function 2017-04-05 18:36:01 -04:00
momo5502
59d8c85640 [ZoneBuilder] Check if CSV exists 2017-04-04 22:35:30 +02:00
momo5502
556fd8ac16 [IMaterial] Better techset mapping 2017-04-03 22:08:02 +02:00
momo5502
4d641ad567 [Maps] Better custom map detection 2017-04-03 22:07:49 +02:00
momo5502
0d1267f7d9 [IGfxWorld] Map all array entries 2017-04-01 10:34:34 +02:00
momo5502
ce457b20c6 [Toast] Only enable when the component model is initialized 2017-03-30 20:55:39 +02:00
momo5502
0580e59d11 [Toast] Skip during unit tests 2017-03-30 20:49:22 +02:00
momo5502
36beb29f55 [IPCPipe] Disable when debugging 2017-03-30 20:08:05 +02:00
momo5502
0a8f0e5f70 [Maps] Add r_disableModelWorkaround 2017-03-30 17:56:06 +02:00
momo5502
deaf269808 [General] Fix compiler warnings 2017-03-30 14:05:37 +02:00
momo5502
185ea56f72 [Functions] Fix debug line 2017-03-29 16:44:05 +02:00
momo5502
41fef13272 [Maps] Use angle to calculate model visibility 2017-03-28 17:34:39 +02:00
momo5502
e7b70b4bd7 [Maps] Correct if both vectors are null 2017-03-28 17:18:39 +02:00
momo5502
4cd6d5502d [Maps] Optimize forward model calculation using glm 2017-03-28 17:16:11 +02:00
momo5502
3a0a5b8506 [Maps] Add dvar r_forceForwardModels for debugging 2017-03-28 14:09:24 +02:00
momo5502
7b22727bdf [FastFiles] Load maps from userraw
IWD part is missing!
2017-03-28 09:01:56 +02:00
momo5502
845d776507 [Functions] Safer debug drawing 2017-03-28 08:57:14 +02:00
momo5502
b57aa4b262 [QuickPatch] Fix memory leak 2017-03-28 08:56:51 +02:00
TheApadayo
fc615ca035 [Structs] Fix GfxBrushModel 2017-03-27 22:39:49 -04:00
TheApadayo
d8e0958a9b [Materials] Lets try this one again... only modify sort keys in codol fastfiles 2017-03-27 21:26:43 -04:00
TheApadayo
0b1f28bdae [IGfxWorld] More work, some possible fixes 2017-03-27 21:25:58 -04:00
momo5502
38080b7d73 [IGfxWorld] Make sure to allocate the necessary buffers 2017-03-27 18:01:23 +02:00
momo5502
50345ce512 [IGfxWorld] Sort world surfaces 2017-03-27 17:48:52 +02:00
momo5502
13eb5ba831 [Entities] Fix model selection 2017-03-27 14:15:09 +02:00
TheApadayo
c02eede3f4 [IGfxWorld] My terrible attempt at sorting gfxsurfaces 2017-03-27 00:56:08 -04:00
TheApadayo
9e2fab7f54 [Techsets] half written dumptechsets command 2017-03-26 20:44:46 -04:00
TheApadayo
73e158e07e [clipMap_t] Revert all my model fuckery 2017-03-26 20:44:46 -04:00
TheApadayo
d7c6786781 [Materials] only apply sort key fix when loading iw4c fast files 2017-03-26 20:44:46 -04:00
TheApadayo
8b51792e61 [IclipMap_t] Broken model aabb tree generation. will finish later 2017-03-26 20:44:46 -04:00
TheApadayo
f4a865698d [ZoneBuilder] Add buildtechsets command, doesn't work yet 2017-03-26 20:44:45 -04:00
momo5502
aa20fc009d [AntiCheat] Patch virtual protect 2017-03-26 20:41:37 +02:00
momo5502
6f91b87bdc [Structs] Adjust GfxBrushModels 2017-03-26 18:00:25 +02:00
momo5502
654b2210ce [IMapEnts] Correct map entities 2017-03-25 22:18:31 +01:00
momo5502
c77cbf39b2 [IMapEnts] Correct map ents if no preset found 2017-03-25 13:42:57 +01:00
momo5502
67717b589a [ZoneBuilder] Find renamed assets 2017-03-25 13:42:32 +01:00
momo5502
576b07891e [IXModel] Fix surfs sign 2017-03-25 13:42:21 +01:00
momo5502
3e509e1b1d [Structs] Adjust a few things 2017-03-24 23:59:11 +01:00
momo5502
e0a58948a4 [ServerList] No comment 2017-03-24 20:31:59 +01:00
momo5502
0f027dfd6c [ServerList] Fix the netsource 2017-03-24 18:28:03 +01:00
momo5502
4449f76061 [ZoneBuilder] Remove unncessary restriction 2017-03-24 18:27:53 +01:00
momo5502
bf86ba7033 [IFxWorld] Fix missing block pop 2017-03-20 21:20:19 +01:00
momo5502
19b6203272 [IGfxWorld] Fix runtime data overflow 2017-03-20 21:07:55 +01:00
momo5502
2690b6dab7 [clipMap_t] Fix warning 2017-03-20 12:40:06 +01:00
momo5502
94eaf9c94d [IComWorld] Add light support 2017-03-20 10:38:46 +01:00
TheApadayo
3427aa6e7f [clipMap_t] working on the quad tree for model nodes 2017-03-19 23:38:53 -04:00
momo5502
43ddafa520 [Structs] Update game structures for portals 2017-03-19 14:49:53 +01:00
momo5502
c167f1754e [Maps] Wait for database thread before loading glass data 2017-03-19 11:32:15 +01:00
momo5502
3ca58dd4ce [IGfxWorld] Map smodel index pointers 2017-03-19 02:09:05 +01:00
momo5502
df59a4089e [Maps] Add temporary workaround to force model drawing 2017-03-19 00:31:47 +01:00
momo5502
f2dcab13e1 [ZoneBuilder] Add temporary workaround to load rust's commap 2017-03-19 00:31:34 +01:00
momo5502
3b6c502368 [IGfxWorld] Fix aabbtree structure 2017-03-19 00:24:11 +01:00
momo5502
45147ec8ea [StructuredData] Only add support for 15 classes when not building zones 2017-03-19 00:23:47 +01:00
momo5502
167c22abab [Exception] Fix minidump creation 2017-03-19 00:23:20 +01:00
momo5502
674c6ebf60 [Logger] Fix onelog 2017-03-18 17:26:35 +01:00
momo5502
21a2be135f [IXModel] Correctly read collision data 2017-03-18 15:20:32 +01:00
momo5502
5b0b14a5f5 [IPhyCollmap] Fix plane writing 2017-03-18 15:20:21 +01:00
momo5502
649605551d [IclipMap_t] Fix incorrect plane check 2017-03-18 15:20:04 +01:00
momo5502
d47cc138d5 [IMaterial] Refactor binary material format 2017-03-18 15:19:41 +01:00
momo5502
b2aa36ca5c [IGfxWorld] Map cplane pointer 2017-03-17 23:42:05 +01:00
momo5502
15a6f87057 [IclipMap_t] Map cplane pointer 2017-03-17 23:41:50 +01:00
momo5502
39a5758955 [Memory] Add pointer mapping support 2017-03-17 23:41:31 +01:00
momo5502
8366cbdfbc [IclipMap_t] Fix asset type 2017-03-16 20:54:17 +01:00
momo5502
3b702b9d9a [IclipMap_t] Use existing clipmap as base 2017-03-16 20:40:32 +01:00
/dev/root
f0f4a5b6cc [Exception] Changed checks to use c++ experimental features 2017-03-15 19:30:15 +01:00
/dev/root
37e2dafb00 [Exception] Only start crash-helper if *.dmp exist 2017-03-14 18:16:12 +01:00
momo5502
a257292594 [Exception] Remove bitmrc and upload minidumps using the helper 2017-03-13 22:14:41 +01:00
momo5502
a9dd792b30 [AntiCheat] Softer process protection 2017-03-12 11:13:47 +01:00
momo5502
eb14a0df62 [AntiCheat] Don't acquire debug priviledge 2017-03-11 02:31:41 +01:00
momo5502
5542fe0c16 [AntiCheat] Don't inherit handle 2017-03-11 02:30:24 +01:00
momo5502
d87dab497a [ServerList] Don't update the localized string when refreshing 2017-03-11 02:11:32 +01:00
/dev/root
11b6630c0e [Staff] Add lsb_release
[ci skip]
2017-03-11 00:41:16 +01:00
/dev/root
3bd3d4b707 [Flags] Parse flags correctly 2017-03-10 23:41:01 +01:00
momo5502
8560daf0a1 [Main] Remove interception hook 2017-03-10 23:18:52 +01:00
momo5502
1843522b16 [Loader] Disable com environment during unit tests 2017-03-10 19:56:26 +01:00
/dev/root
06e3a72f92 [Cache] Add onion.rip fallback 2017-03-10 14:59:33 +01:00
momo5502
590fe1c0fb [AssetHandler] Fix sortkey issue 2017-03-09 22:09:45 +01:00
momo5502
e3fc5231a6 [AntiCheat] Disable process protection for dedis 2017-03-04 14:11:37 +01:00
momo5502
1b4393f095 [AntiCheat] More process security and debug priviledge acquisition 2017-03-04 13:52:00 +01:00
momo5502
8e5446e198 [Proxy] Cleaner interface disassembly 2017-03-03 11:33:13 +01:00
momo5502
4c6694026b [Proxy] Update clientengine
Based on http://osw.didrole.com/src/1487812945/CSteamClient.h
2017-03-03 09:19:02 +01:00
RektInator
19d122e187 [ImenuDef_t] 2 alignment issues fixed, some menu's still don't work though. 2017-03-02 00:20:20 +01:00
momo5502
e8b881ea53 [Party] Disable XP bar when maxlevel 2017-03-01 19:56:36 +01:00
momo5502
2e01137ff8 [ServerList] Use recursive mutex 2017-02-28 19:58:21 +01:00
/dev/root
983e1bd8f0 [News] Added Mutex for updater check 2017-02-28 19:55:22 +01:00
/dev/root
d0e760108f [News] Added Updater Check to startup 2017-02-28 19:26:12 +01:00
momo5502
f4bbfdf102 [Stats] Shorten size calculation 2017-02-28 16:56:14 +01:00
momo5502
a057552afc [Stats] Use stack buffer instead of heap memory 2017-02-28 13:36:38 +01:00
momo5502
1267a4a9f3 [Stats] Optimize stat reuploading and maxlevel function 2017-02-28 11:40:53 +01:00
RektInator
68bfc25074 [Dedicated] Hopefully fixes hostmigration. 2017-02-26 21:49:12 +01:00
RektInator
92102e44bb [Stats] IsMaxLevel function implemented, XP bar hook coming soon. 2017-02-26 21:34:18 +01:00
momo5502
a8931fcc56 [ServerList] Show server/playercount 2017-02-26 15:27:02 +01:00
RektInator
643a3a36d5 [ImenuDef_t] Added sub save_ functions to ImenuDef_t interface 2017-02-26 14:54:19 +01:00
RektInator
23e1127e08 [ImenuDef_t] SelectIcon marking for feeder data 2017-02-26 13:10:48 +01:00
RektInator
f6d367e28b [IFont_s] Font_s interface added 2017-02-26 12:57:02 +01:00
RektInator
509740b747 [ImenuDef_t] This wont be needed anymore. 2017-02-26 11:49:16 +01:00
RektInator
d1fbaf3f30 [ImenuDef_t] multiDef_s itemDefData writing 2017-02-26 11:45:53 +01:00
RektInator
edd906170b [ImenuDef_t] itemDefData is now functional for most item types.
multiDef_s is todo.
2017-02-26 11:36:58 +01:00
RektInator
5e9e7e630d [ImenuDef_t] ItemFloatExpressions are now functional 2017-02-26 11:25:22 +01:00
RektInator
451dc77d1c [Stats] Warnings fixed 2017-02-26 01:43:26 +01:00
RektInator
451db1d986 [Stats] Playerstats reuploading initial commit 2017-02-26 01:36:37 +01:00
RektInator
1051a0b019 [ImenuDef_t] itemDefData writing in progress 2017-02-25 23:47:24 +01:00
RektInator
abe6c87568 [ImenuDef_t] itemDefData writing in progress 2017-02-25 23:46:45 +01:00
RektInator
380d15ab07 [ImenuDef_t] ExpressionSupportingData writing 2017-02-25 22:02:58 +01:00
RektInator
26f8b86936 [ImenuDef_t] Menu marking. 2017-02-25 21:11:17 +01:00
RektInator
8c36783f1d [IMenuList] asset marking. 2017-02-25 21:07:27 +01:00
RektInator
dafd117d07 [ImenuDef_t] Renamed IMenu to ImenuDef_t. 2017-02-25 21:01:06 +01:00
RektInator
e1c3ecdf4d [IMenu] Initial commit 2017-02-25 20:55:04 +01:00
RektInator
bd8a746811 [IMenuList] Initial commit 2017-02-25 19:41:54 +01:00
/dev/root
c0dcc4afbf [Monitor] Added Text to output 2017-02-25 18:52:53 +01:00
momo5502
0d4934d163 [StructuredData] Reset empty classnames 2017-02-25 17:27:34 +01:00
momo5502
89ef10b789 [Monitor] Correctly load stored nodes 2017-02-25 15:59:58 +01:00
momo5502
bc544748cc [Monitor] Add monitoring for the node network with -monitor parameter 2017-02-25 15:32:15 +01:00
momo5502
b1f3056536 [News] Fix error 2017-02-25 13:23:01 +01:00
momo5502
ad47c581d1 [News] Use interval object 2017-02-25 13:13:58 +01:00
momo5502
741d5788bd Merge remote-tracking branch 'origin/develop' into 191-dedicated-server-optimization
# Conflicts:
#	src/Components/Modules/News.cpp
2017-02-25 13:00:56 +01:00
momo5502
46c054e7a8 [General] Disable certain components when running as dedi
- Changelog
- D3D9Ex
- Renderer
- UIScript
- UIFeeder
2017-02-25 12:54:26 +01:00
/dev/root
af8801c9c5 [Updater] Only download updater when required 2017-02-25 12:45:41 +01:00
momo5502
8b50bb567c [General] Update the protocol (15 classes are not backwards compatible) 2017-02-25 12:27:59 +01:00
momo5502
86e1f6f807 [Logger] Add iw4x_onelog dvar 2017-02-25 01:17:45 +01:00
momo5502
fe126a4308 [Party] Correctly parse max players 2017-02-25 00:52:11 +01:00
momo5502
0fcf3ea014 [Proxy] Watch if steam crashes 2017-02-24 23:14:23 +01:00
momo5502
04d09b39e0 [Menus] Store if menu is native of custom instead of enumerating menus 2017-02-24 20:22:53 +01:00
momo5502
a3cb37f7e4 [Toast] Uninitialize if possible 2017-02-24 13:30:31 +01:00
momo5502
d3ca680e7a [Menus] Safely merge menus when loading them 2017-02-24 12:15:15 +01:00
momo5502
1d7006c420 [Utils] Inline array merging 2017-02-24 11:43:05 +01:00
sr0
3d2e8446f2 Merge remote-tracking branch 'origin/develop' into 191-dedicated-server-optimization 2017-02-23 21:37:22 +01:00
momo5502
5735731c3e [Toast] Disable toasts for dedis 2017-02-23 21:36:02 +01:00
momo5502
c737b4f216 [Premake] Update premake and submodules 2017-02-23 19:00:39 +01:00
momo5502
070c7ac00a [Menus] Separate playerdataread and restclass menu 2017-02-22 20:38:29 +01:00
momo5502
e7c2d10d19 [StructuredData] Correctly update stats (by @RektInator) 2017-02-22 20:17:58 +01:00
momo5502
ea3ac3ddcb [Localization] Generate class names for 10+ classes 2017-02-22 19:07:46 +01:00