Commit Graph

2092 Commits

Author SHA1 Message Date
OneFourOne
82bef71abe
Remove crash-helper 2020-12-22 15:00:15 -05:00
INeedGames
1f570fae79 Module is a keyword in c++20 2020-12-19 17:00:07 -06:00
INeedGames
75caede0b2 [Script] Added hitch warning 2020-12-19 16:50:51 -06:00
OneFourOne
0b178f5b1b
[Steam] Enable steam integration 2020-12-17 09:40:07 -05:00
OneFourOne
b06480b260
[Proxy] Fix steam proxy 2020-12-17 09:38:46 -05:00
OneFourOne
85fbdbd082
[Proxy] Fix steam proxy 2020-12-17 09:38:11 -05:00
INeedBots
f61e770996 [Script] Fixed compiling on C++20 again 2020-12-16 21:49:26 -06:00
INeedBots
74ac166885 [Download] Register HTTP GSC functions to prevent script compile errors 2020-12-16 11:45:28 -06:00
INeedBots
442980c056 Merge branch 'develop' into runtime_errors 2020-12-10 03:32:23 -06:00
INeedBots
9066b5fc05 Merge remote-tracking branch 'iw4x/develop' into develop 2020-12-09 14:58:09 -06:00
INeedBots
fcdfb563e6 [News] Remove broken updater 2020-12-09 14:57:34 -06:00
INeedBots
5f887a0364 [Maps] Download DLC by opening link 2020-12-09 14:57:01 -06:00
INeedBots
1ac9fadc57 [Changelog] Updated changelog location 2020-12-09 14:56:19 -06:00
INeedBots
a2bbbc0caf [Cache] Updated urls 2020-12-09 14:55:28 -06:00
Dss0
730db584fb
Merge pull request #53 from ineedbots/develop
Fixed Compile errors on C++20, still compiles on C++17
2020-12-09 21:28:46 +01:00
Dss0
a753159113
Merge pull request #51 from OneFourOne/develop
disable steam for now + add custom title menu
2020-12-09 21:28:12 +01:00
INeedBots
eeb70a7da4 Fixed compile errors on C++20 2020-12-09 13:13:34 -06:00
INeedBots
096992672b Merge branch 'develop' into runtime_errors 2020-12-09 11:25:33 -06:00
INeedBots
7d8050a7c6 [Script] Changed .contains to .count so it doesn't need C++20 2020-12-09 11:06:26 -06:00
OneFourOne
495eb32b94
add comment 2020-12-09 10:12:33 -05:00
OneFourOne
e7986db81c
add popup for custom title 2020-12-08 21:50:14 -05:00
OneFourOne
9406bf6752
disable steam [for now] 2020-12-08 21:29:52 -05:00
INeedBots
9f281ba3a1 [Script] Fixed indents 2020-12-08 16:18:09 -06:00
INeedBots
1176a15e71 [Script] Added Script Runtime Error printing when in Developer 2020-12-08 16:14:47 -06:00
Dss0
8d1b06203e
Merge pull request #46 from ineedbots/bot_scr
Bot GSC functions for bots pressing buttons and moving + fix for node system related crash
2020-12-05 02:41:08 +01:00
INeedBots
0bb12a9783 [Script] Added ScriptStorage, GetSystemTime, PrintConsole and Exec GSC Functions 2020-12-04 16:42:47 -06:00
Dss0
5f221e77cd
Merge pull request #48 from Joelrau/some-changes
Some changes
2020-12-04 22:39:06 +01:00
Dss0
767d3b3a64
Merge pull request #47 from OneFourOne/develop
unlock cg_fovscale
2020-12-04 22:33:56 +01:00
Dss0
98ccc64a5d
Merge pull request #42 from xerxes-at/develop
Unlocked safeArea_horizontal and safeArea_vertical
2020-12-04 22:33:06 +01:00
Joelrau
eb897f9a76 [Node] Use clcState instead of CL_IsCgameInitialized
Game::CL_IsCgameInitialized() only returns true when the player is actually in the game. With this clcState returns 0 when in main menu so if clcState isn't 0 we will return.
2020-12-04 23:20:15 +02:00
Joelrau
ebe27166f8 [Functions] Added clcState 2020-12-04 23:18:30 +02:00
Joelrau
febff1b703 [Structs] Added enum clientstate_t 2020-12-04 23:17:44 +02:00
Joelrau
a9b7cb384f [Command] Reduce the duration of toasts when successfull
I felt like 3 seconds is a little too long, especially when toggling noclip on and off repeatedly.
2020-12-04 23:17:18 +02:00
OneFourOne
a21aaa2e22
add cg_fovscale thanks to @shit-ware 2020-12-04 16:04:50 -05:00
INeedBots
b3e8ce95b4 Merge branch 'node_crash_fix' into bot_scr 2020-11-17 01:13:59 -06:00
INeedBots
e5a45023f2 [Node] Fragment the nodeListResponse send messages 2020-11-17 01:06:02 -06:00
INeedBots
1b9748a703 [Bots] Readded bot name numbering when no bots.txt is found 2020-11-14 03:37:58 -06:00
INeedBots
e63b9591ae [Bots] Fixed wanring 2020-11-14 03:29:53 -06:00
INeedBots
4c3ca3ca5c [Bots] Use static 2020-11-14 03:28:58 -06:00
INeedBots
e1c534fc50 [Bots] Added GSC Functions
- SetPing; Sets the ping of only a bot client
 - isBot; Returns true if the client is a bot
 - botStop; Bot stops all buttons and movement
 - botWeapon; Bot changes to the weapon told
 - botMovement; Bot moves in the given direction
 - botAction, Bot presses the given buttons
