Commit Graph

3017 Commits

Author SHA1 Message Date
Diavolo
fc7b109318
[Dvar]: Protect special dvar 2022-12-26 21:24:46 +01:00
Edo
98a61ee9ed
[Debug]: Draw lines from riot shield (#670) 2022-12-26 15:14:22 +01:00
Edo
f70c02b42e
[Scheduler]: Use enum class & more (#669) 2022-12-26 13:07:24 +01:00
Edo
0539fe3e24
[Exception]: Remove this (#668) 2022-12-25 19:38:43 +01:00
Edo
01a629d02b
[General]: Fix some things (#667) 2022-12-25 18:23:53 +01:00
Edo
79758e1752
[Bots]: Fix code style mistake (#666) 2022-12-24 22:21:18 +00:00
Edo
9f67a4f62d
[Bots]: Add requested feature (#665) 2022-12-24 23:14:47 +01:00
Edo
2698921382
[Entities]: Remove bruh code (#664) 2022-12-24 21:16:01 +00:00
Louve
6958316fe4
Zonebuilder directory for support zones (#662)
Co-authored-by: Louvenarde <louve@louve.systems>
Co-authored-by: Diavolo <edoardo.sanguineti222@gmail.com>
2022-12-24 20:41:23 +00:00
Louve
6692e99d86
Add cod4 map to dlc list (and absolutely nothing else) (#663)
Co-authored-by: louve <louve@louve.systems>
Co-authored-by: Diavolo <edoardo.sanguineti222@gmail.com>
2022-12-24 20:23:33 +00:00
Edo
a4a622be52
[System]: Correct one function (#660) 2022-12-19 17:57:13 +00:00
Edo
02db63cc36
[Sys]: Format code (#658) 2022-12-19 15:01:37 +01:00
Edo
d8166a4166
[Threading]: Initialize tls stuff, making va thread safe (#657) 2022-12-18 21:47:59 +00:00
Edo
24ccd9af3b
[String]: Use ARRAY_COUNT (#656) 2022-12-17 17:54:41 +00:00
Louve
54aabee08d
Fix zonebuilder FindAsset always returning -1 (not found) even when t… (#655)
Co-authored-by: Louvenarde <louve@louve.systems>
Co-authored-by: Edo <edoardo.sanguineti222@gmail.com>
2022-12-17 16:52:00 +01:00
Diavolo
fdd02e2b8d
[RCon]: Tidy up code 2022-12-16 22:48:52 +01:00
Louve
3cdd4d0636
Draw model name in its ground color if relevant (#651)
Co-authored-by: Diavolo <edoardo.sanguineti222@gmail.com>
2022-12-16 14:55:50 +00:00
Edo
b4750b14b1
[Dvar]: Remove cheat protection from useful dvar (#647) 2022-12-15 16:10:25 +00:00
Edo
3622946a10
[Refactor]: Use enum instead of int to catch mistakes (#646) 2022-12-15 15:38:50 +00:00
Edo
ab0da964ee
[Bots]: Support clantags (#645) 2022-12-15 16:13:49 +01:00
Edo
d1efb1e219
[Threading]: VA is already thread safe (#644) 2022-12-15 16:06:28 +01:00
Edo
34b92abd97
[Menus]: Remove calls to free menus (#642)
It may cause a crash and does not even take a dent in the massive memory leak.
2022-12-14 21:10:48 +00:00
Diavolo
6f0438631f
[Menus]: Disable this code too 2022-12-14 12:44:06 +01:00
Diavolo
e30bde8458
[Menus]: Cleanup 2022-12-14 12:31:03 +01:00
Edo
873f54c7a3
[Main]: Remove bugged code. (#640) 2022-12-14 10:26:04 +00:00
Louve
f91fa0d0b2
Big zonebuilder update (#427) 2022-12-14 08:40:15 +00:00
Edo
ac90714811
[General]: Use std::format more often (#635) 2022-12-11 17:54:24 +00:00
Edo
fc97944a12
[MapRotation]: Port changes from S1x (#629) 2022-12-06 21:18:29 +00:00
Edo
3f06eb8eb9
[Weapon]: Move fix here (#627) 2022-12-06 14:42:09 +00:00
FutureRave
c6b3e88938
[Main]: Improve error message 2022-12-06 13:05:03 +00:00
Edo
b8b9391332
[UI]: Fix bug (#625) 2022-12-05 19:34:24 +00:00
Edo
210873499c
[Theatre]: Cleanup (#624) 2022-12-05 18:45:14 +00:00
Edo
72460032ae
[Zone🅱️uilder]: Port over json parsing of loc strings (#621) 2022-12-04 00:15:46 +00:00
Edo
5eec7687be
[Zone🅱️uilder]: Delete 'uncompressed' file (#620) 2022-12-02 19:18:04 +00:00
FutureRave
2ef78d5042
[Download]: Use auto keyword 2022-12-01 18:33:32 +00:00
FutureRave
becfbe42fa
[Download]: Use filesystem library for paths 2022-12-01 18:24:44 +00:00
FutureRave
0156f106b9
[Zone🅱️uilder]: Remove + 1 2022-12-01 15:01:30 +00:00
Edo
ee2d12e404
[RawFile]: Remove copy & pasted code 2022-12-01 14:55:25 +00:00
FutureRave
1283abc4e7
[RawFiles]: Actually fix parse code 2022-12-01 14:46:18 +00:00
Edo
7778798f17
[Zone🅱️uilder]: Fix rawfiles (#614) 2022-12-01 14:04:30 +00:00
Edo
874a8027af
[Vote]: Add menus (#613) 2022-12-01 00:00:18 +00:00
Edo
845b9e0341
[Script]: Use .at instead of [] (#611)
* [Script]: Use .at instead of []

* [Script]: Fix typo
2022-11-29 16:01:20 +00:00
Edo
b195d96abb
[GSC]: Script aliases (#610) 2022-11-29 08:18:10 -06:00
Edo
c3d6b20644
[Command]: Fix definition of Cmd_AddCommand (#609) 2022-11-28 23:15:21 +00:00
FutureRave
0642eed7bc
[General]: Correct function definition 2022-11-28 22:04:57 +00:00
Edo
a447a2945a
[Menus]: Fix crashes while parsing (#607) 2022-11-28 18:06:42 +00:00
FutureRave
70ff8d3aa3
[Zone🅱️uilder]: Fix typos 2022-11-28 17:30:17 +00:00
Edo
49d5e84372
[Script]: Add method to clear text in HudElems (#604) 2022-11-27 19:20:07 +00:00
FutureRave
0b2cca4cb6
[Download]: Update Download.cpp 2022-11-26 19:28:49 +00:00
FutureRave
5f14a73968
[Party]: Fix bug 2022-11-26 19:18:41 +00:00
FutureRave
365b287013
[Script]: Fix asm stub again 2022-11-26 18:07:49 +00:00
Edo
44098c51cd
[General]: Remove unnecessary global header (#600)
* [General]: Remove unnecessary global header

* [ServerList]: Fix comp
2022-11-26 17:38:34 +00:00
FutureRave
2d71174ed4
[Threading]: Removing this was not a good idea 2022-11-26 15:50:33 +00:00
FutureRave
720ee9730c
[Script]: Fix asm 2022-11-25 23:28:20 +00:00
FutureRave
e1e67a3ea9
[Memory]: Remove nullptr check before std::free 2022-11-25 22:37:49 +00:00
FutureRave
4a677c5d08
[ScriptStorage]: Allow users to load the storage file 2022-11-25 18:33:53 +00:00
FutureRave
a4946981a1
[LargeLocal]: Tabs vs Spaces 2022-11-25 13:45:23 +00:00
FutureRave
3a48855698
[LargeLocal]: CanUseServerLargeLocal 2022-11-25 13:22:42 +00:00
FutureRave
af6958bba1
[Script]: Add IsSprinting & more 2022-11-24 15:30:06 +00:00
Edo
dc7f6a9f6a
[PlayerMovement]: Re-write stubs (#586) 2022-11-23 15:19:47 -06:00
FutureRave
d60910c5d1
[Cache]: Remove unused code 2022-11-23 16:36:07 +00:00
FutureRave
9b903f64e4
[Changelog]: Re-order urls 2022-11-23 15:31:48 +00:00
Edo
c38a258102
[WebIO]: Fix Crash (#580) 2022-11-22 21:02:10 +00:00
Edo
e8e1543cea
[Utils]: Re-order namespaces (#576)
* [Utils]: Re-order namespaces

* [Steam]: Fix comp
2022-11-22 08:09:25 -06:00
Edo
6a8088281f
Refactor IO (#575)
* [IO]: Use filesystem where possible

* [Library]: One small thing
2022-11-22 00:34:17 +00:00
FutureRave
c136b6fcac
[Proxy]: Refactor some code 2022-11-22 00:02:57 +00:00
FutureRave
0593d890da
[Debug]: Refactor the crit sections class wrapper 2022-11-21 23:22:52 +00:00
FutureRave
d2686071aa
[Proxy]: Fix 2022-11-21 23:08:06 +00:00
Edo
7a2f72f69c
[Logger]: Refactor pipe (#570)
* [Logger]: Refactor pipe

* [Logger]: Remove unused function
2022-11-17 23:06:47 +00:00
Edo
2919bc1e76
[Localization]: Remove redundant specifier 2022-11-17 12:03:06 +00:00
FutureRave
7414ceef44
[Zone🅱️uilder]: Add .str parsing 2022-11-16 17:25:21 +00:00
Edo
56baaaf0f5
[Chat] Add missing server is not running warning (#567)
* [Dedicated] Is running function

* [Dedicated]: Better func
2022-11-15 16:18:00 -06:00
Edo
2acd584723
[Threading]: Attempt to resolve a crash... (#561)
* [Threading]: Attempt to resolve a crash...

* [Main]: Add srand

* [General]: Use std::

* [Party]: Fix legacy q3 protocol
2022-11-10 16:35:57 +00:00
FutureRave
cf57918d50
[Localize] Remove patch that double loads str files 2022-11-09 15:22:35 +00:00
FutureRave
59abd48b9c
[Structs] Cleanup 2022-11-09 12:54:30 +00:00
dependabot[bot]
0301204da5
Bump deps/mongoose from e580d4e to eed25f2 (#558)
* Bump deps/mongoose from `e580d4e` to `eed25f2`

Bumps [deps/mongoose](https://github.com/cesanta/mongoose) from `e580d4e` to `eed25f2`.
- [Release notes](https://github.com/cesanta/mongoose/releases)
- [Commits](e580d4e637...eed25f23f6)

---
updated-dependencies:
- dependency-name: deps/mongoose
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Download.cpp

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Edo <edoardo.sanguineti222@gmail.com>
2022-11-09 09:41:36 +00:00
Edo
c72c5c62e8
[RawFiles] Load info strings from raw (#557) 2022-11-09 01:31:46 +00:00
dependabot[bot]
dc251326d6
Bump deps/mongoose from 1f85fcc to e580d4e (#555)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Edo <edoardo.sanguineti222@gmail.com>
2022-11-08 21:25:43 +00:00
Edo
207835be4e
[Ceg]: Update (#554) 2022-11-08 00:19:17 +00:00
Edo
e96c4029b8
utils: remove double allocation for env variable (#552) 2022-11-07 11:13:13 +00:00
Edo
0d22bc482a
[Slowmotion] Cleanup functions defs (#551) 2022-11-04 00:28:44 +00:00
Edo
314e4efd55
Fix crash in Dvar_EnumToString (#548) 2022-11-02 13:40:45 +00:00
Edo
ed3217794e
[Chat] Fix logic error in chat code (#547) 2022-11-01 23:23:25 +00:00
FutureRave
fe1b2f41b0
Remove unnecessary static_cast 2022-10-31 14:49:30 +00:00
Edo
41e7d1c37f
[Deps] Update Mongoose (#540) 2022-10-28 11:52:34 +01:00
Edo
c946e26467
Keep Curses Headers to the Console Module (#539) 2022-10-27 00:48:33 +01:00
Edo
83e924201c
[Party] Remove doubly added backslash (#537)
* [Party] Remove doubly added backslash

* [ServerInfo] Add version to the info endpoint
2022-10-23 14:40:26 +01:00
Edo
29e6d2afff
[Proto] Update source file (#535) 2022-10-20 16:06:29 +02:00
Edo
a44a3680af
[RCon] Re-organize code for redability (#533) 2022-10-19 15:28:53 +01:00
Edo
c7ae27a664
[Json] Sorround with try/catch (#531)
* [Json] Sorround with try/catch

* Minor format fix
2022-10-16 16:17:42 +01:00
Edo
8adec3e678
[Monitor] Yeet (#529) 2022-10-15 20:31:16 +00:00
FutureRave
b7e6662e6b
got -> itr 2022-10-14 22:56:09 +01:00
Edo
60db18f9a3
[Ceg] Another CEG function (#517) 2022-10-10 09:07:42 -04:00
Edo
a710855f9d
[SlowMotion] Change Hook (#516)
* [Slowmotion] Remove hook

* [SlowMotion] Nop the call
2022-10-09 19:46:53 +01:00
Edo
d48a6c073e
[Structs] Fix logfile definitions (#515) 2022-10-09 19:40:17 +01:00
Edo
6bca6f9df9
[GSC] Add back fileremove (sandboxed!) (#509) 2022-10-04 22:56:42 +01:00
Diavolo
a41054e36a
[Party] Fix 2022-09-24 19:04:37 +02:00
Louve
ea09208b2a
Cool console! (#477)
* Cool console!

* Debug-specific colors

* Fix release build

* Clear text "as we go"

* dpi awareness :>

* Address diamante'"s formatting review

* Addressed review, added font license

Co-authored-by: rackover <roxanne@thegamebakers.com>
Co-authored-by: Louvenarde <louve@louve.systems>
2022-09-20 19:33:21 +03:00
Edo
b886ca9a4d
[Premake5] Update Binary (#492)
* [Premake5] Update Binary

* [IMaterial] Fix obscure compilation error
2022-09-14 00:06:56 +02:00
Edo
e49194ff65
Feature/set get stat (#485)
* [Script]: GetStat & SetStat from CoD4(x)

* [Stats] Remove limitation

* [Bullet] Clean this up
2022-09-13 20:39:45 +02:00
Edo
db84f7c82d
Update Menus.cpp 2022-09-08 21:38:14 +02:00
Edo
2b774b6c41
[General] Small cleanup (#479)
* [General] Small cleanup

* [Bots] Use ZeroMemory
2022-09-08 17:11:54 +02:00
Edo
c890b4c8a4
Fix bug with Auth (#478) 2022-09-06 14:06:29 +02:00
Edo
7a5e3f3df4
[Debug] Remove faulty hook (#476) 2022-09-05 18:28:07 +02:00
Diavolo
b95e2da341
[Voice] Use regular heap alloc instead of large local 2022-09-04 10:49:54 +02:00
Dss0
c2c7d1187e
Merge pull request #471 from diamante0018/feature/entitydump-csv
[ClientCommand] Add entity dump function
2022-09-03 22:40:33 +02:00
Diavolo
ab18ad501c
fix loc bug 2022-09-02 10:27:44 +02:00
Diavolo
c2f4c30a5f
[ClientCommand] Add entity dump function 2022-09-01 16:54:28 +02:00
Diavolo
4955105dc3
[Localization] Use _TRUNCATE where appropriate 2022-08-31 23:11:46 +02:00
Diavolo
a577f76a37
[Localization] Add simple error message 2022-08-31 22:36:22 +02:00
Diavolo
d90d8985ff
[Localization] Move patch here 2022-08-31 22:21:26 +02:00
Diavolo
d0932060b4 Fix bug in localized strings code 2022-08-31 17:44:19 +02:00
Diavolo
0a1c1209bb [Structs] Update dvar 2022-08-31 17:44:19 +02:00
Edo
def50477fb
[Chat] Move chat commands here (#462)
* [Chat] Move chat commands here

* [General] Rename Cbuf_AddServerText to Cbuf_AddServerText_f
2022-08-27 23:19:09 +02:00
Edo
78e495f9f2
Wide apply env (#460)
* Wide apply env

* [MapRotation] Use std::format where possible
2022-08-26 20:12:26 +02:00
Diavolo
e0ea52a496
[Gamepad] Fix comp 2022-08-25 00:01:49 +02:00
Diavolo
f0258631b2
[Vote] Improvements and other things 2022-08-24 23:46:07 +02:00
Diavolo
8d351fb205
[Vote] Replicate g_allowVote 2022-08-24 17:59:45 +02:00
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
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