Here's a script I wrote that will convert a GatherBuddy gathering profile to an HonorBuddy gathering profile. It requires Python to be installed on your computer.
To use it, replace the filename with the GatherBuddy profile you wish to convert (full pathname). Hit Ctrl-F5 to run (if you're in Idle), and copy/paste the output into a new text file. If the default vendor name and mailbox name isn't good for your needs (currently set to Horde Crossroads), replace them. Give it a new profile name, and voila! A new HonorBuddy gathering profile.
View attachment convertgbtohb.zip
Or copy/paste from below, into a new Python window:
To use it, replace the filename with the GatherBuddy profile you wish to convert (full pathname). Hit Ctrl-F5 to run (if you're in Idle), and copy/paste the output into a new text file. If the default vendor name and mailbox name isn't good for your needs (currently set to Horde Crossroads), replace them. Give it a new profile name, and voila! A new HonorBuddy gathering profile.
View attachment convertgbtohb.zip
Or copy/paste from below, into a new Python window:
Code:
name = 'Tekk forest mining'
format = ' <Hotspot X="%s" Y="%s" Z="%s" />'
filename = r'C:\Users\Cindy\Documents\Honor2\Profiles\Barrens Cataclysm.xml'
prefix = '''
<HBProfile>
<MinFreeBagSlots>1</MinFreeBagSlots>
<MinLevel>1</MinLevel>
<MaxLevel>81</MaxLevel>
<SubProfile>
<Name>%s</Name>
<MinLevel>1</MinLevel>
<MaxLevel>81</MaxLevel>
<Factions>9999999 </Factions>
<AvoidMobs>
<Mob Name="Blackwind Warp Chaser" Entry="23219" />
</AvoidMobs>
<Blackspots>
<Blackspot X="-8895.609" Y="-428.6633" Z="66.3858" Radius="21.39053" />
</Blackspots>
<Mailboxes>
<Mailbox X="-443.3844" Y="-2649.076" Z="97.80752"/>
</Mailboxes>
<Vendors>
<Vendor Name="Sergra Darkthorn" Entry="3338" Type="Repair" X="-482.4752" Y="-2670.188" Z="97.3492" />
</Vendors>
<Hotspots>
'''
suffix = '''
</Hotspots>
</SubProfile>
</HBProfile>
'''
print prefix % name
print format
file = open(filename)
for line in file:
line = line.strip()
if line[:10] == '<Waypoint>':
line = line[10:-11]
words = line.split()
if len(words) == 3:
print format % (words[0],words[1],words[2])
print suffix