Commit Graph

643 Commits

Author SHA1 Message Date
Vlad
367548e86e
Fallback fonts + localizations (#262)
* Fallback fonts + localizations

* cannot find address on h1 [skip]

* fix build

* fix language menu

* small fix

* improved regular font

* format LUI stuff [skip ci]

Co-authored-by: m <mjkzyalt@gmail.com>
2022-09-25 10:12:58 -05:00
fed
6dbb1c6312 Delete io.cpp 2022-09-23 20:25:19 +02:00
fed
2fa95b16e7 Gsc changes 2022-09-23 19:30:09 +02:00
m
d105d132c8 hehe 2022-09-12 16:03:46 -05:00
m
ad4736b71e add gsc io funcs 2022-09-12 15:51:23 -05:00
Skull
2c2e52d952 use command instead [skip ci] 2022-09-12 23:42:29 +03:00
Skull
3af7d507ff add lui_close command 2022-09-12 23:41:54 +03:00
quaK
faf8050c88 fix script main menu for controllers 2022-09-12 19:24:19 +03:00
quaK
7d8b9c6fb8 fix custom weapon index mismatch
fix for custom attachments
2022-09-12 04:33:58 +03:00
fed
29a29644c7 Remove this 2022-09-11 21:27:55 +02:00
fed
abb8cc7c0b Another fix 2022-09-11 20:50:12 +02:00
fed
a6fd9181a6 Update symbols.hpp 2022-09-11 20:45:32 +02:00
fed
2424a7a088 Small fix 2022-09-11 20:29:53 +02:00
fed
19c3219f96 Small fix 2022-09-11 20:13:56 +02:00
m
99b3831dd8 GSC support (#247)
Co-authored-by: Federico Cecchetto <fedecek3@gmail.com>
2022-09-11 12:40:27 -05:00
Federico Cecchetto
b1b6699435 Some fixes 2022-09-11 16:26:11 +02:00
m
10e1395de8 Mod downloading (#228)
* basic template for mod downloading

* better checks for unloading?

* Mod download stuff

* debug prints

* basic UI popup for mod downloading

* change notify location + abort download

* Prevent mods from loading lua files

* cleanup, fixes, mod aborting

* use correct pipelines

* change some messages

* fix mod downloading

* not a component

* fix hardcoded changes

Co-authored-by: Federico Cecchetto <fedecek3@gmail.com>
2022-09-11 08:09:50 -05:00
Federico Cecchetto
1f6622fce3 Use defines 2022-09-11 13:32:19 +02:00
Diavolo
0e62d816e8
fastfiles: Use defines instead of magic numbers 2022-09-11 12:55:40 +02:00
Federico Cecchetto
f1e261a7b3 Close fastfiles handles during update + fixes 2022-09-11 02:21:38 +02:00
fed
574ced26ed
Merge branch 'develop' into filesystem-and-mods 2022-09-10 21:00:23 +00:00
Federico Cecchetto
b36a26b81b Support loading fastfiles from appdata 2022-09-10 22:59:55 +02:00
m
e7972a270d register fs game path on fs startup [skip ci] 2022-09-09 20:38:04 -05:00
Skull
6b994def0d spacing? [skip ci] 2022-09-09 22:26:53 +03:00
Skull
3c370dd109 bdStats 2022-09-09 22:25:09 +03:00
Skull
53d5e87019 dw small changes 2022-09-09 22:05:12 +03:00
Skull
be6adbfe13 label some more 2022-09-09 17:30:58 +03:00
Skull
b9a7dc50a6 label demonware services and tasks 2022-09-09 17:06:54 +03:00
quaK
6b6aa66f93 small dw changes 2022-09-08 08:09:43 +03:00
quaK
dbd33c6392 fix stub return value 2022-09-08 07:32:29 +03:00
Skull
251144fa88 for now
for some reason values are changed back to the originals, needs small investigation.
2022-09-06 18:28:44 +03:00
Skull
79d52e4462 bruh 2022-09-06 17:46:12 +03:00
Skull
7b4c694add don't use this for wine for now 2022-09-06 17:39:58 +03:00
Federico Cecchetto
5e4310c494 Fix build 2022-09-04 04:28:19 +02:00
m
328e6c611a
Add legacy menus (#249)
* fix legacy menu files

* minor changes

* make setclientdvar behave more like older games

Co-authored-by: quaK <38787176+Joelrau@users.noreply.github.com>
2022-09-03 20:40:06 -05:00
m
4c081b1fee cleanup + fixes
i think our sys_createfile hook needs fixed
2022-09-03 17:57:24 -05:00
Vlad Loktionov
fbc5c9763f use the binary variable 2022-09-03 18:21:02 +03:00
m
22ca646021 appdata folder to h1 2022-09-03 06:03:27 -05:00
m
748ab6899e add new data directory, and update updater 2022-09-03 06:00:31 -05:00
m
b913ea7129 tiny changes 2022-09-03 05:25:59 -05:00
m
9fce064632 add mods menu in lobby 2022-09-03 05:06:45 -05:00
m
eba62a20ca fix fs_startup + fs_game file path 2022-09-03 04:50:08 -05:00
m
ddab3315cf fix system check [skip ci]
actually fix lmao
2022-09-03 02:48:19 -05:00
m
d7ffafd4e9 some h2 mod stuff i'm storing here temp 2022-09-03 00:23:04 -05:00
m
418c4bd34e
fix system check [skip ci] 2022-09-03 00:10:49 -05:00
m
99e047a8c9
Wine compatibility and patches (#219)
Co-authored-by: Skull <86374920+skkuull@users.noreply.github.com>
2022-09-02 21:54:39 -05:00
quaK
a5e91259a8 use tag_weapon when other tags aren't found 2022-08-30 19:23:41 +03:00
quaK
fa41a6a8d3 singleplayer mod stuff 2022-08-20 16:27:41 +03:00
m
9df6257732 move sol2 specific warning to where it's needed
https: //github.com/XLabsProject/iw6x-client/pull/638
Co-Authored-By: Edo <edoardo.sanguineti222@gmail.com>
2022-08-16 23:31:38 -05:00
m
690310fd76
allow loading of custom zones (basic mod support) (#172)
* allow loading of custom zones

* remove game::

* remove unnecessary hook

* mod support

- fs_game support
- precache all weapon files loaded in database
- parse startup variables correctly

Co-authored-by: quaK <38787176+Joelrau@users.noreply.github.com>
2022-08-16 17:23:36 -05:00
m
dc9a5b49f8
change macro [skip ci] 2022-08-16 01:30:44 -05:00
m
ead98780f7 only warn the user once 2022-08-14 17:01:02 -05:00
m
a7a0f03e54 warn if steam registry doesn't exists 2022-08-14 16:56:23 -05:00
Skull
a3072c68ae [skip ci] 2022-08-12 10:19:56 +03:00
m
a9d207d2f2
additional launcher changes (#210)
* format code to look nicer

* stay true to old style + about page changes

* stick to color scheme

* make green colored text easier to see
2022-08-07 19:51:27 -07:00
Skull
da04969f18 check if steam not found
Which also fixes the crash if steam was on login window
2022-08-04 10:36:43 +03:00
Skull
772af52ce3 more css edit 2022-08-04 10:24:16 +03:00
Skull
280e6593a8 new look 2022-08-04 09:48:09 +03:00
Andrew
c504fb6ec5
Fixed a typo (#209) 2022-08-04 01:13:55 -05:00
Andrew
0b7867fc28
Mid-Air Sprinting (#208) 2022-08-04 01:02:31 -05:00
Skull
f4d179eddb fix escape drawing symbols
which is now clears the console input
2022-07-28 00:50:09 +03:00
Skull
50ea7a0bea set comapsssize min to 0.1 2022-07-27 23:28:07 +03:00
Skull
36c5c8e103 use size_t 2022-07-27 09:25:55 +03:00
Skull
c7d9f74bc9 useless file [skip ci] 2022-07-23 23:48:38 +03:00
mjkzy
e2cd532c47 add a bunch of new tokens from gsc-tool
thank you to @xensik for getting these tokens
2022-07-19 23:08:31 -05:00
Skull
3a688e85c3 add gameTime 2022-07-19 18:06:13 +03:00
Skull
9f45ee322a sustainammo for sp 2022-07-18 06:14:35 +03:00
Skull
2bc11cec20 elevators for sp and list some dvars 2022-07-18 04:51:24 +03:00
Skull
c2a2c6f174 make mis_cheat saves 2022-07-18 04:34:32 +03:00
Federico Cecchetto
e89e46233e Limit lui obituary events 2022-07-08 02:18:13 +02:00
fed
524b477116
Merge pull request #164 from h1-mod/bots
custom bot names
2022-07-07 23:24:12 +00:00
m
771bfc1496
fix build 2022-07-07 16:07:16 -05:00
m
15166ed65c
remove prints left from testing 2022-07-07 15:50:29 -05:00
mjkzy
5dbf59c3c6 Revert "lowercase + add missing funcs/methods"
This reverts commit 7409203ab4.
2022-07-07 15:40:34 -05:00
mjkzy
4d05560d9d lowercase + add/fix tokens 2022-07-06 22:54:40 -05:00
mjkzy
7409203ab4 lowercase + add missing funcs/methods
1. gsc-tool says they do indeed exist, so I added them to the table
2. lowercased all funcs/methods
2022-07-06 22:49:08 -05:00
DoktorSAS
c73368e79d
Named and fixed tokens (#167) 2022-07-06 13:57:42 -05:00
mjkzy
112c5d070d use a normal text file instead 2022-07-06 10:35:38 -05:00
Federico Cecchetto
61d66e7998 Server list changes 2022-07-06 17:03:21 +02:00
mjkzy
4f6ff6c2e7 fix build by using std::string cast 2022-07-05 22:45:37 -05:00
mjkzy
8f2a010ea7 custom bot names 2022-07-05 22:18:12 -05:00
mjkzy
881e5ddbcb update protobuf + small changes
changes by @diamante0018 from https://github.com/XLabsProject/s1x-client/pull/369
2022-07-04 22:51:57 -05:00
mjkzy
4ba78e9d34 fix cg fov check
"I discovered if a server is modified to send a server command to change the fov that is like "Cg_FoV" this check is rendered useless." credit to @diamante0018
2022-07-04 22:30:48 -05:00
Skull
b07483f08b Merge branch 'develop' of https://github.com/h1-mod/h1-mod into develop 2022-07-04 02:52:12 +03:00
Skull
580b8138cd label "mis_cheat" 2022-07-04 02:52:07 +03:00
ジョク アーウェント
bc5a3c2f3e
Disable useless things (#153) 2022-07-03 11:19:57 -05:00
Federico Cecchetto
51ecb9fa35 Fix spectator bug 2022-07-01 22:24:13 +02:00
DoktorSAS
04cfbfc752 Named some tokens and method (#139) 2022-06-30 12:59:26 -05:00
mjkzy
9a80d73f7c use iw5-script's http methods 2022-06-30 12:15:49 -05:00
mjkzy
47942bab95 add http to lua [skip ci]
NOTE: THIS IS NOT WORKING IN ITS CURRENT STATE, i just need somewhere to put this for now
2022-06-30 10:03:41 -05:00
Skull
d4eaf61744 remove fullbright 4
Removed due to smoke exploit
2022-06-28 22:07:23 +03:00
Skull
3a105986f1 comment worthy [skip ci] 2022-06-28 21:49:36 +03:00
Skull
74ef6fee5f fix vid_restart crash 2022-06-28 21:48:46 +03:00
Skull
45deaa2130 remove fullbright 2
Removed due to smoke exploit
2022-06-28 21:45:59 +03:00
Skull
87f4f0d7cd Revert "cheat protect fullbright"
This reverts commit 1c0b9c0aae.
2022-06-28 21:39:15 +03:00
mjkzy
1c0b9c0aae cheat protect fullbright 2022-06-28 11:53:47 -05:00
mjkzy
02f4173142 fix build :P 2022-06-28 03:01:39 -05:00
mjkzy
44fd0a8cb0 fix tokens + add a few tokens 2022-06-28 02:35:41 -05:00
DoktorSAS
884a6f6a9d
files naming and level variables naming (#121) [skip ci]
"Conforntate with the iw6 dump using the h1 1.04 dump. 
I verified with mikz's new dump."
2022-06-28 02:26:07 -05:00
mjkzy
c1b2c4c669 fix a future crash report 2022-06-28 00:42:34 -05:00
mjkzy
5c61e2a940 stop game from modifying mic volume 2022-06-28 00:36:27 -05:00
mjkzy
648b3da1ee fix build 2022-06-27 19:34:14 -05:00
mjkzy
cf8a47fd5f uncheat 2 more dvars for #120 2022-06-27 19:02:41 -05:00
mjkzy
ccd4212ba6 uncheat protect gamepad-related dvars #120 2022-06-27 18:45:05 -05:00
Federico Cecchetto
35e2540398 Small fix 2022-06-27 21:31:19 +02:00
mjkzy
5159799e66 fix tokens + add new tokens class related 2022-06-27 09:05:11 -05:00
mjkzy
9bb64b7dc0 add a few more tokens for fun [skip ci] 2022-06-26 21:17:20 -05:00
Vlad
60c3e04180
Copyright text fix (#109)
* Copyright text fix

* Add files via upload

* Add files via upload
2022-06-26 19:01:19 -05:00
mjkzy
eef386c29a get rid of useless function 2022-06-26 16:56:59 -05:00
Federico Cecchetto
1b6442fc9e Show player/server count in server list 2022-06-26 23:25:04 +02:00
Federico Cecchetto
b12a763367 Fix build 2022-06-26 23:17:23 +02:00
Federico Cecchetto
ed7decf8a9 Use curl 2022-06-26 23:07:25 +02:00
Federico Cecchetto
3b925519ad Fix game message overflow 2022-06-26 21:28:07 +02:00
Skull
57b65e9e88 Revert "hide h1-mod branding via dvar"
This reverts commit d63a9a6d75.
2022-06-26 21:14:01 +03:00
Skull
d63a9a6d75 hide h1-mod branding via dvar 2022-06-26 20:43:07 +03:00
m
8bc31f26ff
Merge pull request #106 from DoktorSAS/patch-4
named some functions + tokens, and fixes
2022-06-26 11:29:40 -05:00
mjkzy
9cfe545223 tokens from gametype/map scripts/fixes 2022-06-26 11:28:19 -05:00
mjkzy
35b1fd5274 fix garbage buffers in errors & replace calls 2022-06-26 10:44:06 -05:00
DoktorSAS
27574b0c17
Named some functions
Just some missing function
2022-06-26 16:10:03 +02:00
Skull
ec174e0fe8 vector add
also removes a dummy duplicate, nice catch Diamante
2022-06-26 02:07:55 +03:00
Federico Cecchetto
100924bc59 Better fix 2022-06-25 22:40:37 +02:00
Federico Cecchetto
98fbfb4709 Workaround for #98 2022-06-25 22:06:25 +02:00
Federico Cecchetto
853cfe4dca Show this error too 2022-06-25 21:06:14 +02:00
Federico Cecchetto
063c595bb5 Add isPrivate to server info 2022-06-25 20:20:48 +02:00
mjkzy
517e134f82 heartbeat sending print [skip ci] 2022-06-25 12:30:35 -05:00
Federico Cecchetto
0f8499a9b9 Fix master server dvars 2022-06-25 18:48:47 +02:00
Federico Cecchetto
28b4514342 Always show updater errors 2022-06-25 18:36:23 +02:00
Federico Cecchetto
a91cb5c8e7 Fix images 2022-06-25 18:03:57 +02:00
mjkzy
4963b5f7d0 memoryfix for SP 2022-06-25 09:04:44 -05:00
m
b6d41f0c17
master server dvars (#96)
* add master_server_ip & master_server_port

* fix build

* fix dvars crashing game
2022-06-25 07:03:11 -05:00
Skull
6945809e70 add sp address 2022-06-25 05:44:31 +03:00
Skull
f51ad6e4c3 branding 2022-06-25 05:28:46 +03:00
Skull
1ae23a3cb9 spacing [skip ci] 2022-06-25 05:05:31 +03:00
Skull
deed3420a0 better look [skip ci] 2022-06-25 05:04:38 +03:00
mjkzy
0aea357108 nicer formatting [skip ci] 2022-06-24 20:53:32 -05:00
mjkzy
ab8144a494 add additional help to common errors 2022-06-24 20:45:02 -05:00
Federico Cecchetto
01501b4b56 Merge branch 'develop' of https://github.com/h1-mod/h1-mod into develop 2022-06-25 03:05:50 +02:00
Federico Cecchetto
141c09d9db Fix gamepad related crash 2022-06-25 03:05:42 +02:00
mjkzy
14e7628588 show missing fastfile for missing content error 2022-06-24 19:59:11 -05:00
Federico Cecchetto
1eebe439f5 Better aslr patch errors 2022-06-25 00:10:45 +02:00
Federico Cecchetto
17d4e4d35a Add entity overflow patch 2022-06-24 22:38:18 +02:00
Skull
f8de50193f change multiplayer image 2022-06-24 18:40:20 +03:00
Skull
dad2c1226c Revert "allow unranked servers"
This reverts commit 8c9ea13e62.
2022-06-21 21:46:24 +03:00
Skull
8c9ea13e62 allow unranked servers 2022-06-21 21:20:55 +03:00
Skull
65823d0625 shift+tab feature 2022-06-21 19:30:26 +03:00
Skull
ef01673425 better look 2022-06-21 16:46:40 +03:00
Federico Cecchetto
14b9cf89c7 Update function_tables.cpp 2022-06-20 00:04:10 +02:00
Federico Cecchetto
9e55d1d199 Update function_tables.cpp 2022-06-19 23:42:30 +02:00
Skull
06169dd91b bouncing from all angles 2022-06-16 01:03:05 +03:00
Federico Cecchetto
190c16606f Useful commit 2022-06-14 18:26:04 +02:00