Difference between revisions of "MQ2NetBots" - MMOBugs Wiki

(→‎Macro Data: Added Stacks.)
(→‎Macro Data: Added ID, Stunned, Detrimentals, Counters, Cursed, Diseased, Poisoned, Corrupted)
Line 65: Line 65:
 
* <span class="highlight2">${NetBots[''Name''].Zone} :Int</span> Zone ID of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].Zone} :Int</span> Zone ID of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].Instance} :Int</span> Instance ID of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].Instance} :Int</span> Instance ID of ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].ID} :Int</span> Spawn ID of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].Class} :Class</span> Class of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].Class} :Class</span> Class of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].Level} :Int</span> Level of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].Level} :Int</span> Level of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].PctExp} :Float</span> Percent Experience of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].PctExp} :Float</span> Percent Experience of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].PctAAExp} :Float</span> Percent AA Experience of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].PctAAExp} :Float</span> Percent AA Experience of ''Name''.
* <span class="highlight2">${NetBots[''Name''].PctGroupLeaderExp} :Float</span> Percent Group Leader Experience of ''Name''.
+
* <span class="highlight2">${NetBots[''Name''].PctGroupLeaderExp} :Float</span> Percent Group Leader Experience of ''Name''.  EMU servers only.
 
* <span class="highlight2">${NetBots[''Name''].CurrentHPs}</span> Current Hitpoints of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].CurrentHPs}</span> Current Hitpoints of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].MaxHPs} :Int</span> Total Hitpoints of ''Name''
 
* <span class="highlight2">${NetBots[''Name''].MaxHPs} :Int</span> Total Hitpoints of ''Name''
Line 96: Line 97:
 
* <span class="highlight2">${NetBots[''Name''].Mounted} :Bool</span> Is ''Name'' on a mount?
 
* <span class="highlight2">${NetBots[''Name''].Mounted} :Bool</span> Is ''Name'' on a mount?
 
* <span class="highlight2">${NetBots[''Name''].Moving} :Bool</span> Is ''Name'' moving?
 
* <span class="highlight2">${NetBots[''Name''].Moving} :Bool</span> Is ''Name'' moving?
 +
* <span class="highlight2">${NetBots[''Name''].Detrimentals} :Int</span> Total of detrimental counts for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Detrimental} :String</span> A string list of all detrimental types affecting ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].Raid} :Bool</span> Is ''Name'' in a raid?
 
* <span class="highlight2">${NetBots[''Name''].Raid} :Bool</span> Is ''Name'' in a raid?
 
* <span class="highlight2">${NetBots[''Name''].Sitting} :Bool</span> Is ''Name'' sitting?
 
* <span class="highlight2">${NetBots[''Name''].Sitting} :Bool</span> Is ''Name'' sitting?
 
* <span class="highlight2">${NetBots[''Name''].Standing} :Bool</span> Is ''Name'' standing?
 
* <span class="highlight2">${NetBots[''Name''].Standing} :Bool</span> Is ''Name'' standing?
 +
* <span class="highlight2">${NetBots[''Name''].Stunned} :Bool</span> Is ''Name'' stunned?
 
* <span class="highlight2">${NetBots[''Name''].FreeBuffSlots} :Int</span> Total free buff slots ''Name'' has.
 
* <span class="highlight2">${NetBots[''Name''].FreeBuffSlots} :Int</span> Total free buff slots ''Name'' has.
 
* <span class="highlight2">${NetBots[''Name''].InZone} :Bool</span> Is ''Name'' in the same zone as you?
 
* <span class="highlight2">${NetBots[''Name''].InZone} :Bool</span> Is ''Name'' in the same zone as you?
 
* <span class="highlight2">${NetBots[''Name''].InGroup} :Bool</span> Is ''Name'' in your group?
 
* <span class="highlight2">${NetBots[''Name''].InGroup} :Bool</span> Is ''Name'' in your group?
 
* <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''].Note} :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.  Requires Extended=1 in the ini.
 
* <span class="highlight2">${NetBots[''Name''].Gem} :String</span> All spells ''Name'' has memorized.  Requires Extended=1 in the ini.
Line 122: Line 127:
 
* <span class="highlight2">${NetBots[''Name''].UnusedAA} :Int</span> Total unspent AAs of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].UnusedAA} :Int</span> Total unspent AAs of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].CombatState} :Int</span> Combat State of ''Name''.
 
