View Full Version : Martial Arts Maneuver glitch
RPMiller
Apr 19th, '03, 09:29 PM
Mr. Simon,
I'm not sure what is causing this behavior, and can't fix it on my own, so hopefully your wisdom will prevail.
I created an Export Template using the new tags (thank you!) and they all work beautifully except for the Maneuver Tags (at least that is what I can only guess). I removed the Maneuver tags and Export worked. I put them in and it hangs.
The behavior is as follows:
I load a character it doesn't matter if it is one martial art or several.
I select my export template and Export or Preview doesn't matter.
HD hangs for an indeterminate time, (I've waited for over 15 minutes) and doesn't complete the export. It is almost like it is caught in an infinite loop or something.
Characters without martial arts behave normally.
I know you said you won't troubleshoot Export Templates, but I'm going to hope that you will at least try mine and see what the result is like on your machine. I'm not concerned about the formatting currently, I'll fix that after/if the glitch is resolved.
I have already done the uninstall of Java, and reinstall per the performance thread. I'm running on XP Pro SP1, 256 MB RAM, 800 MHz PIII, 12 GB available on the HDD.
I'm cautioning anyone who downloads this template. It causes my machine to lock up, and even CTRL+ALT+DELETE takes a while to launch so that I can shut HD down. So beware!
I'll attach the Trace.log on the next message.
RPMiller
Apr 19th, '03, 09:31 PM
Here's the Trace.log (extension changed)
Simon
Apr 20th, '03, 05:59 AM
OK...a few things:
1. I found a problem in the export process. Oddly enough, it only seems to occur if the items are in a list. If the maneuvers are not in a list, it works fine on my system. I've got the issue fixed, at any rate, and will include the fix in the next update.
2. The template that you posted has a couple problems in it beyond that....MANEUVER_COST is not a valid tag in the context that you have it. MANEUVER_NAME is not a valid tag in the context of IF_NON_MANEUVER
RPMiller
Apr 20th, '03, 08:24 AM
Originally posted by dsimon
OK...a few things:
1. I found a problem in the export process. Oddly enough, it only seems to occur if the items are in a list. If the maneuvers are not in a list, it works fine on my system. I've got the issue fixed, at any rate, and will include the fix in the next update.
2. The template that you posted has a couple problems in it beyond that....MANEUVER_COST is not a valid tag in the context that you have it. MANEUVER_NAME is not a valid tag in the context of IF_NON_MANEUVER OK... a few more things:
1. The martial art(s) that I am exporting are NOT in a list. Never have been, never will be.
2. Thank you for pointing that out, but would it be possible to also include the correct usuage then? I put the tags in according to the way they appeared on the update page, but assumed that nothing else changed. I assumed that the vertical ellipses represented the old tags.
I'm sorry to bother you further with this, but thank you.
Simon
Apr 20th, '03, 11:43 AM
Originally posted by Durnin
OK... a few more things:
1. The martial art(s) that I am exporting are NOT in a list. Never have been, never will be.
2. Thank you for pointing that out, but would it be possible to also include the correct usuage then? I put the tags in according to the way they appeared on the update page, but assumed that nothing else changed. I assumed that the vertical ellipses represented the old tags.
I'm sorry to bother you further with this, but thank you.
1. Fixed in either case. I did not get it to occur until I placed the maneuvers in a list, but having non-maneuvers would also have sparked the issue.
2. MANEUVER_COST only exists within the MANEUVERS container (which you are not in at the time). Just use MA_COST. For the IF_NON_MANEUVER, you do not have anything like MANEUVER_NAME or MANEUVER_COST or MANEUVER_TEXT. You have MA_TEXT and MA_COST. The only "new" tags that you have within the respective containers are listed on the update page.
RPMiller
Apr 20th, '03, 11:46 AM
Originally posted by dsimon
1. Fixed in either case. I did not get it to occur until I placed the maneuvers in a list, but having non-maneuvers would also have sparked the issue.
2. MANEUVER_COST only exists within the MANEUVERS container (which you are not in at the time). Just use MA_COST. For the IF_NON_MANEUVER, you do not have anything like MANEUVER_NAME or MANEUVER_COST or MANEUVER_TEXT. You have MA_TEXT and MA_COST. The only "new" tags that you have within the respective containers are listed on the update page. Thank you Mr. Simon.
RPMiller
Apr 21st, '03, 07:27 PM
I'm just curious if you are close to the next update that will fix the above. I implemented your directions, but can't test yet. I'm not trying to be pushy. Just curious that's all. I realize that you have added a few more items to the next update so I'll just sit back and shut up and wait impatiently. :D ;)
Thanks again Mr. Simon!
RPMiller
Apr 25th, '03, 08:02 PM
Mr. Simon,
I'm sorry to bother you about this, but I've seriously tried to figure it out myself, but can't. It seems like the new Martial Arts tags are not working they way the should. Here are the problems:
It's as if there is an extra return at the end of the line that is getting inserted. I tested this, and I believe I'm correct. I put all the tags together on one line and it broke it down correctly.
Lists are being included under the Maneuver tag still.
Here is the power as it appears in HD:
<font size=+1><b></b></font>
<table cellpadding="0" border="0"><tr><td align="right"><b>Cost  </b></td><td><b>Martial Arts Maneuver</b></td></tr><tr><td valign="top" align="right">  </td><td>Martial Arts: Karate </td></tr><tr><td valign="top" align="right">4  </td><td>Atemi Strike: 1/2 Phase, -1 OCV, +1 DCV, 2 1/2d6 NND </td></tr><tr><td valign="top" align="right">4  </td><td>Block: 1/2 Phase, +2 OCV, +2 DCV, Block, Abort </td></tr><tr><td valign="top" align="right">4  </td><td>Disarm: 1/2 Phase, -1 OCV, +1 DCV, Disarm; +15 STR to Disarm roll </td></tr><tr><td valign="top" align="right">4  </td><td>Dodge: 1/2 Phase, -- OCV, +5 DCV, Dodge, Affects All Attacks, Abort </td></tr><tr><td valign="top" align="right">4  </td><td>Knifehand Strike ("Chop"): 1/2 Phase, -2 OCV, +0 DCV, HKA 0 1/2d6 </td></tr><tr><td valign="top" align="right">3  </td><td>Legsweep: 1/2 Phase, +2 OCV, -1 DCV, STR +2d6 Strike, Target Falls </td></tr><tr><td valign="top" align="right">4  </td><td>Punch/Snap Kick: 1/2 Phase, +0 OCV, +2 DCV, STR +3d6 Strike </td></tr><tr><td valign="top" align="right">5  </td><td>Side/Spin Kick: 1/2 Phase, -2 OCV, +1 DCV, STR +5d6 Strike </td></tr><tr><td valign="top" align="right">1  </td><td>Weapon Element: Karate Weapons </td></tr><tr><td valign="top" align="right">4  </td><td>+1 HTH Damage Class </td></tr></table><b>Martial Arts Cost:</b> 37
Here are the tags from the Export Template (minus !'s):
<--IFMARTIAL_ARTS--><--MARTIAL_ARTS-->
<--IS_LIST--> <--MA_TEXT-->
Maneuver OCV DCV Notes<--/IS_LIST-->
<--IF_MANEUVER--><--MA_COST--> <--MANEUVER_NAME--> <--MANEUVER_OCV--> <--MANEUVER_DCV--> <--MANEUVER_EFFECT-->
<--/IF_MANEUVER--><--IF_NON_MANEUVER--><--MA_COST--> <--MA_TEXT-->
<--/IF_NON_MANEUVER--><--/MARTIAL_ARTS--><--/IFMARTIAL_ARTS-->
Here is the output from the Export Template:
Martial Arts: Karate
Maneuver OCV DCV Notes
Martial Arts: Karate
4 Atemi Strike -1 +1 2 1/2d6 NND
4 Block +2 +2 Block, Abort
4 Disarm -1 +1 Disarm; +15 STR to Disarm roll
4 Dodge -- +5 Dodge, Affects All Attacks, Abort
4 Knifehand Strike ("Chop") -2 +0 HKA 0 1/2d6
3 Legsweep +2 -1 STR +2d6 Strike, Target Falls
4 Punch/Snap Kick +0 +2 STR +3d6 Strike
5 Side/Spin Kick -2 +1 STR +5d6 Strike
1 Weapon Element: Karate Weapons
4 +1 HTH Damage Class
I hope that all makes sense. The extra line returns and everything are exactly as is. If you would like me to post the Export Template or something let me know.
I'm trying to avoid that because I know you don't want to trouble shoot Export Templates.
Thanks!
Simon
Apr 26th, '03, 04:05 AM
The line breaks are preserved exactly as-is from the template.
You have an initial line break after MARTIA_ARTS. This will always be included. (line break 1)
In the IF_LIST container, you have another line break and then some spacing and the headers. These will only be included if the item is a List. (line break 2)
After the IF_LIST container, you have another line break, this will always be included. (line break 3)
In the IF_MANEUVER container, you have a line break after MANEUVER_EFFECT. This will be included if the item is a Maneuver. (line break 4)
In the IF_NON_MANEUVER container, you have a line break after MA_TEXT. This will be included if the item is not a maneuver. (line break 5)
Also note that IF_NON_MANEUVER evaluates to true for a list.
So...you get:
(line break 1)
Martial Arts: Karate (line break 2)
Maneuver OCV DCV NOTES (line break 3)
Martial Arts: Karate (line break 5)
(line break 1)
(line break 3)
4 Atemi Strike -1 +1 2 1/2d6 NND (line break 4)
(line break 1)
(line break 3)
.
.
.
(etc.)
The export is doing exactly what you tell it to do.
RPMiller
Apr 26th, '03, 09:33 AM
Originally posted by dsimon
The line breaks are preserved exactly as-is from the template.
--SNIP--
The export is doing exactly what you tell it to do. Ok...
*EDIT*
I got it all worked out!
Thank you again Mr. Simon.
Powered by vBulletin® Version 4.2.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.