Author Topic: Encounter Manager  (Read 2277 times)

Offline Dictum Mortuum

  • Sr. Member
  • ***
  • Posts: 467
    • View Profile
Dictum Mortuum's Handbooks: My personal character optimization blog.

Offline Amechra

  • Epic Member
  • ****
  • Posts: 4560
  • Thread Necromancy a specialty
    • View Profile
Re: Encounter Manager
« Reply #1 on: April 13, 2015, 01:33:44 PM »
It refuses to generate a marker if I fill in the note box. Still, this is pretty damn cool.

Edit: That's because I'm dumb, and that's for numbers.

Playing with it for a bit, I'm not a fan of the way it just slaps numbers at the end of your chosen name. May I suggest changing line #266

Code: [Select]
var name = val + i;
to

Code: [Select]
var j = i + 1; var name = val + " #" + j;
just to see the difference? I think it will parse better visually.
« Last Edit: April 13, 2015, 01:54:49 PM by Amechra »
"There is happiness for those who accept their fate, there is glory for those that defy it."

"Now that everyone's so happy, this is probably a good time to tell you I ate your parents."

Offline Dictum Mortuum

  • Sr. Member
  • ***
  • Posts: 467
    • View Profile
Re: Encounter Manager
« Reply #2 on: April 13, 2015, 03:47:17 PM »
I patched it, but remember to put the space when using the heal/damage function.
I can remove the whitespace when calculating the hash once I've got time to avoid this.
Dictum Mortuum's Handbooks: My personal character optimization blog.

Offline JohnnyMayHymn

  • Hero Member
  • ***
  • Posts: 762
  • Former Lord of the Kitchen Sink
    • View Profile
Re: Encounter Manager
« Reply #3 on: April 13, 2015, 10:09:20 PM »
My android (chrome) is having a hard time displaying this properly, I'll check it out from my laptop later

From what I can gather, it appears to be useful. Kudos :cake

just curious, where are you going to save/load the encounter, database, csv, cookie, cache?
« Last Edit: April 13, 2015, 10:13:32 PM by JohnnyMayHymn »
The Emperor
Can you find the Wumpus?

Offline Dictum Mortuum

  • Sr. Member
  • ***
  • Posts: 467
    • View Profile
Re: Encounter Manager
« Reply #4 on: April 14, 2015, 03:19:06 AM »
Damn, I tested it on my mother's tablet and on my android phone and it seemed to work ok. Seems that you can never be sure about mobile devices :/

I think that I'm going to use text files to dump everything there is in the #combat div. If that works without too much hussle (as I need to initialize the jQuery sortable after loading), it's the simplest solution. Cookie would work, too, but that way you can't have multiple encounters stored in your pc prepared for your session.
Dictum Mortuum's Handbooks: My personal character optimization blog.

Offline Endarire

  • DnD Handbook Writer
  • ****
  • Posts: 1661
  • Smile! Jesus loves you!
    • View Profile
    • Greg Campbell's Portfolio
Re: Encounter Manager
« Reply #5 on: April 19, 2015, 11:23:50 PM »
Cool, DM!  Thankee!