Skip to content
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

Sorting player list by first/last seen #9

Open
theY4Kman opened this issue Nov 9, 2021 · 7 comments
Open

Sorting player list by first/last seen #9

theY4Kman opened this issue Nov 9, 2021 · 7 comments

Comments

@theY4Kman
Copy link

When I enter notes for players, it's usually after the game has completed. I use the quick note screen to enter things, but often I'm interrupted by a new match — after which the quick note screen disappears, and the player list takes its place. If I don't remember the names of the players from last match, it's often impossible for me to leave a note for them. (Sometimes, I'll pop open a Python shell, load in the player_counter.json file, and sort by timeMet/updatedAt just to find them again.)

It would be nice if the in-game player list window could be sorted by timeMet/updatedAt

@adamk33n3r
Copy link
Owner

That's a good idea. I'm curious if ImGUI has easy-to-implement sorting like that for tables. If we added the timeMet/updatedAt properties to the table as columns and then you could just click on the header to sort by that column, that'd be neat. Unfortunately I don't really have time at the moment to put in dev time for this, but feel free to attempt it yourself! I'm open to PRs.

In the meantime, a workaround is to not queue for the next match until you're done writing notes. Simple but effective!

@theY4Kman
Copy link
Author

Word up. Once I figure how to build the plug-in on Linux, I'm sure I'll throw a PR up

@theY4Kman
Copy link
Author

Alright, 84 tabs later, from "msbuild linux Microsoft.Cpp.Default.props" to "FOR THE LOVE OF GOD, BUILDING CPP TARGET IN RIDER", I think I'm done trying for tonight. One day, I'll figure it out.

@adamk33n3r
Copy link
Owner

Oh boy, building in Linux? Does bakkesmod even work in Linux? 😮 Ya, it'd definitely be easiest to build from visual studio. It should "just work" 😅

@theY4Kman
Copy link
Author

Surprisingly enough, it does work in Linux. Playing the game under Proton is still a pretty damn pleasant experience; the official injector GUI for bakkes stopped working (though, haven't tried in quite a while) after an RL update, but some wonderful people figured out an injector that does work. When it was still being figured out, I missed three things the most from bakkes: auto-queuing, auto-gg, and Deja Vu ❤️

But aye, I think I might just throw up a build server in a VM. It's surprisingly easy to compile .NET VS solutions in Linux, and surprisingly difficult to compile C++ VS solutions.

@theY4Kman
Copy link
Author

Woooo! So, I finally have good news! Using https://github.com/mstorsjo/msvc-wine, I was able to acquire a proper cl.exe for compilation/linkage, and successfully compiled the plugin with:

cl.exe /nologo /EHsc /std:c++17 /LD Canvas.cpp DejaVu.cpp DejaVuGUI.cpp  pch.cpp SettingsFileGenerator.cpp vendor/easyloggingpp-9.96.7/src/easylogging++.cc vendor/imgui/imgui.cpp vendor/imgui/imguivariouscontrols.cpp vendor/imgui/imgui_additions.cpp vendor/imgui/imgui_draw.cpp vendor/imgui/imgui_impl_dx11.cpp vendor/imgui/imgui_impl_win32.cpp vendor/imgui/imgui_rangeslider.cpp vendor/imgui/imgui_stdlib.cpp vendor/imgui/imgui_timeline.cpp vendor/imgui/imgui_widgets.cpp /I bakkesmodsdk/include /link /LIBPATH:bakkesmodsdk/lib bakkesmod.lib pluginsdk.lib /out:DejaVuPlugin.dll

I spent sooooo much time trying to get it to work with MingW, and more time than I cared with a Windows VM. I frankly didn't believe it when I saw DejaVuPlugin.dll in the folder.

@adamk33n3r
Copy link
Owner

Oh wow props to you for persevering! Let me know how it goes :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants