MMOMinion

Full Version: Access to global objects and methods in an editor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Now i know the wiki is out of date and the dev example is more unto date.

However it can be a bit tricky tracking down info. I am a programmer by trade but not in lua coder. so i am unfamiliar with the dev process.

is there a code library file or include that i can use to expose to an IDE of some kind the globe methods available and there parameters and return values if any?

or is the code base for the script available so i can take a peak and see what methods are public and accessible and what values they take?
(02-19-2015, 12:12 PM)fxfire Wrote: [ -> ]I would say 95% of the available functions and fields are shown in the Dev-Module.
Not sure if you can iterate through lua's G_ table, but you can definitly do that for all the metatables we expose, like Player , NavigationManager, RenderManager and so on. Afaik there is already a helper function in one of the minionlib's lua code to do that ...

aaaaaah G_ is the table that contains all the global stuff will log all of that once i get the console working :)
Here the list of the current functions:
If one needs them
[GUI_NewComboBox]
[IsBehind]
[table_merge]
[GUI_Delete]
[Reload]
[IsRanged]
[GetOffMapMarkerPos]
[HasContentID]
[collectgarbage]
[IsGatherer]
[dbg]
[TimeSince]
[GUI_MoveWindow]
[GetLowestMPParty]
[d]
[gcinfo]
[GetTickCount]
[IsGardening]
[table_invert]
[Execute]
[IsMudraSkill]
[IsTank]
[PathDistanceTable]
[ScanForObjects]
[next]
[IsDismounting]
[ml_GetTraceString]
[Eat]
[select]
[SetFacing]
[PartyMemberWithBuff]
[load]
[IsLoading]
[FileExists]
[loadstring]
[wtround]
[spairs]
[PressYesNoCounter]
[IsRangedDPS]
[GUI_NewWindow]
[IsPartyLeader]
[ipairs]
[GetAttunedAetheryteList]
[checkTimeout]
[SafeSetVar]
[EorzeaTime]
[TableContains]
[towstring]
[GetMounts]
[GetClosestAetheryteToMapIDPos]
[GetPVPTarget]
[GetArmoryIDsTable]
[unpack]
[GetAetheryteLocation]
[EntityIsFront]
[quest_step_complete_execute]
[MultiBotDisconnect]
[IsMounting]
[GUI_ToggleConsole]
[rawget]
[GetRoleString]
[FindItemsBySlot]
[GUI_FoldGroup]
[Exit]
[GetClosestHealTarget]
[GetNearestGrindAttackable]
[GetCurrentMarker]
[NewField]
[ItemCount]
[randomize]
[GUI_DeleteGroup]
[Repair]
[GetDutyTarget]
[pcall]
[InCombatRange]
[GetJPTime]
[PathDistanceTest]
[IsUldah]
[PressDutyJoin]
[DutyLeaderLeft]
[GUI_UnFoldGroup]
[MultiComp]
[GetMaxAttackRange]
[IsFullParty]
[quest_step_complete_eval]
[IsNinjutsuSkill]
[deepcompare]
[rawequal]
[newproxy]
[RoundUp]
[NewComboBox]
[StringContains]
[LinesFrom]
[HasBuffs]
[pairs]
[SetLanguage]
[GetBestPartyHealTarget]
[Unload]
[GetDutyLeader]
[Distance3D]
[IsCaster]
[PartyInCombat]
[PoeticCount]
[ControlVisible]
[AddHours]
[round]
[GUI_GetMousePosition]
[isCasting]
[GetComboBoxList]
[GUI_SizeWindow]
[outputTable]
[ValidString]
[IsMeleeDPS]
[buyfromVendor]
[PressYesNo]
[TableRemoveSort]
[GetBestDoTTarget]
[DT]
[ValidTable]
[GetDutyFromID]
[LuaDumpFile]
[GUI_NewButton]
[HandleMultiBotMessages]
[error]
[IsFront]
[Dismount]
[IsInParty]
[tonumber]
[fileread]
[IsCrafter]
[GetBestBaneTarget]
[PathDistance]
[CalculateTargetPosition]
[ml_log]
[GUI_SetStatusBar]
[SetLanguageML]
[TableSize]
[GetHuntTarget]
[NewButton]
[NewNumeric]
[StringSplit]
[Distance3DT]
[GUI_GetWindowInfo]
[toboolean]
[file_exists]
[SubtractHours]
[GetBlacklistIDString]
[WhitelistTarget]
[HasSkill]
[xpcall]
[ActionSucceeded]
[MultiBotJoinChannel]
[EquipItem]
[IsPhysicalDPS]
[HeadingToRadians]
[GetPosFromDistanceHeading]
[MudraSucceeded]
[Mount]
[GetString]
[HasAction]
[find]
[IsArmoryFull]
[GetEquipSlotForItem]
[assert]
[SetGUIVar]
[GetNearestGrindPriority]
[NewCheckbox]
[GetStringML]
[IsHealingSkill]
[deepcopy]
[GetWhitelistIDString]
[GetFateByID]
[TableInsertSort]
[IsValidHealTarget]
[checkNavTest]
[IsCasterDPS]
[GetQuickGrindTarget]
[IsEquipped]
[GUI_NewLabel]
[CastSucceeded]
[PartySMemberWithBuff]
[GetBestGrindMap]
[setmetatable]
[CountItemsByID]
[getmetatable]
[IsUnspoiled]
[GetStartupPath]
[HasBuff]
[ml_debug]
[mergeT]
[IsMap]
[GetItemInSlot]
[AddHours12]
[GetPartySize]
[filewrite]
[GetLowestHPParty]
[FindPointLeftRight]
[IsMounted]
[StringToTable]
[Distance2D]
[QueueEvent]
[inheritsFrom]
[GetBestTankHealTarget]
[ScanForMobs]
[GUI_NewNumeric]
[GUI_NewCheckbox]
[HeadingToDegrees]
[GetClosestFate]
[BlacklistTarget]
[GetDutyLeaderPos]
[GetNearestAggro]
[DegreesToHeading]
[SoldieryCount]
[ml_error]
[IsFlanking]
[LuaDumpObject]
[FindPointOnCircle]
[Now]
[NinjutsuSucceeded]
[GetBestHealTarget]
[GetRandomTableEntry]
[GetUnequippedItem]
[PressOK]
[IsUncoverSkill]
[MultiBotLeaveChannel]
[GetLowestTPParty]
[SelectConversationIndex]
[GUI_NewField]
[ActionIsReady]
[GetAetheryteByID]
[createtable]
[GilCount]
[RadiansToHeading]
[TestStringML]
[MultiBotSend]
[RaiseEvent]
[ShouldTeleport]
[MissingBuffs]
[GUI_WindowVisible]
[GetLocalAetheryte]
[LoadFile]
[GetPartyLeader]
[PressDutyConfirm]
[IsFighter]
[MultiBotConnect]
[CheckSlotLevels]
[GetPrioritizedTarget]
[IsFisher]
[ConvertHeading]
[GetNearestFateAttackable]
[GetAetheryteByMapID]
[SubtractHours12]
[tostring]
[PressLeaveColosseum]
[safe_isA]
[HasInfiniteDuration]
[pairsByKeys]
[type]
[LuaDumpGlobals]
[MultiBotIsConnected]
[IsNullString]
[loadfile]
[GetPVPLeader]
[RegisterEventHandler]
[IsLimsa]
[IsLeader]
[wait]
[OnDutyMap]
[SendTextCommand]
[PosIsEqual]
[IsGridania]
[ApproxEqual]
[rawset]
[GetNearestGatherable]
[TrimString]
[GetBestRevive]
[GUI_RefreshWindow]
[GetPVPTargetTypes]
[IsReviveSkill]
[print]
[shallowcopy]
[dirlist]
[GetQuestByID]
[IsShopWindowOpen]
[ItemIsReady]
[NodeHasItem]
[GetNearestUnspoiled]
[IsDutyLeader]
[AngleFromPos]
[IsOnMap]
[GetPVPArenas]
[TurnAround]
[IsPositionLocked]
[GetPartyLeaderPos]
[GetNearestGrindAggro]
[checkSleep]