LexLuthor
New member
- Joined
- Aug 12, 2006
- RedCents
- 0¢
I am having problems in the new compile some macro's are not working propely. It is Constantly scrolling this in a loop that never stops.I think It has something to do with Mq2exchange and swapitem files.
DoD Command -couldnt parase exchange "${itemname}"${slotname}
spell_routines.inc@344(swapitem(itemName,slotName) ):\exch
"${itemname}"${slotname}
AutoEnc.mac@806(checkbuffs):\call swapitem"{Normalmainhand}"Mainhand
AutoEnc.Mac@315(Main):\call CheckBuffs
No such groupmember 'Pet'
AutoEnc.mac@533(checkpet):\varset tempID${Group[${i}].Pet.ID}
AutoEnc.mac@316(Main):\call CheckPet
I have looked in Mq2exchange plugin this is an example
if(!(swapInItem->Classes&(1<<((GetCharInfo2()->Class)-1)))) {
MacroError("Exchange: Cannot equip %s. Class restriction.",swapInItem->Name);
return false;
Sub ItemCast(spellName,mySub)
/declare charges int local
/declare oldItemName string local
/declare slotName string local
/declare swapItemBack bool local false
:cast_item
/if (${FindItem[${spellName}].InvSlot}>21) {
/varset swapItemBack true
/if (${FindItem[${spellName}].WornSlot[1]} && ${FindItem[${spellName}].EffectType.Find[worn]}) {
/varset slotName ${FindItem[${spellName}].WornSlot[1].Name}
} else /if (${FindItem[${spellName}].InvSlot}>29) {
/varset slotName pack8
} else {
/varset slotName ${FindItem[${spellName}].InvSlot.Name}
}
/varset oldItemName ${InvSlot[${slotName}].Item.Name}
/call SwapItem "${spellName}" ${slotName}
}
Where Mq2Exchange uses "SwapInItem" and Spell_Routines.inc uses "swapitem" which one is used?I am confused. I dont know it i should go into a file and change all instances of either swapinItem to swapitem or Vica versa or if it even matters at all
DoD Command -couldnt parase exchange "${itemname}"${slotname}
spell_routines.inc@344(swapitem(itemName,slotName) ):\exch
"${itemname}"${slotname}
AutoEnc.mac@806(checkbuffs):\call swapitem"{Normalmainhand}"Mainhand
AutoEnc.Mac@315(Main):\call CheckBuffs
No such groupmember 'Pet'
AutoEnc.mac@533(checkpet):\varset tempID${Group[${i}].Pet.ID}
AutoEnc.mac@316(Main):\call CheckPet
I have looked in Mq2exchange plugin this is an example
if(!(swapInItem->Classes&(1<<((GetCharInfo2()->Class)-1)))) {
MacroError("Exchange: Cannot equip %s. Class restriction.",swapInItem->Name);
return false;
Sub ItemCast(spellName,mySub)
/declare charges int local
/declare oldItemName string local
/declare slotName string local
/declare swapItemBack bool local false
:cast_item
/if (${FindItem[${spellName}].InvSlot}>21) {
/varset swapItemBack true
/if (${FindItem[${spellName}].WornSlot[1]} && ${FindItem[${spellName}].EffectType.Find[worn]}) {
/varset slotName ${FindItem[${spellName}].WornSlot[1].Name}
} else /if (${FindItem[${spellName}].InvSlot}>29) {
/varset slotName pack8
} else {
/varset slotName ${FindItem[${spellName}].InvSlot.Name}
}
/varset oldItemName ${InvSlot[${slotName}].Item.Name}
/call SwapItem "${spellName}" ${slotName}
}
Where Mq2Exchange uses "SwapInItem" and Spell_Routines.inc uses "swapitem" which one is used?I am confused. I dont know it i should go into a file and change all instances of either swapinItem to swapitem or Vica versa or if it even matters at all




not to mention all the above isn't really needed (and you should really remove the MQ2Exchange source since Wassup has clearly stated that it's only for VIP members of the MQ2 forums)