Commit Graph

2083 Commits

Author SHA1 Message Date
momo5502
339b05f8a7 Rcon tests. 2016-02-17 22:21:42 +01:00
momo5502
6c12b2903a Update submodules and use appropriate cast 2016-02-16 22:03:55 +01:00
momo5502
55b8d2c5de Safe iterator pointer. 2016-02-15 20:32:41 +01:00
momo5502
8b932677f5 Fix bad addresses. 2016-02-15 20:28:01 +01:00
momo5502
e6158199f5 Load node preset. 2016-02-15 19:40:11 +01:00
momo5502
5ea5a88daf Update nodes. 2016-02-14 17:05:42 +01:00
momo5502
f18924ab80 Disallow changing names. 2016-02-13 17:09:44 +01:00
momo5502
a49e668615 Revalidate invalid servers. 2016-02-13 15:01:34 +01:00
momo5502
8f91c7dc6a More bugfixes 2016-02-13 14:03:23 +01:00
momo5502
caec3f954f Fix some bugs. 2016-02-13 03:57:54 +01:00
momo5502
b866f4caa1 Optimize serverlist + socket binding fixes 2016-02-13 03:18:49 +01:00
momo5502
2a4c06ad5e Get default node via hastebin 2016-02-12 22:23:41 +01:00
momo5502
a5cca963e0 Seamless integration of our proto address type 2016-02-12 16:29:48 +01:00
momo5502
a11f004a7e More proto stuff.
We should add a version identifier before releasing!
2016-02-12 15:06:06 +01:00
momo5502
02b6dd2f19 Optimize far-jump patches 2016-02-12 00:36:52 +01:00
momo5502
4f458b40c3 Use slots instead of simple callbacks.
Need to wait till my second pull request gets accepted though, to be able to compile the code.
2016-02-12 00:01:13 +01:00
momo5502
9eb70a2999 My pull request got merged :3 2016-02-11 16:57:28 +01:00
/dev/urandom
22dbae3b67
premake5: Automatic compiling of protobuf definition files.
- Added custom rules for *.proto files to iw4x
- Added a workaround for protoc output not being automatically included
- Disable precompiled headers for protobuf generated sources
- Moved inclusion of node.pb.h out of STDInclude.hpp to only where it's necessary (WTF @momo5502)
- Removed protobuf-generated code from "protobuf" external project
- Removed protogen.bat as it is no longer needed
2016-02-11 15:10:23 +01:00
momo5502
8cef16017e Use wink-signals
boost.signals sadly requires way too many dependencies, libsigc++ requires too much configuration and all the other libs I tested mostly required constexpr as callbacks (due to passing callbacks via template list), which doesn't server this purpose, so wink-signals seems just about right for what we do.
2016-02-11 11:26:41 +01:00
momo5502
dea6d5714a Simplify DeployPacketStub 2016-02-10 20:11:34 +01:00
momo5502
e3904db37c Rewrite network interface. 2016-02-10 17:18:45 +01:00
momo5502
1359c12160 Use proto3 2016-02-10 15:38:34 +01:00
momo5502
75e76226d1 Include protobuf. Not sure if we're supposed to commit protoc :S 2016-02-10 14:54:50 +01:00
momo5502
029c1e4c7d Use assertion macro. 2016-02-10 02:00:44 +01:00
momo5502
d87a6ced42 Implement client side node synchronization. 2016-02-10 01:22:00 +01:00
momo5502
40d6c6d715 Rewrote node system to register using ECDSA signatures. 2016-02-09 22:13:49 +01:00
momo5502
87c239a1dc Fix cryptography memory leaks :P 2016-02-08 18:43:31 +01:00
momo5502
4d36a0b9ed ECDSA and PRGN stuff. 2016-02-08 14:27:15 +01:00
momo5502
ebc784c51d Use @dasfonia's dvar name. 2016-02-08 02:48:11 +01:00
momo5502
2637f51174 Server color. 2016-02-08 02:09:55 +01:00
momo5502
0602c8e762 Fading color. 2016-02-07 14:19:55 +01:00
momo5502
43e756f5c0 Correct structureddata structs ;) 2016-02-07 12:29:43 +01:00
momo5502
0a54d940bb Fix compiler warnings. 2016-02-07 02:31:30 +01:00
momo5502
4a5743c67b Regularly store nodes. 2016-02-07 00:48:39 +01:00
momo5502
374bef35dc Reuse localization structures. 2016-02-06 19:22:40 +01:00
momo5502
4a1ca56a3b Add new color codes. 2016-02-06 19:09:41 +01:00
momo5502
c1ef716e5c Structureddata stuff. Not the best implementation, but better than our old one :P 2016-02-06 13:37:23 +01:00
momo5502
b4be34c8a8 Penis. 2016-02-06 01:01:33 +01:00
momo5502
17f5c5e436 Use text styles. 2016-02-05 18:13:34 +01:00
momo5502
497a4ecefb Some fixes. 2016-02-05 13:10:22 +01:00
momo5502
70d49efac5 Optimize unit tests. 2016-02-05 00:33:06 +01:00
momo5502
59c1ef8fc1 Fix version parser (jenkins) 2016-02-04 23:19:20 +01:00
momo5502
6dd250259c Fix unit testing stuff for release configurations. 2016-02-04 22:13:31 +01:00
momo5502
ad1e25bd56 Update submodules and include some unit testing code. 2016-02-04 21:58:49 +01:00
momo5502
dcd46633ca Check if zone is loaded. 2016-02-03 22:01:10 +01:00
momo5502
69bdda10f2 Format some stuff. 2016-02-03 21:30:05 +01:00
momo5502
0f5f266ea5 Correctly unload zones. 2016-02-03 21:23:07 +01:00
momo5502
7bd8feff5d Implement node serverlist for the client. 2016-02-03 20:10:54 +01:00
momo5502
a9ecaf139f Allow loading up to 10 maps simultaneously (for zone building!) 2016-02-03 12:20:21 +01:00
momo5502
2a29232a6f Node invalidation security stuff. 2016-02-01 21:59:45 +01:00
momo5502
ad6220fa0b RSA signature stuff. 2016-02-01 10:23:06 +01:00
momo5502
2706e50881 libtommath is faster than tomsfastmath (oh, irony :P) and fixes issue 2016-01-31 21:53:51 +01:00
momo5502
e43444738c Stuff seems to take years to compile on release :/ Might wanna switch to openssl, crypto++ or some other rsa lib. 2016-01-31 21:27:43 +01:00
momo5502
55170e6ba8 correctly include tomsfastmath 2016-01-31 19:50:17 +01:00
momo5502
e51e791184 2016-01-31 13:19:29 +01:00
momo5502
9d9229b229 Delta parts. Not sure if correct, as I haven't tested it yet. My head still hurts :P 2016-01-30 12:22:37 +01:00
momo5502
fb7879e2c6 Node optimization 2016-01-29 03:49:51 +01:00
momo5502
91826963cd Separator check for network stuff. 2016-01-29 03:18:58 +01:00
momo5502
c83fab449a Nodes use network order for ports. 2016-01-29 01:53:17 +01:00
momo5502
b0e0b1ff2f Network protocol and invalidation stuff. 2016-01-28 23:36:57 +01:00
momo5502
b350c3774b More node stuff. 2016-01-28 21:37:48 +01:00
momo5502
e79ac58f8e Fix crash for missing assets. 2016-01-28 17:58:35 +01:00
momo5502
23b8a60765 Don't load custom fastfiles for zonebuilder. 2016-01-28 17:49:33 +01:00
momo5502
c4daed0bad Node stuff. 2016-01-28 17:30:32 +01:00
momo5502
da74627af3 Experimental node stuff 2016-01-28 16:19:43 +01:00
momo5502
73ed335b11 Fixes and shit. 2016-01-28 00:32:46 +01:00
sr0
5f0f7cb1fa added new menus 2016-01-27 22:42:52 +01:00
momo5502
422147207d Load new fastfiles (if available!) 2016-01-27 10:54:29 +01:00
momo5502
13bf9d2b79 Fix rawfile stuff (TODO: Implement correct compression!) 2016-01-27 03:02:42 +01:00
momo5502
f9c087e012 Rawfile loading for zone. 2016-01-27 02:22:07 +01:00
momo5502
082c950d1b -version flag for jenkins. 2016-01-27 01:48:37 +01:00
momo5502
e2b0ec6dd5 Don't load weapons fastfile for now. 2016-01-27 01:35:17 +01:00
momo5502
4a5e543442 Don't execute configs for dedi and zonebuilder. 2016-01-27 01:33:13 +01:00
momo5502
b819f7e68e Use localized string for motd (async). 2016-01-27 00:50:20 +01:00
/dev/tty0
b1e16f70e7 add web2tor 2016-01-26 23:56:49 +01:00
momo5502
5476bc06a2 Fix hostmigration bug. 2016-01-26 22:56:28 +01:00
momo5502
599d7c692e XAnim tests. 2016-01-26 19:54:39 +01:00
momo5502
9cd0624f88 XModel stuff 2016-01-26 16:12:41 +01:00
momo5502
19a4c62617 Use static cast and check binary. 2016-01-26 01:41:21 +01:00
momo5502
86e1faabc3 XModel stuff, unfinished. 2016-01-25 23:47:50 +01:00
momo5502
ba3187ce9e More optimization. 2016-01-24 21:08:14 +01:00
momo5502
388d5836cd Optimize loops. 2016-01-24 19:58:13 +01:00
momo5502
0a68ff2dff Correct packet sending. 2016-01-24 16:57:16 +01:00
momo5502
77be8fb151 Comments. 2016-01-24 13:54:36 +01:00
momo5502
7db2956e45 Fix entry point. 2016-01-24 13:44:42 +01:00
momo5502
a3ee040a20 Fix release builds. 2016-01-24 13:06:52 +01:00
momo5502
378ec87619 More assertions. 2016-01-24 12:56:38 +01:00
momo5502
c8c95df8b0 Line break :D 2016-01-24 12:34:29 +01:00
momo5502
d28323f73e Optimizations
- Increase warning level
- Use proper casting
- Fix some more warnings.
2016-01-24 12:19:34 +01:00
momo5502
a4bc6ee8d5 Optimization. 2016-01-22 20:49:52 +01:00
momo5502
c55c3b7364 Animated material support. 2016-01-22 20:26:00 +01:00
momo5502
bf80c3fd61 Material fixes. 2016-01-22 18:10:45 +01:00
momo5502
9449750aab Allow building custom materials and images. 2016-01-22 16:11:47 +01:00
momo5502
f509e67953 Various fixes and optimizations. 2016-01-22 13:18:26 +01:00
momo5502
ac4548f4c2 Build materials. 2016-01-22 11:59:43 +01:00
momo5502
7e8663604b Some changes. 2016-01-21 01:01:22 +01:00
momo5502
1b572511da Prevent zonebuilder and dedi conflicts. 2016-01-17 12:57:42 +01:00
momo5502
4bbe670c32 Fix warning stuff and issue 2016-01-17 12:31:56 +01:00
momo5502
d921388e62 curses tests. 2016-01-17 00:22:08 +01:00
momo5502
5a5e149b3a Include curses. 2016-01-16 23:48:52 +01:00
momo5502
340113a366 Update maptest. 2016-01-16 20:18:27 +01:00
momo5502
91a249380b Add debug branding. 2016-01-16 15:03:09 +01:00
momo5502
e884ae672a Idea concerning issue 2016-01-16 13:25:39 +01:00
momo5502
685aeaba12 MEGA FAIL!
This really disables stringtables.
2016-01-16 13:20:22 +01:00
momo5502
4ee5e97224 Disable StringTable loading. 2016-01-16 13:18:22 +01:00
momo5502
c72e665c8f Cleanup + full and (hopefully) final fix 2016-01-16 13:14:18 +01:00
momo5502
6fa0a743d8 #40 Experiments. 2016-01-16 13:11:00 +01:00
momo5502
32088789ef ^MIght have to reopen issue :/ 2016-01-15 23:59:15 +01:00
momo5502
710af7e5ac rename stresstest. 2016-01-15 23:00:42 +01:00
momo5502
0050429654 Various fixes and stuff. 2016-01-15 22:51:47 +01:00
momo5502
5ad9fdf914 Fully 2016-01-15 19:39:33 +01:00
momo5502
6722c5f82b Fix connect issue 2016-01-15 19:23:07 +01:00
momo5502
eaeaa28d23 Temporary fix for the connect menu, but it doesn't solve the actual problem! 2016-01-15 00:26:28 +01:00
momo5502
96f61750ba More attempts at fixing connect stuff. 2016-01-15 00:20:37 +01:00
momo5502
bce64b0b90 Some attempts to fix early connect menu deallocation. 2016-01-14 23:23:14 +01:00
momo5502
0cc2eec4d0 Fix definition. 2016-01-14 15:31:11 +01:00
momo5502
ba7ea47ae0 Replacing the connect menu fully works now. 2016-01-14 15:29:39 +01:00
momo5502
8f4f401763 Partial connect menu loading. 2016-01-14 14:26:29 +01:00
momo5502
0a201daee0 Include official boost-free asio module. 2016-01-14 12:33:11 +01:00
momo5502
5f0cfd7a19 Intro stuff. 2016-01-13 13:18:36 +01:00
momo5502
0dbd45c844 Some patches and structureddata stuff. 2016-01-13 01:29:22 +01:00
momo5502
8a629bc391 Fastfile stuff. 2016-01-12 23:42:05 +01:00
momo5502
9f01412ca8 ^Don't rotate stuff. 2016-01-12 21:25:58 +01:00
momo5502
7ca2a13c30 StringTables (aka. ) 2016-01-12 21:17:55 +01:00
momo5502
98ad4f5f13 Reconnect. 2016-01-12 20:05:38 +01:00
momo5502
82e875802f Don't load test zone. 2016-01-12 19:10:17 +01:00
momo5502
558112166a ZoneBuilder stuff. 2016-01-12 19:08:26 +01:00
momo5502
7c411438b1 Ensure guid is unsigned. 2016-01-12 14:42:04 +01:00
momo5502
577d0c0637 2016-01-12 14:38:33 +01:00
momo5502
10c8dc9ee0 Partially aka. weapon stuff. 2016-01-12 14:27:48 +01:00
momo5502
a016c17e8e Optimize d3d9ex. 2016-01-12 13:45:19 +01:00
momo5502
2101fc28f3 D3D9Ex. 2016-01-12 00:48:27 +01:00
momo5502
da7ba34025 Volume shit. 2016-01-11 12:09:31 +01:00
sr0
1c8c23e008 Reset ui_demo_* dvars, when executing uiScript deleteDemo. 2016-01-11 11:07:25 +01:00
momo5502
99f5d2cd81 Theater done. 2016-01-10 15:48:49 +01:00
sr0
519c298b0b Merge branch 'master' 2016-01-10 13:25:17 +01:00
sr0
04d0e0ddd9 pc_options_game.menu 2016-01-10 13:25:09 +01:00
momo5502
d28cbd956e Threater stuff. 2016-01-10 12:25:31 +01:00
momo5502
0bcbd75787 Theater stuff. 2016-01-09 20:57:19 +01:00
sr0
d70836e825 beta 2016-01-09 18:36:05 +01:00
momo5502
4a0c4ec609 Fix stack overflow in zlib decompress routine. 2016-01-09 16:02:54 +01:00
momo5502
7974bd5cd0 Move version stuff back to the standard include. 2016-01-09 15:59:18 +01:00
momo5502
df2a542377 Fully fix playlist downloading. 2016-01-09 15:56:40 +01:00
momo5502
8343ce5f13 Playlist stuff. 2016-01-09 15:30:13 +01:00
momo5502
5624390e67 Start implementing download protocol. 2016-01-09 03:21:59 +01:00
momo5502
8f9b703dbb Temporary fix for invalid hardware guids. 2016-01-08 22:33:47 +01:00
momo5502
b58e62e5e4 Minidump shit. 2016-01-08 20:10:35 +01:00
momo5502
558fc7fd39 Fix autocomplete bug. 2016-01-08 19:34:00 +01:00
sr0
03b4970d77 Party and Match 2016-01-08 19:23:11 +01:00
momo5502
5a8577d86f Fix list stuff. 2016-01-08 19:08:35 +01:00
momo5502
9f2b544eaf Fix serverinfo dvar stuff. 2016-01-08 18:47:40 +01:00
momo5502
5db2a0b435 Serverinfo map dvars. 2016-01-08 18:31:23 +01:00
momo5502
9e13cbc0ac Show messages when adding favourites. 2016-01-08 15:50:39 +01:00
momo5502
dfc18268af Favourites. 2016-01-08 15:31:26 +01:00
momo5502
b83306cc20 Load custom menus ingame. 2016-01-08 15:03:38 +01:00
momo5502
7aa73a4d2f Merge branch 'master' 2016-01-08 14:24:18 +01:00
momo5502
4425eabd63 Fix playlist loading errors. 2016-01-08 14:24:05 +01:00
sr0
725869c951 added MILESTONE 2016-01-08 13:51:39 +01:00
momo5502
584cade086 Merge branch 'master' 2016-01-08 02:21:06 +01:00
momo5502
323ab2bf41 Serverinfo stuff. 2016-01-08 02:20:55 +01:00
sr0
b00f191c7d changelog 2016-01-08 00:59:59 +01:00
momo5502
497e223371 Revert cod4 master tests. 2016-01-07 21:39:57 +01:00
momo5502
d7a9614b35 Server filters, aka fixed issue 2016-01-07 21:28:39 +01:00
momo5502
f8a8edde21 Implement steam overlay. 2016-01-07 16:55:10 +01:00
momo5502
b58085810a Some fastfile stuff. 2016-01-06 01:23:43 +01:00
momo5502
852c88c3b5 Some more zone experiments and json11 submodule. 2016-01-05 14:39:04 +01:00
momo5502
4c26a72cd8 Don't load penis.ff yet! 2016-01-05 01:04:55 +01:00
momo5502
d31b21ab9b Implement experimental zone building. 2016-01-05 00:49:34 +01:00
/dev/urandom
f753acbe74
premake5: Use precompiled headers.
This easily doubles the compilation speed!!1
2016-01-04 20:58:00 +01:00
momo5502
069fb88517 Password and hc. 2016-01-04 18:28:11 +01:00
momo5502
a568e253eb Unlockstats command 2016-01-04 15:43:09 +01:00
momo5502
85d47594d7 Implement listen servers. 2016-01-04 14:09:21 +01:00
momo5502
5242b59600 Add console flag 2016-01-04 13:59:30 +01:00
momo5502
5574aea293 Beautify ConnectProtocol a bit. 2016-01-04 13:20:04 +01:00
momo5502
23c7828506 Fix connect protocol.
Still needs some cleanup, but it's in an acceptable state.
Therefore issue is fixed!.
2016-01-04 13:05:42 +01:00
momo5502
2cc56f7dd5 Fix code analysis. 2016-01-04 11:56:53 +01:00
momo5502
1e3a832be7 Fixes and stuff. 2016-01-04 11:32:05 +01:00
momo5502
c392eba620 Better version.hpp including. 2016-01-04 10:58:58 +01:00
momo5502
ba9bcf0f67 Fix all the bugs ;D 2016-01-04 10:54:31 +01:00
momo5502
50fc70b071 Iwd stuff. 2016-01-04 04:25:15 +01:00
momo5502
8175888e1d Fix discovery. 2016-01-04 03:27:43 +01:00
momo5502
32977b448d Fix server sorting. 2016-01-04 01:30:15 +01:00
momo5502
1fd40424e4 Some discovery stuff. 2016-01-04 00:00:07 +01:00
momo5502
7c6ce6f2a8 Merge branch 'master' 2016-01-03 20:13:58 +01:00
momo5502
f58d032968 Fix serverlist. 2016-01-03 20:13:49 +01:00
/dev/sdb
45f7b15612 Merge branch 'master' 2016-01-03 19:29:41 +01:00
/dev/sdb
94730e7ff2 Fixed all Codeanalysis warnings 2016-01-03 19:29:22 +01:00
momo5502
b514b9fb9d Servercount and discovery tests. 2016-01-03 19:28:47 +01:00
momo5502
0bbcff083b Reduce playlist packet size.
TODO: Implement!
2016-01-03 18:07:23 +01:00
momo5502
3c3eba8244 2016-01-03 15:44:51 +01:00
momo5502
ca5d823efd Split playlist data (+fixed issue)
TODO: Test with sensitive connections and unstable network drives.
2016-01-03 15:14:44 +01:00
momo5502
1e1a415125 Fix private match. 2016-01-03 05:01:55 +01:00
momo5502
5fb564408b Fix party prematch. 2016-01-03 04:13:35 +01:00
sr0
fa71b85a11 Merge branch 'master' 2016-01-03 03:31:01 +01:00
sr0
77e8a7131c Localization 2016-01-03 03:30:55 +01:00
momo5502
621375c2af Fix team shit. 2016-01-03 02:37:06 +01:00
sr0
730ffe61b8 added new localized strings 2016-01-03 00:37:07 +01:00
momo5502
da5ad6fc61 Fix party serverlist player count. 2016-01-02 20:30:19 +01:00
momo5502
1c0b9f6aa1 Dedi post initialization. 2016-01-02 18:49:58 +01:00
momo5502
54db04e1f2 Fix join error. 2016-01-02 18:36:01 +01:00
momo5502
31104a7537 2016-01-02 18:28:47 +01:00
momo5502
ddfe3cd3cc Get rid of dirty scope injections. 2016-01-02 15:23:04 +01:00
momo5502
0d8538da2c Serverlist sorting. 2016-01-02 15:19:34 +01:00
momo5502
58ce9f0d17 Fix fastfile info allocation shit. 2016-01-02 04:51:08 +01:00
momo5502
8fb298ed16 Better hooked function calling. 2016-01-02 02:47:15 +01:00
momo5502
9aec8b2a1b Playlists. 2016-01-02 02:28:09 +01:00
momo5502
66ef54791a DATA_BLOB cleaning. 2016-01-01 20:08:45 +01:00
momo5502
47c874d2b4 Fix names (issue) 2016-01-01 20:01:19 +01:00
momo5502
4ebf3849ab Some serverlist fixes. 2016-01-01 17:36:47 +01:00
momo5502
4bc3ec10b1 Native cursor fixes 2016-01-01 15:17:59 +01:00
momo5502
f3fef92c46 Menu fixes. 2015-12-31 13:45:29 +01:00
momo5502
fb8aa17ab1 IPCPipe implemented for inter-process-communication. 2015-12-31 13:37:25 +01:00
sr0
75db36aba9 add revision number 2015-12-31 04:53:48 +01:00
/dev/urandom
e6d38e68fb
Add version.hpp generation. Will trigger pre-build. 2015-12-31 03:59:33 +01:00
momo5502
8b81fe37ae Enable native cursor via dvar. 2015-12-31 01:10:15 +01:00
momo5502
b3e904115d Newsticker. 2015-12-31 00:55:08 +01:00
sr0
0d5183b31d Merge branch 'master' 2015-12-30 23:43:31 +01:00
sr0
33f3410056 newsticker preparation 2015-12-30 23:43:15 +01:00
momo5502
49f97a7d67 Fix code-analysis warnings. 2015-12-30 22:22:24 +01:00
sr0
00da503b3d stuff :) 2015-12-30 21:29:48 +01:00
momo5502
556a8594af Fully fix material exploit 2015-12-30 16:06:58 +01:00
momo5502
3000a11785 Some beautifies 2015-12-30 15:37:53 +01:00
sr0
9818fa7b21 Localized strings and new menus. 2015-12-30 04:19:52 +01:00
momo5502
6187f47e30 Don't map rotate when hosting a party. 2015-12-30 00:27:25 +01:00
momo5502
d400a1bd8e Move connectprotocol to the end. 2015-12-30 00:16:33 +01:00
momo5502
7798f1e20e Heartbeats 2015-12-30 00:13:12 +01:00
momo5502
1d81fd35be Merge branch 'master' 2015-12-29 23:25:03 +01:00
/dev/sdb
571a2915d0 Added ConnectProtocol as module 2015-12-29 23:13:23 +01:00
momo5502
83a7a7e448 Map rotation for dedis. 2015-12-29 20:12:26 +01:00
momo5502
f4469089f9 Protocol version changes 2015-12-29 16:38:36 +01:00
momo5502
ecf6e5bf9c Correctly initialize variables. 2015-12-29 14:48:02 +01:00
momo5502
8a1a8c6502 Use smooth native cursor instead of the laggy in-game one. 2015-12-29 14:46:17 +01:00
momo5502
87c1c36943 Use premake. 2015-12-29 02:52:31 +01:00