Closed nfaletra closed 4 years ago
This appears to still be causing an issue, I just updated to this and re-built, still getting errors: [28/Jan] [14:56:59][Warning] charplugin::AddItem: Item <0> is not found in a database
This is happening on a fresh pull, using Steal on Bark Tarantula in the Boyhada tree. It also still crashes when using !additem and accidentally picking an item not valid.
your issue is that shit should not ever have item id zero. the only thing wrong in this code was missing that break to prevent it from repeating the message forever.
Okay so the issue is however the bark Tarantula is getting an item ID 0. THis never happened prior to this change, before it would still display _ added successfully, but didn't actually add anything since it didn't actually exist. So something was clearly changed that adjusted that sanity check (or lack there of sanity check)
go find that line in your drop table and comment it out.
This change unfortunately makes it so if any ID is called that for some reason doesnt' exist (IE User error, etc.) it will crash the server currently in an infinite loop.
Missed the second loop. my bad.
Add a break locally after the warning at ln3559 if you really need it fixed right this second. I don't have time to get to it right now.
@nfaletra Thanks! I had just mentioned that in another discord when I saw this email come thru about this comment that I thought that might be it on 3559. Thanks again!
Was this in the discord where you're talking shit?
Where have I been talking shit? Was on FFXIPrivateServers asking if other owners had seen it, And bouncing some ideas off of people before I posted that it was having issues? Or do you mean my discord where someone came in and bashed my server because of something someone else said?
https://gist.github.com/TeoTwawki/1a452e6eb162816f8c7ffa3b0c750e5d
thats the entire convo, and I was never aware you left Autkast. theres no shit talking in this that is word for word the entire thing typos and all.
Break out of add item loop if we have an invalid item (like when people add bad item ids like a fucking idiot)