Results 1 to 12 of 12

Thread: Update 1.32

  1. #1
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981

    Update 1.32

    Update 1.32 is now available for download.

    Minor bug fixes include: Limited Range definition has been corrected. Disad dialogs should not show the name field (unused).

    Additions to the export templates:

    IS_NOT_LIST container
    IF_SPENT_EXP container
    IF_UNSPENT_EXP container
    IF_IMAGE container
    IF_NO_IMAGE container
    White Hats are for CISSPs

  2. #2
    Join Date
    Feb 2003
    Location
    Elk Grove, CA
    Age
    42
    Posts
    3,415
    Blog Entries
    4
    Rep Power
    1815182
    Couple questions.
    I am once again experiencing difficulties trying to make the new tags work. IF_SPENT_EXP is working. IF_UNSPENT_EXP is not working. Under what conditions should it display something?
    IS_NOT_LIST is not working either. I was able to implement my ideas for the list Martial Arts: and it works perfectly, unfortunately without the IS_NOT_LIST tag working it reprints the list again, and is showing the tags as I mentioned before. I will attach my RTF template with the tags in place so that you can hopefully see for yourself what is happening.
    Just watch the age old "mechanic inspection" happen... "The car is making an aweful noise." "Let's take a listen." "Well it was doing it before you listened to it..."
    I used to be not good like you, then I took a thesaurus in the knee.

  3. #3
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981
    IS_LIST will only have the contents of the container exported if the item in the iterations is a list.

    Conversely, IS_NOT_LIST will only have the contents of the container exported if the item in the iteration is not a list.

    For example:

    Martial Arts: Kung Foo
    1) Foo Strike
    2) Foo Block
    3) Foo Kick

    "Martial Arts: Kung Foo" will be true for IS_LIST and false for IS_NOT_LIST

    items 1-3 will be false for IS_LIST and true for IS_NOT_LIST

    I just checked on IF_UNSPENT_EXP and found a typo....it's currently working the same way as IF_SPENT_EXP. That will be fixed in the next update.
    White Hats are for CISSPs

  4. #4
    Join Date
    Feb 2003
    Location
    Elk Grove, CA
    Age
    42
    Posts
    3,415
    Blog Entries
    4
    Rep Power
    1815182
    Originally posted by dsimon
    IS_LIST will only have the contents of the container exported if the item in the iterations is a list.

    Conversely, IS_NOT_LIST will only have the contents of the container exported if the item in the iteration is not a list.

    For example:

    Martial Arts: Kung Foo
    1) Foo Strike
    2) Foo Block
    3) Foo Kick

    "Martial Arts: Kung Foo" will be true for IS_LIST and false for IS_NOT_LIST

    items 1-3 will be false for IS_LIST and true for IS_NOT_LIST

    I just checked on IF_UNSPENT_EXP and found a typo....it's currently working the same way as IF_SPENT_EXP. That will be fixed in the next update.
    Ok, I understand how the LIST tags are supposed to work, and as I mentioned IS_LIST "is" working, but IS_NOT_LIST "is not" working. Did you look at the template I included above? IS_NOT_LIST is not filtering out the list items, and is displaying in the final export.

    Ok, that's good about the IF_UNSPENT_EXP. That means I am probably doing it correctly. I'll ask again though, under what circumstances should IF_UNSPENT_EXP result in output?

    Thank you for your time Dan.
    I used to be not good like you, then I took a thesaurus in the knee.

  5. #5
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981
    Originally posted by Durnin
    Ok, I understand how the LIST tags are supposed to work, and as I mentioned IS_LIST "is" working, but IS_NOT_LIST "is not" working. Did you look at the template I included above? IS_NOT_LIST is not filtering out the list items, and is displaying in the final export.

    Ok, that's good about the IF_UNSPENT_EXP. That means I am probably doing it correctly. I'll ask again though, under what circumstances should IF_UNSPENT_EXP result in output?

    Thank you for your time Dan.
    IS_LIST = is a list

    IS_NOT_LIST = is not a list

    The list items are not a list. Therefore they evaulate to "true" for IS_NOT_LIST and "false" for IS_LIST
    White Hats are for CISSPs

  6. #6
    Join Date
    Feb 2003
    Location
    Elk Grove, CA
    Age
    42
    Posts
    3,415
    Blog Entries
    4
    Rep Power
    1815182
    Originally posted by dsimon
    IS_LIST = is a list

    IS_NOT_LIST = is not a list

    The list items are not a list. Therefore they evaulate to "true" for IS_NOT_LIST and "false" for IS_LIST
    (hint of sarcasm on)Dan, you sure are trying hard not to work LOL(sarcasm off)

    Seriously, you may recall that I am a programmer. I completely understand Boolean Logic. I follow you 110%. That still doesn't take care of the problem in the template. You may also recall from another thread that I had a problem with IS_LIST before. I was able to fix that, and it is still working quite nicely (thank you Dan!), however the IS_NOT_LIST isn't cooperating.

    I thought it might have something to do with the character template so I downloaded them in case they were new (it sure would be nice to have a single zip to download ), but that didn't help. I thought maybe because the character was created under a previous version that might be the problem so I created a brandnew character... didn't work. At this point I am calling upon your all knowing all powerful knowledge to see if you can solve the riddle. Thanks again!
    I used to be not good like you, then I took a thesaurus in the knee.

  7. #7
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981
    I'm not going to get into the habit of trouble shooting export templates....it's a losing proposition which will end up dominatng my time and preventing me from working on the app itself.

    I'm perfectly willing to help explain things and to check whether various tags are working properly. Or to create new tags as needed. But not to create or trouble shoot templates.

    I can tell you just looking at your template that the way you have it setup will print out the list headers <i>for every list on the martial arts tab</i> one after the other, with nothing placed between them.

    I suspect that this is not what you want.

    You're going to need to nest your conditional checks within the same MARTIAL_ARTS container. Tell the export what to do if the item in the current loop is a List. Also tell the export what to do if the item in the current loop is not a list. Within that "not a list" container, you'll likely want to specify what to do if the item is a list item.

    You have all the tools that you need in the current export functionality.

    To make things a bit "cleaner", I'm going to be implementing some new tags: IS_LIST_ITEM will function identically to IFLIST....it's just more in keeping with the format that we've ended up with.

    I'll also (just for consistency) implement the container IS_NOT_LIST_ITEM. You don't actually need this for your formatting, however. The existing tags will do what you need.
    White Hats are for CISSPs

  8. #8
    Join Date
    Feb 2003
    Location
    Elk Grove, CA
    Age
    42
    Posts
    3,415
    Blog Entries
    4
    Rep Power
    1815182
    Originally posted by dsimon
    I'm not going to get into the habit of trouble shooting export templates....it's a losing proposition which will end up dominatng my time and preventing me from working on the app itself.

    I'm perfectly willing to help explain things and to check whether various tags are working properly. Or to create new tags as needed. But not to create or trouble shoot templates.

    I can tell you just looking at your template that the way you have it setup will print out the list headers <i>for every list on the martial arts tab</i> one after the other, with nothing placed between them.

    I suspect that this is not what you want.

    You're going to need to nest your conditional checks within the same MARTIAL_ARTS container. Tell the export what to do if the item in the current loop is a List. Also tell the export what to do if the item in the current loop is not a list. Within that "not a list" container, you'll likely want to specify what to do if the item is a list item.

    You have all the tools that you need in the current export functionality.

    To make things a bit "cleaner", I'm going to be implementing some new tags: IS_LIST_ITEM will function identically to IFLIST....it's just more in keeping with the format that we've ended up with.

    I'll also (just for consistency) implement the container IS_NOT_LIST_ITEM. You don't actually need this for your formatting, however. The existing tags will do what you need.
    Thanks Dan. I thoroughly tested the Export Template before I asked for your help. It is doing what it should actually. The problem is going to be of course that I won't be able to create two or more martial arts lists correctly because I haven't worked through the logic yet of how HD would export multiple martial arts, but I will be taking your advice above and trying to work through multiple MAs.
    My concern remains to be that the IS_NOT_LIST tags are not working as they should as I indicated above. That is the reason I attached my Export Template. That and the fact the last time this came up you seemed to be concerned that HD wasn't acting properly so I was just trying to help. Thank you again Dan. I'll do what I can before I ask you for anymore help.
    Last edited by RPMiller; Apr 12th, '03 at 01:16 PM.
    I used to be not good like you, then I took a thesaurus in the knee.

  9. #9
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981
    Originally posted by Durnin
    Thanks Dan. I thoroughly tested the Export Template before I asked for your help. It is doing what it should actually. The problem is going to be of course that I won't be able to create two or more martial arts lists correctly because I haven't worked through the logic yet of how HD would export multiple martial arts, but I will be taking your advice above and trying to work through multiple MAs.
    My concern remains to be that the IS_NOT_LIST tags are not working as they should as I indicated above. That is the reason I attached my Export Template. That and the fact the last time this came up you seemed to be concerned that HD wasn't acting properly so I was just trying to help. Thank you again Dan. I'll do what I can before I ask you for anymore help.
    IS_NOT_LIST is doing exactly what it should...as I indicated above.
    White Hats are for CISSPs

  10. #10
    Join Date
    Feb 2003
    Location
    Elk Grove, CA
    Age
    42
    Posts
    3,415
    Blog Entries
    4
    Rep Power
    1815182
    Originally posted by dsimon
    IS_NOT_LIST is doing exactly what it should...as I indicated above.
    Using my template?!? I am truly at my wits end. I have been playing with this for the last 2 1/2 hours, trying every permutation I can think of, and it will not work for me.

    The output continues to show everything on the martial arts tab AND puts the IS_NOT_LIST tag in front and behind every line. Before you ask, yes I am closing every tag like I should.
    What I don't understand is how can the IS_LIST tag work perfectly, but the IS_NOT_LIST tag not work?

    PLEASE, PLEASE, PLEASE help me Dan. I really would like to make this work.
    I used to be not good like you, then I took a thesaurus in the knee.

  11. #11
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981
    Originally posted by Durnin
    Using my template?!? I am truly at my wits end. I have been playing with this for the last 2 1/2 hours, trying every permutation I can think of, and it will not work for me.

    The output continues to show everything on the martial arts tab AND puts the IS_NOT_LIST tag in front and behind every line. Before you ask, yes I am closing every tag like I should.
    What I don't understand is how can the IS_LIST tag work perfectly, but the IS_NOT_LIST tag not work?

    PLEASE, PLEASE, PLEASE help me Dan. I really would like to make this work.
    Ah...found it! Once I realized you were getting different results than I was, I took a look at the current jar file. There's a class missing in it (or, rather, a class that did not get updated with the most recent copy). This class contains the working code for IS_NOT_LIST.

    I'll have that class included in the next update.

    The export template that you have posted will work better, but still will not function correctly as a formal template.....you're going to have to combine your martial arts containers so that you can handle multiple lists (i.e. multiple different styles).
    White Hats are for CISSPs

  12. #12
    Join Date
    Feb 2003
    Location
    Elk Grove, CA
    Age
    42
    Posts
    3,415
    Blog Entries
    4
    Rep Power
    1815182
    Originally posted by dsimon
    Ah...found it! Once I realized you were getting different results than I was, I took a look at the current jar file. There's a class missing in it (or, rather, a class that did not get updated with the most recent copy). This class contains the working code for IS_NOT_LIST.

    I'll have that class included in the next update.

    The export template that you have posted will work better, but still will not function correctly as a formal template.....you're going to have to combine your martial arts containers so that you can handle multiple lists (i.e. multiple different styles).
    AH HA! I knew I wasn't crazy! Thanks Dan! I'll look forward to that update. I've been working on the logic behind multiple martial arts, but I couldn't test properly so once I get that update, I'll work on it some more.

    Thanks!
    I used to be not good like you, then I took a thesaurus in the knee.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Update 1.39b
    By Simon in forum HERO Designer Discussion
    Replies: 0
    Last Post: May 2nd, '03, 02:58 PM
  2. Update 1.36
    By Simon in forum HERO Designer Discussion
    Replies: 7
    Last Post: Apr 21st, '03, 01:27 AM
  3. Update 1.23
    By Simon in forum HERO Designer Discussion
    Replies: 5
    Last Post: Mar 31st, '03, 08:50 AM
  4. Update 1.18
    By Simon in forum HERO Designer Discussion
    Replies: 13
    Last Post: Feb 14th, '03, 04:05 PM
  5. Update 1.17
    By Simon in forum HERO Designer Discussion
    Replies: 0
    Last Post: Feb 12th, '03, 06:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •