OgreOther:Hirex

From ISXOgre
Revision as of 12:08, 10 March 2011 by Killerbot (Talk | contribs)

Jump to: navigation, search

HireX


Tab Summary

HireX is a script that allows you to run hirelings and deposit them into depots. You can have multiple guild halls at the same location and it will zone in and out and run the hirelings on them all. You can also have it deposit the resources into a priority order depots. This means it will fill Guild#1 first, then Guild#2, then #3 etc.

Overview of HireX

Note: HireX has not been converted to a UI (user interface). This means you will need to edit a few files for the program to work.

HireX will use the toon that you define to login into the game and send your harvesters off on their tasks. (It takes two hours for the harvesters to gather their harvests. Hirex will log your defined toon out of the game during those two hours) Once the two hours is complete HireX will log your toon back into the game, retrieve your resources and deposit them into your harvest depot. The program will then rinse and repeat the process.

Login Scene Page Settings

You will need to update the login page that Everquest2.exe uses so that all the user information is empty when the page comes up. To do this; Browse to the directory /scripts/EQ2OgreCommon/ in there you will see a file called "eq2ui_loginscene.xml" copy this file to your Everquest 2 UI folder

For example: If you use the ProfitUI then you would copy it to /EverQuest II/UI/ProfitUI/

Note: If you are not sure which folder you to copy it to? You can check which UI Everquest 2 is using by opening the eq2.ini file in your main Everquest 2 directory. (it may be called eq2_recent.ini).

Once you have the file open, find the line that looks like this: cl_ui_subdir UI/ and find this line: cl_ui_skinname test

In this example, my path is: /EverQuest II/UI/test/ so I would save the file there.

◦Important Note: If you use ProfitUI, each time you update it may overwrite this file. If this happens ask in IRC #Ogre for help.

EQ2Char Page Settings

If you have not setup your EQ2Char page with your login name and password you will need to do this. Instructions to do this can be found here: Setting up EQ2Chars.inc

HireX Requirements

  • All guild halls must be at 1 location. This means you can not have 1 guild in Qeynos and 1 in freeport. You also can not have 1 guild in NQ and 1 in SQ.
  • All hirelings must be within reach from where you land when you zone into a guild hall.
  • Your toon must have LOS (line of sight) on your hirelings. This means you can't be looking at the floor. It truely is YOUR LOS.
  • All depots must be usable from where you land when you zone into a guild hall. Note: The depot itself doesn't need to be close, you can use a depot from around 150 meters away. Hirelings are NOT the same, they must be close.
  • The toon must ONLY BE A VISITOR. If they are a trustee of the guild hall, you will get a window when trying to enter a guild hall with the option to "Enter". There is currently no way of clicking it. If you are a VISITOR of a guild hall, this screen doesn't pop up, you simply zone in.

Guild Hall Permission Settings

Zone into each of your Guild Hall, then Right Click on you Guild Hall Door and choose Access. Once the Housing Window opens Select the Access Tab.

There are a couple of adjustments to make on this page. First type in the name of the toon that will do your harvesting, next the name from the drop down pick Visitor then press set. On that same page you will see a setting for "Public Access Level" set this to "None" You do not want anyone coming into your guild hall because they would have access to your harvesters and will see your bot logging in and out.)

Now click on the Amenities Tab: and set the Access Level for all of your harvesters AND your harvest depot to Visitor.

HireX Settings

  • Rename the file: innerspace/scripts/EQ2OgreCommon/OgreHireling/blank.EQ2OgreHirelingXData.inc and remove the blank. It should end up like this. innerspace/scripts/EQ2OgreCommon/OgreHireling/EQ2OgreHirelingXData.inc
  • Now Edit the file you renamed (same one as above, innerspace/scripts/EQ2OgreCommon/OgreHireling/EQ2OgreHirelingXData.inc)
    • Add your toon name that will be doing the hirelings.
      • Example: ToonName:Set[Toonnamehere] ----> ToonName:Set[PutYourToonNameHere]
    • Add in your guild hall names.
      • Example: GuildHallName[${X:Inc}]:Set[FirstGuildName]
      • Example: GuildHallName[${X:Inc}]:Set[SecondGuildName]
      • As it says in the file, you can continue to add as many guilds as you wish.
    • Save the file and close it.

Running HireX

To run HireX open ISXEQ2 console by pressing your ` key

  • Syntax: ogre hirex [tier number] [optional parameters]

Example: Ogre Hirex 9 -h-d

HireX Options

    • Tier Levels you can harvest are 1-9
  • All options can NOT have a space. They are not case sensitive.
  • Defaults are -h-d
  • Optional parameters
    • -h
      • Hirelings - Do the hirelings
    • -d
      • Depot - Deposit into supply depots
    • -n
      • No loop - Means run it once and exit the script (as opposed to running every 2 hours)