• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

puller macro

i pieced together a pulling macro, its working so so, cant seem to get looting done. tried to use nijaloot.inc but i must have done somthing wrong so i removed it. big lerning curve coding this stuff. if any of you coders can help look through it and remove stuff not needed and improve it i'd jump for joy and send you red cent.
i have 1aa and 2 spells setup in the macro for my druid. i would like it to loot only the drop items with the option to opt out of some items like swords using som kind of loot table that it collect each time it loots somthing new.

its not rdy to run afk yet it sill has some bugs with the aquiretarget. have no idea how that part works.

thanks for any help.
 
for looting try something like this (I don't know if mq2moveutils still works or not or if you use it. This macro code does)
Edited a couple lines for Sub Loot2 Everything else is from http://macroquest2.com/wiki/index.php/Loot_Any_Corpse
Rich (BB code):
|Assuming target of corpse has already been acquired
Sub Loot
:gotocorpse
  /moveto ${Target.Y} ${Target.X}
  /delay 3s ${Target.Distance}<=7
  /if (${Target.Distance}>=8) {
    /goto :gotocorpse 
    } else {
              /call Loot2
             }
 /return

 Sub Loot 
    /declare t int outer 0 
    /declare loottotal int outer 
    /declare lootslot int outer 
    /declare lootleft int outer 0 
    /if (!${Defined[Param0]}) { 
    } else { 
       /varset lootleft ${Param0} 
    } 
    /if (${Target.Type.NotEqual[corpse]}) /return
    /loot
 | ----------------- 
 | -- Count items -- 
 | ----------------- 
    /delay 3s 
    :LootLag 
    /if (${loottotal}!=${Corpse.Items}) { 
       /varset loottotal ${Corpse.Items} 
       /delay 2s 
       /goto :LootLag 
    } 
    /if (${loottotal}<=${lootleft}) { 
       /notify LootWnd DoneButton leftmouseup 
       /return 
    } 
    /varset loottotal ${Math.Calc[${Corpse.Items}-${lootleft}]} 
 | --------------------- 
 | -- Loot the corpse -- 
 | --------------------- 
    /for lootslot 1 to ${loottotal} 
    :LootItem 
    /itemnotify loot${lootslot} rightmouseup 
    /delay 5 !${Corpse.Item[${lootslot}].ID} 
    /if (!${Corpse.Item[${lootslot}].ID}) { 
       /next lootslot 
    } else {
      /goto :LootItem 
    }
 | ----------------- 
 | -- Doublecheck -- 
 | ----------------- 
    /if (${Math.Calc[${Corpse.Items}-${lootleft}]}>0) /goto :LootLag 
    /notify LootWnd DoneButton leftmouseup 
 /return
 
puller macro

Users who are viewing this thread

Back
Top
Cart