What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Anyone know XSLT

Wheredidigo

Community Developer
Joined
Dec 15, 2013
Messages
417
Just wondering if any of you developers had any experience with XSLT. I was thinking that it could be used to update Grinding Profiles and make them into OrderBot Profiles.
 
Microsoft has a decent XSLT processor as part of their MSXML and MSXML .NET packages. I've only used the command-line tool of this version (since I use libxslt for platform agnostic applications) but once I'm able to arrange to buy a copy of RebornBuddy via Bitcoin I will take a closer look (also I'll be able to see if there are any other methods that might apply). I know the other tools have been around longer and have a more robust community behind them, but FFXIV is tons of fun and I can only hope it will get the attention it deserves (no idea when "official" plugin support will come into effect and if it will be of any use to us but more data on display the more it can be manipulated =).
 
Converting the format from one to the other isnt really a big issue. The big issue is that grind/gatherbot profiles hotspots do not contain a Y coordinate which orderbot needs to properly path to a location.
 
Converting the format from one to the other isnt really a big issue. The big issue is that grind/gatherbot profiles hotspots do not contain a Y coordinate which orderbot needs to properly path to a location.

I'm not talking about converting over their hotspots....I'm talking about converting their individual nodes into hotspots.

For example:

Take this Grind Profile:

Code:
<?xml version="1.0"?>
<WayPointProfile>
  <Settings>
    <NodeDistance>4</NodeDistance>
    <ArcDistance>6</ArcDistance>
    <Strictness>10</Strictness>
  </Settings>
  <Items />
  <Targets>
    <TargetName>Golden Fleece</TargetName>
  </Targets>
  <Paths>
    <Node Id="0" X="231.529068" Y="273.290955" Z="-44.1525345" />
    <Node Id="1" X="227.4087" Y="273.6867" Z="-43.742836" />
    <Node Id="2" X="223.748672" Y="275.8447" Z="-43.3701477" />
    <Node Id="3" X="219.394226" Y="276.2008" Z="-42.6524353" />
    <Node Id="4" X="215.35611" Y="274.9191" Z="-41.65819" />
    <Node Id="5" X="211.1627" Y="274.214264" Z="-40.5060425" />
    <Node Id="6" X="207.310471" Y="271.697723" Z="-38.5331573" />
    <Node Id="7" X="203.511932" Y="269.0888" Z="-36.210022" />
    <Node Id="8" X="199.493" Y="267.532379" Z="-34.3726158" />
    <Node Id="9" X="195.650452" Y="264.999237" Z="-33.02663" />
    <Node Id="10" X="191.846832" Y="262.409943" Z="-32.0441" />
    <Node Id="11" X="189.058487" Y="258.9302" Z="-31.3397083" />
    <Node Id="12" X="187.995071" Y="254.466064" Z="-30.6942482" />
    <Node Id="13" X="187.323029" Y="249.912827" Z="-29.96748" />
    <Node Id="14" X="187.865768" Y="245.471664" Z="-29.3079834" />
    <Node Id="15" X="189.098267" Y="241.045792" Z="-28.5946541" />
    <Node Id="16" X="189.4781" Y="236.4631" Z="-28.5284233" />
    <Node Id="17" X="189.611069" Y="232.021057" Z="-28.6131344" />
    <Node Id="18" X="189.748718" Y="227.421158" Z="-28.6836586" />
    <Node Id="19" X="189.886536" Y="222.819809" Z="-28.6470566" />
    <Node Id="20" X="190.104874" Y="218.229752" Z="-28.58189" />
    <Node Id="21" X="190.5283" Y="213.749908" Z="-28.17876" />
    <Node Id="22" X="189.50441" Y="209.700623" Z="-28.0150051" />
    <Node Id="23" X="188.409241" Y="205.237213" Z="-27.8969917" />
    <Node Id="24" X="186.413666" Y="201.11676" Z="-27.8952312" />
    <Node Id="25" X="183.451859" Y="197.600708" Z="-28.06407" />
    <Node Id="26" X="180.357651" Y="194.203217" Z="-28.1044083" />
    <Node Id="27" X="177.319275" Y="190.749878" Z="-27.85446" />
    <Node Id="28" X="174.898315" Y="186.959732" Z="-27.0758553" />
    <Node Id="29" X="173.082321" Y="183.393021" Z="-26.4458733" />
    <Node Id="30" X="171.533966" Y="179.086212" Z="-25.3364372" />
    <Node Id="31" X="171.073547" Y="174.616013" Z="-24.052803" />
    <Node Id="32" X="171.67038" Y="170.151321" Z="-22.8659248" />
    <Node Id="33" X="174.8408" Y="166.866043" Z="-20.8601456" />
    <Node Id="34" X="178.905228" Y="164.757339" Z="-19.4842319" />
    <Node Id="35" X="183.230576" Y="163.19722" Z="-18.1151867" />
  </Paths>
</WayPointProfile>

And convert it to the correct Order Bot style. As you can see, each Node in that profile has X,Y,and Z coordinates.
 
I've only had a few mins to play with the bot today (3 a.m. now so [adultswim] then snooze =p) but I can't wait to dig in (which I'll be doing this weekend). There seems to be more parameters to the Order Bot files (like radius and level/level range, however the info at the top may be parsed for the important bits mentioned). I will end up figuring it out either way, but if you want to post an example of what an XML file should look like in the grind profile (like above) compared to the same example as an order bot file, I can make up a simple exe or even web-based PHP script (since it has very good XML support, plus you could always result to using regex in a pinch) that can mass convert.

Here's to the continued improvement of RebornBuddy!
 
Back
Top