Commit Graph

1312 Commits

Author SHA1 Message Date
momo5502
b51b4fe895 [Weapon] Remove debugging leftovers 2017-02-05 11:53:50 +01:00
momo5502
3aeebf9ac5 [Maps] Increase the weapon pool accordingly to the weapon limit 2017-02-05 11:43:41 +01:00
momo5502
af05e9de2f [Weapon] Reallocate config strings 2017-02-05 11:22:21 +01:00
momo5502
dfe404b1ad [Bans] Concatinate reason from left params 2017-02-05 11:22:21 +01:00
momo5502
e2efb1b695 [Dedicated] Optimize say hook 2017-02-05 11:22:21 +01:00
sr0
58a76eb52e [Menus] Add new menus 2017-02-05 03:46:27 +01:00
momo5502
59ae4b35c7 [Changelog] Optimize changelog 2017-02-04 21:52:49 +01:00
/dev/root
7faf4a91cd [News] Removed deprecated unit test 2017-02-04 21:19:34 +01:00
/dev/root
a705e2823e [News] Fixed typo
[ci skip]
2017-02-04 20:45:27 +01:00
/dev/root
9f52029121 [Changelog] Removed trim 2017-02-04 20:26:46 +01:00
/dev/root
f042aa2d4f [Changelog] Improved UIScript
- only run once
- support for offline
2017-02-04 19:07:19 +01:00
/dev/urandom
97bdf1a842
[News] Run Updater with -update -c flags to tell it to restart IW4x after updating. 2017-02-04 18:56:22 +01:00
/dev/root
a965fb1468 [Changelog] Changelog as Feeder 2017-02-04 18:42:12 +01:00
momo5502
ea76ca1823 [Weapon] Configstring patches, still doesn't fully work 2017-02-03 21:53:03 +01:00
momo5502
47c4a4f2bb [Weapon] Patch client config strings 2017-02-03 15:02:43 +01:00
momo5502
1570f6d8f6 [Weapon] Experimental configstring patches 2017-02-03 10:26:19 +01:00
momo5502
451eef2873 [Weapon] More fixes, configstring reallocation is needed though 2017-02-03 00:00:08 +01:00
momo5502
519042a283 [Weapon] Fix invalid address 2017-02-02 22:18:43 +01:00
momo5502
9cb7e0dffa [Download] Fix crash if TCP port is blocked 2017-02-02 21:07:40 +01:00
momo5502
8506a1bc51 [Friends] Regularly update the guid 2017-02-02 20:53:43 +01:00
momo5502
a1eccc2699 [Weapon] Finish increasing the weapon limit
I'm sure there are arrays I didn't reallocate, which might lead to buffer
overflows, so we absolutly need to test that code!!!!!!!
2017-02-02 18:51:20 +01:00
momo5502
0e5665a1b3 [Weapon] More weaponlimit patches 2017-02-02 17:47:11 +01:00
TheApadayo
7f09085218 [Party] Possible fix 2017-02-01 22:20:53 -05:00
momo5502
5f4cb40244 [Weapon] Fix weapon string reallocation 2017-02-02 00:19:18 +01:00
momo5502
6682893529 [Weapon] Experimental weapon limit patch, doesn't fully work yet 2017-02-02 00:04:31 +01:00
momo5502
a1a8d22275 [Friends] Add cl_anonymous 2017-02-01 21:16:22 +01:00
momo5502
ef937073ce [QuickPatch] Fix mouse pitch 2017-02-01 20:13:28 +01:00
momo5502
29acb108be [Hooking] Optimizie inline-asm hooks 2017-02-01 15:04:32 +01:00
momo5502
7954330418 [Network] Use linebreaks as separators 2017-01-31 22:02:08 +01:00
momo5502
29b3acfacb [Friends] Fix fps drops 2017-01-31 20:58:12 +01:00
momo5502
9b462469da [Friends] Correct order in frame handler 2017-01-31 18:35:56 +01:00
momo5502
5798de30be [Friends] Optimize sorting 2017-01-31 18:16:30 +01:00
momo5502
d31ff2e180 [RCon] Use linebreak as separator 2017-01-31 17:58:26 +01:00
momo5502
8e510aa45b [Friends] Cache friend data, as steam clears it 2017-01-31 17:53:59 +01:00
momo5502
8dd86043dc [Friends] Transmit ingame name 2017-01-31 17:04:54 +01:00
momo5502
538724f67e [Friends] Slightly optimize sorting 2017-01-31 16:32:04 +01:00
momo5502
4f421a642a [Friends] Clear state when debugging 2017-01-31 15:56:24 +01:00
momo5502
9bf1934083 [Friends] Use correct duration cast to determine online state 2017-01-31 15:35:34 +01:00
momo5502
b85dd9e3a1 [Friends] Determine online status using a timestamp 2017-01-31 10:21:12 +01:00
TheApadayo
358822d560 [StartupMessages] Added startup messages for the user to let us warn them of things that we need to (steam not being on, not having correct combo of DLC installed). Menu still needs some work though 2017-01-30 21:57:31 -05:00
momo5502
3cd287ae89 [Friends] Don't clear presence 2017-01-30 23:04:48 +01:00
momo5502
1f66ba68cb [Friends] Don't push update on startup 2017-01-30 22:19:13 +01:00
momo5502
0820e55f45 [Proxy] Run callbacks 2017-01-30 22:13:57 +01:00
momo5502
33c799b66e [Friends] Fix bugs 2017-01-30 21:54:34 +01:00
momo5502
deb2508b8d [Friends] Friends without worker 2017-01-30 21:13:30 +01:00
momo5502
9179714651 [Worker] Get rid of worker 2017-01-30 20:47:01 +01:00
momo5502
dc9171f136 [AntiCheat] Allow process synchronization 2017-01-30 18:57:26 +01:00
momo5502
2e6f8b1f9d [Friends] Consider localhost has a bad address 2017-01-30 18:09:08 +01:00
momo5502
a97260122a [IPCHandler] Only start the worker when running a client 2017-01-29 22:56:22 +01:00
momo5502
3d8a1010c2 [Friends] Display friends in blue 2017-01-29 21:50:08 +01:00
sr0
41c9ec9d32 [News] Open menu_first_launch when player is starting the game for the first time 2017-01-29 21:43:57 +01:00
sr0
6433e11f59 [Menus] Add menu_first_launch.menu 2017-01-29 21:43:12 +01:00
sr0
aeb730b7f4 [News] Add UIScript for open website and wiki 2017-01-29 21:42:35 +01:00
TheApadayo
c3fb9671b2 [DLC] Added better handling for users who don't have dlc maps installed when launching from the server list 2017-01-29 12:27:11 -05:00
momo5502
bb18fcc034 [Friends] Show playing iw4x state 2017-01-29 18:06:48 +01:00
momo5502
22b91c7a77 [Friends] First working version of the friend system 2017-01-29 17:16:09 +01:00
momo5502
f20fa5763c [Friends] Trigger state change when updating stats 2017-01-29 15:26:46 +01:00
momo5502
7d24aa8fe0 [Friends] Transmit rank 2017-01-29 15:10:54 +01:00
momo5502
0139465337 [Friends] Faster update 2017-01-29 11:40:20 +01:00
momo5502
adedc4088f [IPCHandler] Only run worker for the first instance 2017-01-29 11:02:29 +01:00
momo5502
7a9bda58c2 [RCon] Remove console spam 2017-01-29 11:02:10 +01:00
momo5502
4e587e91a0 [Friends] Correctly transmit presence data 2017-01-29 00:31:11 +01:00
momo5502
4271e3b108 [SteamCallbacks] Transmit callbacks from the worker to the client 2017-01-28 22:01:49 +01:00
momo5502
07469816bb [Friends] Update friends when the game starts 2017-01-28 20:36:48 +01:00
momo5502
20139d4a52 [Friends] Query friends from the worker 2017-01-28 19:05:16 +01:00
momo5502
46d3045d6f [Friends] Experimental ipc function handler 2017-01-28 15:51:50 +01:00
momo5502
0c8ba82fba [ServerList] Add playerCount command to see how many players there are 2017-01-28 13:31:43 +01:00
momo5502
25fbd00c52 [Renderer] Use static address in hooks, hope this makes it more stable 2017-01-28 12:39:03 +01:00
momo5502
ee185c538f [ConnectProtocol] Upgrade the protocol to the new ipc infrastructure 2017-01-27 23:09:32 +01:00
momo5502
559195c5cc [IPCHandler] Register basic ipc handler 2017-01-27 22:45:01 +01:00
momo5502
38d0ca616a [AntiCheat] Reenable process protection 2017-01-27 22:04:26 +01:00
momo5502
4e84c297e4 [IPC] Use iw4x as worker process instead of creating a separate binary 2017-01-27 22:03:35 +01:00
momo5502
fc0bf1acc1 [IPC] Basic IPC channel class 2017-01-27 17:21:10 +01:00
momo5502
ef01b4e617 [IPCPipe] Launch the worker process 2017-01-27 15:06:31 +01:00
momo5502
c15aac546d [General] Prepare code for use with multiple projects 2017-01-27 14:43:52 +01:00
momo5502
d05cdcb9ea [IPCPipe] Example using boost message queues 2017-01-27 10:51:53 +01:00
momo5502
454e358882 [General] Use boost for IPC 2017-01-27 10:17:33 +01:00
momo5502
8f705d2c37 [General] Disable resharper false positives 2017-01-26 22:56:46 +01:00
momo5502
c211fe7fa2 [Friends] Use feeder 6, this should be the best choice 2017-01-26 22:14:44 +01:00
momo5502
07746095b7 [AntiCheat] Disable process protection as it conflicts with steam 2017-01-26 20:45:15 +01:00
momo5502
05c261a99d [Friends] Use feeder 15 2017-01-26 20:40:39 +01:00
/dev/root
dbae1439b0 [Friends] Removed ClearRichPresence 2017-01-26 19:40:54 +01:00
momo5502
0f91c50ffc [Friends] Correctly display the rank 2017-01-26 12:42:42 +01:00
momo5502
5f737f0d36 [Friends] Remove test commands 2017-01-25 22:41:30 +01:00
momo5502
9c823e14b2 [Friends] Add basic friends support using steam 2017-01-25 22:39:24 +01:00
momo5502
e70a289b97 [Console] Fix memory leak when shutting down the console 2017-01-25 15:01:55 +01:00
momo5502
fff9046b72 [IPCPipe] Correctly shutdown the pipe 2017-01-25 15:01:55 +01:00
momo5502
81f6b084eb [ModelSurfs] Null check 2017-01-25 10:00:17 +01:00
momo5502
80e88f1572 [General] Fix a few memory leaks in threads
Destroying threads past when uninitializing the library is illegal
2017-01-24 06:32:04 +01:00
momo5502
2de95b4a3b [General] Fix protobuf and other memory leaks 2017-01-22 21:38:57 +01:00
momo5502
7fa8742c29 [Menus] Small fixes 2017-01-22 21:38:57 +01:00
momo5502
78c29360bf [Download] Safer moddownload 2017-01-22 13:44:14 +01:00
momo5502
33df59ffa1 [Menus] Only display the server motd if we are connecting to that server 2017-01-22 11:28:37 +01:00
momo5502
6762b68ab0 [ServerList] Delete favourites 2017-01-22 00:17:17 +01:00
momo5502
3150950507 [UIFeeder] Add select function and use feeder 5 for maps 2017-01-21 22:14:23 +01:00
momo5502
ee63346c00 [UIFeeder] Don't reset mapname 2017-01-21 18:34:29 +01:00
momo5502
16d6c059dc [QuickPatch] Remove test function 2017-01-21 16:25:14 +01:00
momo5502
6361464d9c [UIFeeder] Fix description for feeder 4 2017-01-21 13:11:50 +01:00
TheApadayo
a6d85d6efe [UIFeeder] Feeder 4 should act as it should now, except for some reason it doesn't set the description dear correctly 2017-01-20 22:48:52 -05:00
momo5502
cc0b1c6238 [FastFiles] Declare stream read log for debug only 2017-01-21 02:21:57 +01:00
momo5502
0f258046c3 [Utils] Copy signal slots before executing 2017-01-21 01:52:50 +01:00
momo5502
82e9f3864c [General] Refactor all the code
This is the actual refactoring, the last commit was broken
2017-01-20 22:41:03 +01:00
momo5502
079bc920a8 [General] Basic refactoring 2017-01-20 14:37:52 +01:00
momo5502
76fd8a65f5 [LineEndings] Add lineendings patch again 2017-01-20 14:37:52 +01:00
momo5502
1a93b9311f [Download] Fix status 2017-01-19 23:12:40 +01:00
momo5502
74b34f2a6d [LineEndings] Fix them all 2017-01-19 22:55:15 +01:00
momo5502
07b0a42f45 [Download] Small fixes 2017-01-19 21:21:59 +01:00
momo5502
06bb09e1f0 [Cryptography] Generate secure challenges 2017-01-19 18:14:30 +01:00
sr0
e1a4e3ec27 Remove .gitattributes file 2017-01-18 23:44:36 +01:00
sr0
8a21c488af Merge branch 'temp' into develop
# Conflicts:
#	src/Components/Modules/ServerList.cpp
#	src/Components/Modules/ServerList.hpp
2017-01-18 23:35:33 +01:00
sr0
c874336111 [UIScript] Add DeleteFavorite (WIP) 2017-01-18 23:21:30 +01:00
momo5502
2e1fd25ff1 [UIFeeder] Fix feeder focus 2017-01-18 22:54:20 +01:00
momo5502
5da890c625 [ModelSurfs] Potential fix 2017-01-18 20:49:19 +01:00
momo5502
d85b422732 [QuickPatch] Workaround 2017-01-18 16:04:24 +01:00
momo5502
c1ddfdf1e2 Merge branch 'my-commits-because-nothing-works-due-to-/dev/roots-crap' into 'develop'
My commits because nothing works due to /dev/roots crap
2017-01-18 15:18:25 +01:00
momo5502
3cadc64d13 [ModelSurfs] Skip releasing if buffer is empty 2017-01-18 14:55:18 +01:00
momo5502
4a4e938b00 [IXModel] Don't load physpreset for ak74u 2017-01-18 14:55:02 +01:00
/dev/root
6c9e28ff42 [LineEndings] Fix crlf lineendings
- added gitattributes file to force crlf for hpp/cpp/lua
2017-01-16 17:42:50 +01:00
/dev/root
7606685fce [Maps] Removed exact download url to dlcs
- removed exact download url to dlcs to be able to use mirrors
2017-01-16 17:28:57 +01:00
momo5502
f41246391a [News] Disable no window flag 2017-01-15 19:14:50 +01:00
momo5502
a001663afc [Maps] Add dlc8 entry 2017-01-14 22:02:11 +01:00
momo5502
fbac207190 [FrameTime] Introduce safer frame waiting mechanism 2017-01-14 13:33:58 +01:00
momo5502
0aaf8b8730 [Dedicated] Add com_logFilter dvar 2017-01-14 13:33:58 +01:00
momo5502
ef3fb631d5 [Node] Update protocol to version 4
With better thread synchronization!
2017-01-14 11:33:40 +01:00
momo5502
e34958d478 [Node] Only allow 1 node with the same public key 2017-01-14 01:21:39 +01:00
momo5502
f68baa8303 [ZoneBuilder] Fix typo 2017-01-13 16:01:13 +01:00
momo5502
b8aa24b19d [ZoneBuilder] Add support for empty assets 2017-01-13 15:47:21 +01:00
momo5502
5c43859044 [Auth] Use all 64 bits of the guid for fingerprints 2017-01-13 13:58:16 +01:00
momo5502
c4e2b3e020 [QuickPatch] Optimize selectStringTableEntryInDvar expression 2017-01-12 22:15:57 +01:00
momo5502
e6ed285ae9 [QuickPatch] Fix relay crash (we don't need it, so nopping it is fine) 2017-01-12 19:29:27 +01:00
momo5502
47dc69b7bb [Auth] Slight optimization 2017-01-12 18:32:27 +01:00
momo5502
428c1f24c3 [Node] Directly query nodes 2017-01-12 18:32:15 +01:00
momo5502
5f20366bf7 [FileSystem] Synchronize filesystem start 2017-01-11 19:38:17 +01:00
momo5502
0fa33e609f [FileSystem] Synchronize filesystem access throughout the application 2017-01-11 19:16:42 +01:00
momo5502
6661c72053 [MinidumpUpload] Fix crash 2017-01-08 22:36:50 +01:00
momo5502
2e4c234aa3 [IMaterial] Temporary workaround for broken materials 2017-01-08 19:37:07 +01:00
momo5502
7a8176238f [General] Enable custom map code only in debug mode 2017-01-08 19:37:07 +01:00
momo5502
98857c5244 [QuickPatch] Remove unnecessary comments 2017-01-08 15:25:43 +01:00
momo5502
c9d160c72a [General] Get rid of unnecessary submodules 2017-01-06 15:27:35 +01:00
momo5502
1148dac0ff [IXModel] Import phys preset 2017-01-06 14:36:18 +01:00
momo5502
c8efcd694a [IXModel] Zero smc stuff, it breaks the model 2017-01-04 00:03:20 +01:00
momo5502
4c9d394958 [IXModel] Fix lod surface pointer 2017-01-03 23:25:52 +01:00
momo5502
ff72493ce3 [IXModel] Finally XModels are correct 2017-01-03 22:04:10 +01:00
momo5502
b28df707b4 [IXModel] Correct more structs 2017-01-03 20:09:53 +01:00
momo5502
7d9c588e0e [IXModel] Use correct XModel structure 2017-01-02 22:37:00 +01:00
sr0
85c9488c2a [QuickPatch] Adjusted read stats string 2017-01-02 22:14:07 +01:00
momo5502
45c49d4171 [IXModel] Correctly load coll surfs 2017-01-02 19:31:32 +01:00
momo5502
2c7b7f6d87 [IXModel] Correct model loading 2017-01-01 20:04:20 +01:00
momo5502
75158227fb [FastFiles] Introduce a new IW4x zone format 2017-01-01 16:45:30 +01:00
momo5502
6e689766df [IMapEnts] Use IW4C if available 2016-12-31 15:53:48 +01:00
momo5502
aafa121ff1 [IMaterial] Fix water 2016-12-31 15:26:33 +01:00
momo5502
7135ef2a60 [IComWorld] Mark light definition 2016-12-31 03:48:49 +01:00
momo5502
8d7be2a74f [IclipMap_t] Small fixes 2016-12-30 17:26:32 +01:00
momo5502
6e39c71243 [IGfxImage] Try fixing non-streamed images 2016-12-30 15:54:48 +01:00
momo5502
67a4e5c598 [IGfxWorld] Small fixes 2016-12-30 15:54:33 +01:00
TheApadayo
3b986f18af 2016-12-29 22:15:43 -05:00
TheApadayo
307e67b056 [Structs] Update with correct cbrushside_t structure 2016-12-29 22:14:50 -05:00
TheApadayo
d9eb9a273b [QuickPatch] added debug testfunc for random testing stuff 2016-12-29 21:46:06 -05:00
momo5502
63bc0db0b3 [IclipMap_t] Optimize leafbrushnode reading 2016-12-30 03:39:23 +01:00
momo5502
554a1f717f [IclipMap_t] Only clear runtime data if necessary 2016-12-30 02:03:10 +01:00
TheApadayo
8fb9ae08c1 [GfxWorld] Make sure runtime data gets allocated if applicable 2016-12-29 19:30:07 -05:00
TheApadayo
392d7fa5a6 [MapEnts] Add fake stage 0 to fully custom ends 2016-12-29 19:29:35 -05:00
momo5502
3b3985b159 [IMapEnts] Fix raw entity loading 2016-12-29 23:52:23 +01:00
momo5502
0686439dbb [IclipMap_t] Fix loading 2016-12-29 23:52:02 +01:00
momo5502
c3fe22c883 [IclipMap_t] Reformat code 2016-12-29 21:54:25 +01:00
TheApadayo
8974da19bb [ZoneBuilder] Random fixes but clipmap import still doesn't work 2016-12-29 14:51:42 -05:00
TheApadayo
e95bf591cf [clipMap_t] importer bugfxies plus some new structs 2016-12-29 14:15:09 -05:00
TheApadayo
72a7f8c226 [clipMap_t] added clip map importer 2016-12-29 14:15:09 -05:00
momo5502
05537cc8d8 [FastFiles] Never return progress higher than 1 2016-12-29 15:59:27 +01:00
momo5502
3d7f3482c7 [IGfxImage] Fix for native non-streamed images 2016-12-29 15:59:11 +01:00
momo5502
ab7a837ebc [IMaterial] Fix water 2016-12-29 03:06:30 +01:00
momo5502
e5e164e9b5 [IGfxImage] Fix non-streamed image loading 2016-12-29 02:21:45 +01:00
momo5502
9130a57465 [IGfxWorld] Finish importer 2016-12-29 00:54:50 +01:00
momo5502
03345e8d21 [General] Correct assettype enum 2016-12-28 21:35:30 +01:00
momo5502
c37cb11d8a [Materials] Don't print size 2016-12-28 17:29:57 +01:00
momo5502
8dbba5c5a5 [IMaterial] Fix compilation 2016-12-27 20:59:57 +01:00
momo5502
cb4f4a8321 [IMaterial] Correct loading order 2016-12-27 19:55:38 +01:00
momo5502
e909329910 [IMaterial] Sortkey workaround
Search a material with the same techset and copy its sortkey
2016-12-27 19:22:52 +01:00
TheApadayo
021ec9f1c4 [IGfxWorld] Null light maps in import testing 2016-12-27 10:43:20 -05:00
TheApadayo
b3e6da21dc [Materials] Add material compare hook.
- It takes forever to run with it on because there are so many comparisons and logging it takes a while
2016-12-27 10:43:20 -05:00
momo5502
43db338a5a [General] Fix compiler warnings 2016-12-27 15:33:47 +01:00
momo5502
803596214d [IMaterial] Correctly load images 2016-12-27 04:22:20 +01:00
momo5502
1861f9eb21 [QuickPatch] Add support for the new intro 2016-12-27 00:41:21 +01:00
momo5502
ea90c4be6b [IMaterial] Correct constant reading 2016-12-27 00:12:07 +01:00
momo5502
a56e28db74 [IGfxImage] Fix image loading 2016-12-26 22:28:46 +01:00
momo5502
e08365e8c3 [ZoneBuilder] Dump more material info 2016-12-26 21:01:37 +01:00
TheApadayo
3e5829545a [QuickPatch] add statebitsentry check code 2016-12-26 13:55:54 -05:00
momo5502
2c90324f25 [IMaterial] Give feedback for missing techsets 2016-12-26 19:43:53 +01:00
momo5502
d81ee41c8f [News] Delete updater 2016-12-26 18:53:05 +01:00
momo5502
f2f7ac9230 [IMaterial] Small fixes 2016-12-26 18:44:33 +01:00
TheApadayo
8294be1b32 2016-12-25 22:06:30 -05:00
TheApadayo
5577989918 [IMaterial] Wrote new importer for materials, should work but i haven't tested anything
- old format is still supported but only as a fallback
2016-12-25 22:05:21 -05:00
momo5502
3406baca4d [IGfxWorld] Fix portal importing 2016-12-26 02:27:54 +01:00
momo5502
4f608b3a19 [IGfxImage] Non-streamed image importer 2016-12-26 01:44:45 +01:00
momo5502
b381fbd238 [Merge] develop into mapimport 2016-12-25 23:10:27 +01:00
TheApadayo
3af4082143 [ZoneBuilder] Update with new structures.
Side Note: I changed some stuff in Zones.cpp that could fuck up iw4c map loading so someone needs to test that as I don't have the maps
2016-12-25 16:23:44 -05:00
momo5502
d6c0e17bcb [IGfxWorld] Exporter progress and new struct 2016-12-25 20:55:42 +01:00
momo5502
bfe1c335af [IGfxWorld] Import experiments 2016-12-25 03:41:42 +01:00
momo5502
96d07c14f8 [ZoneBuilder] Do security checks before unloading the zones 2016-12-24 22:22:09 +01:00
momo5502
83b25f6348 [IFxEffectDef] Ensure effects are written 2016-12-24 22:14:49 +01:00
momo5502
97abe50845 [ZoneBuilder] Ensure all assets that are loaded, were written 2016-12-24 22:14:49 +01:00
momo5502
b61b8e8f8d [IGameWorldSp] Finish GameWorldSp interface 2016-12-24 21:28:01 +01:00
momo5502
fb17f5ec90 [ZoneBuilder] Correctly store arrays 2016-12-24 18:37:27 +01:00
momo5502
61339350c1 [ZoneBuilder] Add IGameWorldSp interface (WIP) 2016-12-24 17:29:19 +01:00
momo5502
aa3b1f6bd7 [ZoneBuilder] Assert that all assets are written 2016-12-24 16:17:35 +01:00
momo5502
fd3af1a965 [ZoneBuilder] Add GfxLightDef interface 2016-12-24 14:06:41 +01:00
TheApadayo
fb8f618ddc [IclipMap_t] Store pointers for other structs as well. Should fix other collision related crashes 2016-12-23 22:38:24 -05:00
momo5502
d075617328 [IFxWorld] Add missing clearpointer 2016-12-24 03:04:14 +01:00
momo5502
22d49ddee3 [IclipMap_t] Fix clipmaps completely (for real) 2016-12-24 02:47:00 +01:00
momo5502
8b76395d62 [IGfxWorld] Add more logging 2016-12-24 01:02:51 +01:00
momo5502
0bcff7bb4a [ZoneBuilder] Small alignment fixes 2016-12-24 00:03:44 +01:00
momo5502
08065d4142 [IFxEffectDef] Correctly load fx sounds 2016-12-23 23:29:35 +01:00
momo5502
a1e2a1e790 [ZoneBuilder] Remove marking function, loading does that 2016-12-23 22:58:41 +01:00
momo5502
39f9c73a38 [ZoneBuilder] Optimize nested asset writing 2016-12-23 22:10:11 +01:00
TheApadayo
59196903de [ZoneBuilder] Only mark assets once to speed up link step 2016-12-23 13:00:14 -05:00
TheApadayo
aabeb23023 [ZoneBuilder] I MOTHERFUCKING FIXED CLIPMAPS AND CUSTOM MAPS WORK NOW!!!!!!!
-sorry had to get that out
2016-12-23 10:58:17 -05:00
TheApadayo
e87ce9938d [ZoneBuilder] Nested assets work now (but it doesn't fix the clip map bug) 2016-12-23 08:43:37 -05:00
TheApadayo
2903444e89 [ZoneBuilder] Rewrote to write assets in a nested way to more accurately emulate how linker_pc works
-it doesn't compile... yet
2016-12-23 01:42:56 -05:00
momo5502
cec0db3e4c [IclipMap_t] More bugfixes 2016-12-23 01:03:17 +01:00
momo5502
da59feb2d6 [ZoneBuilder] Inline pointer conversion 2016-12-23 00:24:25 +01:00
momo5502
48059698c1 [IclipMap_t] Don't store collision borders 2016-12-23 00:10:49 +01:00
momo5502
9fab21c269 [ZoneBuilder] Some clipmap fixes (which don't work 😦) 2016-12-22 23:21:20 +01:00
momo5502
66c35f7f47 [IclipMap_t] Add logging 2016-12-22 18:38:27 +01:00
momo5502
470361848e [ZoneBuilder] Small fixes in clipmap 2016-12-22 15:28:09 +01:00
momo5502
a4ad38c4d9 [IFxWorld] Structure fixes 2016-12-22 12:58:12 +01:00
momo5502
336a891d26 [Debugging] Slightly optimize zb writing 2016-12-22 12:53:52 +01:00
momo5502
403974b9cc [Debugging] Slightly optimize iw4 reading log 2016-12-22 12:37:09 +01:00
TheApadayo
296af1716a [ZoneBuilder] Added IFxWorld interface, should work fully 2016-12-22 00:42:53 -05:00
TheApadayo
f8a50eda81 2016-12-21 20:59:37 -05:00
TheApadayo
4cb109c3ee [Debgging] Add read/write logger
- You can use the two comparison files (iw4_reads.log & zb_writes.log) to compare the two for differences
- Move the hook in QuickPatches around to change the asset that you're logging
2016-12-21 20:58:00 -05:00
momo5502
896c3b7068 [ZoneBuilder] Correctly write GfxImages 2016-12-22 02:48:00 +01:00
momo5502
64e76c905e [General] Use pre-incrementation in for loops 2016-12-22 01:32:07 +01:00
momo5502
56ba9d0ed6 [IGfxWorld] Code styling 2016-12-22 01:23:48 +01:00
momo5502
e93831319f [ZoneBuilder] IGfxWorld and IclipMap_t fixes 2016-12-22 00:35:05 +01:00
momo5502
ec37ab6714 [IGfxWorld] Fix material memory (there is still a bug there!) 2016-12-21 20:56:17 +01:00
momo5502
24ce44ae52 [IclipMap_t] Fix interface, it should work now 2016-12-21 20:24:04 +01:00
momo5502
9505d8cbe4 [IclipMap_t] Small fixes, stuff is still broken 2016-12-21 20:11:27 +01:00
momo5502
079f05d6eb [IGfxWorld] Correct brackets (ocd) 2016-12-21 19:26:13 +01:00
momo5502
b72b8b8a15 [ZoneBuilder] clipmap and gfxworld fixes 2016-12-21 19:20:57 +01:00
momo5502
48557d02d1 [ZoneBuilder] Add ComWorld interface 2016-12-21 17:51:51 +01:00
momo5502
3e69704aed [ZoneBuilder] Correct XAssetHeader struct 2016-12-21 17:27:45 +01:00
momo5502
fac7f0ef4c [AssetHandler] Use thread_local declaration instead of mutex 2016-12-21 17:08:15 +01:00
TheApadayo
25c5baa549 [IGfxWorld] GfxWorld writer completed
-also added mark for GfxWorld so it works properly
-still needs to be debugged (it doesn't work)
2016-12-20 22:15:01 -05:00
momo5502
c216929687 [IclipMap_t] Structure fixes 2016-12-20 22:26:58 +01:00
momo5502
756d7c15a9 [IGfxWorld] Small fixes and more progress 2016-12-20 22:23:23 +01:00
TheApadayo
89fc89275f [ZoneBuilder] Added clipMap_t asset interface (untested) 2016-12-20 16:22:20 -05:00
momo5502
58073404cc [ZoneBuilder] Add IGameWorldMp interface 2016-12-20 20:16:23 +01:00
momo5502
1c82e29871 [XModel] Adapt structure 2016-12-20 18:15:28 +01:00
momo5502
3597bc7bfa [IGfxWorld] Correct formatting 2016-12-20 17:42:15 +01:00
TheApadayo
58cedeaf5d [Style] Fixed my code to play nice with warnings
-also updated gitgnore
2016-12-20 10:08:33 -05:00
TheApadayo
8b7c990a53 [ZoneBuilder] Added GfxWorld asset interface but is completely untested
i have no idea if any of it works so try it out whenever
2016-12-20 01:47:10 -05:00
momo5502
28767e9b56 [AssetHandler] Controll bypass for each thread individually 2016-12-19 20:55:38 +01:00
momo5502
bac3f4cd44 [AssetHandler] Use mutex to synchronize DB_FXAH access 2016-12-19 19:41:29 +01:00
momo5502
d8d67898f3 [ModelSurfs] Fix possible memory leak 2016-12-19 18:14:15 +01:00
momo5502
2b226dbcdb [Command] Add openLink command 2016-12-18 17:42:25 +01:00
momo5502
241915d37b [General] Use unordered_map where it makes sense 2016-12-18 13:24:15 +01:00
momo5502
5ef1c17e56 [Localization] Remove unnecessary localizations 2016-12-17 13:28:17 +01:00
momo5502
b045a488e1 [AntiCheat] Add --ac-disable premake flag 2016-12-17 12:58:16 +01:00
momo5502
dc6d78187c [FileSystem] Abstract file interfaces and rawfile interface 2016-12-16 22:42:28 +01:00
momo5502
6aa94712e2 [Bots] Fix spawning a second bot 2016-12-15 20:05:50 +01:00
momo5502
deca58db58 [Dvar] Don't use Steam name for now, it's not ready yet 2016-12-15 19:18:08 +01:00
momo5502
f0e234dd2a [Material] Fix previews for zonebuilder 2016-12-14 18:12:29 +01:00
momo5502
bb6b1b0764 [Network] Ignore WSAENETRESET error 2016-12-14 17:26:49 +01:00
momo5502
61647226f4 [Materials] Use reader to hopefully prevent concurrency errors 2016-12-13 22:19:18 +01:00
momo5502
bc5aed43d8 [Materials] Redirect preview images to loadscreens
This is a temporary workaround. We should create real previews!
2016-12-13 21:31:51 +01:00
momo5502
f1d90af0d7 [Dedicated] Fix frame handler 2016-12-13 19:26:30 +01:00
momo5502
22900cf1ed [Dvar] Use steamname as initial name 2016-12-10 13:07:45 +01:00
momo5502
5cd08907a8 [IFxEffectDef] Parse version 2016-12-10 13:07:45 +01:00
momo5502
13f4af34b2 [Network] Allow cl_maxpackets 125 2016-12-08 21:23:06 +01:00
momo5502
fb8958d2ea [Dedicated] Time wrapping workaround 2016-12-08 20:07:42 +01:00
momo5502
183da91131 [Party] Re-Ignore configstring checksums 2016-12-08 20:07:42 +01:00
momo5502
81d94cbd5e [IFxEffectDef] Add the structs provided by @aerosoul94 2016-12-07 22:08:13 +01:00
momo5502
dfa50dc1bb [IFxEffectDef] More preparations for fx loading 2016-12-07 21:19:06 +01:00
momo5502
788ccae967 [Command] Use pointers instead of an abstraction interface for params 2016-12-07 20:00:24 +01:00
momo5502
835597fbf6 [ZoneBuilder] Version system for models and anims 2016-12-07 18:53:01 +01:00
momo5502
d6a2dbdd2b [Command] Implement abstract parameter interface 2016-12-07 18:53:01 +01:00
momo5502
107076c26a [FastFiles] Partially correct fastfile progress 2016-12-06 21:16:02 +01:00
momo5502
566cad6784 [IFxEffectDef] Prepare efx loading 2016-12-06 19:36:57 +01:00
momo5502
1907677070 [Party] Reimplement some configstring checks 2016-12-05 20:43:42 +01:00
momo5502
68548ad45a [Threading] Make the game run single-threaded 2016-12-05 20:43:16 +01:00
momo5502
ef263d35c1 [QuickPatch] Remove profile loading error 2016-12-05 17:50:46 +01:00
momo5502
6a14220ee7 [Maps] Load sun from main zone instead of gfxworld basename 2016-12-04 21:42:05 +01:00
momo5502
38aba91cc9 [Maps] Load raw suns 2016-12-01 21:00:09 +01:00
momo5502
2c0f582427 [MinidumpUpload] Correct getName override 2016-11-29 21:39:03 +01:00
momo5502
c8a5268c2e [ZoneBuilder] Force sound loading, structs aren't touched 2016-11-29 21:33:31 +01:00
momo5502
4d517f2895 [ZoneBuilder] Add snd_alias_list_t interface 2016-11-29 21:12:35 +01:00
momo5502
3551d0c0eb [ZoneBuilder] Add LoadedSound interface 2016-11-29 19:32:46 +01:00
momo5502
1b12886229 [ZoneBuilder] Add sndcurve interface 2016-11-29 19:13:46 +01:00
momo5502
5489fa2461 [IFxEffectDef] Add nullpointer check for material preloading 2016-11-29 08:32:15 +01:00
momo5502
d596cdc97b [ZoneBuilder] Add interface for FxEffectDef
Soundaliases are missing, so the game will complain about missing sounds!
2016-11-28 22:12:42 +01:00
momo5502
f57ca2d872 [Bots] Allow loading custom botnames from bots.txt 2016-11-27 15:43:37 +01:00
momo5502
2969ae64e0 [Dedicated] Add sv_motd dvar, so serverowners can set motds
The motd will be displayed instead of the didyouknow messages in the
loadscreen
2016-11-27 14:30:21 +01:00
/dev/root
4254179520 [Cache] Refactored Cache::GetUrl
- renamed GetUrl() to GetStaticUrl()
2016-11-25 14:16:07 +01:00
/dev/root
124e86387b [General] Fixed line endings
- converted all line endings in cpp/hpp files to dos
2016-11-25 13:00:48 +01:00
momo5502
f4d2ab6e1c [Command] Fix indentation 2016-11-24 08:29:21 +01:00
momo5502
04c696a9d5 [Command] Optimize setviewpos command 2016-11-24 08:28:33 +01:00
/dev/root
e8a5e164fc [Command] Implemented setviewpos 2016-11-22 23:25:56 +01:00
momo5502
3973cf71a7 [FastFiles] Correctly load the mod.ff 2016-11-22 21:40:36 +01:00
/dev/root
ddce60ee00 [Cache] Removed Constructor
- removed Constructor
- changed all functions to static

[ci skip]
2016-11-21 20:49:33 +01:00
/dev/root
d17f287bf2 [Cache] Used Utils::Cache
[ci skip]
2016-11-21 11:29:55 +01:00
/dev/root
4143cbf0d8 [News] Removed Code to delete updater.exe
- updated Cache ID as it is iw4x
2016-11-21 08:00:08 +01:00
momo5502
b0f13911ca [ZoneBuilder] Rough concept for external data 2016-11-20 20:41:38 +01:00
momo5502
ac102cc8b0 [Discovery] Fix thread termination 2016-11-20 14:31:52 +01:00
momo5502
1d13548829 [Localization] Fix localization crash
Preserve esi, as it is required by the hooked function
2016-11-20 14:10:57 +01:00
momo5502
8085e4bd88 [CodeStyle] Refactor the code to match our basic style guidelines 2016-11-20 14:10:57 +01:00
momo5502
e8b95226a6 [Localization] Don't restrict str loading to zonebuilder 2016-11-19 21:22:03 +01:00
momo5502
45200eba58 [Localization] Load language specific files 2016-11-17 18:17:25 +01:00
momo5502
f68c895286 [Localization] Remove legacy localizations 2016-11-16 20:36:19 +01:00
/dev/root
79f1b2bd44 [Node] Refactored reloadnodes and syncnodes
- removed reloadnodes
- moved LoadNodeRemotePreset to syncnodes
2016-11-16 18:37:44 +01:00
/dev/root
bb34e0416f [Node] Add command to trigger reload of remote nodes
- fixed a typo
2016-11-15 20:53:11 +01:00
momo5502
f5786d0bbb [Node] Load nodes after network start 2016-11-15 16:56:21 +01:00
momo5502
3a773df44b [Node] Fuck, that typo is stronger than me 2016-11-15 16:45:49 +01:00
momo5502
a70c26d697 [Node] Fix typo in node url 2016-11-15 16:44:57 +01:00
momo5502
d4e78a09a5 [Node] Fallback client implementation 2016-11-15 16:40:15 +01:00
momo5502
c638366b8f [Console] Update color for ingame console 2016-11-14 22:34:16 +01:00
momo5502
755aaa3878 [Console] New ingame console colors 2016-11-14 19:26:15 +01:00
momo5502
4d7be89089 [ZoneBuilder] Add buildall command 2016-11-13 20:53:44 +01:00
momo5502
aa9da9012e [Menus] Small fix for unloaded menus 2016-11-13 20:53:27 +01:00
momo5502
f75d8cee18 [FileSystem] Revert back to the initial implementation, but without hunk 2016-11-13 15:04:34 +01:00
momo5502
d52d316cd2 [BitMessage] Small sanity check 2016-11-13 14:56:34 +01:00
momo5502
9d3af2cd69 [Utils] Rename interval update method 2016-11-13 12:10:51 +01:00
momo5502
091c604675 [FileSystem] Even safer filesystem interaction 2016-11-13 11:58:23 +01:00
momo5502
4b9d9e11a0 [Maps] Remove workarounds for broken crash tropical 2016-11-13 11:15:38 +01:00
momo5502
6ea6fb50b9 [Maps] Add initial support for DLC 8 2016-11-13 11:15:38 +01:00
momo5502
ba733608f5 [RawFiles] Fix dumpraw command for files with spaces 2016-11-13 02:29:56 +01:00
momo5502
38ee6780c5 [Zones] Fix vehicles for codol zones 2016-11-12 22:58:18 +01:00
momo5502
575607891d [ZoneBuilder] Fix verifyzone command 2016-11-12 20:41:20 +01:00
momo5502
1439d5fa03 [Maps] Support for some tropical maps
This adds support for favela and estate tropical
More investigation is needed for crash tropical.
2016-11-12 20:06:23 +01:00
momo5502
e41aa1f221 [BitMessage] Optimize shutdown handler
Optimize the shutdown handler, so that less bugs occur
while waiting for BitMRC to terminate
2016-11-12 20:06:23 +01:00
momo5502
9591d7eacd [IXModel] Adjust XModel structure for flag support 2016-11-12 20:06:23 +01:00
momo5502
ea3660bbf8 [BitMessage] Shutdown workaround
This starts a thread in the game's shutdown routine
and destroys BitMRC in a separate thread to prevent deadlocks.
This is not a good fix
2016-11-12 13:07:19 +01:00
momo5502
72c19cb968 [FileSystem] Threadsafe filesystem interaction
Replace the ReadFile with a threadsafe variant.
Additionally, this includes a check for memory leaks.
!
2016-11-12 13:07:19 +01:00
momo5502
421c221f29 Model dumping stuff 2016-11-11 20:35:25 +01:00
momo5502
d6a9bdfc65 Fix code analysis warnings 2016-11-11 19:19:02 +01:00
momo5502
aaf9325f07 Fix 2016-11-11 18:05:04 +01:00
momo5502
29dcaa242b Load mod zone and model stuff 2016-11-10 20:05:49 +01:00
momo5502
5dccdc2454 Model stuff 2016-11-09 19:38:01 +01:00
momo5502
19012a6e69 Fix mod loop 2016-11-06 23:03:34 +01:00
momo5502
f46f5590ff Fuck those unit-tests on wine. 2016-11-06 14:26:03 +01:00
momo5502
5710f30376 Remove debug stuff 2016-11-06 14:10:30 +01:00
momo5502
51bbbdd588 Model stuff 2016-11-06 14:03:51 +01:00
momo5502
e3b96b3586 Slight StructuredData optimization 2016-11-06 12:23:20 +01:00
momo5502
708a739650 Better StructuredData patching 2016-11-06 11:50:55 +01:00
momo5502
000e2177e3 Rebasing for structureddata stuff required for oma.
Code is ugly. Might think of a better solution.
2016-11-06 03:22:48 +01:00
momo5502
6626bc9fc7 Some model stuff 2016-11-06 02:24:30 +01:00
sr0
e482e3765f add ui_serverSelectedGametype 2016-11-06 01:02:54 +01:00
momo5502
ffd72b6e80 No debug output for invalid shader constants 2016-11-05 20:54:09 +01:00
momo5502
12d96675ba DLC7 2016-11-05 18:17:54 +01:00
momo5502
b70f9a045c Wow, this is dirty! But fuck it for now. Will be fixed later. 2016-11-05 17:18:10 +01:00
momo5502
e51a408b2c Fix some shader constants 2016-11-05 16:33:15 +01:00
momo5502
dbd641fd02 Better minidumps and playerdata stuff. 2016-11-05 14:45:38 +01:00
momo5502
291bcdc7ac AntiCheat refactoring part 8 2016-11-05 13:13:41 +01:00
momo5502
d32d58cc6f AntiCheat refactoring part 7
?
2016-11-05 12:56:12 +01:00
momo5502
b1f283a066 Hunk debugging 2016-11-05 01:59:46 +01:00
momo5502
d1c2a9d194 Correct dependency loading. 2016-11-05 00:59:41 +01:00
momo5502
2d5094e7b4 Fix db rawfile access 2016-11-05 00:34:09 +01:00
momo5502
f2b965e48c Declare as deprecated 2016-11-04 21:40:33 +01:00
momo5502
1a62d96fb7 AntiCheat refactoring part 6 2016-11-04 21:33:56 +01:00
sr0
f0a5d1d46d remove command crash, when compiling on release 2016-11-04 20:26:19 +01:00
sr0
8d344dd578 disallow command unlockStats while ingame 2016-11-04 20:24:47 +01:00
momo5502
764a565bde AntiCheat refactoring part 5 2016-11-04 19:41:03 +01:00
momo5502
c7fd693b85 AntiCheat refactoring part 4 2016-11-03 21:54:00 +01:00
momo5502
c951d98d5f AntiCheat refactoring part 3 2016-11-03 21:47:43 +01:00
momo5502
6afc193778 AntiCheat refactoring part 2 2016-11-03 21:17:37 +01:00
momo5502
727beadae1 AntiCheat refactoring part 1 2016-11-03 20:19:43 +01:00
momo5502
6cf28b4170 Playlist and zone fixes 2016-11-02 19:19:09 +01:00
momo5502
11ace37f2e Allow long mapnames in playlist 2016-11-02 18:44:20 +01:00
momo5502
bfb17dd71d Maybe glass fix v9999? 2016-11-01 22:31:22 +01:00
momo5502
aad579048c 2016-11-01 21:09:50 +01:00
momo5502
69c454a3fa Fix zm_prototype_sh 2016-11-01 20:04:06 +01:00
momo5502
61b2b0c920 Dependencies in basemaps 2016-11-01 18:06:51 +01:00
momo5502
1f4e59949f ZM map loading 2016-11-01 13:23:45 +01:00
momo5502
ba052b201e Shader stuff 2016-11-01 13:21:03 +01:00
momo5502
37976a4f39 Fix spmap handling 2016-10-31 18:16:15 +01:00
momo5502
4f4d4855e6 Add r_noVoid dvar to hide red fxs 2016-10-31 17:15:24 +01:00
momo5502
4c2f128e97 Fix glass and maptest 2016-10-31 16:49:45 +01:00
momo5502
7aba6250f6 Load team zones. 2016-10-31 15:02:32 +01:00
momo5502
0c419b9907 More techsets in zb 2016-10-31 13:15:46 +01:00
momo5502
328b6964ce Shipment 2016-10-31 13:04:40 +01:00
momo5502
af3a777a11 Remove dependencies. 2016-10-31 12:58:42 +01:00
momo5502
e44006a588 Extract asset modifications 2016-10-31 02:34:37 +01:00
momo5502
76b9d5a475 Remove red fx in debug mode and load training maps 2016-10-31 02:08:37 +01:00
momo5502
5c648250b6 Menu stuff for 359 2016-10-31 01:36:34 +01:00
momo5502
330a3158e8 Add minimize button 2016-10-30 22:59:27 +01:00
momo5502
8a61f72ce7 Fix 2016-10-30 22:56:28 +01:00
momo5502
d8c43f4e8c DLC stuff 2016-10-30 22:38:45 +01:00
momo5502
3e95fe4344 Refactor process protection 2016-10-30 21:15:30 +01:00
momo5502
49d0528dfa No runtime .text editing for gamemap data 2016-10-30 20:12:58 +01:00
momo5502
ee42fd20b0 Cool buffer overflow, NTAuthority! 2016-10-30 19:37:10 +01:00
momo5502
f48bb934ac Fix code analysis stuff 2016-10-30 15:24:07 +01:00
momo5502
c9e26c05af Shipment patches 2016-10-27 18:01:51 +02:00
/dev/urandom
7ad37f3da5
Fix BitMessage shutdown. 2016-10-26 22:21:29 +02:00
momo5502
45c382c892 Correctly display shipment in the serverlist 2016-10-26 22:06:17 +02:00
momo5502
49016ccad2 Throw some more ZB errors 2016-10-26 21:50:57 +02:00
momo5502
b409def26e No news in ZB 2016-10-26 21:14:14 +02:00
momo5502
b2a6d4aac3 sv_shortmap hook for shipment 2016-10-26 20:23:03 +02:00
momo5502
2491c12534 Change zone flags for zonebuilder 2016-10-26 19:15:18 +02:00
momo5502
80f1e206f8 ArenaLength patches 2016-10-26 18:57:43 +02:00
momo5502
9c2fca2efe Ambush tests 2016-10-24 21:52:58 +02:00
momo5502
51aba51a3f Material dump stuff 2016-10-23 19:39:46 +02:00