Commit Graph
154 Commits
Author SHA1 Message Date
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
DarthArgus 8c0d9beb5d fixed noobs' commits, this is mostly good except we need to add a config variable to the config for central 2016-05-05 14:27:27 +00:00
swg 87ae60bba6 this time 2016-05-05 08:41:44 +01:00
swg b66fd34d80 Revert "Revert "help me, this doesnt build at all ..""
This reverts commit 663a7c9988.
2016-05-05 08:36:42 +01:00
swgnoobs 663a7c9988 Revert "help me darthargus, this doesnt build at all .."
This reverts commit dc2b683c42
2016-05-05 07:26:26 +00:00
DarthArgus 6049da78af all working! thanks for the cmake help, @devcodex! 2016-04-28 17:23:30 +00:00
DarthArgus b99e3e45f9 properly link the executable against curl, instead of the helper lib 2016-04-28 16:57:47 +00:00
DarthArgus 5f7cf7e969 this is closer but still not building correctly 2016-04-28 03:28:12 +00:00
DarthArgus baecfbebb6 has linker error! but this should be a good start on breaking out our changes and web api into a standalone library/namespace 2016-04-27 21:54:10 +00:00
DarthArgus 52672794fe actually, i'll strip the array on the php side 2016-04-24 18:37:18 +00:00
DarthArgus f25da4f7f2 i'm a doofus and failed to notice the message is being returned as an array 2016-04-24 18:36:16 +00:00
DarthArgus 5fc9a0e689 TEMP FIX HACK TODO - for whatever reason spaced strings seem to return as arrays when using the json parser's .get function 2016-04-24 18:14:31 +00:00
DarthArgus 1507b19b3a this properly sends all the data; @devcodex please do a review on this as i'm not 100% sure all these types i'm using (or vars) are necessary 2016-04-24 09:13:15 +00:00
DarthArgus e2d9042667 better way...since the last one was broken 2016-04-24 07:01:36 +00:00
DarthArgus f273239cfb use existing var 2016-04-24 06:55:46 +00:00
DarthArgus 7f1c59a44c just evaluate these as bools 2016-04-18 20:02:49 +00:00
DarthArgus a82bb979d7 reduce code complexity/readability, hopefully make slightly faster 2016-04-18 19:52:56 +00:00
DarthArgus cb1035d40e Revert "remove more dead code"
This reverts commit 7d03daec7d.
2016-04-18 03:57:01 +00:00
DarthArgus 9aeea8732e Revert "remove station related session code"
This reverts commit 0e22ecd027.
2016-04-18 03:56:57 +00:00
DarthArgus 64a4daada5 add a more proper check to look for an empty string 2016-04-17 22:50:41 +00:00
DarthArgus 8bce22b7b1 remove "wtf" debug test line 2016-04-17 22:42:13 +00:00
DarthArgus 72f11faa33 remove debug line 2016-04-17 22:38:08 +00:00
DarthArgus 99a267b59f add ip address and station id to our request so we can alias them in the db on the php side (todo) 2016-04-17 22:26:56 +00:00
DarthArgus 1405ff948d finally this bitch is working with the php auth system 2016-04-17 22:21:56 +00:00
DarthArgus a10e8c28cd let's use post 2016-04-17 19:21:45 +00:00
DarthArgus a76c5dd70b make things more standardized 2016-04-17 19:17:41 +00:00
DarthArgus 7d03daec7d remove more dead code 2016-04-17 04:42:28 +00:00
DarthArgus 0e22ecd027 remove station related session code 2016-04-17 04:38:16 +00:00
DarthArgus 81b05726ce catch any stupid or lazy mistakes that could be made... 2016-04-17 02:13:05 +00:00
DarthArgus 61298b7468 add "json for modern c++" json.hpp file and implement it; it is in a higher level dir so we can add it elsewhere if need be; up next we want to add an option to have an endpoint GET requested on character creation with the suid and character name 2016-04-17 02:06:13 +00:00