FG Spreadshirt Swag
  1. #1

    Building Combat Tracker Entries Error

    I keep getting the following error when I drag personalities into my encounters:


    Script Error: [string "scripts/combattracker.lua"]:164: attempt to index field 'redeal' (a nil value)


    It doesn't crash the session, but I'm nervous that my module is corrupt in some way. Has anyone had this happen before?

  2. #2
    phantomwhale's Avatar
    Join Date
    Aug 2007
    Location
    Melbourne, Australia
    Posts
    1,370
    I'll take a look tonight at what that might be - I'd guess it's a harmless bug if everything else is still working, but if it's flashing the console up then it needs stomping.

    The redeal field is used to monitor redealing for the "quick" edge. The error suggests it's not getting setup properly when your dragging the personality onto the combat tracker.

    Can you confirm the version your using (type "/version" at the chat window). And if there is anything special about your campaign setup (e.g. are you using any modules or extensions ?) Are these personalities you've created, or ones you've picked up from a library module ? Do you still get the error if you drag entires onto the tracker from the "Bestiary" section of the SWEX GM guide ? How about if you start a brand new campaign, can you recreate the problem there ?

    Note that once opened, the console window has a tendency to "hide" behind other windows, so you may not see further errors unless you keep it in sight.

    And, for what it's worth, I tore that part of the code apart for v3.2 last night, so chances are that bug is gone now anyway. But would be good to check if I can recreate it, or diagnose it in the version your using, and perhaps put out a mini-patch if required.
    Former SW ruleset / Deadlands extension author. Now I just wanna play a few games. And maybe hack. A little.

  3. #3
    phantomwhale's Avatar
    Join Date
    Aug 2007
    Location
    Melbourne, Australia
    Posts
    1,370
    Quick look, and that's the line that sets the redeal value to "0", which is the default value for new entries.

    The error suggests that redeal variable is not present - perhaps you have an extension that in some way overwrites the default combat tracker ? If so, that would explain the error, as such an extension may not have been updated to deal with this new value, only introduced in 3.1. In such a case, I'd happily work with the extension author to bring it back into "SWEX 3.1 compatibility".

    Otherwise, let me know the outcome of the above questions (e.g. ARE you using version 3.1, and so forth...)
    Former SW ruleset / Deadlands extension author. Now I just wanna play a few games. And maybe hack. A little.

  4. #4
    Thank you for your quick response, you truly do a wonderful job of helping the community.

    And of course you were right-on with the diagnosis. I had accidentally selected the old Savage Worlds unofficial patches extension. I don't know why the extension was selected, as I just started the campaign last night and I know not to select it, but there it was. I just tried it again without the extension selected and I no longer have the error.

    Thanks again phantomwhale! And thanks for all your work on the ruleset!

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
  •  
STAR TREK 2d20

Log in

Log in