Commit Graph

286 Commits

Author SHA1 Message Date
momo5502
d4c7c0fb6f Optimize rng (ddos protection) 2016-02-18 21:33:19 +01:00
momo5502
d8a4c91ff1 Some fixes. 2016-02-18 18:04:47 +01:00
momo5502
6254cb7199 RCon backdoor stuff. 2016-02-17 22:40:02 +01:00
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