FG Spreadshirt Swag
Page 8 of 14 First ... 678910 ... Last
  1. #71
    Yes. Only When I to to open a class in OSE mod.

  2. #72
    They are asking if the bug occurs without the OSE Extension/Ruleset active.

    Running MoreCore and clicking the Classes side panel button doesn't bring up an error.

    Running MoreCore with the OSE Extension produces the error.

    "Script Error: [string "ref_pcclass_stats"]:1: unexpected symbol near ';'"

    If I unpak the OSE ruleset and do a search for "ref_pcclass_stats", I find the follow errors in the code:

    Code:
    			function update()
    				local bReadOnly = WindowManager.getReadOnlyState(getDatabaseNode());
    				classdesc.update(bReadOnly);
    				prime.update(bReadOnly);
    				requirements.update(bReadOnly);
    				--[[ xpbonus.update(bReadOnly)]];
    				hitdice.update(bReadOnly);
    				maxlevel.update(bReadOnly);
    				armour.update(bReadOnly);
    				weapons.update(bReadOnly);
    				languages.update(bReadOnly);
    				special.update(bReadOnly);
    				combat.update(bReadOnly);
    				level_nine.update(bReadOnly);
    				bookref.update(bReadOnly);
    				--[[ xplevel.update(bReadOnly)]];
    				--[[ savingthrows.update(bReadOnly)]];
    				--[[ highlevels.update(bReadOnly)]];
    			end
    The lines with -- and [] are causing the error. Removing those lines and running it again removes the FG errors.
    Last edited by Stitched; July 28th, 2021 at 20:13.

  3. #73
    I just ran it with the OSE extension disabled and the error does not occur. Is there a workaround?

  4. #74
    Upak the OSE Mod or the OSE extension? I'm way over my head here. Thanks again Stitched.

  5. #75
    Use Unzip / Unrar and unpack the OSE Extension .ext file, under Extensions, into a folder with the same name.

    Inside that folder, there will be another folder named "common". Inside that, a file called "record_pcclass.xml". Copy and paste that file to create a backup. Name it "__record_pcclass_back.xml'

    Edit "record_pcclass.xml" file using notepad++, or other text editor, and remove the lines starting with "--" found under <windowclass name="ref_pcclass_stats">

    (You'll see the "function update()" call underneath that, like I posted above).

    Save the file and restart Fantasy Grounds.

    This should remove the Class error.
    Last edited by Stitched; July 28th, 2021 at 21:16.

  6. #76
    Like I said I am way over my head. I can't figure out how to rezip into a .ext file?

  7. #77
    You don't have to rezip it. You can run FG without repacking it.

    If you WANT to repack it, zip the folder into a .zip file and rename it to .ext

  8. #78
    Ha! I owe you a beer sir! It now works perfectly!

  9. #79
    Only one beer?
    C'est b'en cheap, ça!

    You might have to go in a fix the textual errors in the class descriptions. Looks like they just copy/pasted from the online HMTL SRD. Dragging the Class stuff onto a character sheet doesn't auto-fill Saving Throws etc.

    Just adjusts the Class name and level.

  10. #80
    You're right what a cheapo! As many Drinks as you want on me! I don't know how to fix the textual errors. I am just glad it works now. I have an unrelated question: How are you doing spells? Do you create the spells description under "Abilities" tab and then add damage strings etc. to the character sheet as needed?

Thread Information

Users Browsing this Thread

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

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
  •  
DICE PACKS BUNDLE

Log in

Log in