Jump to content

GreenAsJade

Members
  • Posts

    4,877
  • Joined

  • Last visited

Posts posted by GreenAsJade

  1. Note: you can have CMH and H2HH installed on the same machine, and use whichever you like at any given time.

    However, you should not run them both at the same time. As you can imagine, if you do that, the both of them will be trying to move your game files around at the same time: only one will succeed and the other will complain loudly.

    GaJ

  2. Hi All,

    In a thread near here there are instructions about how to set up H2HH to work with CMRT.

    I don't plan to update H2HH for 'built in' CMRT support, because I am nearly ready with the next evolution of H2HH .... "CM Helper".

    CH Helper has all the H2HH features (and is compatible with it) but has a roadmap of more useful things planned as well.

    You can get the beta version of CMH here:

    http://bit.ly/cm-helper

    If you're reporting an issue, please include the log (Options->Show Log Window).

    Thanks,

    GaJ

  3. Note to marka about temporary files: in this instance, the fault was entirely mine - I can't blame Windows, it was just a bug in H2HH.

    As you can see by number and range of temp files left in /Temp by all sorts of programs, this is a tricky area to get right in all circumstances. H2HH does its best to be a good citizen and clean up after itself :)

    Cheers,

    GaJ

  4. Just to confirm what Mike passed on: with Mike's help I found what was causing these temp files to sometimes appear and this is fixed in H2HH 2.11.2, is available now.

    This problem was introduced when I had to update the chat file format, around about 2.8.x

    As a result of that change, H2HH got the possibility of becoming confused when encountering chat files from oppos who had not updated, and forgot to delete it's temporary file in that case.

    As always - if you spot a problem, let me know.

    Cheers,

    GaJ

  5. I thought of another question. If someone else finds these, before you delete them could you take a moment to check the creation dates on them? I would like to know if they were created over a period of time, or all suddenly at once, and when this was.

    Apologies if this is causing hassles or stress to anyone - I'm sure that H2HH is not the first and won't be the last program to inadvertently

    generate a bunch of files/data. In fact, right now, my own AppData/Local/Temp directory has 600M in 1500 files, none of which

    came from H2HH. Pretty normal stuff (especially for Windows). But rest assured that with your constructive help I'll make sure that H2HH

    doesn't contribute to this un-necessarily.

    GaJ

  6. Mike, can you confirm that you found the files in AppData/Local/Temp (not some other place that I'm not aware of).

    Can you also confirm that after deleting them, and using H2HH 2.11.0, you don't get any more?

    I am waiting for this to be confirmed by someone who had the problem, because it will confirm that whatever made it happen in the past appears to have gone away. (Or not, depending on the outcome).

    GaJ

  7. Yes - there are indeed a bunch of other folders in there because as I said most applications need a temporary file at some time or other, and that's the standard place to put them.

    Some applications are better than others at cleaning these up after themselves. H2HH tries to be clean.

    I'm keen to confirm whether or not the H2HH ones you found are from an older version of H2HH that had a bug that we've only just discovered, or whether there's still some way H2HH is not succeding in cleaning up.

    Can you delete the existing ones, make sure you are running 2.11.0, and see if anymore come back?

    Thanks!

    GaJ

  8. I spent some time on this, this evening.

    H2HH is very careful about when it updates anything in Dropbox. It only does it when something really changed (you or your oppo did a turn, or chatted). It is careful because apart from anything else, it's irritating to have dropbox telling you that a file changed, when nothing really is going on.

    I don't think any problem is relating to H2HH/Dropbox cache interactions.

    H2HH does from time to time create a temporary file, using the standard operating system calls for this (as do many programs) which it deletes after it has finished - quicker than you can even see them arrive and go. It's conceivable that a version of H2HH wasn't deleting these properly, or that some other circumstance causes them to hang around.

    However, I have played around with everything I can think of to cause something like that to happen, and have not been able to.

    Furthermore, the most recent versions of H2HH give a warning if they can't delete the file: they specifically check if it's gone.

    The OP didn't say what version of H2HH caused him grief, and Tarqelne reports that he doesn't find these files when using 2.11.0.

    So I'm concluding there might have been a bug in an older version, but everything seems right with the most recent.

    Tarqelne was looking in the right place: if they're created, they are in

    c:\users\your account\appdata\local\temp

    So if you are paranoid, by all means keep an eye out, and let me know if you spot these not being cleaned up properly.

    GaJ

    PS: chat definitely works, for me, as well :)

  9. I don't use chat much... could very well be Dropbox.

    It's temp files, Windows... my assumption is sheer perversity on Microsoft's part. There are files in the directory older marked with last-modified times predating this PC, the hard drive, and the OS.

    Here's some actual data: When I open H2HH 2 new folders/files appear in the temp directory. FWIW, this happens even if the DB client isn't running. (Or, at least, I've exited and I don't see the DB icon anymore.)

    The last directory formed was named "tmpkklgzo"

    The file inside is named: "chat_36074243940227.h2hh"

    And the entire contents of the file is:

    {"messages":[],"local_timezone":-43200,"current_seq":0,"local_daylight":1,"local_altzone":-46800,"h2hh_version":"2.9.2","last_rendered":0}

    This is a copy of the file that H2HH _does_ put in the dropbox folder of each game that you are playing. One file per person per game. H2HH updates this file with information it needs to keep track of chat (and related things).

    I'm pretty sure that if there are temp files of this nature, then it's dropbox keeping a copy for you "incase you want to undo the changes you made".

  10. Update: I've had a look at recent changes I made to H2HH, and may have found an explanation for why a recent version of H2HH may have caused there to be more "versions" of chat files that Dropbox might feel compelled to cache. If true, this would explain Tarquelne's 1600 files.

    I'll keep poking around and see if it's true, and what I can do about it.

    About "chat not working" ... Tarquelne: what version of H2HH?

    GaJ

  11. You guys have been using H2HH for 3-4 years now. Amazing.

    Do you know that in all that time, I've never been asked "how do I uninstall this?".

    I like to think that tells us something :)

    Actually it tells us two things:

    1) People rarely do it

    2) When they do, it's so obvious it doesn't need instructions.

    Nonetheless, the question has been asked, here is the answer:

    * Delete the folder that you created when you unzipped it

    That's it.

    H2HH is installed by unzipping, and uninstalled by deleting.

    H2HH doesn't mess with your registry (on Windows), and doesn't need any other "uninstallation" activity.

    GaJ

  12. I wonder if Dropbox is (has started?) caching files in there.

    H2HH certainly doesn't put these files there, so Dropbox doing so would be the only explanation I can think of - it may be part of how Dropbox helps you with undeleting files.

    I'll have a poke around and see what I can find out. You would have to really go nuts with chat to build up a significant amount of files that way though: at most you would get one new small file per chat exchange.

    FWIW, you can delete these files with impunity.

    GaJ

×
×
  • Create New...