* <span class="highlight2">${NetBots[''Name''].CombatState} :Int</span> Combat State of ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Counters} :Int</span> Cursed,etc. counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Cursed} :Int</span> Cursed counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Diseased} :Int</span> Diseased counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Poisoned} :Int</span> Poisoned counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Corrupted} :Int</span> Corrupted counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].EnduDrain} :Int</span> Endurance drain counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].LifeDrain} :Int</span> HP drain counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].ManaDrain} :Int</span> Mana drain counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Blinded} :Int</span> Blinded counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].CastingLevel} :Int</span> CastingLevel counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Charmed} :Int</span> Charmed counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Feared} :Int</span> Feared counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Healing} :Int</span> Healing counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Invulnerable} :Int</span> Invulnerable counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Mesmerized} :Int</span> Mesmerized counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Rooted} :Int</span> Rooted counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Silenced} :Int</span> Silenced counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Slowed} :Int</span> Slowed counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Snared} :Int</span> Snared counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].SpellCost} :Int</span> SpellCost counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].SpellSlowed} :Int</span> SpellSlowed counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].SpellDamage} :Int</span> SpellDamage counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Trigger} :Int</span> Trigger counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Resistance} :Int</span> Resistance counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].NoCure} :Int</span> NoCure counters for ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Location} :String</span> The Y,X,Z location of ''Name''.
 +
* <span class="highlight2">${NetBots[''Name''].Heading} :String</span> The Heading of ''Name''.
  
 
==Availability==
 
==Availability==
  
 
This plugin is included with the MMOBugs Compile.
 
This plugin is included with the MMOBugs Compile.

Revision as of 02:18, 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.
  • /netbots ext=on/off Toggles MQ2NetBot clients sending of extended status updates to EQBCS on or off (such as Buffs, Gems, etc. - see TLO information below for all affected entries).

INI Example

SERVER_CHARACTER.INI

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

INI Settings Definition

SERVER_CHARACTER.INI is SERVER=ShortServerName and CHARACTER=YourCharName. Example for character called Bubba on the Povar server: Povar_Bubba.ini

All settings are in the [MQ2NetBots] section.


Stat This enables (set to 1) or disables (set to 0) mq2netbots send and receive data and processing. Setting this to 0 effectively disables the plugin. Using the /netbots on or /netbots off commands toggle this from in game.
Grab Whether to listen for NetBots data. If this particular character needs to send information, but doesn't care about information from other clients, you can set this to 0 so it doesn't process incoming data. Set to 1 to process the data. Using the /netbots grab=on or /netbots grab=off commands toggle this from in game.
Send Whether to send NetBots data to other clients via eqbc. If this character needs to receive other netbots client info, but doesn't need to send it, you can set this to 0 to disable it. Set to 1 to enable. Using the /netbots send=on or /netbots send=off commands toggle this from in game.
Extended Whether to send additional detailed data to other netbots clients via eqbc, such as Gems, Buffs, Durations, and endurance information. Set to 0 to disable, 1 to enable. Using the /netbots ext=on or /netbots ext=off commands toggle this from in game.

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].ID} :Int Spawn 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. EMU servers only.
  • ${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].Detrimentals} :Int Total of detrimental counts for Name.
  • ${NetBots[Name].Detrimental} :String A string list of all detrimental types affecting Name.
  • ${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].Stunned} :Bool Is Name stunned?
  • ${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].Note} :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].Stacks[#]} :Bool Returns true if the buff ID number [#] will stack on Name.
  • ${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.
  • ${NetBots[Name].Counters} :Int Cursed,etc. counters for Name.
  • ${NetBots[Name].Cursed} :Int Cursed counters for Name.
  • ${NetBots[Name].Diseased} :Int Diseased counters for Name.
  • ${NetBots[Name].Poisoned} :Int Poisoned counters for Name.
  • ${NetBots[Name].Corrupted} :Int Corrupted counters for Name.
  • ${NetBots[Name].EnduDrain} :Int Endurance drain counters for Name.
  • ${NetBots[Name].LifeDrain} :Int HP drain counters for Name.
  • ${NetBots[Name].ManaDrain} :Int Mana drain counters for Name.
  • ${NetBots[Name].Blinded} :Int Blinded counters for Name.
  • ${NetBots[Name].CastingLevel} :Int CastingLevel counters for Name.
  • ${NetBots[Name].Charmed} :Int Charmed counters for Name.
  • ${NetBots[Name].Feared} :Int Feared counters for Name.
  • ${NetBots[Name].Healing} :Int Healing counters for Name.
  • ${NetBots[Name].Invulnerable} :Int Invulnerable counters for Name.
  • ${NetBots[Name].Mesmerized} :Int Mesmerized counters for Name.
  • ${NetBots[Name].Rooted} :Int Rooted counters for Name.
  • ${NetBots[Name].Silenced} :Int Silenced counters for Name.
  • ${NetBots[Name].Slowed} :Int Slowed counters for Name.
  • ${NetBots[Name].Snared} :Int Snared counters for Name.
  • ${NetBots[Name].SpellCost} :Int SpellCost counters for Name.
  • ${NetBots[Name].SpellSlowed} :Int SpellSlowed counters for Name.
  • ${NetBots[Name].SpellDamage} :Int SpellDamage counters for Name.
  • ${NetBots[Name].Trigger} :Int Trigger counters for Name.
  • ${NetBots[Name].Resistance} :Int Resistance counters for Name.
  • ${NetBots[Name].NoCure} :Int NoCure counters for Name.
  • ${NetBots[Name].Location} :String The Y,X,Z location of Name.
  • ${NetBots[Name].Heading} :String The Heading of Name.

Availability

This plugin is included with the MMOBugs Compile.