y2krazy

RebornBuddy Console Snippets

Jun 8th, 2015
3,673
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #############################################################################
  2. ################################INSTRUCTIONS#################################
  3. #############################################################################
  4. 1. CREATE A NEW SNIPPET.
  5. 2. USE THE NAME BELOW AND CLICK THE "RENAME" BUTTON.
  6. 3. COPY THE CODE BETWEEN THE "-----" LINES INTO THE C# TAB OF THE RB CONSOLE.
  7. 4. CLICK SAVE.
  8. 5. CLICK RUN WHEN READY.
  9. #############################################################################
  10.  
  11. Name: Current Zone, XYZ & Weather
  12. --------------------------------------------------
  13. ClearLog();
  14. Log("Zone Id: {0} | Raw Zone Id: {1} | Subzone Id: {2}",WorldManager.ZoneId,WorldManager.RawZoneId,WorldManager.SubZoneId);
  15. Log("Current XYZ: {0}",Core.Player.Location);
  16. Log("Current Weather: {0} | Current Weather Id: {1}",WorldManager.CurrentWeather,WorldManager.CurrentWeatherId);
  17. Log("==================================================");
  18. foreach(var Aetheryte in WorldManager.AetheryteIdsForZone(WorldManager.ZoneId))
  19. {
  20. Log("Current Zone Aetheryte ID: {0}",Aetheryte.Item1);
  21. }
  22. --------------------------------------------------
  23.  
  24. Name: Nearby Objects (Closest at the Top)
  25. --------------------------------------------------
  26. ClearLog();
  27. var units = GameObjectManager.GameObjects;
  28. foreach(var unit in units.OrderBy(r=>r.Distance()))
  29. {
  30. Log("Name:{0}, Type:{3}, ID:{1}, Obj:{2}",unit,unit.NpcId,unit.ObjectId,unit.GetType());
  31. }
  32. Log("==================================================");
  33. foreach (var x in GameObjectManager.GetObjectsOfType<BattleCharacter>(true).OrderBy(r=>r.Distance()))
  34. {
  35. Log("Name: " + x.EnglishName + ", Level: " + x.ClassLevel);
  36. }
  37. --------------------------------------------------
  38.  
  39. Name: Aetheryte ID List
  40. --------------------------------------------------
  41. ClearLog();
  42. foreach(var item in DataManager.AetheryteCache)
  43. {
  44. Log("ID: {0} | Location: {1}",item.Key,item.Value);
  45. }
  46. --------------------------------------------------
  47.  
  48. Name: Current Quests
  49. --------------------------------------------------
  50. ClearLog();
  51. foreach(var quest in QuestLogManager.Quests())
  52. {
  53. Log(quest);
  54. }
  55. --------------------------------------------------
  56.  
  57. Name: FishSpot Generator
  58. --------------------------------------------------
  59. ClearLog();
  60. string location = Core.Player.Location.ToString().Remove(0, 1);
  61. location = location.Remove(location.Length - 1, 1);
  62. Log("<FishSpot XYZ=\"" + location + "\" Heading=\"" + Core.Me.Heading + "\" />");
  63. --------------------------------------------------
  64.  
  65. Name: Inventory Items
  66. --------------------------------------------------
  67. ClearLog();
  68. Log("==================================================");
  69. Log("======================GEAR========================");
  70. Log("==================================================");
  71. Log(" ");
  72.  
  73. foreach(var item in InventoryManager.GetBagByInventoryBagId(ff14bot.Enums.InventoryBagId.EquippedItems).FilledSlots)
  74. {
  75. Log("Name: " + item.Item.EnglishName + "\tItemCategory: " + item.Item.EquipmentCatagory + "\tId: " + item.Item.Id);
  76. }
  77. Log(" ");
  78. Log("==================================================");
  79. Log("====================INVENTORY=====================");
  80. Log("==================================================");
  81. Log(" ");
  82.  
  83. foreach(var item in ff14bot.Managers.InventoryManager.FilledSlots.Where(x => x.BagId == InventoryBagId.Bag1 || x.BagId == InventoryBagId.Bag2 || x.BagId == InventoryBagId.Bag3 || x.BagId == InventoryBagId.Bag4))
  84. {
  85. Log("Name: " + item.Item.EnglishName + "\tItemCategory: " + item.Item.EquipmentCatagory + "\tId: " + item.Item.Id);
  86. }
  87. Log(" ");
  88. Log("==================================================");
  89. Log("====================KEY ITEMS=====================");
  90. Log("==================================================");
  91. Log(" ");
  92. foreach(var bagslot in InventoryManager.GetBagByInventoryBagId(ff14bot.Enums.InventoryBagId.KeyItems).FilledSlots)
  93. {
  94. Log(bagslot);
  95. }
  96. --------------------------------------------------
  97.  
  98. Name: Detailed Target Information (Target Something!)
  99. --------------------------------------------------
  100. ClearLog();
  101. GameObject s = GameObjectManager.GetObjectByNPCId(Core.Target.NpcId);
  102. Log("Can Attack - " + s.CanAttack.ToString());
  103. Log("Combat Reach - " + s.CombatReach.ToString());
  104. Log("Current Health Percent - " + s.CurrentHealthPercent.ToString());
  105. Log("English Name - " + s.EnglishName.ToString());
  106. Log("Fate ID - " + s.FateId.ToString());
  107. Log("Heading - " + s.Heading.ToString());
  108. Log("Id Location - " + s.IdLocation.ToString());
  109. Log("Is Behind - " + s.IsBehind.ToString());
  110. Log("Is Fate Gone - " + s.IsFateGone.ToString());
  111. Log("Is Flanking - " + s.IsFlanking.ToString());
  112. Log("Is Me - " + s.IsMe.ToString());
  113. Log("Is Targetable - " + s.IsTargetable.ToString());
  114. Log("Is Valid - " + s.IsValid.ToString());
  115. Log("Is Visble - " + s.IsVisible.ToString());
  116. Log("Location - " + s.Location.ToString());
  117. Log("LUA String - " + s.LuaString.ToString());
  118. Log("Max Health - " + s.MaxHealth.ToString());
  119. Log("Name - " + s.Name.ToString());
  120. Log("NPC ID - " + s.NpcId.ToString());
  121. Log("Object Id - " + s.ObjectId.ToString());
  122. Log("Type - " + s.Type.ToString());
  123. --------------------------------------------------
  124.  
  125. Name: Remote Window Open Check
  126. --------------------------------------------------
  127. ClearLog();
  128. Log("ColosseumRecord Open? {0}",ff14bot.RemoteWindows.ColosseumRecord.IsOpen);
  129. Log("ContentsFinder Open? {0}",ff14bot.RemoteWindows.ContentsFinder.IsOpen);
  130. Log("ContentsFinderConfirm Open? {0}",ff14bot.RemoteWindows.ContentsFinderConfirm.IsOpen);
  131. Log("ContentsFinderReady Open? {0}",ff14bot.RemoteWindows.ContentsFinderReady.IsOpen);
  132. Log("CraftingLog Open? {0}",ff14bot.RemoteWindows.CraftingLog.IsOpen);
  133. Log("HousingGardening Open? {0}",ff14bot.RemoteWindows.HousingGardening.IsOpen);
  134. Log("JournalAccept Open? {0}",ff14bot.RemoteWindows.JournalAccept.IsOpen);
  135. Log("JournalResult Open? {0}",ff14bot.RemoteWindows.JournalResult.IsOpen);
  136. Log("MaterializeDialog Open? {0}",ff14bot.RemoteWindows.MaterializeDialog.IsOpen);
  137. Log("Repair Open? {0}",ff14bot.RemoteWindows.Repair.IsOpen);
  138. Log("Request Open? {0}",ff14bot.RemoteWindows.Request.IsOpen);
  139. Log("SelectIconString Open? {0}",ff14bot.RemoteWindows.SelectIconString.IsOpen);
  140. Log("SelectString Open? {0}",ff14bot.RemoteWindows.SelectString.IsOpen);
  141. Log("SelectYesno Open? {0}",ff14bot.RemoteWindows.SelectYesno.IsOpen);
  142. Log("Synthesis Open? {0}",ff14bot.RemoteWindows.Synthesis.IsOpen);
  143. Log("Talk Open? {0}",ff14bot.RemoteWindows.Talk.DialogOpen);
  144. --------------------------------------------------
  145.  
  146. Name: Weather List
  147. --------------------------------------------------
  148. ClearLog();
  149. foreach(var item in WorldManager.WeatherDictionary)
  150. {
  151. Log("ID: {0} | Type: {1}",item.Key,item.Value);
  152. }
  153. --------------------------------------------------
  154.  
  155. Name: Get Todo Arguments (XXXXX = Quest ID)
  156. --------------------------------------------------
  157. ClearLog();
  158. Log(QuestLogManager.GetQuestById(XXXXX).GetTodoArgs(0));
  159. Log(QuestLogManager.GetQuestById(XXXXX).GetTodoArgs(1));
  160. --------------------------------------------------
  161.  
  162. Name: Quest Arguments (XXXXX = Quest ID)
  163. --------------------------------------------------
  164. ClearLog();
  165. Log(ff14bot.NeoProfiles.ConditionParser.IsQuestAcceptQualified(XXXXX));
  166. Log(ff14bot.NeoProfiles.ConditionParser.IsQuestCompleted(XXXXX));
  167. Log(ff14bot.NeoProfiles.ConditionParser.HasQuest(XXXXX));
  168. Log(ff14bot.NeoProfiles.ConditionParser.GetQuestStep(XXXXX));
  169. Log(ff14bot.NeoProfiles.ConditionParser.GetQuestById(XXXXX).QuestI8AH);
  170. --------------------------------------------------
  171.  
  172. Name: Active FATE Properties
  173. --------------------------------------------------
  174. ClearLog();
  175. foreach (var fate in FateManager.ActiveFates)
  176. {
  177. Log("IsValid: " + fate.IsValid + " | Level: " + fate.Level + " | Status: " + fate.Status + " | " + fate.Name);
  178. }
  179. --------------------------------------------------
  180.  
  181. Name: Distance Check
  182. --------------------------------------------------
  183. ClearLog();
  184. Log(Core.Me.Location.Distance3D(new Vector3(0.0f, 0.0f, 0.0f)));
  185. --------------------------------------------------
  186.  
  187. Name: Current Actions
  188. --------------------------------------------------
  189. ClearLog();
  190. foreach(var action in Actionmanager.CurrentActions) { Log(action); }
  191. --------------------------------------------------
  192.  
  193. Name: Open Windows
  194. --------------------------------------------------
  195. ClearLog();
  196. foreach (var window in RaptureAtkUnitManager.Controls)
  197. {
  198. Log(window);
  199. }
  200. --------------------------------------------------
RAW Paste Data