Commit Graph

1602 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
077d798e6b [Maps] Set download delay to 10 seconds 2018-11-25 23:19:21 +01:00
momo5502
8872a36f82 [UIFeeder] Fix feeder highlighting 2018-11-25 20:23:29 +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
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
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
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
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
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