Commit Graph

252 Commits

Author SHA1 Message Date
momo5502
4ef714aa4c [ZoneBuilder] Disable resharper warnings 2017-06-04 15:08:50 +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
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
d8c3e7fcee [String] Make VA leak-safe 2017-06-02 15:36:20 +02:00
momo5502
1b6255f069 [Scheduler] Correctly register the scheduler 2017-06-01 10:54:16 +02:00
momo5502
9f50c260c8 [Threading] Make VA thread safe
This fixes an issue for dedis
2017-05-31 18:03:33 +02:00
momo5502
15aea4e0bc [Node] Get serverlist from dedis 2017-05-30 20:31:00 +02:00
momo5502
02741fff00 [WebIO] Fix moddownload (don't enforce content length) 2017-05-25 12:40:39 +02:00
momo5502
f6894b46c5 [Download] Add ssl support 2017-05-15 21:57:45 +02:00
momo5502
3e20ca366a [ZoneBuilder] Better FastFile obfuscation 2017-04-27 22:03:05 +02:00
momo5502
7c728b4658 [General] Use preincrement 2017-04-24 22:33:13 +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
d11f5dee1f [Memory] Use global memory allocator when possible 2017-04-16 11:47:57 +02:00
momo5502
360729120c [General] Allow building custom maps 2017-04-15 16:48:43 +02:00
momo5502
59d8c85640 [ZoneBuilder] Check if CSV exists 2017-04-04 22:35:30 +02:00
momo5502
0a8f0e5f70 [Maps] Add r_disableModelWorkaround 2017-03-30 17:56:06 +02:00
momo5502
13eb5ba831 [Entities] Fix model selection 2017-03-27 14:15:09 +02: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
19b6203272 [IGfxWorld] Fix runtime data overflow 2017-03-20 21:07:55 +01:00
momo5502
39a5758955 [Memory] Add pointer mapping support 2017-03-17 23:41:31 +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
06e3a72f92 [Cache] Add onion.rip fallback 2017-03-10 14:59:33 +01:00
momo5502
1b4393f095 [AntiCheat] More process security and debug priviledge acquisition 2017-03-04 13:52:00 +01:00
momo5502
1d7006c420 [Utils] Inline array merging 2017-02-24 11:43:05 +01:00
momo5502
f5d5e76ac1 [Proxy] Safer disassembly of the steam api 2017-02-21 21:32:47 +01:00
TheApadayo
06472685e2 [Memory] Add non buggy IsBadReadPtr implementation 2017-02-21 14:15:47 -05:00
momo5502
7d0b34da1a [IPCPipe] Use old IPC handler again 2017-02-12 19:38:56 +01:00
momo5502
0a702aba40 [IO] Move FileSize function 2017-02-10 22:32:33 +01:00
momo5502
9d08e84627 [General] Small refactoring 2017-02-10 22:02:13 +01:00
momo5502
ef675d4d87 [MinidumpUpload] Only upload small dumps 2017-02-10 21:51:30 +01:00
momo5502
cf05da99a1 [IO] Safer file reading and writing 2017-02-10 15:18:11 +01:00
momo5502
b3f83fe955 [General] Fix code analysis warning and memory leaks 2017-02-10 14:17:01 +01:00
momo5502
ee06e79a28 [Exception] Destroy windows and suspend threads 2017-02-10 09:50:08 +01:00
TheApadayo
23ff36d590 [Exception] Added better exception handling so that when the users are morons it explains exactly what happened to them.... cause they're morons 2017-02-09 16:17:06 -05:00
momo5502
a32ad0b2dd [Utils] Remove debugbreak 2017-02-08 19:27:24 +01:00
momo5502
7954330418 [Network] Use linebreaks as separators 2017-01-31 22:02:08 +01:00
momo5502
67d963a0c8 [IPC] Better worker cleanup 2017-01-29 11:48:42 +01:00
momo5502
cd15ad88cd [IPC] Use first worker 2017-01-28 19:22:39 +01:00
momo5502
f81f820b47 [IPC] Experimental second handler 2017-01-28 19:21:55 +01:00
momo5502
20139d4a52 [Friends] Query friends from the worker 2017-01-28 19:05:16 +01:00
momo5502
ee185c538f [ConnectProtocol] Upgrade the protocol to the new ipc infrastructure 2017-01-27 23:09:32 +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
c15aac546d [General] Prepare code for use with multiple projects 2017-01-27 14:43:52 +01:00
momo5502
c8a41139cf [Steam] Add native callback interface 2017-01-25 22:38:38 +01:00
momo5502
2de95b4a3b [General] Fix protobuf and other memory leaks 2017-01-22 21:38:57 +01:00
momo5502
78c29360bf [Download] Safer moddownload 2017-01-22 13:44:14 +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
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
/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
momo5502
a24e68a83b [Cache] Add .link domain 2017-01-15 21:07:06 +01:00
momo5502
fbac207190 [FrameTime] Introduce safer frame waiting mechanism 2017-01-14 13:33:58 +01:00
momo5502
e34958d478 [Node] Only allow 1 node with the same public key 2017-01-14 01:21:39 +01:00
momo5502
c9d160c72a [General] Get rid of unnecessary submodules 2017-01-06 15:27:35 +01:00
momo5502
9130a57465 [IGfxWorld] Finish importer 2016-12-29 00:54:50 +01:00
momo5502
c4690bf49f [Memory] Inline array allocation 2016-12-28 17:30:20 +01:00
momo5502
b4fd5a11d1 [Stream] Add pointer interface to the reader 2016-12-25 15:17:31 +01:00
momo5502
61339350c1 [ZoneBuilder] Add IGameWorldSp interface (WIP) 2016-12-24 17:29:19 +01: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
715fe82483 [Stream] Fix stream writing 2016-12-22 13:28:02 +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
momo5502
8f42168ec3 [Stream] Write invalid streams 2016-12-22 03:32:38 +01: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
33754f40aa [Stream] Reimplement the correct stream writing (thx @TheApadayo) 2016-12-22 02:00:09 +01:00
momo5502
d5241d7dfe [Memory] Use mutex for memory allocation 2016-12-13 21:53:51 +01:00
momo5502
0fb882ef3b [Utils] Safer isstring 2016-12-10 13:07:45 +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
/dev/root
0221954b41 [Cache] Fix
- removed Mutex in GetUrl() to speed up startup
2016-11-25 12:48:52 +01:00
momo5502
f169fd5274 [Cache] Use curly brackets 2016-11-22 07:59:46 +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
98d9ad402f [Cache] Added mutex
[ci skip]
2016-11-21 11:09:42 +01:00
/dev/root
c969f5054d [Cache] Rewrote code
[ci skip]
2016-11-21 10:50:55 +01:00
momo5502
6a51d280ae [Hooking] Correct interceptor stub 2016-11-20 20:41:02 +01:00
momo5502
8085e4bd88 [CodeStyle] Refactor the code to match our basic style guidelines 2016-11-20 14:10:57 +01:00
momo5502
b7b7292bd4 [IO] Use C++17 filesystem features for directory interaction 2016-11-19 20:40:32 +01:00
momo5502
e92a2fe7ff [WebIO] Handle status code 2016-11-15 19:43:10 +01:00
momo5502
9d3af2cd69 [Utils] Rename interval update method 2016-11-13 12:10:51 +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
f46f5590ff Fuck those unit-tests on wine. 2016-11-06 14:26:03 +01:00
momo5502
d32d58cc6f AntiCheat refactoring part 7
?
2016-11-05 12:56:12 +01:00
momo5502
93d096ed18 Fix create directory 2016-11-02 20:50:17 +01:00
momo5502
ac258b5ad9 Add support for new maps, add the dump command for @Dasfonia 2016-10-01 15:39:21 +02:00
momo5502
8e1e179d84 More tests 2016-10-01 02:03:12 +02:00