Moogle Script Manager [Script Auto Updater] [Beta/WiP] - Printable Version +- MMOMinion (https://www.mmominion.com) +-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87) +--- Forum: [DOWNLOADS] Addons, Lua Modules, Navigation Meshes.. (https://www.mmominion.com/forumdisplay.php?fid=90) +---- Forum: LUA Modules / Addons (https://www.mmominion.com/forumdisplay.php?fid=102) +---- Thread: Moogle Script Manager [Script Auto Updater] [Beta/WiP] (/showthread.php?tid=20229) |
Moogle Script Manager [Script Auto Updater] [Beta/WiP] - Kali - 01-06-2018 Moogle Script Manager An Auto Updater and Manager for Moogle created and User submitted scripts ATTENTION: THIS IS BETA. THAT MEANS IF SOMETHING ON YOUR END IS NOT WORKING CORRECTLY I NEED TO KNOW ABOUT IT, PLEASE :) If you are having issues of any kind, include this in your post please: What is the module for? What does it do? How does it work? Moogle Script Manager is for downloading, managing, and automatically updating profiles created by myself, and other users as well. The goal is to help promote module usage, and creation by the community while keeping everyone always up to date. Just like store add-ons that automatically update, this manager too will do the same, while in the game. Unlike Minion launcher's store, Moogle Script Manager is for, free, public profiles, where everyone can see the code. Just like if you browsed the forums, found a skill profile you liked, downloaded it, and tweaked it to your liking, you can do the same here but within a controlled manager. Also unlike the store, updates aren't guaranteed, requests can take longer, but hey it's free, so there was a risk of that anyways. The module checks for updates in my repository at a user-controlled interval. If it finds that there is a new version, it automatically replaces the currently downloaded version, then notifies the user that there is an update available. There is also an option to automatically Reload Lua if the bot is not running or doing any tasks. This option is disabled by default since the nature of it could cause all kinds of potential issues, though its only risk is an annoying delay in the game responding reloading everything. How do I install Moogle Script Manager? First and foremost, Moogle Script Manager is a hybrid of Lua and PowerShell. If you for some reason don't have PowerShell, or a version too outdated, this, unfortunately, won't work. Luckily PowerShell is included by default for most versions of Windows. So for those of you who are like "I don't know what a PowerShell is", if you have Windows 10 for example, you're perfectly fine, while if you have Windows 7 you might have to update to a newer version of PowerShell which other users in the topic have mentioned it's quite easy to do. That means you need:
There are two options you may use to install Moogle Script Manager, both do the same things, but one is potentially easier than the other. PowerShell Script Installer: https://github.com/KaliMinion/Moogle-Stuff/raw/master/MoogleInstaller.ps1
https://github.com/KaliMinion/Moogle-Stuff/raw/master/Moogle%20Updater.lua https://github.com/KaliMinion/Moogle-Stuff/raw/master/MoogleStuffModule.def https://github.com/KaliMinion/Moogle-Stuff/raw/master/MainWindow.lua https://github.com/KaliMinion/Moogle-Stuff/raw/master/MoogleLib.lua https://github.com/KaliMinion/Moogle-Stuff/raw/master/MoogleScripts.lua
Moogle Script Manager is not only limited to what I'm working on, but I've opened it up to anyone who wants to keep their users updated as well. Regardless if you're working on a Samurai Skill Profile or profiles for Sense, Moogle Script Manager can keep your project updated for all of your users. While I will have to control what's going through my manager if you wish to contribute the easiest way to reach me is through Discord: FFXIVMinion Community Discord: https://discord.gg/0fQJTii7Qwcctu4K MoogleStuff Discord: https://discord.gg/Ytr9jJC RE: Moogle Script Manager [Script Auto Updater] - lanceangel - 01-06-2018 clicking to install the module above FPS crashed my game RE: Moogle Script Manager [Script Auto Updater] - Kali - 01-07-2018 I might need to output a log of steps it's taking to work around crashes, since the log is lost when it crashes, unfortunately. RE: Moogle Script Manager [Script Auto Updater] - anahronik - 01-07-2018 I really like the idea of auto update public profiles/modules etc. Currently I'm struggling with making this module work on my system: windows 7 with ps 2.0. Problem: constant error about C stack overflow in bot console and all bot windows become non-responsive. Behavior before problem: I used .zip from first post. I removed all my public modules. Module did load MainWindow/Scripts/MoogleLib lua files then Reload. Then it did load .png files. From this point stack overflow error begins. Maybe ps integrated to windows10 much better than win7 so it works much faster...idk I'll do some experiments to understand what is happening. Just out of curious: in windows 10 when you io.popen powershell command does it close cmd/powershell processes when they are done? For win7ps2 they stays in Task manager like forever... RE: Moogle Script Manager [Script Auto Updater] - Kali - 01-07-2018 Yea, they close out in windows 10. I'll have to do more testing later when I get home. You never even see CMD or PowerShell windows at all for me. Visually or in the task manager. RE: Moogle Script Manager [Script Auto Updater] [Beta/WiP] - Kali - 01-07-2018 I've added a note at the top of my post for people that are having issues. When I get home I'm going to update my installer and try it out on different versions of Windows. RE: Moogle Script Manager [Script Auto Updater] [Beta/WiP] - anahronik - 01-07-2018 I've finished my experiments. 1) I've updated PS to 5.1 and after it PS processes starts and ends (not even stays forever anymore) really fast so I really recommend to update for all win7 users ( https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-windows-powershell?view=powershell-5.1 ). 2) Before spam of C stack overflow file "Moogle Scripts.lua" has been deleted automatically, so it was staring point for research. As a result I've discovered a problem at Moogle Updater.lua line 534 Code: [[https://github.com/KaliMinion/Moogle-Stuff/raw/master/Moogle%20Scripts.lua]] Code: "https://github.com/KaliMinion/Moogle-Stuff/raw/master/Moogle (nil)cripts.lua" RE: Moogle Script Manager [Script Auto Updater] [Beta/WiP] - Kali - 01-07-2018 Ohhhhhhhhhhhhhhhhhhhhhhh...... *slams face to desk* Yea... believe it or not, I thought I fixed all of those spaces in the urls. :/ I'll fix it when I get home. I'll just remove the spaces in the names in my repository, easier that way. RE: Moogle Script Manager [Script Auto Updater] [Beta/WiP] - Kali - 01-07-2018 I'll probably fix my installer by checking for PowerShell Version before installing, ask the user that PowerShell should be updated, download it if they agree and start the installation. Maybe not that far, maybe just open the folder it was downloaded into. It's probably more complicated than I'm thinking it is. RE: Moogle Script Manager [Script Auto Updater] [Beta/WiP] - Mamoth - 01-07-2018 Kali, Since this bot has NO documentation outside of the GUI stuff on how to actually accomplish things (even the GUI stuff it still not well documented but it's something). Even with a "Documentation Dev" which who the hell knows what that person does as I don't see any improvements in this area. So I want to say thank you soooo much for the ImGui. Very helpful. Now maybe someone could put out an example of how to code properly actions (e.g. move to position and attack) and making the bot do certain things. It's such a pain in the ass to go through peoples codes to figure it out and I think it hampers development. Lastly, I think the code repository is a cool idea. Hope it catches on. It's like the github of mmominion. :) |