Commit Graph

2704 Commits

Author SHA1 Message Date
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
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
ba314a4e00
[General] Swap two flags around & guess name of two dvars 2022-06-18 20:00:03 +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