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
DarthArgus2016-07-24 20:37:39 -07:00
5217465f67
pvs studio suggested improvements for performance
DarthArgus2016-07-24 17:47:01 -07:00
a31d7ca48b
partial revert as pvs mislead me
DarthArgus2016-07-24 01:52:29 +00:00
5c8a1ebc42
despite the codemaid changes, this is some static analysis detected issues
DarthArgus2016-07-23 20:53:20 -07:00
5664aba588
win32: here on out it's std conversion and such...bleh
DarthArgus2016-07-23 20:09:28 -07:00
359838ef8d
libcurl can be had in a nuget package
DarthArgus2016-07-23 18:58:31 -07:00
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"
DarthArgus2016-07-23 18:01:50 -07:00
efaaa4bb42
readd some win32 files so that we can more easily run static analyzers that are windows only against the source
DarthArgus2016-07-23 18:00:40 -07:00
74c121f6c7
add some java performance (ricing) flags, remove support for ancient javas...well, up to 7
DarthArgus2016-07-19 16:52:07 +00:00
fd7df09b26
instead of dealing with compiler specific flags i'll stop here... Ofast builds don't run when built with gcc, and the performance difference is too slight to notice when built with clang, compared to O3
DarthArgus2016-07-15 20:35:16 +00:00
ba3a3fa9dd
What are you doing here? go back to the icc branch where you belong! - Revert "icc didn't like the double underscores"
DarthArgus2016-07-15 14:39:12 +00:00
4ac19c9816
icc didn't like the double underscores
DarthArgus2016-07-15 05:48:31 +00:00
5bd85cf54d
just slap an inline for the chat debug printing function...@devcodex if this is nasty please let me know...but clang was griping about it in release builds
DarthArgus2016-07-13 23:29:40 +00:00
b983c38972
fix a null pointer deref when running the thinner version of MemManager
DarthArgus2016-07-13 20:38:41 +00:00
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
DarthArgus2016-06-18 22:24:31 +00:00
5da4ab7b76
truly fix the ghosting problem this time
DarthArgus2016-06-18 01:40:33 +00:00
f5df9f29d2
close another loophole that allowed ghost accounts
DarthArgus2016-06-17 06:42:19 +00:00
7139c1354d
log when we send a keepalive, it may be related to being overloaded in which case we may need to throttle some things a bit...
DarthArgus2016-05-23 00:25:06 +00:00
79cf80c95d
double the timeout duration to see if that helps at all
DarthArgus2016-05-23 00:21:09 +00:00
02193e560a
this warning never really indicates a problem as the gametime DOES get set eventually
DarthArgus2016-05-23 00:02:14 +00:00
a05e61e0fe
the response should never be empty but we need to check the json lib for exceptions and return appropriately... + cleanup a bit - closes#33DarthArgus2016-05-22 17:44:00 +00:00
fc6fa41507
Merge remote-tracking branch 'origin/testing' into testing
DarthArgus2016-05-15 21:02:26 +00:00
18d14502b3
giveTime always ends up succeeding, this message just spams the console
DarthArgus2016-05-15 21:02:00 +00:00
782446e352
Merge remote-tracking branch 'origin/testing' into testing
DarthArgus2016-05-09 16:59:39 +00:00
d17942b023
Merge remote-tracking branch 'origin/testing' into testing
DarthArgus2016-05-09 16:59:39 +00:00
0491c0faf2
silence warnings about sendControllerMessageToAuthServer while uninitialized - closes#22 for release builds, see bug for more info
DarthArgus2016-05-09 16:58:45 +00:00
e753f9c250
roughly 1 sec update timer now
swg2016-05-07 00:00:36 +01:00
e65f6aa238
actually, greater than makes sense here without the equal, 0 base and all
DarthArgus2016-05-06 03:57:34 +00:00
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
DarthArgus2016-05-06 03:54:59 +00:00
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
DarthArgus2016-05-06 02:52:55 +00:00
5a082e5f1d
changing the submitted data of the webstatistics stuff
swg2016-05-06 00:18:28 +01:00
b0d577bc36
i rather do this
swg2016-05-05 19:55:02 +01:00
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
DarthArgus2016-05-05 16:04:41 +00:00
ade6e1f1d0
we only use this var once, no reason to keep it...
DarthArgus2016-05-05 14:34:47 +00:00
8c0d9beb5d
fixed noobs' commits, this is mostly good except we need to add a config variable to the config for central
DarthArgus2016-05-05 14:27:27 +00:00
baecfbebb6
has linker error! but this should be a good start on breaking out our changes and web api into a standalone library/namespace
DarthArgus2016-04-27 21:54:10 +00:00
52672794fe
actually, i'll strip the array on the php side
DarthArgus2016-04-24 18:37:18 +00:00
f25da4f7f2
i'm a doofus and failed to notice the message is being returned as an array
DarthArgus2016-04-24 18:36:16 +00:00
5fc9a0e689
TEMP FIX HACK TODO - for whatever reason spaced strings seem to return as arrays when using the json parser's .get function
DarthArgus2016-04-24 18:14:31 +00:00
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
DarthArgus2016-04-24 09:13:15 +00:00
e2d9042667
better way...since the last one was broken
DarthArgus2016-04-24 07:01:36 +00:00
38f5a50bb6
Merge remote-tracking branch 'origin/testing' into testing
DarthArgus2016-04-24 06:56:47 +00:00
0e22ecd027
remove station related session code
DarthArgus2016-04-17 04:38:16 +00:00
81b05726ce
catch any stupid or lazy mistakes that could be made...
DarthArgus2016-04-17 02:13:05 +00:00
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
DarthArgus2016-04-17 02:06:13 +00:00