• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Problem - Changing ImGui window positions

Vrakenor

Seasoned veteran member
Joined
Sep 23, 2015
RedCents
4,654¢
Hi all,
Like the title says, I have been having a lot of trouble with getting my Lua's to change their default positions. It wasn't a big deal before I got AlphaBuffs to replace my UI's buff window, and it would revert back to the default position every time I swapped characters. After some experimenting I found that all of them do the same reverting after swapping. I have tried Sic's way of repositioning the Lua where I want it and then closing the (stopping) Lua and then restarting it and it should save the location, and does until I go to swap toons and then it reverts. I have tried it by going through that procedure and NOT swapping and logging out the character to save. Didn't work. While working on AlphaBuffs, I started to look at the MacroQuest_Overlay.ini file and noticed some strange behavior. While keeping it open in Notepad ++, I saw that every time I made a change it would show up as a rewrite of the file. Normal behavior right? Then I would swap toons and it would rewrite the file again. Seemed like it was automatic. And it was always the same coords for the position. Almost like those coords were NOT being overwritten at all. That's as far as my trouble shooting was able to go, as I am not a programmer. Hence this question.

Also as a side note, I use 3 monitors, and I use ISBoxer for displaying all my toon's windows. Main in the center monitor, 5 smaller windows on my right side monitor. So when I say "swap toons", I hit a key and it swaps that toon into my main window (center monitor, full screen). I don't know if I am explaining that right. Could ISB be having an affect on the file rewrites when swapping?

Totally at a loss here guys, hoping you all can help me out here.

Vrak
 
you mean ImGui windows.

I'm going to update your title.

I'm also not sure i've ever recommended repositioning and then stopping the script, but that's ok
 
Sic
I seem to recall this from one of your video's. Changing the position of a window and then closing it out (like with the "X" icon) and then starting it again will save it's default position. Shrug, I could be (and am often are) wrong. Sorry if I mis credited it to you. I would think you would be going "Yeah I said that". LoL

Vrak
 
Sic
I seem to recall this from one of your video's. Changing the position of a window and then closing it out (like with the "X" icon) and then starting it again will save it's default position. Shrug, I could be (and am often are) wrong. Sorry if I mis credited it to you. I would think you would be going "Yeah I said that". LoL

Vrak
for mq2dpsadv - the xml window - or the cwtn plugins - the xml window. not for imgui

but i believe your issue is because the last toon is writing the settings it has, so unless you updated all toons, the last toon exiting/zoning is going to update the file with their location of that window

so you fix that by only logging in 1 toon (or only have 1 toon run the Lua script with the imgui window) moving where you want it to, exiting it (or zoning) to ensure update/save (not even necessary) and then load it on your other toons.
 
This is getting really frustrating.

So I tried what Sic suggested above. I loaded just my main toon, changed the positions of all the Imgui's to where I wanted them, used the Lua window to stop then restart each one, and then logged out with camp (regular). Upon logging the same character back in all the positions were saved. So far so good. Logged back out and tried the next toon by itself. (btw this character had NOT changed from the default positions which shoots down the theory that it is saved from the last character that was changed). Changed pos to where I wanted it, blah, blah and camped. Logged back in and everything was saved. Went back and logged in my main and everything was cool there too. So I spent the next 45 minutes doing this to all my characters. And finally tried my main to make sure nothing changed and its was good. It seems that as long as you only log in one toon at a time then everything stays where you left it. So big trial, used my normal (auto) login for the group, and right away I could tell everything reverted back to where it was, on all characters. Sheesh.

So during all this time I had MacroQuest_Overlay.ini open in Notepad. I saw where it was changing the pos numbers on the windows I was changing at the time, np, normal ops. But all those numbers changed the sec I logged all the toons in on auto. Why is there an ini file that keeps changing like that? I mean I had everything setup the way I wanted it and saved the file and poof, it all changes when I log in. I mean that goes against everything I have learned here. You save that file and it just does what you changed it to. It shouldn't be this fricking hard to change a UI window and have it save it's position. Why does it change when I login? And what is telling it to change to these numbers that it keeps reverting back to? I mean just tell me the file to change that and we will all be fine.

Sorry guys just frustrated is all.

Vrak
 
Rouneq

No idea really. But I would consider that abnormal behavior. I just want to know what (program?) is "telling" that file to change upon login. Is anyone else having this problem? I mean I can re install software easier than troubleshoot this problem lol. I haven't read anything on here to suggest that anyone else is suffering the same symptoms.

Vrak
 
Problem - Changing ImGui window positions

Users who are viewing this thread

Back
Top
Cart