• 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

Problem with my wine turn in macro. (1 Viewer)

nijhal

Member
I have had a problem with this and the velium bit turn in macro. It wont check in your bags for the items. It is only lookin in general inventory. If the tiems isint in a general inventory it will try and buy more.

i.e. if its in a bag it wont know its there.

Rich (BB code):
|-----------------------------------------------------------------
|Red Wine Turnin MAcro
|Written by : Nijhal
|Usage : /macro nwine
|
|Description : This macro will loop turning in red wine to the npc 
|in neriakc and buying more wine when it runs out.
|------------------------------------------------------------------

#turbo 40
#include sell.inc 
#include buy.inc 
#include packs.inc 
#include cleanpacks.inc 

    /declare Set int local
    /varset CompA Red Wine

/echo |-------------------------
/echo |Red Win Macro Online.
/echo |-------------------------
/popup Red Wine Macro Online.




Sub Main

  :start
  /target Lokar To`Biath 10
  /echo Heading to Lokar To`Biath
  /popup Heading to Lokar To`Biath
  /delay 1s
  /warp target
  /delay 1s
  /face fast

  /declare chips int local 

:Loop 
/doevents
/call GMCheck
/for chips 1 to 4 
   /ctrlkey /itemnotify ${FindItem[=Red Wine].InvSlot} leftmouseup 
   /if (!${FindItem[=Red Wine].InvSlot}) /call BuyWine
      /delay 2 
   /if (${chips}==1) { 
      /click left target 
      /click left target 
      /delay 1s 
     } 
   /if (${chips}==2) { 
      /notify GiveWnd GVW_MyItemSlot1 leftmouseup 
      /delay 2 
     } 
   /if (${chips}==3) { 
      /delay 2 
      /notify GiveWnd GVW_MyItemSlot2 leftmouseup 
     } 
   /if (${chips}==4) { 
      /delay 2 
      /notify GiveWnd GVW_MyItemSlot3 leftmouseup 
     } 
/next chips 
/delay 2 
/notify GiveWnd GVW_Give_Button leftmouseup 
/delay 2 

:cursorclear 
/delay 2s 
/destroy 
/if (${Cursor.ID}) /goto :cursorclear 
/goto :Loop 







Sub BuyWine
    /delay 1s
    /call GMCheck
    /autoinv
    /autoinv
    /autoinv
    /delay 2s
    /popup Heading to Cecile K`Jartan 
    /target Cecile K`Jartan 
    /face 
    /delay 2s 
    /warp loc 909, -1424, -81
    /delay 2s
    /nomodkey /click right target 
    /delay 2s 

    /call Buy "Red Wine" 381

    /nomodkey /notify MerchantWnd MW_Done_Button LeftMouseUp

    /delay 4s

    /target Lokar To`Biath 10
    /echo Heading to Lokar To`Biath
    /popup Heading to Lokar To`Biath
    /delay 1s
    /warp target
    /delay 1s
    /face fast 
/return


|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Clear Cursor
|
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub ClearCursor 
/declare x int local 
:auto_inv 
/if (${Cursor.ID}) { 
  /if (${Cursor.Container}) { 
    /for x 1 to 8 
    /if (!${InvSlot[pack${x}].Item.Container}) /nomodkey /itemnotify pack${x} leftmouseup 
    /next x 
  } else { 
    /timed 5 /autoinventory 
  } 
  /goto :auto_inv 
} 
/return 

|-------------------------------------------------------------------------------- 
|SUB: GM Check 
|-------------------------------------------------------------------------------- 
Sub GMCheck 

   /if (${Spawn[gm].ID}) { 
      /beep 
      /beep 
      /beep 
      
      /echo GM has entered the zone! 
      /echo FUCK HIM but ending the macro... 
   
      /keypress instant_camp

      /endmacro 
   } 
    
/return

If anyone can help me with this it would be much appriciated.
 
I can't recall where I read it, but bags need to be openend prior to checking them as inventory slots.

I believe there is a hotkey you can set in EQ to open all bags at once and close them as well.
 
I know that, the problem is, it still isint recognising they are in the bags. I dont know what the problem is, it will take them from general inventory, but not from bags, even with bags open.
 
Are you getting any error messages?

I just used this line

/ctrlkey /itemnotify ${FindItem[=Red Wine].InvSlot} leftmouseup

and it works fine in my instance, tried with items in main and in different bags

Edit: I use a self compile from the latest MQ2 website source
 
Problem with my wine turn in macro.

Users who are viewing this thread

Back
Top
Cart