• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Issue with TurnIn tag for Questing

    Discussion in 'Community Developer Forum' started by kagepande, Mar 25, 2015.

    1. kagepande

      kagepande Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      289
      Likes Received:
      11
      Trophy Points:
      18
      Heya, I have been making a lot of profiles lately and have run into this issue with the TurnIn tag, if I am required to go gather HQ items(gathering quests for example) and turn them in, it will try and turn it in but never complete it. Though it works as intended if the HQ item is first in your bag, and then the NQ version after it. It does not work the other way.

      There is no error thrown when this is happening, nothing to really figure this out, so I am wondering if there is a way to make it work correctly or is a custom tag needed?
       
    2. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      Yup, the only way past it is to remove the NQ item from your bag, or as you said, put the HQ one before it, or it'll get stuck in an infinite loop. You could try and make a custom tag to ignore the NQ items, but tbf, it isn't worth the work.
       
    3. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      This should still be fixed, I'm not sure but this might be the cause of an on-and-off issue I'm having turning in a main scenario quest with an HQ turn in.
       
    4. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      Oh most definitely, which is why I suggested the custom tag. The only other way to get around it is to guarantee that HQ result, like in my Ixal dailies. Countless times i've experienced the infinite loop because of NQ attempts being left in my inventory. But ofc it's very easy to guarantee HQ results with Ixal dailies, so the problem quickly went away. With gathering items it's going to prove problematic, but what else can we do. The issue is raised, and it's upto Mastahg to fix the tag, or use one of our own creation.
       
    5. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      383
      Trophy Points:
      83
      Thanks for the report, I guess theres a few ways to handle this. Currently we take the rawitemid but we could switch to the trueitemid, but i think that would break where you have only a hq item and the profile specified a nq one. I think adding a new param to turnin and handover called RequiresHq="true,false,false" would be the best way to go for now. Perhaps in the future, I could get around to reversing the list of items it wants so we don't even have to pass anything to them.
       
    6. kagepande

      kagepande Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      289
      Likes Received:
      11
      Trophy Points:
      18
      Thanks for the replies, I guess I will just have to wait for a fix come out to deal with this, as I wouldn't even know where to start for a custom tag :p
       
    7. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      383
      Trophy Points:
      83
      I've added the requireshq attribute in 254.
       
    8. kagepande

      kagepande Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      289
      Likes Received:
      11
      Trophy Points:
      18
      Thank you very much, always on top of fixing/adding stuff! One of the best devs of any bot I have used.
       
    9. kagepande

      kagepande Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      289
      Likes Received:
      11
      Trophy Points:
      18
    10. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      383
      Trophy Points:
      83
      Post yer profile
       
    11. kagepande

      kagepande Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      289
      Likes Received:
      11
      Trophy Points:
      18
      Alright heres my profile, it works fine if I don't add the RequiresHq in:
       
      Last edited: Mar 28, 2015
    12. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      383
      Trophy Points:
      83
      New version being built, let me know if you still have issues
       
    13. kagepande

      kagepande Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      289
      Likes Received:
      11
      Trophy Points:
      18
      Profile loads now, will have to wait until my test character gets to another quest that requires an HQ turn in :)
       
    14. kagepande

      kagepande Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      289
      Likes Received:
      11
      Trophy Points:
      18
      Just got done with a quest that used HQ, it went through it just fine and continued on with the profile like intended! Thanks for the update!
       

    Share This Page