• 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

Having loot issues

Bardscorpse_01

New member
Ok so using a afk bard macro, no I didtn write it, got it off of Kenetix. But I recently noticed a problem in the loot sub... it will loot 5 or 6 things, then stop and go on. Imagine my chagrin to come back to the computer and se myself kiting half nekkid :(

Anyways heres the code was wondering if anyone could fix it or point out whats wrong.

Rich (BB code):
Sub Loot
   :LootPlease
   /sumcorpse   
   /if (${Target.Type.NotEqual[CORPSE]} || !${Target.ID}) {
      /return
   }   
   /corpse
   /delay 1s
   /loot
   /delay 1s
   /if (${Me.State.NotEqual[BIND]}) {
      /delay 2s
      /goto :LootPlease
   }
   :LootLag
   /if (${LootTotal}!=${Corpse.Items}) {
      /varset LootTotal ${Corpse.Items}
      /goto :LootLag
   }
   /for LootSlot 1 to ${LootTotal}
      :LootItem
      /itemnotify loot${LootSlot} rightmouseup
      /delay 3
      /if (${Corpse.Item[${LootSlot}].ID}) {
         /goto :LootItem
      }
   /next LootSlot
   /delay 5
   /notify LootWnd DoneButton leftmouseup
   /return
 
Use this.

And put in two events named the same thing. like below for the sub event mobdied. That way it loots if you kill it or the bard kills it.

#Event MobDied "#*# has been slain by#*#"
#Event MobDied "#*#You have slain#*#"

Rich (BB code):
 Sub Event_MobDied 
 /delay 3s
 /squelch /declare LootSlot    int inner  0 
 /declare LootCheck   int inner  0 
 /declare LootTotal   int inner  0 
 /target npc corpse radius 200 
 :MovementLoop 
 /face fast nolook 
 /if (${Int[${Target.Distance}]}>13) { 
 /keypress forward hold 
 } 
 /if (${Int[${Target.Distance}]}<13&&${Int[${Target.Distance}]}>11) { 
 /keypress forward 
 } 
 /if (${Int[${Target.Distance}]}<9) { 
 /keypress back 
 } 
 /if (${Int[${Target.Distance}]}>13) { 
 /goto :MovementLoop 
 } 
 /keypress forward 
 /keypress back 
 /delay 5 
 /loot 
 /delay 5 
 /if (!${Corpse.Items}) { 
 /echo NO LOOT!
 /notify LootWnd DoneButton leftmouseup 
 /delay 5
/return 
 } 
 /varset LootTotal ${Corpse.Items} 
 /for LootSlot 1 to ${LootTotal} 
 /itemnotify loot${LootSlot} leftmouseup 
 /delay 5 
 /if (${LootAllItems}) { 
 /echo Keeping a ${Cursor.Name}... WOOT! 
 /autoinventory 
 /autoinventory 
 /delay 5 
 } else { 
 /for LootCheck 1 to ${ItemsToLoot.Size} 
 /if (${Cursor.Name.Find[${ItemsToLoot[${LootCheck}]}]}) { 
 /echo Keeping a ${Cursor.Name}... WOOT! 
 /autoinventory 
 /autoinventory 
 /delay 5 
 } 
 /next LootCheck 
 } 
 /if (${Cursor.ID}) { 
 /echo Destroying a ${Cursor.Name}... 
 /destroy 
 /destroy 
 /delay 5 
 } 
 /next LootSlot 
 /delay 5 
 /notify LootWnd DoneButton leftmouseup 
 /delay 5
/return

*edit* I'm guessing you want this for a FH bard macro. If I am incorrect, this won't be of any use. I have this macro looting only coin. It deletes everything else. Obviously, because all that drops in FH is rats whiskers and ears.
 
Eh sitting at 100% into lvl 70, and have exp in 90AA 10 regular, I stay above 94 all the time... with loot code to loot my body I never stop exping just go back to instance csum/loot/start kite again. That way I dont lose half the night if I leave it running.
 
ahhh.

You doing FH? You shouldn't be dying in there at lvl 70. I never die in there anymore. Only time my macro stops if server downtime. :D

Or are you doing vxed? To me, I know I couldn't get the uptime with my bard in Vxed that I can in FH. Uptime > more xp. Sides, I put bots in the DZ to assist kill in FH (not in group) so that helps the XP ALOT.
 
Doign vxed, without lag or anythign bad happening, I can do the whole 6 hour instance. Never tried Fh at all. For some reason though I seem to die at night, never during the day when I am around, just at night when I am in bed. Its strange really, but anyways this part of the macro allows me to sleep and still get my exp.
 
I would think all you need to do is put a /target toonname before you do the /loot command and it should work just fine. The reason the /loot doesn't work is your not targeting your corse.
 
the problem is not targeting the corpse, it does that fine... It targets the corpse and summons it to me, but the problem was that is was just looting like 6 or 7 items then standing up like it was done. Think I got it fixed myself though. Thanks for all the input.
 
Having loot issues

Users who are viewing this thread

Back
Top
Cart