Lone Wolf Development Forums Extended Character Sheets
 Register FAQ Members List Search Today's Posts Mark Forums Read

 Notices Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528. If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com. - The Lone Wolf Development Team

Senior Member
Lone Wolf Staff

Join Date: May 2005
Posts: 12,379

September 15th, 2013, 09:15 AM
The positioning fix was a very subtle thing.

Old:
Code:
```
~if the height the tables exceeds the available space, we need to divvy
~up that space between the tables
if (portal[oArmor].height + portal[oWeapon].height + portal[oMagicArmr].height + portal[oMagicWeap].height > remain) then
~if the armor table is less than half the space, limit the weapon table
~to whatever space is leftover
if (portal[oArmor].height + portal[oMagicArmr].height < remain / 2) then
portal[oMagicWeap].height = remain - portal[oArmor].height + portal[oMagicArmr].height
portal[oWeapon].height = remain - portal[oArmor].height + portal[oMagicArmr].height + portal[oMagicWeap].height
~if the weapon table is less than half the space, limit the armor table
~to whatever space is leftover
elseif (portal[oWeapon].height + portal[oMagicWeap].height < remain / 2) then
portal[oMagicArmr].height = remain - portal[oWeapon].height + portal[oMagicWeap].height
portal[oArmor].height = remain - portal[oWeapon].height + portal[oMagicWeap].height + portal[oMagicArmr].height
~otherwise, both tables are larger than half the space, so we need to limit
~the height of both of them
~NOTE! If we just divide the remaining amount by two and set both tables to
~that height, we could end up with both tables being truncated by more than
~a half item, with the combined height being a full item short of taking up
~the full space. So we have to set the height of one table to half the
~remaining space, then subtract that table's final height from our remaining
~space, and finally set that as the height for the second table.
else
portal[oMagicWeap].height = minimum(portal[oMagicWeap].height,remain / 2)
portal[oWeapon].height = (remain / 2) - portal[oMagicWeap].height
portal[oMagicArmr].height = remain - (portal[oWeapon].height + portal[oMagicWeap].height)
portal[oArmor].height = (remain / 2) - portal[oMagicArmr].height
endif
endif```
New:
Code:
```
~if the height the tables exceeds the available space, we need to divvy
~up that space between the tables
if (portal[oArmor].height + portal[oWeapon].height + portal[oMagicArmr].height + portal[oMagicWeap].height > remain) then
~if the armor table is less than half the space, limit the weapon table
~to whatever space is leftover
if (portal[oArmor].height + portal[oMagicArmr].height < remain / 2) then
portal[oMagicWeap].height = remain - portal[oArmor].height - portal[oMagicArmr].height
portal[oWeapon].height = remain - portal[oArmor].height - portal[oMagicArmr].height - portal[oMagicWeap].height
~if the weapon table is less than half the space, limit the armor table
~to whatever space is leftover
elseif (portal[oWeapon].height + portal[oMagicWeap].height < remain / 2) then
portal[oMagicArmr].height = remain - portal[oWeapon].height - portal[oMagicWeap].height
portal[oArmor].height = remain - portal[oWeapon].height - portal[oMagicWeap].height - portal[oMagicArmr].height
~otherwise, both tables are larger than half the space, so we need to limit
~the height of both of them
~NOTE! If we just divide the remaining amount by two and set both tables to
~that height, we could end up with both tables being truncated by more than
~a half item, with the combined height being a full item short of taking up
~the full space. So we have to set the height of one table to half the
~remaining space, then subtract that table's final height from our remaining
~space, and finally set that as the height for the second table.
else
portal[oMagicWeap].height = minimum(portal[oMagicWeap].height,remain / 2)
portal[oWeapon].height = (remain / 2) - portal[oMagicWeap].height
portal[oMagicArmr].height = remain - (portal[oWeapon].height - portal[oMagicWeap].height)
portal[oArmor].height = (remain / 2) - portal[oMagicArmr].height
endif
endif```
On 5 lines, some of the + were changed to -.
#21
Senior Member

Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,751

September 15th, 2013, 09:23 AM
Real subtle, I completely missed that! v1.3 is now up, then.

Lenny Zimmermann
Metairie, LA, USA

Data files authored (please let me know if you see any issues with any of these if you have/use them):
50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome
Coming Eventually
Evernight (LWD has completed their review but I have some fixes to make first)
#22
Senior Member

Join Date: Dec 2009
Location: Independence, Mo
Posts: 720

September 15th, 2013, 10:23 AM
Sorry, No power points still only works if it's checked in the configure hero window in your character sheet, it doesn't work if it's checked in the setting tab. bummer.
#23
Junior Member

Join Date: Sep 2013
Posts: 18

September 15th, 2013, 11:45 AM
Thanks zarlor; I didn't mean to cut into your vacation -- I was just shooting my mouth off while I was thinking about it.
#24
zarlor
Senior Member

Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,751

September 15th, 2013, 06:19 PM
Quote:
 Originally Posted by jbearwillis Sorry, No power points still only works if it's checked in the configure hero window in your character sheet, it doesn't work if it's checked in the setting tab. bummer.
But it works on the default sheet? I don't know what it is, then. Caped, Mathias? Any ideas what else I might have missed?

Lenny Zimmermann
Metairie, LA, USA

Data files authored (please let me know if you see any issues with any of these if you have/use them):
50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome
Coming Eventually
Evernight (LWD has completed their review but I have some fixes to make first)
#25
atimrogers
Junior Member

