Commit Graph

2749 Commits

Author SHA1 Message Date
Diavolo
a8a3d7c918
[Vote] Handle client commands for kick & tempbanuser 2022-08-24 17:53:42 +02:00
Diavolo
77c25bc11f
[MapRotation] Remove tolower (not needed) 2022-08-24 16:41:02 +02:00
Diavolo
0393953ded
[Vote/UI] Add UI Script handlers 2022-08-24 16:38:14 +02:00
Edo
6197a3cee4
[Utils] Correct mistake in code (#455) 2022-08-24 14:15:04 +02:00
Edo
be0e071aba
[General] Attempt to organize functions def per category (#454)
* [General] Attempt to organize functions def per category

* [System] Forgot about sys_exitCmdLine
2022-08-23 12:58:33 +02:00
Edo
3246ed1bf5
[Script] Refactor loading code & add pseudo int64 (#419) 2022-08-23 09:12:20 +02:00
Edo
c0433ce883
[LargeLocal] Remove incorrect macro (#453) 2022-08-23 00:05:54 +02:00
Edo
a3776f34c7
[ClientCommand] Make kill always avaiable (with cheats on) (#451)
* [ClientCommand] Make kill always avaiable (with cheats on)

* Update ClientCommand.cpp
2022-08-22 19:46:47 +02:00
Edo
0a6d0e1b5d
[Logger] Only filter out coloured strings were needed (#450) 2022-08-22 18:28:57 +02:00
Edo
28653a0e8d
[Download] Nullsub some quirky gsc functions (#449)
* [Download] Nullsub some quirky gsc functions

* [Script] Show deprecation warning

* [Script] Expand error message
2022-08-22 18:17:42 +02:00
Edo
92ed9afae7
[Voice] Use largelocal for speed/+cred/respect? (#448) 2022-08-22 16:06:00 +02:00
Edo
ba34f1ea7c
[Vote] Add vote/callvote (#447) 2022-08-21 18:52:54 +02:00
Diavolo
c3ee95278c
[Gamepad] Re-work assertions 2022-08-20 14:06:52 +02:00
Diavolo
6276ef2e24
[Structs] Complete client_t 2022-08-20 12:30:34 +02:00
Diavolo
28b089f070
[Structs] use clientheader 2022-08-20 12:09:41 +02:00
Diavolo
52d9011561
[Network] Organize packet handlers 2022-08-20 01:10:35 +02:00
Edo
dd9e61910c
[Favourite] Check if file is empty (#443) 2022-08-19 18:35:36 +02:00
Edo
2f6cbf4549
[Chat] Do what snake suggested in /master for lambdas (#442) 2022-08-18 22:08:41 +02:00
Dss0
33cbd3f1c9
Merge pull request #438 from diamante0018/fix-chat-concurrency
[Chat] Improve code
2022-08-18 12:18:53 +02:00
Edo
6c571f734b
[Network] Clear callbacks after being used once (save memory) (#441) 2022-08-18 12:10:22 +02:00
Edo
ed617dc879
[Filesystem] Use info from launcher (#440)
* [Filesystem] Use info from launcher
2022-08-17 21:53:52 +02:00
Diavolo
22c633f4be
[Chat] Improve code 2022-08-16 11:10:01 +02:00
Dss0
6cba16b95a
Merge pull request #437 from diamante0018/abcdefg
[Console] Remove duped code
2022-08-15 17:36:32 +02:00
Diavolo
a5fea429b6
[Console] Remove duplicate code 2022-08-15 17:25:20 +02:00
Edo
f9a47d2de6
[Voice] Unmute client from server list when dc from server (#435) 2022-08-15 15:25:20 +02:00
Dss0
3de34dd26d
Merge pull request #433 from diamante0018/mute-sv
Mute sv
2022-08-15 12:13:34 +02:00
Diavolo
7f853c557e
[Chat] Mute voice too 2022-08-15 12:03:10 +02:00
Dss0
ddb14febf6
Use fonticons instead of "X" on the serverlist (#432) 2022-08-15 11:56:00 +02:00
Edo
b55d609710
[Script] Rename float to CastFloat (#431) 2022-08-15 00:13:55 +02:00
Dss0
ca7b8f797d
send info about aim assist and voice chat (#430) 2022-08-14 21:39:53 +02:00
Diavolo
0c22596161
[Voice] Fix is_player_talking 2022-08-14 17:15:45 +02:00
Diavolo
8b224f6130
[Voice] Clear muted list when dc 2022-08-14 13:33:28 +02:00
Diavolo
0a30c75159
[Voice] Pregame voice chat 2022-08-13 19:10:37 +02:00
Diavolo
cb3f1f1506
[Voice] How mute 2022-08-13 18:42:32 +02:00
Diavolo
421836b89f
[Voice] Voice chat 2022-08-13 17:19:45 +02:00
Edo
d79b3710a4
Merge pull request #422 from diamante0018/cleanup-filesystem
[Filesystem] Cleanup
2022-08-12 10:28:39 +02:00
Diavolo
b8d4ff6e26
[Filesystem] Fix macro 2022-08-11 12:44:03 +02:00
Diavolo
7b1b135e3f
[Filesystem] Cleanup 2022-08-11 12:31:19 +02:00
Dss0
6175bf7e24
Merge pull request #421 from diamante0018/feature/disable-lean
[Lean] Add option to disable
2022-08-11 00:53:22 +02:00
Diavolo
e232e97785
[Gamepad] This hook needs to be moved (todo) 2022-08-11 00:27:18 +02:00
Diavolo
8a55ae1f30
[Lean] Add option to disable 2022-08-11 00:21:58 +02:00
Diavolo
d67e6ce686
[General] Reduce usage of dvar lookup func 2022-08-10 23:03:26 +02:00
Diavolo
422074ecee
Do not clear a static variable 2022-08-10 12:48:06 +02:00
Diavolo
507833b68a
[Friends] Remove code that forces you to be busy on Steam 2022-08-10 09:56:58 +02:00
Diavolo
3707b237e6
[Script] Strtol & Float 2022-08-08 14:37:24 +02:00
Dss0
e8660c34b3
Merge pull request #413 from diamante0018/feature/rocketjumpscale
[Movement] Add rocket jump scale
2022-08-06 16:22:30 +02:00
Diavolo
d7290e18f0
fix for controlled killstreaks 2022-08-06 00:00:58 +02:00
Diavolo
00a944cf5b
[Movement] Add rocket jump scale 2022-08-05 23:39:25 +02:00
Dss0
3458ef9001
Merge pull request #410 from diamante0018/feature/font-test
[Debug] Cool font test feature
2022-08-04 14:53:36 +02:00
Diavolo
d8a453d34d
[Debug] Cool font test feature 2022-08-04 14:06:17 +02:00
Dss0
7808e9a90c
Merge pull request #409 from diamante0018/fixes-json
Fixes for JSON
2022-08-04 11:32:59 +02:00
Diavolo
323021af5d Fixes for JSON
Co-authored-by: Edo <edoardo.sanguineti222@gmail.com>
Co-authored-by: rackover <roxanne@thegamebakers.com>
2022-08-04 11:24:32 +02:00
Edo
50eaba2ca9
fix crash in SND func (#407) 2022-08-03 18:27:07 +02:00
Diavolo
8ac33260a4
[Utils] Fix function 2022-08-02 23:04:02 +02:00
Diavolo
fe73bb9827
[QuickPatch] Make startsingleplayer command work with iw4x-sp 2022-08-02 13:24:22 +02:00
Dss0
3977cf42a6
Merge pull request #401 from diamante0018/addimagetolist
Do not use definitions from mongoose
2022-08-01 19:39:00 +02:00
Diavolo
7866d255d9
Do not use definitions from mongoose 2022-08-01 19:15:03 +02:00
Dss0
a4c0d7c582
Merge pull request #400 from diamante0018/addimagetolist
fix nullptr check
2022-08-01 16:42:12 +02:00
Diavolo
675a1145a8
Add nullptr check for listimages 2022-08-01 16:30:31 +02:00
Louve
f3c15f2cda
Json11 => NlohmannJson (#393)
* Json11 => NlohmannJson

* Fix release build

* Updated gitmodulie

* Address review

* Update .gitmodules

Co-authored-by: rackover <roxanne@thegamebakers.com>
Co-authored-by: Edo <edoardo.sanguineti222@gmail.com>
2022-07-29 21:54:18 +02:00
Louve
088b8ac045
Use correct DB thread for structured data loading (#392)
Co-authored-by: rackover <roxanne@thegamebakers.com>
2022-07-27 17:06:11 +02:00
Louve
14181d04d1
Require teamzones when there's no arena entry (fixes sp maps missing … (#391)
* Require teamzones when there's no arena entry (fixes sp maps missing teams)

* Move requireteamzones=true to method

Co-authored-by: rackover <roxanne@thegamebakers.com>
2022-07-27 10:54:36 +02:00
Dss0
ae255777d0
Merge pull request #367 from Rackover/disable_additional_zones_for_vanilla_maps
Disable additional zones for vanilla maps
2022-07-26 22:19:03 +02:00
Louve
62a67d336f
Fix crash snow and use disk models by default (#390)
Co-authored-by: rackover <roxanne@thegamebakers.com>
2022-07-26 14:08:28 +02:00
Diavolo
0d530ef36e
[Structs] Use binary left shift in enum 2022-07-24 12:37:58 +02:00
Diavolo
725c08afeb
[Script] Remove builtin God, demigod, notarget 2022-07-24 01:08:01 +02:00
Diavolo
13d1c23b99
[Script] *Update* 2022-07-23 23:22:58 +02:00
Dss0
e8c69b9d3f
Merge pull request #386 from diamante0018/fix-the-fix-of-visionfile
[VisionFile] Move zone patch here
2022-07-23 22:25:18 +02:00
Dss0
dfa585545c
Merge pull request #385 from diamante0018/console
[Console] Add very useful debugging function
2022-07-23 22:24:51 +02:00
Dss0
02b4ba09df
Merge pull request #382 from diamante0018/logger-fix
[Logger] Improve Hook code
2022-07-23 22:23:40 +02:00
Dss0
cd1c172866
Merge pull request #381 from diamante0018/update-url
[News] Update urls
2022-07-23 22:23:23 +02:00
Diavolo
034abfe235
[VisionFile] Move zone patch here 2022-07-23 22:16:26 +02:00
Diavolo
3a3fca64e1
[Console] Add very useful debugging function 2022-07-23 15:49:56 +02:00
Diavolo
3af56bb27f
[Logger] Improve Hook code 2022-07-22 11:27:38 +02:00
Diavolo
48c35efedc
[News] Remove unused urls 2022-07-21 21:41:32 +02:00
Diavolo
61463cc9e7
[News] Update urls 2022-07-21 21:30:44 +02:00
Dss0
b52142bbb1
Merge pull request #380 from diamante0018/goofy-warnings
Fix some justified warnings & more
2022-07-21 19:50:49 +02:00
Dss0
f7ff38749c
Merge pull request #379 from diamante0018/script-fix
[Script] Fix typo
2022-07-21 19:50:32 +02:00
Diavolo
da61ab42ec
Fix some justified warnings & more 2022-07-21 18:56:16 +02:00
Diavolo
0a30d60f42
fix typo 2022-07-21 18:32:08 +02:00
Louve
e88811e980
i swear i'm gonna kill him (#378)
Co-authored-by: rackover <roxanne@thegamebakers.com>
Co-authored-by: Edo <edoardo.sanguineti222@gmail.com>
2022-07-21 14:33:12 +02:00
Diavolo
7ee57de3e3
[ClanTags] Remove hooked function that must not be called when in-game 2022-07-21 14:04:14 +02:00
Louve
c601a1b97e
Fix fs xmodsurfs (#372)
* This commit cured my crashes!

* Use correct thread for Ents swapping

* Mutex

* Cleanup

* Cleanup2

Co-authored-by: Diavolo <edoardo.sanguineti222@gmail.com>
Co-authored-by: Louvenarde <louve@louve.systems>
2022-07-21 00:22:49 +02:00
Diavolo
54cdc425ee Speed up loading by not requiring extra zones
Co-authored-by: diamante0018 <edoardo.sanguineti222@gmail.com>
Co-authored-by: Louvenarde <louve@louve.systems>
2022-07-20 21:47:54 +02:00
Diavolo
e556b835cd
[Weapons] Fix *gone right* (gone thankful for JTAG) 2022-07-19 14:02:53 +02:00
Louve
63ce4095e0
Safer clans (#366)
* Safer clans

* Remove pointer check

Co-authored-by: Louvenarde <louve@louve.systems>
2022-07-18 23:29:34 +02:00
Dss0
75cf9b6b85
Remove obsolete DLC Store (#363) 2022-07-18 19:09:39 +02:00
Louve
617d9ad654
Prefix custom GSC functions with "iw4x_" (#362)
* Prefix custom GSC functions with a "iw4x_" client prefix to preserve older mods & for better backward & forward compatibility

* Prefix bot GSC functions too

* Updated comments

* Undo formatting

* Affect functions aswell

* Add deprecation warnings & auto upgrade of function names for botwarfare needs

* add iw4x_prefix

* Addressed review

* ADdress review²

* Remove choice to add clientprefix or not

* Fixes & follow some of laupetin's suggestions

* Fixe copy paste

* use constexpr const char*

* Update message

Co-authored-by: Louvenarde <louve@louve.systems>
Co-authored-by: Diavolo <edoardo.sanguineti222@gmail.com>
Co-authored-by: rackover <roxanne@thegamebakers.com>
2022-07-18 13:01:29 +02:00
Edo
269f484011
[ClanTags] Fix (#361) 2022-07-17 00:15:15 +02:00
Edo
491d4d3ac3
[ClanTag] Add back component + extras (#357)
* [ClanTags] Add back component
2022-07-16 23:24:26 +02:00
Louve
e961f70fda
Do not take headicons for reference even if they're using a nice tran… (#359)
* Do not take headicons for reference even if they're using a nice transparent techset

* Update IMaterial.cpp

Co-authored-by: rackover <roxanne@thegamebakers.com>
Co-authored-by: Edo <edoardo.sanguineti222@gmail.com>
2022-07-16 13:54:20 +02:00
Dss0
56fa04d2ae
Merge pull request #355 from diamante0018/goofy-hooks
Fix rawfiles hook
2022-07-11 11:54:31 +02:00
Dss0
d915481928
Merge pull request #353 from diamante0018/develop
[General] Make some improvements
2022-07-11 11:54:17 +02:00
Dss0
fe04f89e2a
Merge pull request #352 from diamante0018/zones-assets
[AssetHandler] Fix gfxworld issue with zones 316 or higher
2022-07-11 11:53:37 +02:00
Dss0
87a548f011
Merge pull request #322 from diamante0018/csv-gsc
[Script] Re-work some aspects
2022-07-11 11:53:10 +02:00
Diavolo
25a3b8f485
[Debug] Com_Assert_f for the memes 2022-07-09 23:07:58 +02:00
Diavolo
2a21f754e0
[PlayerName] Fix format 2022-07-08 18:42:09 +02:00
Diavolo
a0c1e4e464
[Ceg] Remove very expensive function from Live_Init 2022-07-08 18:40:09 +02:00
Diavolo
1f7b0ff95d
[Rawfile] Fix hook 2022-07-07 15:32:18 +02:00
Diavolo
60f7c7c254
[Script] Re-work stuff (no hidden changes)
*maybe* (Based on a true story and events)
2022-07-06 17:48:40 +02:00
Diavolo
7841df2982
[Ceg] Remove check in the registry 2022-07-05 18:43:24 +02:00
Diavolo
a3d92939ad
[Logger] Filter out coloured strings for stdout 2022-07-04 21:09:26 +02:00
Diavolo
abe2380040
[Structs] Use static_assert 2022-07-04 12:10:45 +02:00
Diavolo
474d9df014
[Logger] Add new line. Remove gren text 2022-07-03 21:46:42 +02:00
Diavolo
e4ec3092be
[AssetHandler] Fix gfxworld issue with zones 316 or higher 2022-07-03 17:49:22 +02:00
Dss0
69f395e2a7
Merge pull request #351 from diamante0018/debug-dvars
[Dvar] Better dvar settings for debugging
2022-07-03 00:49:55 +02:00
Dss0
80bd4a3702
Merge pull request #350 from diamante0018/bbbbbbb
[Weapon] Fix loading code
2022-07-03 00:49:42 +02:00
Dss0
fa98263fe5
Merge pull request #349 from diamante0018/aaaaaaaa
[Scheduler] Fix hook
2022-07-03 00:49:20 +02:00
Dss0
5522bdf482
Merge pull request #348 from diamante0018/develop
Better asm func for R_GetCharacterGlyph
2022-07-03 00:49:07 +02:00
Dss0
303b80a502
Merge pull request #346 from diamante0018/fix-cheat-dvars-debug
[QuickPatch] Better hook for cheat dvars
2022-07-03 00:48:46 +02:00
Diavolo
a200d82ae6
[Dvar] Better dvar settings for debugging 2022-07-02 19:52:57 +02:00
Diavolo
8127aa395e
[Weapon] Fix loading code 2022-07-02 18:30:35 +02:00
Diavolo
2040533a0a
[Scheduler] Fix hook 2022-07-02 12:17:08 +02:00
Diavolo
4f321a986f
Better asm func for R_GetCharacterGlyph 2022-07-02 11:52:52 +02:00
Diavolo
69bbdc0e9d
[Logger] Make debug text less lengthy 2022-07-02 11:41:59 +02:00
Diavolo
c4af5391ca
[QuickPatch] Better hook for cheat dvars 2022-07-01 19:08:35 +02:00
Diavolo
aa6a8a29be
[VisionFile] Fix ill-defined loop or something 2022-06-30 23:57:23 +02:00
Diavolo
d191e90e1f
[Weapon] Fix null pointer (Prank gone wrong) 2022-06-30 22:24:40 +02:00
Dss0
83c4482c3f
Merge pull request #343 from diamante0018/aaaa
[IMaterial] Fix format string
2022-06-30 21:38:06 +02:00
Edo
769ff3fd5e
Custom vision file parser (#249) 2022-06-30 21:37:47 +02:00
Diavolo
88ec372616
[IMaterial] fix format string 2022-06-30 19:42:29 +02:00
Dss0
060abd6251
Merge pull request #342 from diamante0018/clientconn
[Struct] Document clientConnections
2022-06-30 17:55:55 +02:00
Dss0
6c1339cc6b
Merge pull request #341 from diamante0018/isolate-stack
[Chat] Isolate stack
2022-06-30 17:49:21 +02:00
Diavolo
46842a582c
[Struct] Document clientConnections 2022-06-30 17:36:54 +02:00
Diavolo
1e67fadc42
[Chat] Isolate stack 2022-06-30 17:07:39 +02:00
Diavolo
16988b24f4
[Renderer] Fix crash when debugging oilrig 2022-06-30 13:32:19 +02:00
Diavolo
dbef5f7a16
[Scheduler] Use old hook for renderer pipeline 2022-06-30 12:05:56 +02:00
Diavolo
c467e1d538
[Command] Have SV commands register sooner 2022-06-28 20:57:58 +02:00
Diavolo
b718803ecb
[Bans] Refactor 2022-06-28 09:26:43 +02:00
Edo
2daaee8358
Merge pull request #316 from diamante0018/maths
[General] Quick Maths
2022-06-27 18:59:48 +02:00
Dss0
ec9c2041ea
Merge pull request #337 from diamante0018/toast-broke
[Toast] Fix
2022-06-27 13:19:23 +02:00
Dss0
57341b7eec
Merge pull request #336 from diamante0018/logger-1
[Logger] Fix output by g_log_list & log_list
2022-06-27 13:18:59 +02:00
Dss0
5c5b9f0d5a
Merge pull request #330 from diamante0018/script-loading
[Script] (feature request): Enchance script loading
2022-06-27 13:18:40 +02:00
Diavolo
ab0ee60563
[Network] Disable unused oob handlers 2022-06-27 13:09:10 +02:00
Diavolo
ef15522a3d
[Toast] Fix 2022-06-27 13:02:00 +02:00
Diavolo
f7cb8da352
[Logger] Recycle length from _snprintf_ 2022-06-26 22:01:11 +02:00
Diavolo
e2170e96c2
[Logger] Decouple NetworkLog from the logFile 2022-06-26 21:36:23 +02:00
Diavolo
8ee1bc1ed9
[Logger] Fix output by g_log_list & log_list 2022-06-26 20:20:11 +02:00
Diavolo
8d2db6b34d
[Utils] Organize Vector functions under the maths module 2022-06-26 15:40:57 +02:00
Diavolo
998c221d80
[Dvars] Add flag to protect archive dvars 2022-06-26 14:58:45 +02:00
Dss0
9cf686f5b2
Merge pull request #334 from diamante0018/ceg
[Ceg] One more
2022-06-26 13:34:38 +02:00
Dss0
1e354d29af
Merge pull request #333 from diamante0018/scr_const
[Structs] Document scr_const_t
2022-06-26 13:28:24 +02:00
Dss0
5aff32e328
Merge pull request #329 from diamante0018/feature/weapon-pickup
DisableWeaponPickup & EnableWeaponPickup
2022-06-26 13:28:05 +02:00
Diavolo
4ed20d7111
[Ceg] Remove duplicates 2022-06-26 12:59:30 +02:00
Diavolo
02dd8f9d40
[Ceg] One more 2022-06-26 12:26:18 +02:00
Diavolo
d747a9c670
[AssetHandler] Fix tabs 2022-06-25 20:23:13 +02:00
Diavolo
7b67a6d087
DisableWeaponPickup & EnableWeaponPickup 2022-06-25 20:22:13 +02:00
Diavolo
ffd374fcd6
[Structs] Document scr_const_t 2022-06-25 20:17:34 +02:00
Diavolo
1bcd1672ec
[Node] Use Main pipeline 2022-06-25 18:21:12 +02:00
Diavolo
6cf7defdec
[Script] Fix bug 2022-06-25 14:22:13 +02:00