Difference between revisions of "OgreInstanceHelperAPI"
From ISXOgre
(→List of Functions) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
== Summary == | == Summary == | ||
Line 491: | Line 487: | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="5"|<center>'''Get_Shinies_Nav_Options'''</center> |
|- | |- | ||
|Param 1 | |Param 1 | ||
|colspan="2"|Loc||"-211.139343,84.733673,402.047363"|| N/A | |colspan="2"|Loc||"-211.139343,84.733673,402.047363"|| N/A | ||
− | |rowspan=" | + | |rowspan="5"| Will use Nav to move around and loot shinies within given range. |
Will Nav to Loc supplied before and after looting shinies. | Will Nav to Loc supplied before and after looting shinies. | ||
If Skip shinies is checked, it will skip shinies. | If Skip shinies is checked, it will skip shinies. | ||
Line 505: | Line 501: | ||
|Param 3 | |Param 3 | ||
|colspan="2"|Range||30|| Default: 30 | |colspan="2"|Range||30|| Default: 30 | ||
+ | |- | ||
+ | |Param 4 | ||
+ | |colspan="2"|Args||-NoGroup|| will leave toons at starting Loc and only nav Tank to shiny. | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="5"|<center>'''Get_Shinies_Nav'''</center> |
|- | |- | ||
|Param 1 | |Param 1 | ||
|colspan="2"|Loc||"-211.139343,84.733673,402.047363"|| N/A | |colspan="2"|Loc||"-211.139343,84.733673,402.047363"|| N/A | ||
− | |rowspan=" | + | |rowspan="5"| Will use Nav to move around and loot shinies within given range. |
Will Nav to Loc supplied before and after looting shinies. | Will Nav to Loc supplied before and after looting shinies. | ||
|- | |- | ||
Line 519: | Line 518: | ||
|Param 3 | |Param 3 | ||
|colspan="2"|Range||30|| Default: 30 | |colspan="2"|Range||30|| Default: 30 | ||
+ | |- | ||
+ | |Param 4 | ||
+ | |colspan="2"|Args||-NoGroup|| will leave toons at starting Loc and only nav Tank to shiny. | ||
|- | |- | ||
Latest revision as of 21:46, 23 June 2020
Contents
Summary
- List of Methods, Members, Functions that are to be used with Ogre ic files.
- pre configured Methods, Members, Functions to make coding zones easier for people.
- If their is a command you do not understand please feel free to ask in ogre discord and someone will explain and try to word it better here in the list
- This list will grow as ogre ic grows
- If you feel something needs adding/updating feel free to ask kannkor or pork on discord.
Methods
Usage
- Example 1 - Obj_OgreIH:SetCampSpot
- Would Campspot your group.
- Example 2 - Obj_OgreIH:ChangeOgreBotUIOption["checkbox_settings_movebehind",TRUE]
- Would turn on move behind in ogrebot.
- UI Code can be grabbed from ( InnerSpace\Scripts\EQ2OgreBot\OgreUIXML.xml )
- Would turn on move behind in ogrebot.
List of Methods
- Below is a list of all available methods to be used with Ogre ic
Command | Parameters | Example | Notes | Description | ||
---|---|---|---|---|---|---|
Param 1 | Disabled | TRUE/FALSE | N/A | Disable AOEs and Encounters for group or self if not grouped. | ||
Param 1 | N/A | N/A | N/A | Clears relative campspots for group or self if not grouped. | ||
Param 1 | N/A | N/A | N/A | Clears campspots for group or self if not grouped. | ||
Param 1 | How Close | 1.5 | Default = 1.5 | Sets campspot for group or self if not grouped for specified distances. | ||
Param 2 | How Far | 200 | Default = 200 | |||
Param 1 | Loc | "127.084137,-180.863373,-832.558899" | Loc to change campspot to. Has to be Quoted. | Change campspot for group or self if not grouped. | ||
Param 1 | Actor ID | 1234 | Actor ID to change campspot too. | Change campspot for group or self if not grouped to the Actor's position. | ||
Param 1 | Actor ID | 1234 | Actor ID to change campspot too. | Change campspot for group or self if not grouped to the Actor's position, with using infront (fighters) and behind (non-fighters) | ||
Param 1 | N/A | N/A | N/A | Does a SetUpFor command for group or self if not grouped. ( Requires being Campspotted ) | ||
Param 1 | N/A | N/A | N/A | Sets NoMove for group or self if not grouped. | ||
Param 1 | Actor | "Name" or ID | Name or ID of actor to Click. | Clicks an Actor for group or self if not grouped. | ||
Param 1 | Item | "Name" | Name of item to Use. | Uses an item from inventory for group or self if not grouped. | ||
Param 1 | N/A | N/A | N/A | Hits LetsGo for group or self if not grouped. | ||
Param 1 | N/A | N/A | N/A | makes bots Jump. for group or self if not grouped. | ||
Param 1 | N/A | N/A | N/A | makes only you Jump. for self Only. | ||
Param 1 | N/A | N/A | N/A | Calls to Guild Hall. For group or self if not grouped. | ||
Param 1 | N/A | N/A | N/A | Calls to Home. For group or self if not grouped. | ||
Param 1 | N/A | N/A | N/A | Closes tradeskill window. For self Only. | ||
Param 1 | UI Code | "Checkbox_blah" | UI Code/element to change from Ogrebotui.xml. | Set a UI element in ogrebot to on/off. for group or self if not grouped. | ||
Param 2 | T or F | TRUE/FALSE | Set UI element to on/off. | |||
Param 1 | Zone Name | "Myrist, the Great Library" | Zone name to set. via ${Zone.Name}. | Sets all zone information for files usaully called from main function of script. | ||
Param 2 | Zone ShortName | "exp15_rgn_plane_of_knowledge" | Zone Short name to set. via ${Zone.ShortName}. | |||
Param 3 | Actor | "zone_to_poa" | Actor name to click to zone. | |||
Param 1 | T or F | TRUE/FALSE | N/A. | Turn debug mode on or off. ( Very Spammy ) | ||
Param 1 | N/A | N/A | N/A | Sends a failed message to Ogre Console with zone information. | ||
Param 1 | Named | "Trakanon" | Name of Named. | Sends a failed message to Ogre Console with specified named information. | ||
Param 1 | N/A | N/A | N/A | Sends a failed message to Ogre Console with zone out information. | ||
Param 1 | Named | "Trakanon" | Name of Named. | Sends a Skipping message to Ogre Console with specified named information. | ||
Param 1 | Named | "Trakanon" | Name of Named. | Sends a failed to kill message to Ogre Console named information. | ||
Param 1 | Range | 10 | Range to spread to. Default = 10 | Set monkey in the middle by specified range. for group or self if not grouped. |
Members
Usage
Example 1
if ${Obj_OgreIH.Tradeskill_vis} { ;// Will only trigger this if the tradeskill window is visible in game ;// Code to execute if it comes back as TRUE } Example 2 if ${Actor[id, ${Obj_OgreIH.Get_NPC_ID["Trakanon"]}](exists)} { ;// Will only trigger this if the NPC exists ;// Code to execute if it comes back as TRUE } |
List of Members
- Below is a list of all available members to be used with Ogre ic
Command | Parameters | Example | Notes | Description | ||
---|---|---|---|---|---|---|
Param 1 | N/A | N/A | N/A | Checks if only 2 members are in group with you. For duo zones to make sure their is not more or less than 2 members in group. | ||
Param 1 | NPC | "Trakanon" | Name of NPC. | Gets the ID for the specified NPC. | ||
Param 1 | Actor Name | "Trakanon" | Name of Actor. | Checks if Actor Name specified Loc exists at Loc supplied within distance supplied. | ||
Param 2 | Loc | "737.106506,411.865784,-388.380249" | Loc to compare to. | |||
Param 3 | Distance | 2 | Disatnce to check. Default = 2 | |||
Param 1 | N/A | N/A | N/A | Checks if only 1 members are in group or 1 member 1 merc. For Solo zones to make sure their is not more or less than 1 member 1 merc in group. | ||
Param 1 | N/A | N/A | N/A | Checks to see if Tradeskill window is open in game. |
Functions
Usage
- Example 1 - call Obj_OgreIH.HandleAcceptReward 10
- Would accept reward windows 10 times for your group.
- Example 2 - call Obj_OgreIH.NamedSpawnWait "Trakanon" 60 "NamedNPC"
- Would wait 60 seconds or until the specified Named spawns.
List of Functions
- Below is a list of all available functions to be used with Ogre ic
Command | Parameters | Example | Notes | Description | ||
---|---|---|---|---|---|---|
Param 1 | NPC | "Trakanon" | Name of NPC. | Kill trash untill specified NPC spawns within specified distance. | ||
Param 2 | Radius | 30 | Radius to check trash. Default = 30 | |||
Param 1 | Max Times | 10 | How many times to accept rewards #. Default = 10 | Accept rewards specified # of times. .5 second wait between each. | ||
Param 1 | Radius | 30 | Radius to check trash. Default = 30 | Kill trash via Type that are within specified radius. | ||
Param 2 | Type | "NPC" | Actor Type you are looking for. Default = "NPC" | |||
Param 1 | NPC Name | "a random mob" | N/A | Will change campspot to nearest specified npc with specified options. till no more exist. | ||
Param 2 | Args | options to use |
Options that can be used.
| |||
Param 1 | NamedNPC | "Trakanon" | Name of Actor. | Waits specified time or untill specified name and specified Type exist as true. fail message if Named does not spawn. | ||
Param 2 | Time to wait | 60 = 60 seconds | Time to wait. | |||
Param 3 | Type | "NamedNPC" | Type of actor your waiting for. | |||
Param 1 | Start point | 0 | Starting point #. Default = 0 | This is automatically called by the startup routine. This starts the main function of the instance. It acts as a final place for it to end. If it succeeds/fails it gives a message. | ||
Param 1 | Text | "I want to carry on!!!" | Text you want to click within the reply dialog. Must be Quoted and Exact. | Clicks a reply dialog via Text specified. self only. | ||
Param 1 | T or F | TRUE/FALSE | N/A. | Turn priest ascensions on/off. Also turns Combo's off. | ||
Param 1 | N/A | N/A | N/A | Sets various options for solo or group content.
SOLO & DUO & Group Auto Target Clear
SOLO Specifics
DUO Specifics
GROUP Specifics
| ||
Param 1 | N/A | N/A | N/A | Sets follow and assist. for group and self if not grouped. | ||
Param 1 | Wait Time | 30 = 3 seconds | Time to wait before click. Default = 30 | Pauses bot and waits before Click Hits Special and waits after Click then resumes for Group or self if not grouped. | ||
Param 2 | Wait Time | 30 = 3 seconds | Time to wait after click. Default = 30 | |||
Param 1 | Wait Time | 30 = 3 seconds | Time to wait before click. Default = 30 | Pauses bot and waits before Click Hits ZoneSpecialSpecific and waits after Click then resumes for Group or self if not grouped. | ||
Param 2 | Wait Time | 30 = 3 seconds | Time to wait after click. Default = 30 | |||
Param 1 | Shiny Name | "?" | Default: "?" | Will use campspot to move around and loot shinies. If Skip shinies is checked, it will skip shinies. If Pause For Shiny is checked, will pause. | ||
Param 1 | Shiny Name | "?" | Default: "?" | Will use campspot to move around and loot shinies. If Skip shinies is checked, it will skip shinies. Ignores pause for shiny. | ||
Param 1 | Loc | "-211.139343,84.733673,402.047363" | N/A | Will use Nav to move around and loot shinies within given range.
Will Nav to Loc supplied before and after looting shinies. If Skip shinies is checked, it will skip shinies. If Pause For Shiny is checked, will pause. | ||
Param 2 | Shiny Name | "?" | Default: "?" | |||
Param 3 | Range | 30 | Default: 30 | |||
Param 4 | Args | -NoGroup | will leave toons at starting Loc and only nav Tank to shiny. | |||
Param 1 | Loc | "-211.139343,84.733673,402.047363" | N/A | Will use Nav to move around and loot shinies within given range.
Will Nav to Loc supplied before and after looting shinies. | ||
Param 2 | Shiny Name | "?" | Default: "?" | |||
Param 3 | Range | 30 | Default: 30 | |||
Param 4 | Args | -NoGroup | will leave toons at starting Loc and only nav Tank to shiny. | |||
Param 1 | Range | 50 | Default: 50 | Will use campspot to move around and loot chests. Will not clear Campspot so if pathing use a LetsGo after. | ||
Param 1 | N/A | N/A | N/A | Specific to Chaos Descending: If you are near the mission givers in Myrist, will attempt to navigate over to the portal and zone you in, then wait for everyone to finish zoning. Returns TRUE if you make it into the zone, or FALSE if you do not for any reason. | ||
Param 1 | N/A | N/A | N/A | Specific to Chaos Descending: If you are near the exit in a CD instance, will attempt to navigate over to the zone out portal and zone you out, then wait for everyone to finish zoning. Returns TRUE if it attempted to zone you out, or FALSE if the exit wasn't available. |
Notes
- If you feel something needs adding or changing please let us know via discord.