• 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 - Error/Warning: SQL Statement

It looks like part of the loot_lib.Lua, referenced on line 171 - where the SQLite db is defined (created on 378). And is failing on line 302.

You can see the same error trying to add (and then remove) from the Global/Normal items table.
 
Grimmier, sorry, I'm still seeing this error. Looting "works," but that warning shows up each time. I do have multiple bots, and they are all pointed to the common database (I assume intended).

INSERT OR REPLACE INTO Normal_Rules (item_name, item_rule) VALUES (?,?)

Added info;

Loot.ini and LootNScoot_x_x.ini seem to update.

The issue seems that LootRules_<server name>.db is not being created fully. A zero-byte file is created, but the schema is not.

EDIT #2

I think I have it working now.
- I tried to /lootutils reload - this (with a zero size db) noted was not v3, seemed to do an update, and then failed.
- What seemed to work is downloading your lootnscoot script by itself, running it outside of RGMercs, having it created the DB (which it did on load, and then I am not getting errors.

Will continue to watch
 
Last edited:
Problem - Error/Warning: SQL Statement

Users who are viewing this thread

Back
Top
Cart