Commit Graph

1752 Commits

Author SHA1 Message Date
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
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