• 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

Dumpster diving w/o Warp

Pugs

Member
This is just a little thing i cut and mod out of the other one to make it go faster and safer for finding items that are below price in the Bazaar. You must run to every trader open it and give it a min to search through it but it is a ton faster than the warp one.

Rich (BB code):
|Slumin
|edited from other macs Sorry don't rember aouther but props on a nice one
|By Pugs 


#include common\buy.inc
#define DEBUG_1 /echo
#define DEBUG_2 /echo
Sub main
:loop
/if (${Merchant.Open}) /call TraderDive 8.5
/goto :loop
/return

Sub TraderDive(float percentNeeded)
/declare priceToBuy int local
/declare priceToSell int local
/declare profit int local
/declare profitPc float local
/declare iteration int local
/declare totalItems int local ${Merchant.Items}
/if (${totalItems}<1) /return
/varcalc percentNeeded 1.0+${Math.Calc[${percentNeeded}/100]}
 
/for iteration 1 to ${totalItems}
 /if (${Merchant.Open}&&(${iteration}<=${totalItems})) {
  /varset priceToBuy  ${Merchant.Item[${iteration}].BuyPrice}
  /varset priceToSell ${Merchant.Item[${iteration}].Value}
  /varcalc profit ${priceToSell}-${priceToBuy}
  |Ignore items that profit less than 1pp regardless.
  /if (${profit}>1000) {
   /varcalc profitPc ${Math.Calc[${priceToSell}/${priceToBuy}]}
   /if (${profitPc}>=${percentNeeded}) {
    DEBUG_1 You can resell ${Merchant.Item[${iteration}].Name} at ${Math.Calc[${profitPc}*100.0].Int}% buying price.
    |/mqpause
    /popup Buying ${Merchant.Item[${iteration}].Name} from ${Merchant.Name}
    /call PCBuy "${Merchant.Item[${iteration}]}" 20
   } else {
    DEBUG_2 Profit on ${Merchant.Item[${iteration}]} was ${profit} but only ${Math.Calc[${profitPc}*100.0].Int}%
    |/mqpause
   }
  }
 }
/next iteration
/return
 
Run to every trader? Geewwww... That's not afk. So can someone tell me or point me to a guide to set paths and things? I'll fix this to be a good AFK one :)
 
I was doing this, but now after server merge, there are too many people in bazaar. Too much lag, and people too close together.
 
Dumpster diving w/o Warp

Users who are viewing this thread

Back
Top
Cart