• 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

Python script to review your bazaar mule's sells

If your like me, you have a mule in the bazaar that you parcel stuff too from many toons. I got curious about what I have been selling and wanted something that would show me that data. I wrote a quick and simple Python script to report this info. In the interest of keeping it simple, this will report back the player that purchased items, quantity of items, plat collected and the item name. This is just a jumping off point or the tip of the iceberg of what you can do with raw data.

Things I used for this are:
VS Code
Python 3.9
Regex Checker

What did I sell?
Code:
import re

# Path to player log
path = 'C:\\Everquest\\Logs'
# Name of player log
playerLog = 'bzrlog_Server_ToonName.txt'

file = open(f"{path}\\{playerLog}","r")
lines = file.readlines()
file.close

for line in lines:
    # Hit on "purchased"
    m = re.search(r"(\[.*\]\s(\w+)\spurchased\s(\d+)\s(.*)\s\w+\s\W(\d+)\S\W)", line)

    if m:
        # Player that made purchase, Quanity bought, total plat for purchase, Name of item purchased
        print(f"Player: {m.group(2):12} Qty: {m.group(3):4} Plat: {m.group(5):8} Item: {m.group(4)}")


Output snippet (Player names are made up):
Code:
...
Player: Malcome     Qty: 1    Plat: 2100     Item: Ring of Ill Touch
Player: Doug        Qty: 1    Plat: 7500     Item: Hammer of Greatness
Player: Jane        Qty: 96   Plat: 136800   Item: Ethernere Essence
Player: Leeroy      Qty: 1    Plat: 7000     Item: Aetemius' Bracer
Player: Link        Qty: 1    Plat: 10200    Item: Last Light Bolters
Player: Bloodlust   Qty: 1    Plat: 4275     Item: The Matriarch's Hunting Vest
Player: Blue        Qty: 1    Plat: 15000    Item: Black Vertebrae
...

I hope someone might find this useful or inspire you to start coding from this basic example.

-Taz
 
Great Idea!! Do you know if there is something out there that will check and entire account (all toons on that account) for any sellable item and the price of that item for sale in the bazaar. Sounds complicated to me, but you guys that are into coding in your sleep, this seems to be a pretty easy thing to do ...or not! :hfive: There may already be something out there that I am just not aware of??
 
Python script to review your bazaar mule's sells

Users who are viewing this thread

Back
Top
Cart