• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [App] ProfileFixer

    Discussion in 'Honorbuddy Profiles' started by hackersrage, Jun 14, 2014.

    1. hackersrage

      hackersrage Member Buddy Store Developer

      Joined:
      Nov 18, 2012
      Messages:
      342
      Likes Received:
      15
      Trophy Points:
      18
      ProfileFixer

      Version: 0.5

      Description

      ProfileFixer IS NOT a profile. This is a tool released to ease the burden of making changes in profiles quickly, and to ensure consistency on features such as Mail and Sell settings. While it has been designed with ease-of-use in mind, there are advanced features in here which if misused could cause portions of the profile you edited to stop working.

      It currently only supports loading of Quest profiles, since those have the most inconsistencies and complexity to them, however support for other profile types are planned.

      Features Planned

      • WoWhead integration
      • Paste XML items from HonorBuddy developer tools (on the various checkbox lists. Paste will work currently in the syntax highlighted editor areas such as QuestOrder)
      • Find all entries in QuestOrder by selecting the quest or mob etc from the appropriate listview. Working on a few ideas to give a full size editor for the QuestOrder area, while still making this concept easy.

      Languages

      C# framework 2.0
      VB.NET framework 4.0, and 4.5

      Compile in debug mode as the C# portion is not making itself public in release mode. I am looking into the reason for this.



      Features

      • Sell tags (aka, SellGrey, SellWhite, etc) - These are in the form of checkboxes using WoW lingo (Poor, Common, Uncommon, etc) and colors
      • Mail tags (aka, MailGrey, MailWhite, etc) - These are in the form of checkboxes using WoW lingo (Poor, Common, Uncommon, etc) and colors
      • Min/Max level tags - Drop downs support from 1 to 101 (no point going further yet since the next expansion max is 100, and it's currently 90)
      • MinDurability - Checkbox
      • Name tag - Non-editable currently. This is used as the Window title when loading a profile
      • TargetElites - Checkbox
      • Vendors - Full support for vendor tags in a ListView
      • Quests - Full support for quests in a ListView, when selected, the specific Quest code is editable on the right frame
      • Mailboxes - Full support for this tag. Results are in a ListView
      • Blackspots - Full support for this tag. Results are in a ListView
      • Blacklists - Full support for this tag. Results are in a ListView
      • AvoidMobs - Full support for this tag. Results are in a ListView
      • QuestOrder - Full support for this tag. Results are formatted in it's own code window. Comments can be stripped by using Edit > Strip Comments
      • ProtectedItems - Full support for this tag. Does not load from /Protected Items.xml , only the information included in the Quest profile.
      • Bulk Editing - Allows for batch editing of multiple quest profiles to change some preferences: Mail, Sell, TargetElites, and KillBetweenHotspots. This feature will not add new tags if they did not exist in the file. It will only modify existing ones to match your settings. It will also only load Quest profiles that have the @/HBProfile/Quest XML path in it's structure.

      Currently, you can load any questing profile, and it will break everything out accordingly.



      Pictures or it Didn't happen

      View attachment 132983 View attachment 132984 View attachment 132985 View attachment 132986 View attachment 133148



      SVN Location (Grab the files from here)
      Code:
      https://subversion.assembla.com/svn/hackersrage/trunk/ProfileFixer/
      
      Installation

      This project is released as source code only as per the guidelines of Bossland GmbH forum rules. As a result, you MUST use a development IDE called "Visual Studio 2012" as this is the language used to write this. The solution contains both C#, and VB.NET sources that work with each other (aka, it isn't a solution for C#, and then a copy in VB.NET. It is partly written in VB.NET, and partly written in C#).

      Once you have Visual Studio 2012 installed, you simply need to open the solution file, and then do the following :

      Download the code using the SVN url above. If you do not have an SVN client, please follow these instructions here


      SVN Setup Instructions
      • Download and install the latest version of TortoiseSVN for your operating system
      • Create a new folder named ProfileFixer anywhere on your computer.
      • Right click the new folder you just created, and select SVN Checkout.... If you have the above SVN URL in your clipboard, it will be automatically filled in, if not, then copy/paste the SVN Location above into the box under URL Repository.
      • Make sure Fully Recursive, and HEAD Revision are selected, then click [ OK ]


      Compiling the software
      • Select Build > Build Solution
      • The compiled program will then be located in the folder ProfileFixer/bin/Release (subfolders of where you downloaded the source files from the SVN to)
      • OPTIONAL - You may copy these files to another location of your choice and run from there. Be sure to copy ALL files in the ProfileFixer/bin/Release directory !!
      • Run "ProfileFixer.exe"


      Troubleshooting

      After downloading the project, I can not open the form, and receive a lot of errors in the debugger. What happened ?
      This happens when the project moves paths, or the reference to the C# project breaks in some way. What you need to do is as follows:
      1. Do not force the form to open or all form objects that use the C# library will be replaced -- most likely with a PictureBox object.
      2. Close all windows in the middle, but leave the project itself open. DO NOT SAVE
      3. Make sure the code is setup in "Release" mode.
      4. Right-click the project in the project tree titled "FastColoredTextBox", and click "Build"
      5. Right-click the project in the project tree titled "ProfileFixer" and click "Add Reference"
        • Click on the [Browse] button at the bottom of the window, and navigate to the folder "ProfileFixer\bin\Release", and select "FastColoredTextBox.dll", and click Open
        • Uncheck "FastColoredTextBox.dll"
        • Go under "Solution > Projects", and uncheck "FastColoredTextBox" there as well.
        • Click [OK] . You will now see a bunch of error messages in the debug window. This is normal.
          • Right-click the project in the project tree titled "ProfileFixer" and click "Add Reference"
          • Click on "Browse" on the left side, and then click on "Recent"
          • Put a checkmark beside "FastColoredTextBox.dll", and then click [OK]

        Please note -- this is a problem with the IDE itself, and improper distribution of sources. Typically, sources that reference other projects in other languages come with the bin and obj folders, where pre-compiled assemblies of the embedded project are located. The files located in the OBJ folder do not typically run by themselves but are referenced. The IDE does not know this automatically, so instead of fudging around with adding / removing projects, changing location, etc, the above steps are directions on how to make a hard library (instead of embedded) for this. What this means for you, is that when you compile, you will instead have two or more files to move around, instead of having "FastColoredTextBox" bundled inside ProfileFixer.exe. It also adds a level of complexity to the use of the source. Once you compiled the library "FastColoredTextBox", I do not plan to make any changes to it, so you should not have to recompile this again unless I mention to do so in my changelog below.





        Please use the SVN above to download. The following versions are outdated

        Outdated Versions
        View attachment 133131
        View attachment 132948
        View attachment 132982
        View attachment 132988
       
      Last edited: Jun 18, 2014
    2. hackersrage

      hackersrage Member Buddy Store Developer

      Joined:
      Nov 18, 2012
      Messages:
      342
      Likes Received:
      15
      Trophy Points:
      18
      Change Log
      Version: 0.5

      • Removed bin/obj folders from SVN.

      Version: 0.4

      • Added bulk edit support. Supported tags are Sell*, Mail*, and TargetElites. Also does a replace for KillBetweenHotspots.
      • Temporarily hidden Edit > Output Empty Tags until I can find safe RegEx to strip foo="" stuff.
      • Added bulk edit recursive search, and checklist. It will prompt after selecting a folder if you wish to search recursively, and provide the results in a checkable list so you can choose which files you want to update. It also validates and will ONLY show Quest profiles that have @/HBProfile/Quest paths inside.
      • Known Bug - When choosing a folder in the Bulk Editor, it will always search recursively.

      Version: 0.3

      • Fixed - Strip Comments menu option under Edit will now enable after loading a profile.

      Version: 0.2

      • Added support to save files. Both save, and save as features are now functional with overwrite support and recursive directory creation where required.
      • Added support to reload the currently loaded file.
      • Output box is hidden now that save is functional it no longer needs to be visible.
      • Added support for editing the profile <name> with syntax highlighting.
      • Added statistics under View. Character count for QuestOrder is on formatted xml without comments.
      • On launch, the interface for editing the quest profile is now hidden until you open a file.
      • All checkboxes now assign the state of that item properly in the XML output. Unchecked items will not be output to the XML file on save.
      • Menu items that require a file to be loaded, are now disabled until a file has been loaded. (basic interface stuff)
      • Removed virtual space from Quest editor panel.

      Version: 0.1

      ** First Public Release **
       
      Last edited: Jun 18, 2014
    3. kuw84

      kuw84 New Member

      Joined:
      Dec 6, 2010
      Messages:
      267
      Likes Received:
      0
      Trophy Points:
      0
      BOSS BOSS BOSS BOSS BOSS BOSS BOSS BOSS BOSS
      You're the man, I'm gonna test this out soon. Take care bro, I was watching your development threads
       
    4. nuggat

      nuggat Member

      Joined:
      Jan 19, 2010
      Messages:
      496
      Likes Received:
      1
      Trophy Points:
      18
      hmm cant seem to find out how to setup this? where to extract it? cant find instructions
       
    5. Mirabis

      Mirabis Community Developer

      Joined:
      Jun 14, 2010
      Messages:
      4,475
      Likes Received:
      86
      Trophy Points:
      48
      Ah nice, thought another generator tool, but a fixer is new :)!
       
    6. brainAbuddy

      brainAbuddy Active Member

      Joined:
      Aug 12, 2010
      Messages:
      2,180
      Likes Received:
      11
      Trophy Points:
      38
      loos nice
      maybe an idea to add basics conditions
       
    7. hackersrage

      hackersrage Member Buddy Store Developer

      Joined:
      Nov 18, 2012
      Messages:
      342
      Likes Received:
      15
      Trophy Points:
      18
      @brainAbuddy - like inside the editors, have buttons to add <if> etc ?
       
    8. brainAbuddy

      brainAbuddy Active Member

      Joined:
      Aug 12, 2010
      Messages:
      2,180
      Likes Received:
      11
      Trophy Points:
      38
      yes indeed. and maybe wit an popup that will explain how to use it and what it does
       
    9. Rad_

      Rad_ New Member

      Joined:
      Jan 8, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      Anyone willing to help me set this up ?

      i cant figure it out, I downloaded everything, double clicked on the profilefixer.exe . i dont see a "Build" button anywhere.

      Do i need to copy and paste my profile into it ?

      Thank you
       
    10. hackersrage

      hackersrage Member Buddy Store Developer

      Joined:
      Nov 18, 2012
      Messages:
      342
      Likes Received:
      15
      Trophy Points:
      18
      @Rad_

      If editing a single profile -- there is a menu on that tab. Click on File - > Open, and then select the profile you want to edit.
      If on the batch tab, on the right side is a [Browse...] button, which lets you select the folder where multiple files (recursive) are stored.

      From there, the rest should be pretty straightforward.
       
    11. Rad_

      Rad_ New Member

      Joined:
      Jan 8, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      Thanks for the reply man, I'm still kinda lost i guess

      I was opening the wrong damn ProfileFixer. Thanks for the help

      now i get " The file you selected is not a quest profile"

      I attached the profile if you are willing to take the time and have a look at it and tell me what im missing

      The profile works in quest bot all day long, im just trying to get it to use the mailbox instead of using vender mount on vender run.

      i was hoping i could figure it out on my own

      Thanks
       

      Attached Files:

    Share This Page