• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • If Statements in QuestOrder

    Discussion in 'Archives' started by Tupperware, Dec 30, 2010.

    1. Tupperware

      Tupperware New Member

      Joined:
      Apr 3, 2010
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      0
      Just started messing around with making a Quest profile today, got a good chunk done. Manage to get it to use vehicles etc with the custom behaviour's by Natfoth.

      The problem I'm having though is I can't seem to get the <If></If> to work properly, no matter where I put this into my profile as soon as it has completed the statement Honorbuddy seems to think that there is nothing left to do.

      Might be me using it wrong or something so not sure.


      Code:
            <PickUp QuestName="Decontamination" QuestId="27635" GiverName="Gaffer Coilspring" GiverId="46274"/>
            <If Condition="HasQuest(27635)">
              <CustomBehavior File="MountVehOnly" QuestId="27635" NpcMountId="46185" X="-5174.837" Y="702.4578" Z="287.3968" />
              <CustomBehavior File="WaitTimer" QuestId="27635" WaitTime="35000"/>
            </If>      
            <TurnIn QuestName="Decontamination" QuestId="27635" TurnInName="Technician Braggle" TurnInId="46255"/>
      Thats part of the Gnome profile I was working on, It picks up the quest, mounts the Vehicle waits till the little vehicle event is finished then Honorbuddy just Force stops without moving on.

      Like I said it might be my side that the problem is but wanted to check and see

      Cheers
       
    2. M1k3

      M1k3 New Member

      Joined:
      Jul 24, 2010
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      I got that thing working by removing the waittimer behaviour. how did you get around the instant spawns at the first quest. i turned off looting and shifted down to 15 yards pulling. hafto be a better way. I did how ever come a cross an other problem with theese quests. what do you do when there is a elevator? :S
       
    3. M1k3

      M1k3 New Member

      Joined:
      Jul 24, 2010
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      this sea of errors make me feel really stupid!
       
    4. Tupperware

      Tupperware New Member

      Joined:
      Apr 3, 2010
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      0
      This part kinda got fixed with the last update but some other stuff broke that was working before...

      Also the mobs that are aggressive at the start have a different ID to the actual mobs needed for the quest, although killing both give credit.
      What you need to do is apply an avoid for them so your profile doesn't get stuck grinding the mobs non stop.

      <AvoidMobs>
      <Mob Name="Crazed Leper Gnome" Id="46391"/>
      </AvoidMobs>

      Put that in your profile or sub profile and it will happily run past and ignore the mobs attacking the guards.
       
    5. Tupperware

      Tupperware New Member

      Joined:
      Apr 3, 2010
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      0
      Ohh yeah the elevator doesn't actually need to be used there is a guy that you talk to that teleports you up to the surface,
      I had that part working before the last Honorbuddy update but now the custom behaviours are broken and it doesn't "TalkToAndListenToStory" which is needed to teleport up to the surface.

      Obviously if that doesn't work and elevators are extremely odd to use then a gnome AFK profile would be impossible :>
       
    6. M1k3

      M1k3 New Member

      Joined:
      Jul 24, 2010
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      Thanks alot i should have thought about the avoidmob thing. ohh ill add the teleporter and once that problem have been fixed it's allready in there.
       
    7. M1k3

      M1k3 New Member

      Joined:
      Jul 24, 2010
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      Warning: Unknown tag "AvoidMobs" (Input: "<AvoidMobs>
      <Mob Name="Crazed Leper Gnome" Id="46391" />
      </AvoidMobs>") in "QuestOrder"!

      got that. not sure what i did wrong.
       
    8. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      99% of the time, this is caused by using ">" to close an element when you meant " />":

      <Pickup .... > <!-- wrong, we need it to be "<Pickup .... />" -->


      Or, using a beginning tag twice, when you meant to use a closing tag:
      <Vendors>
      <Vendor... />
      <Vendor... />
      <Vendors> <!-- wrong, should have been </Vendors> -->


      Its a syntax error in the XML for sure.

      cheers,
      chinajade
       
    9. Tupperware

      Tupperware New Member

      Joined:
      Apr 3, 2010
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      0
      Not sure broski, I've uploaded the profile I was working on I sort of gave up on it after a while of bashing my head trying to work around bugs in honorbuddy.

      Might pick it up again once the behaviours and that get sorted out though.

      View attachment [QuestOrder]Gnome.xml
       
    10. M1k3

      M1k3 New Member

      Joined:
      Jul 24, 2010
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      sucks that i started out when it had temporarily broken down. I tried it the Tupperware way and it dint work either so.

      <AvoidMobs>
      <Mob Name="Crazed Leper Gnome" Id="46391"/>
      <Mob Name="Living Contamination" Id="43089"/>
      </AvoidMobs>
       
    11. M1k3

      M1k3 New Member

      Joined:
      Jul 24, 2010
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      Would be sweet with live support for profile making to.
       
    12. M1k3

      M1k3 New Member

      Joined:
      Jul 24, 2010
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      when might this be sorted out?
       
    13. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      I'm not sure what 'problem' your talking about at this point. For some reason, I'm having trouble deciphering the dialog between you and Tupperware (love that name). It looks like you're using each other's profile fragments, and I'm still unclear what the problem is at this point.

      But in general...
      the process doesn't start until you submit a BugTracker describing the problem precisely, and include an appropriate profile fragment where the problem can be repeated by a developer.

      cheers & sorry I couldn't help further,
      chinajade
       
    14. M1k3

      M1k3 New Member

      Joined:
      Jul 24, 2010
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      Ok thanks Jade ill download the bugtracker and quit whining ^^.
       

    Share This Page