Commit Graph
183 Commits
Author SHA1 Message Date
DarthArgus 05f8a322fb ConnectionServer: add altPublicBindAddress config option 2016-09-26 06:27:45 +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
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 04ed17a152 correct some of my erroneous snprintfs 2016-07-31 07:20:21 +00:00
DarthArgus 772146a72f fix readability 2016-07-27 01:09:19 +00:00
DarthArgus 5503ac606a partial revert 2016-07-26 03:15:10 +00:00
DarthArgus 814cf4f731 some more static analyzer suggestions 2016-07-25 22:11:10 -07:00
DarthArgus e65b05ada9 mostly template initializations to prevent undefined behavior in the
(unlikely) chance some of these properties are used
2016-07-24 21:25:03 -07:00
DarthArgus d2c830306f i must test these before calling them good - as gcc isn't on the windows
machine i push, test, fix, and then push again - pvs studio <3
2016-07-24 20:37:39 -07:00
DarthArgus 5c8a1ebc42 despite the codemaid changes, this is some static analysis detected issues 2016-07-23 20:53:20 -07:00
DarthArgus 9b369713e1 again, re-add some windows stuff Revert "possibly controversial commit: remove all windows sources, keeping only the windows cmake so that we can generate an sln to edit the code"
This reverts commit 48ba7961eb.
2016-07-23 18:01:50 -07:00
DarthArgus efaaa4bb42 readd some win32 files so that we can more easily run static analyzers
that are windows only against the source
2016-07-23 18:00:40 -07:00
DarthArgus 478ddced0e always show logins 2016-06-24 02:03:23 +00:00
DarthArgus 41cd9ff9b3 will it end? 2016-06-21 18:59:05 +00:00
DarthArgus 23d910c53d i realize this adds another one time-ish use var, but i'm more comfortable if we trim stuff on both this and the receiving end 2016-06-18 22:24:31 +00:00
DarthArgus 5da4ab7b76 truly fix the ghosting problem this time 2016-06-18 01:40:33 +00:00
DarthArgus f5df9f29d2 close another loophole that allowed ghost accounts 2016-06-17 06:42:19 +00:00
DarthArgus 3c2243269a fix another multimap 2016-06-01 15:36:46 +00:00
DarthArgus b27d82ff39 no more spaces for extra secret slots - closes #34 2016-06-01 04:04:30 +00:00
DarthArgus efb7c66690 Revert "double the timeout duration to see if that helps at all"
This reverts commit 79cf80c95d.
2016-05-25 02:01:02 +00:00
DarthArgus 79cf80c95d double the timeout duration to see if that helps at all 2016-05-23 00:21:09 +00:00
DarthArgus a05e61e0fe the response should never be empty but we need to check the json lib for exceptions and return appropriately... + cleanup a bit - closes #33 2016-05-22 17:44:00 +00:00
DarthArgus b724093bcb reduce spam on release mode 2016-05-15 21:20:51 +00:00
swg e753f9c250 roughly 1 sec update timer now 2016-05-07 00:00:36 +01:00
DarthArgus e65f6aa238 actually, greater than makes sense here without the equal, 0 base and all 2016-05-06 03:57:34 +00:00
DarthArgus ecb7bab296 give the login server update, webAPI update, and server shutdown check their own loop counters as without them the setting back to 0 can cause unreachable cases... as a result mod isn't necessary anymore either 2016-05-06 03:54:59 +00:00
DarthArgus 040c2518fa fix dumb comment i made 2016-05-06 02:56:28 +00:00
DarthArgus d78d8b5a62 simplification 2016-05-06 02:55:46 +00:00
DarthArgus eb8e50c568 move the web api updates into their own function, and make it a configurable via webUpdateIntervalSeconds, also fix the check using mod operator for shutdown as it fired every frame except frame 5, instead of every second 2016-05-06 02:53:37 +00:00
swg 5a082e5f1d changing the submitted data of the webstatistics stuff 2016-05-06 00:18:28 +01:00
swg b0d577bc36 i rather do this 2016-05-05 19:55:02 +01:00
DarthArgus 16c9ba95d0 add ConfigCentralServer::getMetricsDataURL() and move the stats collection functionality to the function that sends to the login server; this may or may not be optimal depending on how often it is updated 2016-05-05 16:04:41 +00:00
DarthArgus ade6e1f1d0 we only use this var once, no reason to keep it... 2016-05-05 14:34:47 +00:00