Difference between revisions of "MQ2NetBots" - MMOBugs Wiki

(→‎INI Example: add Extended to example.)
(→‎Macro Data: Added which needs Extended set for TLO members.)
Line 61: Line 61:
 
* <span class="highlight2">${NetBots[''Name''].MaxHPs} :Int</span> Total Hitpoints of ''Name''
 
* <span class="highlight2">${NetBots[''Name''].MaxHPs} :Int</span> Total Hitpoints of ''Name''
 
* <span class="highlight2">${NetBots[''Name''].PctHPs} :Int</span> Current Hitpoints percentage of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].PctHPs} :Int</span> Current Hitpoints percentage of ''Name''.
* <span class="highlight2">${NetBots[''Name''].CurrentEndurance} :Int</span> Current Endurace of ''Name''.
+
* <span class="highlight2">${NetBots[''Name''].CurrentEndurance} :Int</span> Current Endurace of ''Name''.  Requires Extended=1 in the ini.
* <span class="highlight2">${NetBots[''Name''].MaxEndurance} :Int</span> Total Endurance of ''Name''.
+
* <span class="highlight2">${NetBots[''Name''].MaxEndurance} :Int</span> Total Endurance of ''Name''.  Requires Extended=1 in the ini.
* <span class="highlight2">${NetBots[''Name''].PctEndurace} :Int</span> Current Endurance percentage of ''Name''.
+
* <span class="highlight2">${NetBots[''Name''].PctEndurace} :Int</span> Current Endurance percentage of ''Name''.  Requires Extended=1 in the ini.
 
* <span class="highlight2">${NetBots[''Name''].CurrentMana} :Int</span> Current Mana of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].CurrentMana} :Int</span> Current Mana of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].MaxMana} :Int</span> Total Mana of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].MaxMana} :Int</span> Total Mana of ''Name''.
Line 92: Line 92:
 
* <span class="highlight2">${NetBots[''Name''].Leader} :String</span> Is ''Name'' the group leader?
 
* <span class="highlight2">${NetBots[''Name''].Leader} :String</span> Is ''Name'' the group leader?
 