2020-11-14 03:20:56 -06:00
INeedBots
de12280d55 [Bots] Added the bot user command handle loop 2020-11-14 03:05:00 -06:00
INeedBots
992a23d713 [Bots] Added helper functions 2020-11-14 02:58:05 -06:00
INeedBots
b92ee0880e [Bots] Added structs needed for GSC bot commands 2020-11-14 02:47:35 -06:00
INeedBots
0df43296f8 [Bots] Stopped default behaviour of the bots 2020-11-14 02:44:59 -06:00
INeedBots
7aaa64f02d [Network] Stops buffer overflow and crash at NET_DeferPacketToClient
- Fixes #17
2020-11-14 02:17:20 -06:00
INeedBots
f5aa4f91e0 [Structs] Added deltaMessage and outgoingSequence to client_t 2020-11-14 01:56:45 -06:00
INeedBots
4c4975daaf [Functions] Added G_GetWeaponIndexForName, SV_ClientThink, svs_time, Scr_Error, Scr_GetType 2020-11-14 01:06:56 -06:00
INeedBots
03f1b9938c [Functions] Added NET_DeferPacketToClient 2020-11-14 00:54:29 -06:00
VVLNT
60b50104af [QuickPatch] Fix crash in G_GetClientScore
Fixed the crash when calling G_GetClientScore before the game was initialised, which could also cause IW4x's HTTP server to stop working.
2020-11-13 09:09:29 +02:00
Dss0
966ac99f7b
Merge branch 'develop' into IntermissionTime 2020-11-12 23:16:08 +01:00
Xerxes
2aad192335 Unlock the safeArea adjusted variats too 2020-10-31 18:55:32 +01:00
Xerxes
42058ffe00 Unlocked safeArea_horizontal and safeArea_vertical
This probably is only useful to ultra wide users.
2020-10-31 00:08:21 +01:00
Joelrau
a2a303c3d0 [Client] file functions now use FileSystem instead of Game functions
Updated accoding to momo5502's request.
2020-09-02 13:02:41 +02:00
Joelrau
49c2ccd700 [FileSystem] DeleteFile returns true or false now
FileSystem::DeleteFile: function returns the boolean from Game::Remove(<path>);
2020-09-02 13:02:41 +02:00
Joelrau
86bfc41812 [CSV] Updated csv so it won't overflow
Updated accoding to momo5502's request.
2020-09-02 13:02:41 +02:00
Joelrau
272addfd4f [Maps] Changed dvar 'r_specularCustomMaps' default value to false 2020-09-02 13:02:41 +02:00
Joelrau
4438205a01 [QuickPatch] Added dvars 'g_playerCollision' and 'g_playerEjection'
g_playerCollision: Flag whether player collision is on or off ( note: enemy nametags are not visible and crosshair color doesn't change when looking at an enemy )
g_playerEjection: Flag whether player ejection is on or off

Also added: Ignore call to print 'Offhand class mismatch when giving weapon...
2020-09-02 13:02:41 +02:00
Joelrau
b366f5cb4f [Client] Added new component 'Client'
-Client Stuff-

Functions:
+ fileWrite(<filepath>, <string>, <mode>)
+ fileRead(<filepath>)
+ fileExists(<filepath>)
+ fileRemove(<filepath>)

Methods:
+ self getIp()
+ self getPing()

Commands:
+ NULL
2020-09-02 13:02:41 +02:00
Joelrau
d958a0675d [Script] Added new functions and enabled methods 2020-09-02 13:02:41 +02:00
Joelrau
7a85eb9c9c [Maps] Added dvar 'r_specularCustomMaps'
+ dvar 'r_specularCustomMaps' (Allows shaders to use phong specular lighting on custom maps)
2020-09-02 13:02:41 +02:00
Joelrau
e8a9dc56b4 [Zones] Show missing soundaliases in debug builds 2020-09-02 13:02:41 +02:00
Joelrau
da52129076 [CSV] Allowed '//' comments in .csv files 2020-09-02 13:02:41 +02:00
Joelrau
4bdde19dba [Dvar] Added register float option 2020-09-02 13:02:41 +02:00
Dv4L
9d8fe54681 Reverted these modifications.. 2020-08-08 23:13:46 +02:00
Dv4L
c9a75a71ba - Make mod-specific stats toggleable via a dvar and disable it by default
- Disable D3D9Ex by default as it causes the client to not vid_restart correctly for many people
- Add more guids from shitty repacks that include a guid
2020-08-08 12:19:55 +02:00
Dv4L
6381826d1b More fixes to image decryption check. 2020-07-19 16:31:52 +02:00
Dv4L
da7961058a Made a mistake pasting this shit 2020-07-12 23:45:55 +02:00
Dv4L
ce4514d40a - Fix for the game trying to decrypt all read files instead of just encrypted images, also fixes a crash when loading mods due to the game trying to decrypt the gsc files.
- Ugly fix for the game crashing with the latest version of steam (credits to IceNinjaman).
2020-07-12 22:27:56 +02:00
RaidMax
e0cb39ceaa Fix issue that causes crash when retrieving client score on status generation if clients are in certain states 2020-05-11 13:33:08 -05:00
Maurice Heumann
dd42a06151 [MapDump] Introduce proper map dumping 2019-12-28 14:35:00 +01:00
Maurice Heumann
1424283f7e [News] Better wiki page 2019-12-26 13:46:40 +01:00
H3X1C
02907c1f97 [QuickPatch] Removed undesired save flag 2019-12-26 12:35:05 +00:00
Maurice Heumann
6b3ff8fd00 [FileSystem] Correctly free iwds 2019-12-26 13:24:48 +01:00
Maurice Heumann
bab063a974 [Cache] Add new cache url 2019-12-26 10:32:21 +01:00
Maurice Heumann
919462cc42 [Exception] Fix exception handling 2019-12-26 02:16:43 +01:00
H3X1C
c58797abc1 [QuickPatch] Datatype changed to float, correct flags added and fixed small typo 2019-12-26 00:11:52 +01:00
H3X1C
b662075620 [QuickPatch] Add intermission time dvar 2019-12-26 00:11:52 +01:00
0x90
50e93d7f2f [Download] Improve client downloads
This is a (partial) fix for issue #14
2019-12-26 00:07:04 +01:00
Maurice Heumann
e311e77861 [Download] Small optimizations 2019-12-25 21:53:15 +01:00
Maurice Heumann
b715c23134 [Submodule] Update all submodules 2019-12-25 19:59:20 +01:00
H3X1C
6a38fa01c5 [QuickPatch] Datatype changed to float, correct flags added and fixed small typo 2019-12-23 17:16:34 +00:00
H3X1C
507994cd5b [QuickPatch] Add intermission time dvar 2019-12-23 15:58:42 +00:00
Maurice Heumann
e59bde4340
Merge pull request #11 from IW4x/feature/add-guid-validation
Generate new key if player guid has been shared.
2019-10-06 10:03:22 +02:00
RektInator
7fbeacbe51 [Menus] Rollback old menu code 2019-10-03 19:23:06 +02:00
RektInator
28721a9742 [Auth] Generate new key when key is invalid. 2019-10-03 09:16:26 +02:00
RektInator
e2965aeb9a [Auth] Add GUID validation 2019-10-03 09:10:00 +02:00
RektInator
40099cdcbe Merge branch 'develop' into feature/codo-zones 2019-10-03 07:59:32 +02:00
/dev/urandom
1269047ee6
Merge branch 'develop' into bug/fix-pipeline 2019-10-02 23:52:44 +02:00
RektInator
875bc6679a [IO] std::filesystem is no longer experimental 2019-10-02 11:37:08 +02:00
RektInator
530d773d49 [Zones] Added support for FF version 448, 460, 461 2019-10-02 08:08:11 +02:00
RektInator
b97610facb [Stats] Add support for mod-specific stat files 2019-10-01 21:54:32 +02:00
/dev/urandom
23e9aa7ac0
Merge branch 'master' into develop 2019-09-17 18:47:21 +00:00
momo5502
2f0ae8f842 [General] Adjust project for opensourcing 2019-09-17 18:47:20 +00:00
momo5502
4d53b29fec [QuickPatch] Fix mouse lags 2019-03-10 22:01:56 +01:00
momo5502
bdad3cfd32 [Proxy] Fix steam proxy 2019-02-23 23:59:21 +01:00
RektInator
4ce9a1b007 [QuickPatch] quit_hard for hard quitting purposes 2019-02-17 01:12:11 +01:00
TheApadayo
07278ebbfa [ZoneBuilder] Add support for iw3 techsets, decl, vs, and ps 2019-02-01 16:16:42 -05:00
TheApadayo
c845572be5 Merge branch 'feature/assetinterface-weapon' into 'develop'
Add weapons to zonebuilder
2019-01-25 00:59:05 +01:00
TheApadayo
a41e3fd012 Merge branch 'feature/custom-menulists' into 'develop'
Fix menus in Fastfiles and allow custom menu definitions via fastfile
2019-01-25 00:58:37 +01:00
RektInator
e596dd3848 Added ultrawide patch 2019-01-23 01:36:31 +01:00
TheApadayo
128ef8016b [Menus] Reduce complexity in the system for loading menus (+1 squashed commits) 2019-01-22 19:29:30 -05:00
RektInator
b1971c907c Updated dvar description 2019-01-21 00:51:16 +01:00
RektInator
a714924d20 Merge branch 'develop' of https://github.com/IW4x/iw4x-client into develop 2019-01-21 00:45:08 +01:00
RektInator
3130dd37e7 Added bounce dvar 2019-01-21 00:44:49 +01:00
TheApadayo
7c952eb548 [General] Fix warnings 2019-01-19 11:48:19 -05:00
TheApadayo
831291bdfe [ImenuDef_t] Add logging to menus and fix a bug in clearing the array pointer for float expression entries 2019-01-19 11:28:36 -05:00
TheApadayo
ad5a58462f [Menus] Properly load menus
Overridden menus are just loaded in iw4x_code_post_gfx_mp and new ones are added to ui_mp/iw4x.txt
2019-01-17 18:39:01 -05:00
TheApadayo
8080700432 [Menus] Rewrite how menus are loaded and used to support custom menu lists 2019-01-17 16:33:26 -05:00
TheApadayo
4dc912af3e [Menus] Start working on loading custom menus
Currently doesn't work to override menus so I'm going to have to rewrite some stuff
2019-01-16 23:52:42 -05:00
TheApadayo
b120b10197 [ZoneBuilder] Check for spaces in asset name (This one took me about 4 hours of debugging to realize the source csv had a bunch of whitepace in it). 2019-01-16 12:15:13 -05:00
TheApadayo
5db668cb15 Merge branch 'develop' into feature/assetinterface-weapon
# Conflicts:
#	src/Components/Modules/Exception.cpp
2019-01-16 01:04:43 -05:00
TheApadayo
7e40caefd4 Merge branch 'feature/anticheat-process-suspention' into 'develop'
Detect process suspension on startup to inject dlls
2019-01-16 06:59:04 +01:00
TheApadayo
4572425f00 [IWeapon] Write effects to fastfile as well. 2019-01-15 23:09:50 -05:00
TheApadayo
59ef8edbe2 [ITracer] Add tracer writing support 2019-01-15 21:48:34 -05:00
TheApadayo
8d4fa4c7ac [IWeapon] Fix a couple of alignment issues 2019-01-15 21:25:40 -05:00
TheApadayo
43456aedbd [ZoneBuilder] Fix one small thing in weapon writing, change how we search for assets in common_mp as using DB_EnumXAssets was missing some of them, and allow the weapon loading function see zonebuilder assets 2019-01-15 19:40:57 -05:00
TheApadayo
5eb9996aea [IWeapon] More writer fixes for weapons 2019-01-13 13:19:18 -05:00
momo5502
b3ec628a33 [Exception] Remove debug minidump command 2019-01-12 17:53:33 +01:00
momo5502
f75f121c27 [Game] Increase protocol version 2019-01-12 17:52:10 +01:00
TheApadayo
a2b90deefe [IWeapon] First working version of interface. Successfully writes and verifies usp_mp 2019-01-11 14:20:48 -05:00
sr0
6ee814cef5 [Friends] 2019-01-10 21:18:18 +01:00
/dev/root
d01d27a3e9 [News] Update discord link 2019-01-10 10:24:22 +01:00
/dev/root
6176d26fbb [ServerInfo] Add host info to /info 2019-01-09 21:40:56 +01:00
TheApadayo
7167836964 [General] Fix compiler complaining about using inline assembly inside of a lambda.
Apparently that isn't allowed anymore? Go figure.
2019-01-08 19:15:10 -05:00
TheApadayo
b1966a3d2d [AssetInterfaces] Start working on weapon asset handler 2019-01-08 19:09:14 -05:00
/dev/root
8e69de5083 [News] Add UIScript visitDiscord 2019-01-07 18:09:48 +01:00
TheApadayo
13cfe567a3 [AntiCheat] Correctly call startup time check so that it still runs if the AntiCheat is bypassed. 2019-01-06 14:02:17 -05:00
TheApadayo
69de8c3ac1 [AntiCheat] Remote extra line from debugging. 2019-01-06 14:00:13 -05:00
TheApadayo
f3b893f233 [AntiCheat] Detect if process is being started suspended in order to inject a dll to disable the anti cheat 2019-01-06 13:56:06 -05:00
TheApadayo
93d02d6f56 [AntiCheat] Make unreachable code useful again 2019-01-06 13:15:20 -05:00
momo5502
cdd64ec793 [Node] Don't stop frame work for dedis 2018-12-28 18:45:36 +01:00
RektInator
a1385f0a33 [Renderer] Enhance material debug information 2018-12-25 22:47:10 +01:00
RektInator
e3151fb155 [FastFiles] Fixed compiler warnings 2018-12-24 22:19:40 +01:00
RektInator
e79350e586 [FastFiles] Fixed XSurface count when loading fastfiles
[Renderer] Added logging for broken materials
2018-12-24 21:42:39 +01:00
momo5502
4fa89722a2 [General] Use const string references 2018-12-17 15:34:28 +01:00
/dev/root
70a60517ee [Download] Change json 2018-12-03 22:10:55 +01:00
/dev/root
3f9f58d5f6 [Download] Add serverlist info 2018-12-02 19:04:04 +01:00
momo5502
1adf34bbcd [Main] Hash .rdata segment to ensure no data manipulation was done 2018-11-26 10:41:15 +01:00
momo5502
077d798e6b [Maps] Set download delay to 10 seconds 2018-11-25 23:19:21 +01:00
momo5502
adce219257 [Cache] Add new working cache urls 2018-11-25 20:27:54 +01:00
momo5502
8872a36f82 [UIFeeder] Fix feeder highlighting 2018-11-25 20:23:29 +01:00
momo5502
212a6ff608 [Steam] Fix steam integration 2018-11-24 23:10:40 +01:00
momo5502
41df24f249 [Maps] Add normal indices to face definitions 2018-11-21 23:22:20 +01:00
momo5502
4da5be8422 [Maps] Dump vertex normals to wavefront objects 2018-11-21 23:18:24 +01:00
momo5502
b2cb5f7394 [QuickPatch] Fix invalid name check 2018-11-19 21:29:16 +01:00
momo5502
3a9d8da1f1 [Maps] Fix map dumping 2018-11-19 20:35:25 +01:00
momo5502
4f8820587d [Download] Temporarily disable the dvar check to fix startup
The dvar system is not yet active at that point, so the client will crash
2018-11-04 20:16:14 +01:00
momo5502
6be5f2cd86 [Main] Fix binary check 2018-11-04 20:10:27 +01:00
TheApadayo
e11e4ae5a9 [Download] Add Dvar for protection and also properly shutdown server even when running on a client 2018-10-22 18:58:09 -04:00
/dev/urandom
46a340af3d [Download] Enable when running as client.
This fixes mods being unusable in private matches.
2018-10-22 18:09:39 -04:00
momo5502
2ce756c9a0 [Main] Check the whole .text section on startup
This should prevent all binary-modification cheats from working
2018-10-19 22:58:33 +02:00
momo5502
86819658f7 [QuickPatch] Fix party-join vulnerability 2018-10-13 22:59:32 +02:00
momo5502
7c768b941f [Bans] Add unbanclient command 2018-10-13 17:37:37 +02:00
momo5502
a40780e567 [Utils] Fix memory-leaking and corrupting functions 2018-10-09 21:40:24 +02:00
momo5502
b2c94a7be3 Revert "[DHT] Implement DHT" 2018-10-09 10:53:15 +02:00
momo5502
537cbe12f0 Revert "[DHT] Integrate the protocol into the game's network infrastructure" 2018-10-09 10:53:04 +02:00
RektInator
b0a41328ed [General] Added VMProtect libraries (I own a license, feel free to DM), Fixed empty name vuln, Fixed javelin glitch. 2018-07-17 14:30:29 +02:00
momo5502
1f5a83aa94 [Game] Fix XModel structure 2018-05-10 18:11:12 +02:00
momo5502
9ca19f8f7b [IMaterial] Better statebits 2018-05-10 18:10:56 +02:00
momo5502
2c3f445f8f [AntiCheat] Introduce LibUnlocker 2018-05-10 17:24:03 +02:00
momo5502
0ac7f39b05 [IGfxImage] Fix wrong image resolutions 2018-05-10 13:44:11 +02:00
momo5502
d8b2318acd [IclipMap_t] Fix border mapping 2018-05-09 15:52:36 +02:00
momo5502
ceebe4dfd0 [IGfxImage] Fix image loading 2018-05-09 15:14:31 +02:00
momo5502
33a8baa9b5 [Game] Adapt to correct structures 2018-05-09 14:33:52 +02:00
momo5502
7ca3b49f1e [Game] Fix structure changes 2018-05-09 12:04:20 +02:00
momo5502
a6efda1e97 [Game] Update several structures 2018-05-09 11:53:35 +02:00
momo5502
c3083ea78c [IMaterial] Fix materials 2018-05-09 11:20:17 +02:00
momo5502
c7b5d5a2b8 [IW4MVM] Easily switch the component off 2017-09-03 20:31:58 +02:00
momo5502
5d4cd82ed1 [DHT] Integrate the protocol into the game's network infrastructure 2017-09-03 18:14:08 +02:00
momo5502
76b8e299a0 [DHT] Implement DHT 2017-09-02 20:03:51 +02:00
momo5502
6e7c307693 [Submodules] Update libtommath, mongoose and protobuf 2017-09-02 12:29:58 +02:00
TheApadayo
20048b8d50 [Node] Disable node system while in game to prevent lag spikes on lower end PCs 2017-07-24 19:15:27 -04:00
momo5502
e4ff3113ea [Console] Use try/except SEH 2017-07-14 11:36:37 +02:00
momo5502
338c65689b [QuickPatch] Add a V2 exploit fix 2017-07-12 23:39:40 +02:00
momo5502
390418e34e [Download] Correctly download maps from lobby servers 2017-07-12 19:36:18 +02:00
momo5502
012384987e [ServerList] Adjust default rating even more 2017-07-12 18:55:52 +02:00
momo5502
b33d7fe508 [General] Use stable sorting algorithm 2017-07-12 13:39:45 +02:00
momo5502
ef4a2492af [Premake] Remove structured exception handler 2017-07-12 13:36:27 +02:00
momo5502
4ae2cc8040 [Loader] Remove inline attribute 2017-07-12 11:37:23 +02:00
momo5502
d7c26d6dea [AntiCheat] Disable protection during unit tests 2017-07-12 11:33:30 +02:00
momo5502
ba1fb2f7f2 [ServerList] Increase rate, if users have problems, they can lowe it 2017-07-12 10:53:06 +02:00
momo5502
d4560c8b7e [ServerList] Adjust default query rates 2017-07-12 10:26:27 +02:00
momo5502
d3930ce19a [Node] Introduce dvar to control server query rate 2017-07-12 10:12:51 +02:00
momo5502
9fcd31616e [Session] Resend packets 2017-07-10 18:32:17 +02:00
momo5502
d153c98408 [Node] Ignore invalid nodes 2017-07-09 20:53:21 +02:00
momo5502
65a555e82b [Network] Don't send packets to invalid addresses 2017-07-09 20:53:04 +02:00
momo5502
5f31797eb5 [Dvar] Allow certain protected dvars to be set 2017-07-09 13:36:13 +02:00
momo5502
3f06d6c990 [Menus] Safer menu merging 2017-07-09 01:56:12 +02:00
momo5502
32789b29cf [IW4MVM] Make sure to reset the timescale 2017-07-09 01:54:02 +02:00
momo5502
46b1b5c95c [Dvars] More fixes for setting cheat protected dvars 2017-07-05 23:17:59 +02:00
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