• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Grinding profile template

    Discussion in 'Wildbuddy Developers' started by Rumpel, Dec 30, 2014.

    1. Rumpel

      Rumpel New Member

      Joined:
      May 1, 2010
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      1
      Hi all... does anyone have a grinding profile template that one can use as a reference when building a farm area?

      Thanks.
       
    2. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      Hello!

      Here's a very simple grind wrap:
      PHP:
      <Profile Name="Grind Template" Author="EchoTiger" Version="1">
          <
      Grind Condition="true" >
              <
      CreatureIds>1234</CreatureIds>
              <
      Repair PreferClosest="true" >
                  <
      RepairNPCs>
                      <
      RepairNPC Name="Name Of NPC" CreatureId="ID Of NPC" X="..." Y="..." Z="..." MapId="..."  ExileFaction="true" />
                  </
      RepairNPCs>
              <
      Repair>
              <
      Vendor>
                  <
      Vendors>
                      <
      VendorNPC Name="Name Of NPC" CreatureId="ID Of NPC" X="..." Y="..." Z="..." MapId="..."  ExileFaction="true" />
                  </
      Vendors>
              </
      Vendor>
              <
      GrindArea>
                  <
      Hotspot X="..." Y="..." Z="..." Timeout="750" Range="200" />
              </
      GrindArea>
          </
      Grind>
      </
      Profile>
      You can replace "true" with a condition that'll make the grind stop.
      (ex: <Grind Condition="GameManager.LocalPlayer.Level &gt;= 21" > will make the grind stop once the player is level 21 or higher.)

      PreferClosest="true" will make it prioritize the closet NPC on the list.

      For ExileFaction="true", this is optional. I *think* if you don't put that there, it will assume either faction.

      For Range="200" on the Hotspot, 200 is the 'assumed' max-distance the bot can detect the NPCs up to.
      I typically just use 1 hotspot with the 200 range because that'll pretty much cover the entire area you're farming.
      Of course you could also use more than one Hotspot with lower ranges set if you want to be more precise on the farm.

      Timeout="750" is a time (in miliseconds) the bot will wait at the hotspot for before it'll go to the next.

       
      Last edited: Jan 17, 2015
    3. Rumpel

      Rumpel New Member

      Joined:
      May 1, 2010
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      1
      Very very nice. Thanks alot, this was exactly what I was looking for. Thanks for the fast reply.
       
    4. puck

      puck New Member

      Joined:
      Oct 26, 2014
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      Is there a complete loadable sample profile/xml that could be posted? I understand what's going on in the wrapper above, but I'm enough of a newbie to understand what other calls are needed in a complete file. Or if this is similar to other bot profiles, a sample from another game is fine too.

      Just trying to wrap my head around this at the moment. :)

      Tha
       
    5. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      There's the Cheat Sheet on the Developer Forum, but it hasn't been updated in ages.
      Alternatively, just like any other BuddyBot you could always use Visual Studio's ObjectBrowser on the Wildbuddy executable to expose everything.


      [​IMG]
       
      Last edited: Jan 1, 2015

    Share This Page