Commit Graph

  • a4663d8879 in theory this will let us track connection counts per ip more efficiently using an unordered_map DarthArgus 2016-09-27 15:27:09 -05:00
  • d0b54bbeee better efficiency DarthArgus 2016-09-26 16:41:26 +00:00
  • 51e0119460 output the proper ipv4 address DarthArgus 2016-09-26 16:20:24 +00:00
  • 93735f9c3c silence unless the client has a legit station id DarthArgus 2016-09-26 00:52:44 -05:00
  • 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 DarthArgus 2016-09-26 05:25:18 +00:00
  • e395177e8f this probably has at least one mistake/bug/typo but will move our DoS protection into the low level UDP lib DarthArgus 2016-09-26 00:29:29 -05:00
  • 41639d8156 better oci error reporting DarthArgus 2016-09-25 03:57:58 +00:00
  • 1651feb4de squash some of my overly verbose commits that have no uses DarthArgus 2016-09-04 18:00:31 +00:00
  • 10b86bcc7f remove -D_FORTIFY_SOURCE=2 as it causes stack dumps with datatabletool when built with gcc DarthArgus 2016-09-04 17:59:14 +00:00
  • dd86cd4190 rearrange and make more descriptive this debug message DarthArgus 2016-09-03 00:50:01 +00:00
  • 05f8a322fb ConnectionServer: add altPublicBindAddress config option DarthArgus 2016-09-02 21:30:35 +00:00
  • e0bd4f3c02 turn of mulodi building for now, will remove if not needed later DarthArgus 2016-09-02 21:15:10 +00:00
  • e0219af8fe ignore geany projects DarthArgus 2016-09-02 04:09:44 +00:00
  • 81ac74a4ff use std::abs instead of abs to allow the floats to be used instead of having roundoffs DarthArgus 2016-08-26 05:49:44 +00:00
  • 6ceefdceb0 more toying with cflags DarthArgus 2016-08-26 01:55:02 +00:00
  • 08b26c6535 gcc 6 compatibility bugfix DarthArgus 2016-08-25 21:10:56 +00:00
  • dec4946da5 doesn't seem that flto wants to work, despite it working earlier :( DarthArgus 2016-08-25 07:14:47 +00:00
  • 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! DarthArgus 2016-08-25 05:47:29 +00:00
  • d7392f2f40 No need to reserve, insert will handle any reallocating that needs to happen efficiently apathyandDarthArgus 2016-08-21 18:10:20 -07:00
  • 09b288a36e use empty as we always init the var DarthArgus 2016-08-21 19:16:00 +00:00
  • 17265362de getString: check if null before casting DarthArgus 2016-08-21 18:23:47 +00:00
  • dd9417642c for nullable types we'll need to create a proper function outside the template for them DarthArgus 2016-08-21 18:21:33 +00:00
  • 51fa1ff6ad enums for clarity DarthArgus 2016-08-21 17:35:51 +00:00
  • 8b614c5769 return a proper T null instead of an empty T DarthArgus 2016-08-21 17:04:48 +00:00
  • 0595b456b9 Reserve enough space before inserting. apathyandDarthArgus 2016-08-21 10:30:42 -07:00
  • 33c42720a8 Change encoding/decoding binary data to use base64 vs utf-8 to prevent bad characters in the oracle string encoding. apathyandDarthArgus 2016-08-21 10:00:05 -07:00
  • 2b8a8fdd03 pvs studio suggestions DarthArgus 2016-08-21 01:13:27 -07:00
  • 06925a9219 change to use bools as passed from the frontend (yay! less comparisons!) DarthArgus 2016-08-21 03:52:51 +00:00
  • 268727ce16 reduce the stats we're collecting... if we only need player count we can probably nuke everything but that, right @stellab @swgnoobs ? DarthArgus 2016-08-20 15:01:11 +00:00
  • e0e39df051 forgot something, now time to sleep DarthArgus 2016-08-20 14:21:42 +00:00
  • e517f98f9c Consider all bazaars (not just the restuss ones) as persisted. apathyandDarthArgus 2016-08-20 06:45:19 -07:00
  • 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 DarthArgus 2016-08-20 13:44:33 +00:00
  • 5f0e741a72 make the webAPI more generic so that we can use it in a more standardized fashion DarthArgus 2016-08-20 11:19:23 +00:00
  • e0d9f58ba0 update nlohmann's json to v2.0.2 DarthArgus 2016-08-20 07:41:19 +00:00
  • 6e7a213f2d cleaning DarthArgus 2016-08-08 16:33:51 +00:00
  • 465aed03b4 remove unnecessary check DarthArgus 2016-08-06 03:22:16 +00:00
  • 537ed4ce53 make this string a static const... we basically just keep using it so why not? DarthArgus 2016-08-06 02:56:06 +00:00
  • 207449547f cleanups and clarity DarthArgus 2016-08-06 02:35:55 +00:00
  • 00fef810e7 prevent the insanity of specifying (usually) defaults DarthArgus 2016-08-06 02:00:49 +00:00
  • 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? DarthArgus 2016-08-05 01:09:25 +00:00
  • 46e985f72a reposition a sanity check DarthArgus 2016-08-04 21:49:12 +00:00
  • 91cd9b60ec needs QA/TEST before even seeing TC - implement login based on returned username from web api DarthArgus 2016-08-04 21:36:55 +00:00
  • 37e50708b7 Only resize if length is longer than max_account_name_length apathy 2016-08-04 11:23:47 -07:00
  • 648e5807a0 truncate the id to MAX_ACCOUNT_NAME_LENGTH before generating station id's apathy 2016-08-04 03:21:32 -07:00
  • cbf84b65a4 more snprintf...more later DarthArgus 2016-08-02 02:23:21 +00:00
  • 2b5d006bb9 no cust service server, for now... DarthArgus 2016-08-01 03:20:55 +00:00
  • f4c737ddf7 static max lengths for the snprintfs etc DarthArgus 2016-08-01 03:02:50 +00:00
  • 3d7acd9f32 Don't load the NetLogObserver for LogServer instances as it just sends messages into an infinite loop apathyandDarthArgus 2016-07-31 19:43:09 -07:00
  • 75c27f67ad cleanup DarthArgus 2016-07-31 09:59:38 +00:00
  • 04ed17a152 correct some of my erroneous snprintfs DarthArgus 2016-07-31 07:20:21 +00:00
  • 1dff426bbe enable more thread safety and buffer safety DarthArgus 2016-07-31 05:45:10 +00:00
  • ed4a4d54ee test this theory and see if this keeps the prod server (more threads) from dumping java...if so i'll make this value configurable DarthArgus 2016-07-27 05:05:22 +00:00
  • 74ade42185 this rids us of connection warnings on shutdown DarthArgus 2016-07-27 01:27:26 +00:00
  • 772146a72f fix readability DarthArgus 2016-07-27 01:09:19 +00:00
  • 5503ac606a partial revert DarthArgus 2016-07-26 03:15:10 +00:00
  • 814cf4f731 some more static analyzer suggestions DarthArgus 2016-07-25 22:11:10 -07:00
  • 88888e4091 bye bye, boost! thanks @apathy! DarthArgus 2016-07-25 05:47:57 +00:00
  • 0f815ce30e include <algorithm> DarthArgus 2016-07-25 05:41:26 +00:00
  • 73d718ba9e [apathy][PATCH] Cast jboolean to bool DarthArgus 2016-07-25 05:39:29 +00:00
  • be02bf64c3 [apathy] [PATCH] Replaced boost::shared_ptr with std::shared_ptr, update headers accordingly DarthArgus 2016-07-25 05:39:03 +00:00
  • a84205abec [apathy] [PATCH] Changed forward declaration from boost::shared_ptr to DarthArgus 2016-07-25 05:34:40 +00:00
  • e20ac25bfc [apathy] [PATCH] Replace boost::shared_ptr with std::shared_ptr DarthArgus 2016-07-25 05:33:05 +00:00
  • d7f94e8f7c [apathy] [PATCH] Replace boost::shared_ptr with std::shared_ptr DarthArgus 2016-07-25 05:32:38 +00:00
  • c9abbf1771 [apathy] [PATCH] Replace boost:shared_ptr with std::shared_ptr DarthArgus 2016-07-25 05:26:57 +00:00
  • 00fa2c450b [apathy] - emplace_back DarthArgus 2016-07-25 05:26:31 +00:00
  • 80b0db5327 another patch by apathy to remove shared_ptr DarthArgus 2016-07-25 05:25:38 +00:00
  • d9b4adb7e8 per apathy - other files/libs will need this where boost is used - [PATCH] Replace boost::shared_ptr usage with std::shared_ptr DarthArgus 2016-07-25 05:20:32 +00:00
  • 3129127815 via apathy - Replace push_back with emplace_back to create a default object which is immediately accessed following the changed line via .back() DarthArgus 2016-07-25 05:17:05 +00:00
  • 5d6bb85fa3 fix bug DarthArgus 2016-07-25 02:46:02 +00:00
  • 8b9665a0f8 this is where i stop for the evening DarthArgus 2016-07-24 21:48:49 -07:00
  • 9d2013918a some more to try... DarthArgus 2016-07-24 21:36:20 -07:00
  • e65b05ada9 mostly template initializations to prevent undefined behavior in the (unlikely) chance some of these properties are used DarthArgus 2016-07-24 21:25:03 -07:00
  • 5084c72fbe fix a few discrepancies DarthArgus 2016-07-25 01:46:39 +00:00
  • 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 DarthArgus 2016-07-24 20:37:39 -07:00
  • 5217465f67 pvs studio suggested improvements for performance DarthArgus 2016-07-24 17:47:01 -07:00
  • 0944957824 forgot to declare DarthArgus 2016-07-24 01:55:15 +00:00
  • a31d7ca48b partial revert as pvs mislead me DarthArgus 2016-07-24 01:52:29 +00:00
  • 5c8a1ebc42 despite the codemaid changes, this is some static analysis detected issues DarthArgus 2016-07-23 20:53:20 -07:00
  • 5664aba588 win32: here on out it's std conversion and such...bleh DarthArgus 2016-07-23 20:09:28 -07:00
  • 359838ef8d libcurl can be had in a nuget package DarthArgus 2016-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" DarthArgus 2016-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 DarthArgus 2016-07-23 18:00:40 -07:00
  • fd56145248 give it a little more time DarthArgus 2016-07-22 15:01:38 +00:00
  • 12633ce384 don't preload by default DarthArgus 2016-07-20 16:09:10 +00:00
  • 6619817e24 give java a chance to end it's miserable existence DarthArgus 2016-07-20 16:04:53 +00:00
  • d17f0c88d6 symlink optionally DarthArgus 2016-07-19 22:08:42 +00:00
  • 2c6da13d61 more drag ricing...but it works DarthArgus 2016-07-19 21:41:50 +00:00
  • 74c121f6c7 add some java performance (ricing) flags, remove support for ancient javas...well, up to 7 DarthArgus 2016-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 DarthArgus 2016-07-15 20:35:16 +00:00
  • 12f53b3ac5 more flags DarthArgus 2016-07-15 19:54:11 +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" DarthArgus 2016-07-15 14:39:12 +00:00
  • 4ac19c9816 icc didn't like the double underscores DarthArgus 2016-07-15 05:48:31 +00:00
  • f68625a15c gitignore DarthArgus 2016-07-14 02:06:41 +00:00
  • 0e1f0ec90a Ofast DarthArgus 2016-07-14 02:04:53 +00:00
  • 299dd9bf16 fix namespacing issue DarthArgus 2016-07-14 00:27:40 +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 DarthArgus 2016-07-13 23:29:40 +00:00
  • b983c38972 fix a null pointer deref when running the thinner version of MemManager DarthArgus 2016-07-13 20:38:41 +00:00
  • 478ddced0e always show logins DarthArgus 2016-06-24 02:03:23 +00:00
  • 4f1bcb225a disable java perf counters as they shit in our /tmp dir until it is full, and this upsets oracle DarthArgus 2016-06-21 19:53:08 +00:00
  • 41cd9ff9b3 will it end? DarthArgus 2016-06-21 18:59:05 +00:00