I guess I could try loading in the txt and tbl files just when they're needed and loading in the individual ones, rather than all into memory at once. But meh, I suspect this will slow everything down a lot, I mean can you imagine loading a 20K item stash and every time an item is loaded it needs to read the txt file in (well, more like 10 per item, maybe more) - thats a lot of disk operations.
I'll look into finding a different memory structure, maybe a hashmap will be better than individual arraylists.
That is how ATMA currently works. It was even more imperative since it supports so many formats and would be easy to run out of memory if it simply loaded everything at once. I set up a C++ singleton class that acts as a data file manager and it only loads the files that it needs into memory when they are requested. Once the file is loaded into memory, it can always be accessed through the manager. It's a nice compromise between loading everything into memory at once and reloading the data files every time they are needed. It is hard to imagine a worst case scenario where every single file for every version is eventually loaded ... the user would have to be doing some major muling!
--T
Is it possible to trade gold with Atma? Like attaching gold to a stash?
Ofc it's possible to a char but it's very limited, right?
Why can't you just use Bank of ATMA to transfer the money to a mule in ATMA and email the character? Not sure I'm comfortable with the idea though. Bit too much like fg for my taste.
I know what you mean...
The explain what "fg" means for the rest of us :tongue:
Forum gold
EDIT: And while we're sticking tongues out: you do realize this gold trade thingy is going to turn into a GoMule RFE, right? :tongue: