Commit Graph

1846 Commits

Author SHA1 Message Date
INeedBots
28df9b651a [QuickPatch] Added G_Antilag dvar 2020-12-22 22:15:48 -06:00
OneFourOne
b09db145be
add contributors to credits 2020-12-22 16:16:14 -05:00
OneFourOne
9047e7bec2
[Game] Decrease protocol version 2020-12-22 16:15:23 -05:00
OneFourOne
7da79cc1ff
Add contributors to credits 2020-12-22 15:12:23 -05:00
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