-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line markers not saving/FPS issue #34
Comments
Yes, I think markers can disappear if they are created in quick succession. This would be because lines are competing when saving and end up overwriting each other. I should be able to fix this by saving less frequently, but not sure how often to save and what should trigger it. It would be interesting for me to know if you are creating the markers immediately as groups using the shift key or doing it manually in the panel. The latter will most likely be more prone to issues, as I think there are several (unnecessary) save triggers in the panel. Having 5000 lines could also be an issue, as it will most likely increase the time it takes to save significantly because the Json object it is stored as becomes quite big. I guess you could test this by exporting all your lines and creating a backup in a Pastebin, deleting all markers in the panel, and checking if the issue still persists. Again, this is something I should be able to fix by saving separate chunks instead of the entire blob, but rewriting loading/saving markers is always scary. It is really cool to see that you are creating outlines for clue steps. I hope you plan to contribute these outlines to the core Clue Scroll plugin as that plugin is much more suitable for displaying many lines than this plugin is (because they are static). |
Thanks for getting back to me so quickly. I've just been shift+right clicking to add lines and haven't really labeled the marker groups yet; eventually I'll probably want to list each group by their item ID to make it easier to implement in the Clue Scrolls plugin though. With the few seconds of lag after adding each line it does somewhat often create a separate marker group, and almost always when I change the line edge in the plugin menu. It could be a useful feature to have the option to add lines to a pre-existing marker group instead of automatically creating a new group after four or five seconds like it currently seems to be. When I add a new line it always goes into the Line Markers sidebar list; however, when I exit Runelite, it removes recently added lines/marker groups. I'm not sure if there's a timer that saves locally every so often or maybe the local file is too big and isn't saving new data or something. Temporary fix would be to export my markers before exiting but maybe a manual save button could work too. I'm pretty sure some of the lines I've added were over an hour before I logged off so it's not a super quick thing either. |
Can you export all your ~5000 markers and send them to me? You can either save the export to a file and drag & drop it into a comment here on GitHub or upload it to Pastebin and provide the link. That way I can test if I can reproduce the same issues you are experiencing. |
Not quite what you wanted, but you can quickly merge two groups by renaming one of them to the exact name of the other group. The group it ends up in is not based on a time limit, but rather whether you are holding down the shift key or not when adding new lines. |
LineMarkers2309300920.txt |
LineMarker2309301311.txt |
Been a little while, I realized that if I couldn't add new lines in-game after a certain point then I could potentially get around this by just importing the lines. So I went through and compiled the needed data and used a spreadsheet to make a list of all the lines I wanted. I don't have any issues importing the data and everything shows up correctly in-game; however, upon closing the game, it removes the imported lines from the plugin. I've attached the complete list of lines I import and was hoping to find out if this is a resolvable issue or just a limitation of the plugin. Thanks |
I've been working on a project of outlining the trigger border of dig/emote clue steps and I've noticed a few times now that after marking the outline I'll come back later to find that they've disappeared. Is this a known issue that's being worked on or is it related to adding too many lines in a short timeframe?
Also, after adding a new line it'll lag my game for about 3 seconds each line, which isn't a big deal but is kinda annoying. I've had this issue from the start so I don't think it's related to having too many lines marked (I'd guess I'm between 4-5k lines marked atm). Is this due to a bad interaction with another plugin or something?
The text was updated successfully, but these errors were encountered: