Open mmcme opened 1 month ago
thanks for your reply. could you offer more details about "any necessary UI plugins or libraries", as i work on windows11, and i find servbay is for MacOS. And i download the release of this mod from www.nexusmods.com. i find these files are same as the visual studio output. i copy these files into the game mods folder. and after i run the game. i still cannot find the setting ui and expect pages.
I recompiled the mod and ran it successfully in game version 1.1.11f1. So I am not able to duplicate your problem.
You state that the icon shows up, which indicates that the game loaded the mod. When you click on the button, does the button remain highlighted? If so, it means it is working, but perhaps the window is appearing off screen. Check again in Options for this mod's settings. There is a button in the settings to reset the window position to default.
If you don't have this mod's settings in Options, then something else is not working. But you can still reset the window to its default position by deleting the PerformanceMonitor.coc settings file. The settings files are located one folder up from the Mods folder.
Check this mod's log file in the Logs folder for errors. Check the Player.log file for errors.
Try running with no other mods. It is possible, but unlikely, that this mod is incompatible with another mod.
Why you are trying to run the mod by compiling the source versus just getting the mod from Paradox Mods? If am fine with it, just curious as to why.
thanks for your reply.
i check the game again. after i run the game, when i put the Mouse cursor on the icon, it is highlighted. and a black block shows up, however, there is no chars in it, as you can see the attached pictures.
there is no mod`s setting ui in options, and i have no PerformanceMonitor.coc settings file from the beginning. maybe it is a problem .could you attach it in reply?
i checked the log. there is no PerformanceMonitor.log in the logs folder.(others , like RoadBuilder.log,MoveIt.log are there) however in Modding.log, i find: [2024-10-30 22:41:59,559] [INFO] Loaded PerformanceMonitor, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null in 0ms [2024-10-30 22:42:01,071] [INFO] Registered UI Module {"m_ModuleId":"PerformanceMonitor","m_Author":"rcav8tr","m_ModuleVersion":{"Major":1,"Minor":0,"Build":1,"Revision":-1,"MajorRevision":-1,"MinorRevision":-1},"m_UIModuleDependencies":[""]} from PerformanceMonitor (UIModuleAsset:9cdf7ed88755aff853fc74f95d70f268) in player.log, there is no any log about this mod. i can not even get a work "Performance".
"Try running with no other mods. ", later i will try. and i agree with you , it not likely about the incompatible with another mod.
"Why you are trying to run the mod by compiling" ,because i want to make a mod. so i try to find a similar mod project to learn how to write it, build it. if your code works in my enviorment, i can learn to add my ideas to it.
thank you very much.
The little box that shows up when you hover is a tool tip that should have the name of the mod.
When you click and release on the button, not hovered, does it stay highlighted to indicate it is active?
If you get the mod from Paradox Mods, does it work? You have to remove the local mod from the Mods folder. You cannot have the local mod from the Mods folder and the Paradox Mods mod running at the same time.
hi, i downloaded this code(version 1.0.2), and compiled it with visual studio 2022. it built successfully, and Copy output to deploy directory( game mods folder). in the folder, there are 8 files and one folder. files:PerformanceMonitor.dll,PerformanceMonitor.mjs,PerformanceMonitor.mjs.LICENSE.txt, PerformanceMonitor.pdb,PerformanceMonitor_linux_x86_64.so,PerformanceMonitor_mac_x86_64.bundle, PerformanceMonitor_win_x86_64.dll,PerformanceMonitor_win_x86_64.pdb folder:images. with one file in it :stopwatchIcon.svg.
the issue is :
after i run the game(cs2 1.1.11f1), i can see the icon(stopwatch) at the lefttop of the screen. however there is no any response after click it.
and there is no any setting ui in the game options page.
i think maybe it is not a bug, and it is a issues about my modding environment. is there any ui plugins necessary to install before building?
thanks .