Joshua Stream Pre
Page 2 of 3 First 123 Last
  1. #11
    And Celestian... with all you've created and added to FG... the software engineering world is probably lesser for you NOT having it as a Day-Job ;P

  2. #12
    Quote Originally Posted by Varsuuk View Post
    OMG - didn't see that lol - since I by habit use camel-case.
    Ditto, thats why I was confused
    ---
    Fantasy Grounds AD&D Content Bundle (All The AD&D Content)
    Documentation for AD&D 2E ruleset.
    My Twitch Channel for AD&D and FG related streams (See schedule for live days)
    My YouTube for FG related Tutorials and AD&D Actual Plays
    Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
    Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.

  3. #13
    I'm going over the many CoreRPG changes since my last update and I saw a place where User.isHost() was changed to Session.IsHost so it reminded me to search for all my User.isHost() s. in the code to replace it.

    Then noticed a User.isLocal() and wondered if there was an analogous (as I suspect) one from Session. But I could not find Session in base.xml or doing a search on the Developer wiki.

    Where is Session defined?

  4. #14
    Quote Originally Posted by Varsuuk View Post
    I'm going over the many CoreRPG changes since my last update and I saw a place where User.isHost() was changed to Session.IsHost so it reminded me to search for all my User.isHost() s. in the code to replace it.

    Then noticed a User.isLocal() and wondered if there was an analogous (as I suspect) one from Session. But I could not find Session in base.xml or doing a search on the Developer wiki.

    Where is Session defined?
    Session is part of the base FantasyGrounds API: https://fantasygroundsunity.atlassia...2B-%2BPackages
    bmos' extensions
    he/him | Discord Tag: wil.thieme#3396

  5. #15
    Thanks, I was looking at that page, but I don't see Session. I see User however.

    ERASE-Session-ss.jpg

    I tried typing Session in the search box on that screen but I expected it to appear at same level as User/Interface etc if it is such.

  6. #16
    Quote Originally Posted by Varsuuk View Post
    Thanks, I was looking at that page, but I don't see Session. I see User however.

    ERASE-Session-ss.jpg

    I tried typing Session in the search box on that screen but I expected it to appear at same level as User/Interface etc if it is such.
    Yes, the wiki is a bit behind.
    Last edited by bmos; April 27th, 2021 at 16:17.
    bmos' extensions
    he/him | Discord Tag: wil.thieme#3396

  7. #17
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    29,492
    See the info on the changes in February here: https://www.fantasygrounds.com/forum...l=1#post574220
    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!

  8. #18
    EDIT: Just saw Trenloe's post - going there enow, THANKS!

    Ah - OK - so how do I find out what is in it or avail?

    Is it in some post somewhere in beta/release areas?

    I guess I can do a search on "Session" in CoreRPG to see some of the exported names, but what I was trying to do was replace all my "dated"? User.isHost() to SessionIsHost then I discovered User.isLocal() in a boolean check related to isHost() check so went to verify this also existed which made me wonder what else. At first I thought it was a CoreRPG thing but now get it.

    But without documentation or a ChangeList (which I assume was posted but I don't regularly read forums like I'd like to) , I don't know what to do with this new thing.

  9. #19
    Session package variables
    • IsHost [bool]
    • IsLocal [bool]
    • VersionMajor [#][X = client release (X.#.#)]
    • VersionMinor [#][X = client release (#.X.#)]
    • VersionRelease [#][X = client release (#.#.X)]
    • CampaignName [string]
    • RulesetName [string]
    • UserName [string][FG account name]

  10. #20
    Thank you all, I just finished my review of everything up to Sidebar (did some previously I inferred from other extensions, now checking this list) - which I was going to lookup anyhow because my rectangular buttons went away on latest update (I was using the 2E/OSR style for quite some time, so I need to look at why it changed. The functionality is still there, I see the labels on a translucent background is all)

    Seeing the above, I replaced the isLocal's as well. Thanks.

    ---
    Done. Turns out the majority of the "hits" were in my MoreCore. I realized that after changing probably half of them. I undid my changes (although, would be glad to do them and submit to Damned, it's just easy one for one changes but be glad to do the boring work for you Damned, if you say so.)
    Last edited by Varsuuk; April 18th, 2021 at 22:48.

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Storm Kings Thunder Playlist

Log in

Log in