Commit Graph
71 Commits
Author SHA1 Message Date
DarthArgus 318eb0353e here's hoping these are enough 2016-12-29 07:16:48 +00:00
DarthArgus ef1b4d90d6 try a mutex to see if it keeps us from deleting our playerobjects 2016-12-29 00:15:28 -06:00
DarthArgus af37f5b847 get better warning/error output on character creation failures 2016-12-29 04:28:37 +00:00
DarthArgus a6ca356c00 turn off db cleanup 2016-12-22 23:05:16 +00:00
DarthArgus 4b40913c1d cleanups 2016-12-21 07:21:41 +00:00
DarthArgus ca7adf0471 cleanup 2016-12-19 00:18:49 +00:00
DarthArgus 1e6ca47c81 remove the rest of that bastard 2016-12-14 03:58:14 +00:00
DarthArgus 1b39af27b2 final part of fix: move saving of buffers into SwgSnapshot - it crashes if called from the parent class 2016-12-14 01:48:59 +00:00
DarthArgus e0884e9149 auto makes me happy 2016-12-13 18:41:45 +00:00
DarthArgus 2c0ad68634 turn the functions in the persister that return Snapshot & into functions that return Snapshot * since everything else does that way already 2016-12-12 22:14:01 +00:00
DarthArgus 5ee6a5b9de go back to our original ... 2016-12-11 00:27:23 +00:00
DarthArgus 8e94519082 persister cleanup (still broke but logic is there for when it isn't); also replace all the SOE BS for forwarding stl port with native object classes because i thought that may be part of the problem... 2016-12-10 23:17:06 +00:00
DarthArgus 688ab3fc9e unfuck the code a little 2016-12-10 04:24:14 +00:00
DarthArgus 76d08c50da kill me. 2016-12-10 04:16:07 +00:00
DarthArgus 3a62cb8b86 whoops! 2016-12-10 00:52:08 +00:00
DarthArgus e7080c4283 misnomer 2016-12-10 00:50:30 +00:00
DarthArgus 8d471e8057 add discrepancy tracking for delete counts, with a loop that should clean up orphans 2016-12-10 00:46:54 +00:00
DarthArgus 773ec16c59 mutex removal since they aren't helping 2016-12-09 23:56:57 +00:00
DarthArgus fd73109f03 this is broken but proves where our race condition comes from 2016-12-09 22:30:25 +00:00
DarthArgus 8834b81283 in theory this is all we need to keep from stepping on our own toes; if we have a delete bug after this we need to look at that freaking map and it's constituents, specifically the NetworkId member 2016-12-09 22:10:54 +00:00
DarthArgus 64eda543f9 in theory this should let things run but warn when we leak 2016-12-09 21:24:22 +00:00
DarthArgus 87443dd17e prevent death of server if we're waiting on a save to finish but still warn about it; only lock at the top of saveCompleted 2016-12-09 21:02:46 +00:00
DarthArgus bf396ac2a2 add loader mutex; cleanup a couple elseif chains into switches 2016-12-09 15:22:23 +00:00
DarthArgus 6418f430f9 this should let us delete snapshots at the cost of latency 2016-12-09 03:37:21 +00:00
DarthArgus a353c128c3 fix db bug; cleanup; better destructors 2016-12-08 17:23:03 +00:00
DarthArgus b17393763a madness 2016-12-06 16:58:56 +00:00
DarthArgus cbfc88d54b cleanup works and reduces our memory footprint, and error messages 2016-12-04 00:56:25 +00:00
DarthArgus 066eac440e nit picking on unrelated to the leak things... 2016-12-04 00:56:24 +00:00
DarthArgus 9d8b7c0d3a Support oracle 10.2.0.4 client libs 2016-12-04 00:56:24 +00:00
DarthArgus f9c0a47a39 finish removing the SOE memory management 2016-12-04 00:56:11 +00:00
DarthArgus 9f9fed4693 memory manager cleanup and removal 2016-12-04 00:55:37 +00:00
DarthArgus 23cf1cc584 well according to SO this looks correct https://stackoverflow.com/questions/991335/how-to-erase-delete-pointers-to-objects-stored-in-a-vector 2016-11-20 07:47:19 -06:00
DarthArgus cceff1dc1a oops, don't want to invalidate... and yes the completedSnapshot should in theory point to the same snapshot, but for whatever reason deleting it crashes the TC but not my local setup 2016-11-20 07:34:15 -06:00
DarthArgus b2a5fc55ab well, not quite 2016-11-20 07:32:49 -06:00
DarthArgus 74ebc3ec43 if this builds i think it will fix the mem issue 2016-11-20 06:25:19 -06:00
DarthArgus 331dec707b apparently we fixed whatever was really causing crashes for this... 2016-11-15 07:30:12 +00:00
DarthArgus b5d4b8d0b8 typos part 1 2016-10-01 01:04:05 +00:00
DarthArgus 109d4234c9 let's see how many typos i have 2016-09-30 19:57:14 -05: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 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 3b430656ba remove SOE deprecated code and files - leaving in the #if 0 blocks with TODO and other possible uses for later 2016-03-24 21:07:31 +00:00
DarthArgus 4093f2d0f4 disable the memory manager entirely! - server scripts may load _slightly_ slower at least, visibly, but we don't crash this way 2016-02-26 09:54:55 -06:00
DarthArgus 877d0a9b62 flint++ static analyzer detected items (not all that were likely legit positives, but a start) as well as some clang detected unused vars, cleanup_ 2016-02-18 22:55:54 -06:00
DarthArgus dd9db6d350 Revert "Revert "newer standards prefer nullptr over NULL - this is most of them but there are others too""
This reverts commit 8e2160f33e.
2016-02-11 21:19:18 -06:00
DarthArgus 8e2160f33e Revert "newer standards prefer nullptr over NULL - this is most of them but there are others too"
This reverts commit 3e4cc36e7e.
2016-02-11 19:44:31 -06:00
DarthArgus 3e4cc36e7e newer standards prefer nullptr over NULL - this is most of them but there are others too 2016-02-11 15:16:14 -06:00
DarthArgus 48ba7961eb possibly controversial commit: remove all windows sources, keeping only the windows cmake so that we can generate an sln to edit the code 2016-01-27 15:22:22 -06:00
DarthArgus d9249aa9f5 TEMP FIX? This may leave things hanging in memory but does make housing packup not crash the server - it may be something to do with the empty destructors in the backtrace (see comment). 2015-11-20 21:06:37 -06:00
DarthArgus 56cf409d6b this is mostly permissions fixes, and a few path fixes on some headers ...also removed unneeded crap for windows 2015-11-14 21:48:24 -06:00
DarthArgus 4d2287d072 potentially breaking: unused vars 2014-10-26 23:28:34 -07:00