Join Date: Sep 2013
Posts: 18

September 15th, 2013, 08:03 PM
Uh-oh, installing the new sheet (v 1.3) makes my HeroLab cry. I get this error after selecting SW:

Quote:
 The data files could not be loaded due to errors. Hero Lab will now attempt to load them in recovery mode. Once loaded, you can access the editor as normal to correct any errors. The following errors occurred: Syntax error in 'position' script for Layout 'zAdjust' on line 14 -> Non-existent portal 'oNzInjury' used by script
And if I say okay and carry on, it gets upset with me if I load a character with a custom.user file -- can't find the items from that file (I think):

Quote:
I'm thinking this may be the problem my GM had with the first version of this character sheet, although I didn't have that problem.

Deleting both extended sheet.user files and the dossiers.user file made the errors go away.

Edit: I just re-downloaded and re-installed v1.3 and tried to open a character with the Solomon Kane .user data, and got the same type of errors, but bigger and more (presumably b/c there was a lot more meat to that file).

Last edited by atimrogers; September 15th, 2013 at 08:21 PM.
#26
Senior Member

Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,751

September 15th, 2013, 09:08 PM
All of the rest of those errors come from the "oNzInjury" error, it just prevented all of your other data files from compiling. That's what I get for trying to push it through and forgetting to test. That's all my fault and I'm sorry about that. v1.4 is up now and should have that fixed.

Lenny Zimmermann
Metairie, LA, USA

Data files authored (please let me know if you see any issues with any of these if you have/use them):
50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome
Coming Eventually
Evernight (LWD has completed their review but I have some fixes to make first)
#27
Senior Member

Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,751

September 15th, 2013, 09:10 PM
Oh, and that would not have been the error your GM had with the first sheet. The error you were getting would affect anyone using that 1.3 version and was not an issue in the earlier versions. It was just something I missed. I still have no clue what your GMs issue could possibly have been since I'd definitely tested that version and it was fine, but it may have been some odd interference maybe with a custom .user file?

Lenny Zimmermann
Metairie, LA, USA

Data files authored (please let me know if you see any issues with any of these if you have/use them):
50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome
Coming Eventually
Evernight (LWD has completed their review but I have some fixes to make first)
#28
Junior Member

Join Date: Sep 2013
Posts: 18

September 16th, 2013, 06:03 AM
Thanks. That update worked, and the activated adjustments correction was working, too, with both overlong lists of weapons and overlong lists of powers. I thought jbear had managed to load and use v1.3 because of some comment he made, so I thought the error might have been more specific to my own abuse of HL.
#29
Senior Member

Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,751

September 16th, 2013, 08:25 PM
Yeah, I guess jbear was basing his assessment on 1.2. That thing you ran into was just something I noticed with a global replace I had done that kind of changed the name of something so it didn't look right (NzInjury rather than NoInjury) so I changed it in the obvious spot where I saw it but forgot to look for other instances. I still don't know what to do to fix the problem jbear is seeing, though. Nothing is jumping out at me that's obviously different between the files other than the name changes that had to go in so they wouldn't conflict with the original names in the Standard files and those few other things I had to change to make sure everything was allowed to flow across columns and pages as well as changing the use of summary text to descript text. So it wasn't really a ton of stuff and I have no clue why that no power points thing would behave differently between.

Lenny Zimmermann
Metairie, LA, USA

Data files authored (please let me know if you see any issues with any of these if you have/use them):
50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome
Coming Eventually
Evernight (LWD has completed their review but I have some fixes to make first)
#30

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Lone Wolf Development Web Site Announcements Realm Works Forums     Realm Works Discussion         Realm Works in Action         Realm Works Feature Requests     Realm Works in Action     Realm Works Feature Requests Hero Lab Online Forums     Hero Lab Online Discussion     HLO - Pathfinder Playtest     HLO - Starfinder Hero Lab Forums     HL - Pathfinder Roleplaying Game     HL - D&D 5th Edition SRD     HL - Shadowrun     HL - Mutants & Masterminds     HL - d20 System     HL - World of Darkness     HL - Call of Cthulhu     HL - 4th Edition     HL - Savage Worlds     HL - Cortex System     HL - Authoring Kit     HL - User Projects     HL - Alternity (user-created)     Hero Lab Discussion Army Builder Forums     Army Builder Army Builder Data Files     Babylon 5: A Call to Arms     Battlefleet Gothic     Blood Bowl     Black Powder, Bolt Action, Hail Caesar, Judge Dredd, and Pike & Shotte     Confrontation - English     Kings of War (2nd Edition)     Lord of the Rings (Tabletop)     Mordheim     Necromunda     Starship Troopers     Star Wars: X-Wing and Armada Miniatures Game     The 9th Age     Warhammer Ancient Battles     Warhammer 40,000     Warhammer Fantasy 8th Ed.     Warhammer Historical: The Great War     Warhammer Fantasy 3rd Ed.     Warlord     Warmachine & Hordes     Warmaster Card Vault Forums     Card Vault Card Vault Data Files     MLB Showdown     Lord of the Rings CCG     .hack//ENEMY     Vs. System     Yu-Gi-Oh!     D&D Miniatures

All times are GMT -8. The time now is 12:01 PM.

 -- Default Style -- Majestic Contact Us - Lone Wolf Development Forums - Archive - Top