* <span class="highlight2">${NetBots[''Name''].Updated} :Int</span> Timestamp of last NetBots update from ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].Updated} :Int</span> Timestamp of last NetBots update from ''Name''.
* <span class="highlight2">${NetBots[''Name''].Gem} :String</span> All spells ''Name'' has memorized.
+
* <span class="highlight2">${NetBots[''Name''].Gem} :String</span> All spells ''Name'' has memorized.  Requires Extended=1 in the ini.
* <span class="highlight2">${NetBots[''Name''].Gem[#]}} :Spell</span> Spell ''Name'' has memorized in Gem[#].
+
* <span class="highlight2">${NetBots[''Name''].Gem[#]}} :Spell</span> Spell ''Name'' has memorized in Gem[#].  Requires Extended=1 in the ini.
* <span class="highlight2">${NetBots[''Name''].Buff} :String</span>  All buffs ''Name'' currently has.
+
* <span class="highlight2">${NetBots[''Name''].Buff} :String</span>  All buffs ''Name'' currently has.  Requires Extended=1 in the ini.
* <span class="highlight2">${NetBots[''Name''].Buff[#]} :Spell</span> Name of the buff ''Name'' has in buff slot [#].
+
* <span class="highlight2">${NetBots[''Name''].Buff[#]} :Spell</span> Name of the buff ''Name'' has in buff slot [#].  Requires Extended=1 in the ini.
* <span class="highlight2">${NetBots[''Name''].Buff[spellname]} :Spell</span> pSpellType of the buff ''Name'' has if he has ''spellname'' buff.
+
* <span class="highlight2">${NetBots[''Name''].Buff[spellname]} :Spell</span> pSpellType of the buff ''Name'' has if he has ''spellname'' buff.  Requires Extended=1 in the ini.
* <span class="highlight2">${NetBots[''Name''].Duration} :String</span> Duration remaining of all buffs ''Name'' has.
+
* <span class="highlight2">${NetBots[''Name''].Duration} :String</span> Duration remaining of all buffs ''Name'' has.  Requires Extended=1 in the ini.
* <span class="highlight2">${NetBots[''Name''].Duration[#]} :Int</span> Duration of the buff on ''Name'' in slot [#].
+
* <span class="highlight2">${NetBots[''Name''].Duration[#]} :Int</span> Duration of the buff on ''Name'' in slot [#].  Requires Extended=1 in the ini.
 
* <span class="highlight2">${NetBots[''Name''].ShortBuff} :String</span> All the short duration buffs ''Name'' has.
 
* <span class="highlight2">${NetBots[''Name''].ShortBuff} :String</span> All the short duration buffs ''Name'' has.
 
* <span class="highlight2">${NetBots[''Name''].ShortBuff[#]} :Spell</span> Name of the shortbuff ''Name'' has in slot [#].
 
* <span class="highlight2">${NetBots[''Name''].ShortBuff[#]} :Spell</span> Name of the shortbuff ''Name'' has in slot [#].

Revision as of 01:02, 17 February 2017

Plugin Info
Name MQ2NetBots
Author s0rcier
Link MQ2 VIP
Commands /netbots
Source Available Yes
Uses INI File Yes



Description

MQ2NetBots provides linked MQ2EQBC clients a method of sharing status information and statistics. It also adds a new Top-Level Object ${NetBots}.

Commands

  • /netbots on/off Toggles NetBots on or off.
  • /netbots grab=on/off Toggles receiving status updates from other MQ2NetBot clients connected to EQBCS.
  • /netbots send=on/off Toggles MQ2NetBot clients sending of status updates to EQBCS on or off.

INI Example

SERVER_CHARACTER.INI

[MQ2NetBots]
Stat=1
Grab=1
Send=1
Extended=1

Macro Data

Examples

/echo ${NetBots[MY_TOON].CurrentHPs}
/echo ${NetBots[MY_TOON].Buff[4]}

Top-Level Object

  • ${NetBots} Returns information about your client.
  • ${NetBots[Name]} Returns information about the connected toon Name.

Data Types - NetBots

  • ${NetBots.Client} :String Returns currently broadcasting MQ2NetBot clients connect to EQBCS.
  • ${NetBots.Counts} :Int Returns count of broadcasting MQ2NetBot clients connect to EQBCS.
  • ${NetBots.Enable} : Bool Returns TRUE/FALSE based on plugin status.
  • ${NetBots.Listen} :Bool Returns TRUE/FALSE based on grab parameter status.
  • ${NetBots.Output} :Bool Returns TRUE/FALSE based on send parameter status.

Data Types - NetBots Clients

  • ${NetBots[Name].Name} :String Name of Name.
  • ${NetBots[Name].Zone} :Int Zone ID of Name.
  • ${NetBots[Name].Instance} :Int Instance ID of Name.
  • ${NetBots[Name].Class} :Class Class of Name.
  • ${NetBots[Name].Level} :Int Level of Name.
  • ${NetBots[Name].PctExp} :Float Percent Experience of Name.
  • ${NetBots[Name].PctAAExp} :Float Percent AA Experience of Name.
  • ${NetBots[Name].PctGroupLeaderExp} :Float Percent Group Leader Experience of Name.
  • ${NetBots[Name].CurrentHPs} Current Hitpoints of Name.
  • ${NetBots[Name].MaxHPs} :Int Total Hitpoints of Name
  • ${NetBots[Name].PctHPs} :Int Current Hitpoints percentage of Name.
  • ${NetBots[Name].CurrentEndurance} :Int Current Endurace of Name. Requires Extended=1 in the ini.
  • ${NetBots[Name].MaxEndurance} :Int Total Endurance of Name. Requires Extended=1 in the ini.
  • ${NetBots[Name].PctEndurace} :Int Current Endurance percentage of Name. Requires Extended=1 in the ini.
  • ${NetBots[Name].CurrentMana} :Int Current Mana of Name.
  • ${NetBots[Name].MaxMana} :Int Total Mana of Name.
  • ${NetBots[Name].PctMana} :Int Current Mana percentage of Name.
  • ${NetBots[Name].PetID} :Int Spawn ID of Name's pet.
  • ${NetBots[Name].PetHP} :Int Hitpoints of Name's pet.
  • ${NetBots[Name].TargetID} :Int Spawn ID of Name's target.
  • ${NetBots[Name].TargetHP} :Int Hitpoints of Name's target.
  • ${NetBots[Name].Casting} :Spell Spell Name is casting.
  • ${NetBots[Name].State} :String State of Name (STUN STAND SIT DUCK BIND FEIGN DEAD UNKNOWN).
  • ${NetBots[Name].Attacking} :Bool Is Name Attacking?
  • ${NetBots[Name].AFK} :Bool Is Name AFK?
  • ${NetBots[Name].Binding} :Bool Is Name kneeling?
  • ${NetBots[Name].Ducking} :Bool Is Name ducking?
  • ${NetBots[Name].Feigning} :Bool Is Name feigning?
  • ${NetBots[Name].Grouped} :Bool Is Name in a group?
  • ${NetBots[Name].Invis} :Bool Is Name invis?
  • ${NetBots[Name].Levitating} :Bool Is Name levitating?
  • ${NetBots[Name].LFG} :Bool Is Name LFG?
  • ${NetBots[Name].Mounted} :Bool Is Name on a mount?
  • ${NetBots[Name].Moving} :Bool Is Name moving?
  • ${NetBots[Name].Raid} :Bool Is Name in a raid?
  • ${NetBots[Name].Sitting} :Bool Is Name sitting?
  • ${NetBots[Name].Standing} :Bool Is Name standing?
  • ${NetBots[Name].FreeBuffSlots} :Int Total free buff slots Name has.
  • ${NetBots[Name].InZone} :Bool Is Name in the same zone as you?
  • ${NetBots[Name].InGroup} :Bool Is Name in your group?
  • ${NetBots[Name].Leader} :String Is Name the group leader?
  • ${NetBots[Name].Updated} :Int Timestamp of last NetBots update from Name.
  • ${NetBots[Name].Gem} :String All spells Name has memorized. Requires Extended=1 in the ini.
  • ${NetBots[Name].Gem[#]}} :Spell Spell Name has memorized in Gem[#]. Requires Extended=1 in the ini.
  • ${NetBots[Name].Buff} :String All buffs Name currently has. Requires Extended=1 in the ini.
  • ${NetBots[Name].Buff[#]} :Spell Name of the buff Name has in buff slot [#]. Requires Extended=1 in the ini.
  • ${NetBots[Name].Buff[spellname]} :Spell pSpellType of the buff Name has if he has spellname buff. Requires Extended=1 in the ini.
  • ${NetBots[Name].Duration} :String Duration remaining of all buffs Name has. Requires Extended=1 in the ini.
  • ${NetBots[Name].Duration[#]} :Int Duration of the buff on Name in slot [#]. Requires Extended=1 in the ini.
  • ${NetBots[Name].ShortBuff} :String All the short duration buffs Name has.
  • ${NetBots[Name].ShortBuff[#]} :Spell Name of the shortbuff Name has in slot [#].
  • ${NetBots[Name].ShortBuff[spellname]} :Spell pSpellType of the short duration buff Name has if he has spellname short duration buff.
  • ${NetBots[Name].PetBuff} :String Name of all the pet buffs Name's pet has.
  • ${NetBots[Name].PetBuff[#]} :Spell Name of the pet buff in slot [#] Name's pet has.
  • ${NetBots[Name].PetBuff[spellname]} :Spell pSpellType of the pet buff Name has if his pet has spellname buff.
  • ${NetBots[Name].TotalAA} :Int Total AAs Name has.
  • ${NetBots[Name].UsedAA} :Int Total spend AAs of Name.
  • ${NetBots[Name].UnusedAA} :Int Total unspent AAs of Name.
  • ${NetBots[Name].CombatState} :Int Combat State of Name.

Availability

This plugin is included with the MMOBugs Compile.