Thread: bug/glitch pvp

  1. #1

    bug/glitch pvp

    one of the players is undead and the other has bane undead, but when the player whos a dragon attacks the undead player this code does not work, but when i do it as the GM it does work, so heres the code with pics
    IFT: TYPE (undead); DMG: 2d6

    this is when i the GM roll the damage vs the undead player
    Glitch (GM).PNG

    and this is when the player rolls the damage vs the undead player
    Glitch.PNG

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Denver, Colorado, USA (for a bit)
    Posts
    24,171
    What extensions are you using?

    Are you using this one? https://www.fantasygrounds.com/forum...ve-versus-tags

    In base FG, I don't think the IFT: type conditional effect works against PCs. I believe it only looks at the creature type field in a NPC record. I don't know if any of the extensions you're using would impact that. Try it without any extensions.
    FG Con 15 Fantasy Grounds Online RPG Convention - Nov. 8-10, 2019
    Register at www.fg-con.com for all the latest info.

    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!

  3. #3
    Kelrugem's Avatar
    Join Date
    Sep 2018
    Location
    Geneva, Switzerland, and Lyon, France
    Posts
    822
    I just tested it without extensions (since he uses at least my extension seemingly; just in case he didn't turn that off). This bug also happens without any extensions, so player versus player attacks can not check the other PCs type properly. Naively I assume that is due to the data base because the player does not have the data of the other player; e.g. when that one player controls both player characters (or the undead hits himself with undead bane) then it works again on client side Therefore I assume that is due to how the data is stored at the client (especially no information about the race types of other PCs) as you also already suggested (but I didn't look into the code now to confirm my assumption; my extension gladly does not cause it seemingly )

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Denver, Colorado, USA (for a bit)
    Posts
    24,171
    Looking at the 3.5E ruleset code, isCreatureType does check data in the "race" field of the character database record if it's a PC. Based off this, Kelrugem is probably correct - a player who doesn't own that PC can't access that data, but a GM can.
    FG Con 15 Fantasy Grounds Online RPG Convention - Nov. 8-10, 2019
    Register at www.fg-con.com for all the latest info.

    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!

  5. #5
    Kelrugem's Avatar
    Join Date
    Sep 2018
    Location
    Geneva, Switzerland, and Lyon, France
    Posts
    822
    Quote Originally Posted by Trenloe View Post
    Looking at the 3.5E ruleset code, isCreatureType does check data in the "race" field of the character database record if it's a PC. Based off this, Kelrugem is probably correct - a player who doesn't own that PC can't access that data, but a GM can.
    ah, thanks for the confirmation by looking at the code

  6. #6
    cool i though it was the extension i was using and im only using the extension made by Kelrugem, i hope that gets fixed, one reason as kelrugem pointed out while we where taking is what if one of the players gets mind control and attacks another, even if he wasnt undead lets say he was a human attacking an elf with IFT: TYPE(elf); DMG: 2d6, it wouldnt work, but im glad y'all figured out why it didnt work, now i can tel my players its not there PC bugging out hehehe

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
  •  

Log in

Log in