What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Grind xml

hiprion

New Member
Joined
Oct 21, 2015
Messages
20
Reaction score
0
Hello,

I would like repair and after go on area zone for farming.

PHP:
<Profile Name="Grind Template" Author="test" Version="1"> 
	<Grind>
		<MoveTo RefName="Armurier Ravira" X="1418.02063" Y="-965.841" Z="-5194.53271" MapId="1061" CreatureId="60009" Range="0" />
                <Repair PreferClosest="true" PreferFirst="true"> 
                    <RepairNPCs> 
                        <RepairNPC RefName="Armurier Ravira" X="1418.02063" Y="-965.841" Z="-5194.53271" MapId="1061" CreatureId="60009" ExileFaction="false" DominionFaction="true" /> 
                    </RepairNPCs> 
                </Repair> 
                <Vendor> 
                    <VendorNPC RefName="Armurier Ravira" X="1418.02063" Y="-965.841" Z="-5194.53271" MapId="1061" CreatureId="60009" ExileFaction="false" DominionFaction="true" /> 
                </Vendor> 
                <GrindArea> 
				<Hotspot X="1825.454" Y="-971.7172" Z="-4882.796" Timeout="750" Range="125" />  
			    </GrindArea> 
            </Grind> 		
</Profile>
 
Hello,

I would like repair and after go on area zone for farming.

PHP:
<Profile Name="Grind Template" Author="test" Version="1"> 
	<Grind>
		<MoveTo RefName="Armurier Ravira" X="1418.02063" Y="-965.841" Z="-5194.53271" MapId="1061" CreatureId="60009" Range="0" />
                <Repair PreferClosest="true" PreferFirst="true"> 
                    <RepairNPCs> 
                        <RepairNPC RefName="Armurier Ravira" X="1418.02063" Y="-965.841" Z="-5194.53271" MapId="1061" CreatureId="60009" ExileFaction="false" DominionFaction="true" /> 
                    </RepairNPCs> 
                </Repair> 
                <Vendor> 
                    <VendorNPC RefName="Armurier Ravira" X="1418.02063" Y="-965.841" Z="-5194.53271" MapId="1061" CreatureId="60009" ExileFaction="false" DominionFaction="true" /> 
                </Vendor> 
                <GrindArea> 
				<Hotspot X="1825.454" Y="-971.7172" Z="-4882.796" Timeout="750" Range="125" />  
			    </GrindArea> 
            </Grind> 		
</Profile>

I may be slacking on writing the tag definitions out, but I made sure to include a "Basic Grind" template in the documentation. :)
HTML:
<Profile Name="Grind Template" Author="DD" Version="1.0">

  <Grind CreatureIds="12345, 23456" ExcludeNeutral="false">

    <Vendor>
      <MaxQuality>Inferior</MaxQuality>
      <VendorNPCs>
        <VendorNPC CreatureId="" CreatureName="" MapId="" X="" Y="" Z="" />
      </VendorNPCs>
    </Vendor>
  
    <Repair PreferClosest="true">
      <RepairNPCs>
        <RepairNPC CreatureId="" CreatureName="" MapId="" X="" Y="" Z="" />
      </RepairNPCs>
    </Repair>

    <GrindArea>
      <Hotspot MapId="" X="" Y="" Z="" Range="200" Timeout="60" />
    </GrindArea>
  
  </Grind>
  
</Profile>
 
Thx for reply.

I have a problem. i have this message error.

Mycode
PHP:
<Profile Name="Grind Template" Author="DD" Version="1.0">

  <Grind CreatureIds="61894, 61902" ExcludeNeutral="false">

    <Vendor>
      <MaxQuality>Inferior</MaxQuality>
      <VendorNPCs>
        <VendorNPC CreatureId="44A25" CreatureName="Marchande Gopika" MapId="51" X="3483.748" Y="-940.0622" Z="-456.1028" />
      </VendorNPCs>
    </Vendor>
  
    <Repair PreferClosest="true">
      <RepairNPCs>
        <RepairNPC CreatureId="" CreatureName="" MapId="51" X="3483.748" Y="-940.0622" Z="-456.1028" />
      </RepairNPCs>
    </Repair>

    <GrindArea>
      <Hotspot MapId="51" X="3605.43677" Y="-939.3268" Z="-321.958984" Range="200" Timeout="60" />
    </GrindArea>
  
  </Grind>
  
</Profile>

Error buddy

An error occured while loading the profile. Are you sure the profile contains no XML errors?
XML Error: System.FormatException: Le format de la chaîne d'entrée est incorrect.
à System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
à System.Number.ParseUInt32(String value, NumberStyles options, NumberFormatInfo numfmt)
à Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGrind.Read10_VendorDefinition(Boolean isNullable, Boolean checkType)
à Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGrind.Read11_VendorDefContainer(Boolean isNullable, Boolean checkType)
à Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGrind.Read13_VendorTag(Boolean isNullable, Boolean checkType)
à Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGrind.Read16_Grind(Boolean isNullable, Boolean checkType)
à Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGrind.Read17_Grind()
Unknown profile element: <Grind CreatureIds="61894, 61902" ExcludeNeutral="false">
<Vendor>
<MaxQuality>Inferior</MaxQuality>
<VendorNPCs>
<VendorNPC CreatureId="44A25" CreatureName="Marchande Gopika" MapId="51" X="3483.748" Y="-940.0622" Z="-456.1028" />
</VendorNPCs>
</Vendor>
<Repair PreferClosest="true">
<RepairNPCs>
<RepairNPC CreatureId="" CreatureName="" MapId="51" X="3483.748" Y="-940.0622" Z="-456.1028" />
</RepairNPCs>
</Repair>
<GrindArea>
<Hotspot MapId="51" X="3605.43677" Y="-939.3268" Z="-321.958984" Range="200" Timeout="60" />
</GrindArea>
</Grind> at line 3
 
Your CreatureId for "VendorNPC" is wrong. That is a GUID (they are different things). Your RepairNPC also has no CreatureId.
 
Since it appears the grind tag is now supporting vendoring and repair does is there a solo tag to force Sell and Repair at a specific vendor?
 
Since it appears the grind tag is now supporting vendoring and repair does is there a solo tag to force Sell and Repair at a specific vendor?

Yessir! The Vendor, Repair, and Mail Tag used in the grind profile can be used as a stand-alone tag as well, in the same way!! :)
 
Hello,

it is possible to exclude the creature does not attack?

Exemple :
PHP:
<Grind CreatureIds="12345, 23456" ExcludeNeutral="false" ExcludeCreatureIds="69894, 69999">
 
Last edited:
Hello,

it is possible to exclude the creature does not attack?

Exemple :
PHP:
<Grind CreatureIds="12345, 23456" ExcludeNeutral="false" ExcludeCreatureIds="69894, 69999">

Once you start adding creatureIDs to the CreatureIds attribute, it'll automatically exclude everything not listed!
 
Back
Top