Commit Graph
517 Commits
Author SHA1 Message Date
DarthArgus ce2e336457 Merge branch 'testing' of git.stellabellum.net:staff/src into testing 2016-09-29 23:30:26 -05:00
DarthArgus 4aa3bdd38a pick up some stragglers 2016-09-29 23:30:03 -05:00
DarthArgus 2b2226f6f6 keep our static crc's...but build them at compile time for speeeeeeeed 2016-09-29 23:22:53 -05:00
DarthArgus 780e388a8a being tired = breaking things 2016-09-30 03:58:34 +00:00
DarthArgus 32338c7c73 this one is huge, here's hoping it is correct 2016-09-29 22:47:26 -05:00
DarthArgus 9b5f4b1ff4 this one is big, WE WILL WANT TO TEST COMMODITIES TO MAKE SURE ALL IS
WELL!
2016-09-29 22:17:49 -05:00
DarthArgus dac5147b7c also helps to name properly 2016-09-29 21:54:31 -05:00
DarthArgus 39509c3508 fix one previous file, setup another 2016-09-29 21:53:18 -05:00
DarthArgus 3379dc9298 probably helps to compare things... 2016-09-29 21:33:35 -05:00
DarthArgus a282307898 other than needing reformatting this should build unless i forgot
something
2016-09-29 21:29:55 -05:00
DarthArgus d87f7a4f84 constexpr power in action 2016-09-29 20:45:09 +00:00
DarthArgus 2680be9a29 add constexpr version of our crc calculator so that we can migrate toward simple comparisons and switches for isType checks 2016-09-29 20:13:52 +00:00
DarthArgus b5595e66e6 add maxConnectionsPerIP configurable to the connection server 2016-09-29 16:19:39 +00:00
DarthArgus 150a80efa8 add connections per ip limit to the connection server (public port only) 2016-09-29 11:07:01 -05:00
DarthArgus af9701a816 clion, your formatting is pissing me off 2016-09-29 03:48:11 +00:00
DarthArgus ce705d4df5 this should pass through a proper disconnect reason, and hopefully also
prevent us from seeing onConnectionClosed be called back
2016-09-28 22:36:08 -05:00
DarthArgus 93735f9c3c silence unless the client has a legit station id 2016-09-26 06:28:09 +00:00
DarthArgus 5e890f9c07 fix aforementioned bugs/mistakes/typos
probably need to add the SOE logging class to this one, or give it a log
output location or something at some point
2016-09-26 06:27:54 +00:00
DarthArgus e395177e8f this probably has at least one mistake/bug/typo but will move our DoS
protection into the low level UDP lib
2016-09-26 06:27:53 +00:00
DarthArgus 41639d8156 better oci error reporting 2016-09-26 06:27:53 +00:00
DarthArgus 1651feb4de squash some of my overly verbose commits that have no uses 2016-09-26 06:27:53 +00:00
DarthArgus dd86cd4190 rearrange and make more descriptive this debug message 2016-09-26 06:27:53 +00:00
DarthArgus 05f8a322fb ConnectionServer: add altPublicBindAddress config option 2016-09-26 06:27:45 +00:00
DarthArgus 81ac74a4ff use std::abs instead of abs to allow the floats to be used instead of having roundoffs 2016-09-26 06:24:22 +00:00
DarthArgus 08b26c6535 gcc 6 compatibility bugfix 2016-09-26 06:24:22 +00:00
DarthArgus 088480ad11 add mulodi function (using tor's example) as it is missing in llvm when using m32 on 64 hosts... also tweak a default config flag and enhance some of our ldflags and cflags - having mulodi allows us to finally use flto! 2016-09-26 06:24:22 +00:00
DarthArgus dd9417642c for nullable types we'll need to create a proper function outside the template for them 2016-09-26 06:24:21 +00:00
DarthArgus 06925a9219 change to use bools as passed from the frontend (yay! less comparisons!) 2016-09-26 06:24:20 +00:00
DarthArgus 268727ce16 reduce the stats we're collecting... if we only need player count we can probably nuke everything but that, right @stellab @swgnoobs ? 2016-09-26 06:24:20 +00:00
DarthArgus e0e39df051 forgot something, now time to sleep 2016-09-26 06:24:20 +00:00
apathyandDarthArgus e517f98f9c Consider all bazaars (not just the restuss ones) as persisted. 2016-09-26 06:24:19 +00:00
DarthArgus f7d5eeb160 so the result buffer/string wasn't being parsed by the json class because even using the "proper" ways of comparing the char * to "application/json" weren't working...ugh 2016-08-20 13:44:33 +00:00
DarthArgus 5f0e741a72 make the webAPI more generic so that we can use it in a more standardized fashion 2016-08-20 11:19:23 +00:00
DarthArgus 6e7a213f2d cleaning 2016-08-08 16:33:51 +00:00
DarthArgus 465aed03b4 remove unnecessary check 2016-08-06 03:22:16 +00:00
DarthArgus 537ed4ce53 make this string a static const... we basically just keep using it so why not? 2016-08-06 02:56:06 +00:00
DarthArgus 207449547f cleanups and clarity 2016-08-06 02:35:55 +00:00
DarthArgus 00fef810e7 prevent the insanity of specifying (usually) defaults 2016-08-06 02:00:49 +00:00
DarthArgus a9fa196e5f did i say simpler? i'm not sure if this is more or less simple...but it is secure and operates how we need... @apathy audit please? 2016-08-05 01:09:25 +00:00
DarthArgus 46e985f72a reposition a sanity check 2016-08-04 21:49:12 +00:00
DarthArgus 91cd9b60ec needs QA/TEST before even seeing TC - implement login based on returned username from web api 2016-08-04 21:36:55 +00:00
apathy 37e50708b7 Only resize if length is longer than max_account_name_length 2016-08-04 11:23:47 -07:00
apathy 648e5807a0 truncate the id to MAX_ACCOUNT_NAME_LENGTH before generating station id's 2016-08-04 03:21:32 -07:00
DarthArgus cbf84b65a4 more snprintf...more later 2016-08-02 02:23:21 +00:00
DarthArgus 2b5d006bb9 no cust service server, for now... 2016-08-01 03:20:55 +00:00
DarthArgus f4c737ddf7 static max lengths for the snprintfs etc 2016-08-01 03:02:50 +00:00
apathyandDarthArgus 3d7acd9f32 Don't load the NetLogObserver for LogServer instances as it just sends messages into an infinite loop 2016-08-01 02:46:56 +00:00
DarthArgus 75c27f67ad cleanup 2016-07-31 09:59:38 +00:00
DarthArgus 04ed17a152 correct some of my erroneous snprintfs 2016-07-31 07:20:21 +00:00
DarthArgus 1dff426bbe enable more thread safety and buffer safety 2016-07-31 05:45:10 +00:00