Commit Graph

2424 Commits

Author SHA1 Message Date
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
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
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
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
6c1339cc6b
Merge pull request #341 from diamante0018/isolate-stack
[Chat] Isolate stack
2022-06-30 17:49:21 +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
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
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
Diavolo
2cf741f2a2
[General] Update changelog 2022-06-24 21:33:34 +02:00
Diavolo
f9554e7b7b
[MapRotation] Some backwards compatibility
Ook, ook, eek
2022-06-24 21:22:46 +02:00
Dss0
56fe69ea18
Merge pull request #320 from diamante0018/header-files
[General] Stop nonsense with asset handler header files
2022-06-23 17:06:41 +02:00
Dss0
b036544646
Merge pull request #319 from diamante0018/more-branding
[Branding] Add missed branding date
2022-06-23 17:06:23 +02:00
Dss0
befcbee4e0
Merge pull request #313 from diamante0018/dvar-flag-names
[General] Name the last two remaining used dvar flags
2022-06-23 17:05:58 +02:00
Diavolo
c07bfe8bd9
[General] Stop nonsense with asset handler header files 2022-06-22 17:36:06 +02:00
Diavolo
9cb32b00f1
[Branding] Add missed branding date 2022-06-22 11:56:09 +02:00
Diavolo
da034bd825
[Logger] Fix source location
Only make it display if correct macro is defined
2022-06-22 10:58:51 +02:00
Edo
1ba9db613d
[ClientCommands] Make give a non-dev command (#315)
As requested by Dss0
2022-06-20 11:06:30 +02:00
Diavolo
abacd1c284
[General] Name the last two remaining used dvar flags 2022-06-18 19:42:56 +02:00
Diavolo
d7e9ff19ee
[MapRotation] Fix SVRandomMapRotation 2022-06-16 18:19:51 +02:00
Diavolo
4f89102165
[MapRotation] Allow people to have empty sv_mapRotation 2022-06-16 18:02:22 +02:00
Diavolo
52c9602473
[Dedicated] Fix 2022-06-16 16:15:26 +02:00
Edo
144ba7efd3
Add chat callback (#265) 2022-06-14 20:43:19 +02:00
Edo
0a852c6431
[Events] Group game events callbacks in one module (#306) 2022-06-13 20:16:57 +02:00
Edo
e754e9d56a
Remove accidental usage of the async pipeline (#305)
Removing the parameter default value will prevent this from happening in the future
2022-06-13 19:59:32 +02:00
Edo
0593913244
[Debug] Add simple overlays for debugging (#227) 2022-06-13 18:08:44 +02:00
Dss0
9f7608b04f
Merge pull request #301 from diamante0018/revert-zonebuilder-quit
Revert change to ZoneBuilder
2022-06-13 18:07:40 +02:00
Diavolo
bf4ae7f116
[MapRotation] Allow people to circumvent 1024 dvar character limit 2022-06-13 17:32:45 +02:00
Diavolo
b720166913
Revert change to ZoneBuilder
& Add simple callback function to add commands
2022-06-13 00:02:20 +02:00
Edo
020201ab1f
[Logger] Use c++20 format 2022-06-12 23:07:53 +02:00
Dss0
fa4adf12db
Merge pull request #297 from diamante0018/more-ceg
[Ceg] Disable some checks on game events
2022-06-12 22:27:52 +02:00
Diavolo
4fa67af2c4
Fix compilation 2022-06-12 20:09:49 +02:00
Edo
7efaa89d32
Merge branch 'develop' into scheduler 2022-06-12 20:02:48 +02:00
Edo
a4da5b891e
Merge pull request #283 from diamante0018/new-map-rotation
New map rotation module
2022-06-12 19:40:17 +02:00
Diavolo
2c54bd7d0d
[MapRotation] C++20 things 2022-06-11 11:55:12 +02:00
Diavolo
297e270e2f
Fix comp 2022-06-05 12:34:29 +02:00
Diavolo
0ebc3a8224 Merge remote-tracking branch 'origin/develop' into scheduler 2022-06-05 12:23:55 +02:00
Edo
799f244b3f
Merge pull request #279 from diamante0018/network-refactor
Refactor some packet interception code
2022-06-05 12:03:50 +02:00
Diavolo
bd647355fe
[Ceg] Disable some checks on game events 2022-06-05 11:45:50 +02:00
Diavolo
2de643773f [Script] Fix for c++20 2022-06-04 23:46:06 +02:00
Diavolo
88f82d297f
Add dvar desc 2022-06-04 22:32:03 +02:00
Diavolo
8fcae22813 Merge branch 'new-map-rotation' of https://github.com/diamante0018/iw4x-client into new-map-rotation 2022-06-04 22:25:29 +02:00
Edo
b5d4da254e
Merge branch 'develop' into new-map-rotation 2022-06-04 22:25:04 +02:00
Edo
27f78edb29
General Refactoring
* [General] Clean up a few things
2022-06-04 22:16:55 +02:00
Edo
558bf09338
[ClientCommand] Add give command
Just for weapons for now
2022-06-04 19:59:52 +02:00
Dss0
0f8e727a73
Merge pull request #290 from diamante0018/disablechat
[Chat] add dvar to disable chat
2022-06-04 19:40:15 +02:00
Dss0
0b7a1827a4
Merge pull request #294 from diamante0018/better-mini-console
Better minicon patch
2022-06-04 19:39:56 +02:00
Diavolo
d2f72b465c
Better minicon patch 2022-06-04 19:07:45 +02:00
Diavolo
fe0cbacdea
[UserInfo] Clear overrides when user disconnects 2022-06-04 18:52:46 +02:00
Diavolo
9ec081fcb1
Fix some things 2022-06-04 14:59:14 +02:00
Diavolo
b072815407 99% non-plagiarised kill command implementation 2022-06-04 14:06:30 +02:00
Diavolo
9cb9f46663 Remove the most hated callback in the source code 2022-06-04 14:06:30 +02:00
FutureRave
8538de0f96 Make game boot for now 2022-06-04 14:06:30 +02:00
FutureRave
74ed1c342a Fix some mistakes (still wrong pipeline being used somewhere) 2022-06-04 14:06:30 +02:00
FutureRave
b0dfd16759 Attempt to refactor scheduler *gone insane* 2022-06-04 14:06:22 +02:00
Diavolo
854949a34f
[Script] Add way to modify player name 2022-06-04 10:56:14 +02:00
Diavolo
92a9eb58ad
Address review 2022-06-03 14:45:14 +02:00
Diavolo
6c76136c5c
[ISO] Follow the c++20 standard 2022-05-31 18:38:09 +02:00
Diavolo
cb2346b478
[Chat] add dvar to disable chat 2022-05-31 17:57:44 +02:00
Diavolo
aa99f6fbda
Move static assert to the header file 2022-05-29 10:19:48 +02:00
Dss0
3f0c137617
Merge pull request #280 from diamante0018/ceg-impostor-amongus
Remove (CEG?) functions
2022-05-28 15:00:51 +02:00
Diavolo
aef820179c
Remove ceg 2022-05-27 14:15:03 +02:00
Diavolo
d917271e29
Fix format string in gsc function 2022-05-27 13:23:41 +02:00
Diavolo
05bd748c6c Add msg (remove me) 2022-05-26 10:28:13 +02:00
Diavolo
479a2e548d
[Dedicated] New map rotation system 2022-05-25 18:03:26 +02:00
Diavolo
c107739116
[General] Clean up a few things 2022-05-25 16:23:28 +02:00
Diavolo
60aa5abf05
Refactor some packet interception code 2022-05-21 00:12:46 +02:00
Jan
59fc6d7ff9 Initialize key indices like game does when looking up key bindings 2022-05-15 10:07:27 +02:00
GEEKiDoS
609cbc167e Fix font generation 2022-05-15 13:49:59 +08:00
Alexander Boulton
0a6de93c21
Improve console usability
Removed the need to use '\' or '/' to send a command in the console. The say command via console is redundant and serves no purpose.
2022-05-13 18:44:33 +01:00
Edo
a4db4f5ed3
Merge pull request #270 from diamante0018/sec-fix-net
[Security] Refactor patch (fix mistake?)
2022-05-11 18:33:53 +01:00
FutureRave
aedd63f206
Address review 2022-05-11 18:27:58 +01:00
FutureRave
b0537675cc
[Security] Refactor patch (fix mistake?) 2022-05-11 16:24:19 +01:00
m
88a6bd5887 cleanup if statements? 2022-05-10 06:22:36 -05:00
m
dbc30dee6e
only return node frames on non-dedi instances 2022-05-09 20:02:53 -05:00
Edo
bb3e8d3147
Merge pull request #260 from mjkzy/visible-list
fix visible server list refreshing
2022-05-07 13:40:08 -04:00
Edo
4ba8b8b442
Address review 2022-05-07 11:02:28 -04:00
Edo
a455143785
Merge branch 'develop' into branding 2022-05-07 10:00:09 -04:00
FutureRave
eb11652f2c
[Branding] Address review 2022-05-07 14:59:15 +01:00
Edo
099b779db2
Merge pull request #253 from diamante0018/elevators
Clarify some things in the elevators patch
2022-05-07 09:47:58 -04:00
Edo
4ad41c72b5
Merge pull request #256 from diamante0018/develop
[Bots] Add isBot GSC meth back
2022-05-07 09:47:06 -04:00
Edo
8578a936f2
Merge pull request #258 from diamante0018/time
Fix issue with get system milliseconds
2022-05-07 09:46:42 -04:00
m
413e26b2ae fix visible server list refreshing 2022-05-07 08:23:26 -05:00
Jan
c0b2ca0813 Fix knife charge not working anymore with gamepad patch enabled 2022-05-07 14:26:32 +02:00
FutureRave
ae8580079f
Fix issue with get system milliseconds 2022-05-07 01:17:15 +01:00
FutureRave
849b890a96
Get rid of direct checks of bistestclient 2022-05-07 00:49:29 +01:00
FutureRave
d75a5a71e5
[Bots] Add isBot GSC meth back 2022-05-05 23:48:33 +01:00
Jan
f9bfb0b883 replace spaces with tabs in gamepad patch 2022-05-05 21:42:15 +02:00
Jan
13911fcb62 Whenever a gamepad button is rebound with a menu bind field, set the button config to custom so gamepad config shows a changed button layout 2022-05-05 21:36:27 +02:00