Refer a Friend
Page 58 of 104 First ... 8 48 56 57 58 59 60 68 ... Last
  1. #571
    Quote Originally Posted by dulux-oz View Post
    Yeah, that's a loop - you really probably shouldn't be creating those - it'll only effect Exporting / Copying With Links, so if you're NEVER going to do that then a loop won't cause too much trouble, but sooner or later you WILL w3ant to do that and you'll forget you've got the loop and things will go... not very well!

    So it's best to not have loops

    Cheers
    What about to implement something like a LOOKUP function that give an advise when this scenario occurs?
    Everytime you refer a specific record (The River) to an upper specific record (The Conuntry), the extension checks whether such recordings have already a top-to-bottom reference link.
    If occurs, a chat AND/OR console message is given.

    My two cents

  2. #572

    Lightbulb

    Quote Originally Posted by dulux-oz View Post
    That rounding error is one that I've been struggling with. The problem is with the precision that the lua scripting code uses for all its mathematical operations (ie its inbuilt to the engine0. The question in automatically having a rounding function is "round it to what?" Sure, we could round to the nearest 0.01 for decimal systems, but if you're using 240 pennies to the pound, or even 20 silver to the gold or 5 gold to the platinum - well, they've all got different rounding values.

    So I'm still trying to work out how to go about it - and yes, it is tied up with figuring out change

    So, for the moment, round it manually (and I'd round it in the favor of the shopkeeper, obviously) - I'll try to get something sorted to do it automatically (when I figure out what needs to be done exactly).
    This is my idea - today I'm prolific
    Maybe a more streamlined system could be to:
    1. create a new option field for the Locations extention, where to specify, with a cicle click, the coinage in use (basically: gp/sp/cp, cents, etc.)
    2. everytime a calculation is required, the "price" field is converted to the currency with lower value (gp converted to cp, sp converted to cp, and make a cp grandtotal)
    3. maybe you still need to round; because we are doing the calculations with the less valuable coin, you can always round up to "1"
    4. last step, convert the cp pile to gp/sp/sp

    Maybe this conversion system can also be used with pennies currencies.

    OR
    The options at point 1, open up a table, that for the gp/sp/cp example, the DM will fill as below:
    coin type conversion rate
    from the lowest coin sp 1
    cp 100
    gp 1.000
    and so on ...
    to the highest coin

  3. #573
    That's more or less the idea behind the DOE: WMC Extension (which I'm currently writing) but because the DOE: Locations is "system-agnostic" its got to be able to cover all currencies, currency types and currency denominations = for eg 240 pennies = 20 shillings = 1 pound, and other, even more bizarre monetary systems.

    So stay tuned
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

  4. #574
    Thaaaaanks a lot!

  5. #575
    Erin Righ's Avatar
    Join Date
    May 2016
    Location
    Vernon, BC, Canada
    Posts
    396
    Hey Dulux-Oz. This extension isn't working for me. When I go to load a campaign, this extension has a red X over the selector, any help?

  6. #576
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,730
    Quote Originally Posted by Erin Righ View Post
    Hey Dulux-Oz. This extension isn't working for me. When I go to load a campaign, this extension has a red X over the selector, any help?
    Update your DOE Base extension. https://www.fantasygrounds.com/forum...Base-Extension
    FG Wiki: How to Compile the FG Logs

    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  7. #577
    Erin Righ's Avatar
    Join Date
    May 2016
    Location
    Vernon, BC, Canada
    Posts
    396
    Quote Originally Posted by Trenloe View Post
    I am using the latest (2.0) version of the Base extension

  8. #578
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,730
    Quote Originally Posted by Erin Righ View Post
    I am using the latest (2.0) version of the Base extension
    The red X will only appear if the extension can't find the correct extension dependancy. The most recent version of the locations extension is specifically tagged for DOEBase v2.0. So, either the DOEBase is not the right one, or the locations extension is not the right one.

    In the extensions activation you should see "DOE Base Extension v2.0" and "DOE Locations Extension v4.4" If you don't see this, try:

    1) Check for any directories in your \extensions directory that are called DOEBase or DOELocations - if either exist delete them and try again.
    2) Delete DOEBase.ext and DOELocations.ext and re-download the most recent versions again from these threads.
    FG Wiki: How to Compile the FG Logs

    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  9. #579
    Erin Righ's Avatar
    Join Date
    May 2016
    Location
    Vernon, BC, Canada
    Posts
    396
    Quote Originally Posted by Trenloe View Post
    The red X will only appear if the extension can't find the correct extension dependancy. The most recent version of the locations extension is specifically tagged for DOEBase v2.0. So, either the DOEBase is not the right one, or the locations extension is not the right one.

    In the extensions activation you should see "DOE Base Extension v2.0" and "DOE Locations Extension v4.4" If you don't see this, try:

    1) Check for any directories in your \extensions directory that are called DOEBase or DOELocations - if either exist delete them and try again.
    2) Delete DOEBase.ext and DOELocations.ext and re-download the most recent versions again from these threads.
    There is the problem! When I click on the locations extension in post 1 apparently it is installing v4.2, I tried deleting and redownloading didn't work

  10. #580
    When you look at the campaign Loading Screen (where the red Xs are) does it say: "DOE: Base v2.0" and "DOE: Locations v4.4"?

    If it doesn't then you definitely do not have the latest versions - as such, right click on the Extension in post #1 and then choose "Save As".

    In the past its also been found that if you completely remove (ie delete) an Extension from your hard drive and then download it afrsh that can also resolve the issue.

    Let us know how you go and we'll get it sorted for you

    Cheers
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

Page 58 of 104 First ... 8 48 56 57 58 59 60 68 ... Last

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