New Update Causing Massive Lag Spikes? |
||
New update causing massive lag spikes?
Not getting massive lag, but it seems when I was popping Aello last night there would be a lag spike when I go to engage. It was pretty seamless before.
Bismarck.Radec said: » I'll second it's related to findall - as soon as the screen gets a little busy (Ramuh AoEs in Omen) the console on both characters fills up with findAll: Lua runtime error: libs/files.lua:192: attempt to index local 'fh' (a nil value) and the stuttering starts. Once one character left, it only happened on the character still in omen - no errors logged sitting in Jeuno This is what I've been experiencing also on 3 chars, primarily on the main character but it happens occasionally on the other 2. Unloading findall resolved it for now, no more stutter or errors thrown in console. Other times i've had Logger randomly freak out and plummet my FPS to 1-2 whenever something happens in chatlog. This is usually when i clear out old chatlogs and it's fixed not too long after that. Hmm I haven’t changed anything with my four mains with windower and nothing.
The stutter is pretty bad. It started as soon as I updated the lua core.(not by choice just happened to open windower for my mule) I get them on both instances.
Asura.Solidous said: » The stutter is pretty bad. It started as soon as I updated the lua core.(not by choice just happened to open windower for my mule) I get them on both instances. Experiencing this as well. Just updated today and noticed the spikes right away while in Dho Gates
can confirm, unloading findall fixes my issues.. such a great plugin too.
Fenrir.Cherrywine
Offline
Lakshmi.Reddwarf said: » can confirm, unloading findall fixes my issues.. such a great plugin too. Thank you for identifying the issue. I'll try this too! Turning off Findall seems to have fixed my lag issues as well.
Offline
Posts: 182
So I'm not 100% sure why, but after a lot of troubleshooting I decided to comment out the coroutine.yield in the make_table function. This seems to have completely removed my lag issue. Line 472. (Just put a -- in front of the line that says coroutine.yield() in that function).
Code function make_table(tab,tab_offset) -- Won't work for circular references or keys containing double quotes local offset = " ":rep(tab_offset) local ret = "{\n" for i,v in pairs(tab) do ret = ret..offset..encase_key(i)..' = ' if type(v) == 'table' then ret = ret..make_table(v,tab_offset+2)..',\n' else ret = ret..tostring(v)..',\n' end end --coroutine.yield() return ret..offset..'}' end Eh, no wonder I couldn't replicate. That's not in my file.
Dumb question, why do you have a different findall
If you have a better version, logically, (for this exact reason) shouldn't we all use the same thing. You probably have the modified (better) enternity too. The last findall push was several months ago (by me, I think, also trying to fix the lag), so any local file changes since wouldn't have been overwritten. I'm guessing I pushed my changes live and then changed it some more and forgot about it.
Anyway, I will push that live since it's definitely the culprit. Thanks for pointing that out, never would have noticed. Edit: My eternity is the same as the live one AFAIK, not sure what you mean by "better". Did you ever figure out why logger was doing the exact same thing like 6 months ago? I still haven't even attempted to turn it back on.
Byrth modified his enternity to skip passed the "green text" that causes all of ours to stop. Assuming you would do the same thing. maybe you didn't. Sammeh said: » So I'm not 100% sure why, but after a lot of troubleshooting I decided to comment out the coroutine.yield in the make_table function. This seems to have completely removed my lag issue. Line 472. (Just put a -- in front of the line that says coroutine.yield() in that function). Code function make_table(tab,tab_offset) -- Won't work for circular references or keys containing double quotes local offset = " ":rep(tab_offset) local ret = "{\n" for i,v in pairs(tab) do ret = ret..offset..encase_key(i)..' = ' if type(v) == 'table' then ret = ret..make_table(v,tab_offset+2)..',\n' else ret = ret..tostring(v)..',\n' end end --coroutine.yield() return ret..offset..'}' end I think that you can just delete this part if you want that behavior from enternity:
and not original:match(string.char(0x1e, 0x02)) The addon never updates so it won't overwrite, and it's not meant to be a secret. Guessing nobody felt like writing settings. Asura.Cair said: » I think that you can just delete this part if you want that behavior from enternity: and not original:match(string.char(0x1e, 0x02)) The addon never updates so it won't overwrite, and it's not meant to be a secret. Guessing nobody felt like writing settings. |
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|