DracoNB Posted June 8, 2018 Share Posted June 8, 2018 https://github.com/draconb/avorion-autoresearch Before: After: Features Will not remove favorited items! Research without worry :) Allows you to limit how high of rarity it will auto-research items (capped at Exceptional since I didn't want people accidently making all their exotics into one legendary, you can add it if you want!) Allows you to select all systems or specific ones Will research from lowest to highest, so only one click needed! Install Backup your "Steam\steamapps\common\Avorion\data\scripts\entity\merchants\researchstation.lua" file Download the latest release from https://github.com/draconb/avorion-autoresearch/releases and unzip it or just download the lua script and place it in "Steam\steamapps\common\Avorion\data\scripts\entity\merchants\researchstation.lua". It will replace the existing researchstation.lua file in there, so make sure to back it up. Usage Fly to research station (found at faction "home" sectors and randomly through the galaxy) Select MAX item rarity to research (capped at Exceptional so you don't research away your exotics!) Select the system or leave it at All Click on "Auto Research", it will disable the button and re-enable once completed. Depending on how many items you might have quite a delay on the right side of the screen of it showing the added/removed items. Uninstall To uninstall, replace the file with the original one you backed up, or verify files in steam (will remove all mods!) Requirements Needs to be installed on both **client and server**. Known issues * Some systems don't properly combine if they have differing attributes, the names are different so they don't get grouped together. TODO * Add extra UI space for placing the minimum required. Currently only researches if 5 are available (for 100% success). * Add auto researching for weapons as well? Have to determine how and also need custom UI for the options. Note: The original researchstation.lua doesn't use a namespace, so thats why I edited everything inline, I might move it to a separate file at some point in the future. Link to comment Share on other sites More sharing options...
Kampfkrapfn Posted June 8, 2018 Share Posted June 8, 2018 is this based on AutoResearch by Cypher ? Link to comment Share on other sites More sharing options...
DracoNB Posted June 9, 2018 Author Share Posted June 9, 2018 is this based on AutoResearch by Cypher ? Nope its from scratch Link to comment Share on other sites More sharing options...
zenbane Posted June 10, 2018 Share Posted June 10, 2018 Does this need server AND client side? Looks great by the way. Link to comment Share on other sites More sharing options...
DracoNB Posted June 10, 2018 Author Share Posted June 10, 2018 Does this need server AND client side? Looks great by the way. Yes it does. It runs on the server side for most of the logic and client side needs the UI Link to comment Share on other sites More sharing options...
Kampfkrapfn Posted June 11, 2018 Share Posted June 11, 2018 do you already have an idea how to implement turret research? maybe I could send you some code snippets that a friend of mine made, editing the mod that I linked earlier. I'm wondering if you could add some settings/profiles then.... for example: 1. mining xanion 2. mining trinium 3. laser independent 4. laser 5. railgun 6. ... processing: 1. all xanion mining turrets are researched, later ignored 2. all trinium mining turrets are researched, later ignored .... another great addition for the more risky players would be the possibility to set the mininum_count_for_research to 4 or even 3 instead of 5 ... Link to comment Share on other sites More sharing options...
Sarok Posted June 25, 2018 Share Posted June 25, 2018 Hallo, finde die Idee von "Auto Research" echt genial und hoffe du kannst auch die Geschütztürme noch einbauen. jetzt zu meinen Problem! Leider kann ich die meisten "systemsupgrade" nicht einer automatisches Upgrade unterziehen. Ich habe es versucht selbst zu lösen und denke das diese nicht gefunden werden. Hier die Liste(die durchgestrichenen können nicht Upgegradet werden): systemSelection:addEntry("All"%_t) systemSelection:addEntry("Battery Upgrade"%_t) systemSelection:addEntry("Cargo Upgrade"%_t) systemSelection:addEntry("Energy To Shield Converter"%_t) systemSelection:addEntry("Engine Upgrade"%_t) systemSelection:addEntry("Generator Upgrade"%_t) systemSelection:addEntry("Hyperspace Upgrade"%_t) systemSelection:addEntry("Mining System"%_t) systemSelection:addEntry("Object Detector"%_t) systemSelection:addEntry("Radar Upgrade"%_t) systemSelection:addEntry("Scanner Upgrade"%_t) systemSelection:addEntry("Shield Booster"%_t) systemSelection:addEntry("Shield Reinforcer"%_t) systemSelection:addEntry("A-TCS"%_t) systemSelection:addEntry("C-TCS"%_t) systemSelection:addEntry("M-TCS"%_t) systemSelection:addEntry("Technology Fragment"%_t) systemSelection:addEntry("Tractor Beam"%_t) systemSelection:addEntry("Trading System"%_t) systemSelection:addEntry("Velocity Security"%_t) könntest du mir da weiter helfen? lg Sarok Link to comment Share on other sites More sharing options...
DracoNB Posted June 25, 2018 Author Share Posted June 25, 2018 Hallo, finde die Idee von "Auto Research" echt genial und hoffe du kannst auch die Geschütztürme noch einbauen. jetzt zu meinen Problem! Leider kann ich die meisten "systemsupgrade" nicht einer automatisches Upgrade unterziehen. Ich habe es versucht selbst zu lösen und denke das diese nicht gefunden werden. Hier die Liste(die durchgestrichenen können nicht Upgegradet werden): systemSelection:addEntry("All"%_t) systemSelection:addEntry("Battery Upgrade"%_t) systemSelection:addEntry("Cargo Upgrade"%_t) systemSelection:addEntry("Energy To Shield Converter"%_t) systemSelection:addEntry("Engine Upgrade"%_t) systemSelection:addEntry("Generator Upgrade"%_t) systemSelection:addEntry("Hyperspace Upgrade"%_t) systemSelection:addEntry("Mining System"%_t) systemSelection:addEntry("Object Detector"%_t) systemSelection:addEntry("Radar Upgrade"%_t) systemSelection:addEntry("Scanner Upgrade"%_t) systemSelection:addEntry("Shield Booster"%_t) systemSelection:addEntry("Shield Reinforcer"%_t) systemSelection:addEntry("A-TCS"%_t) systemSelection:addEntry("C-TCS"%_t) systemSelection:addEntry("M-TCS"%_t) systemSelection:addEntry("Technology Fragment"%_t) systemSelection:addEntry("Tractor Beam"%_t) systemSelection:addEntry("Trading System"%_t) systemSelection:addEntry("Velocity Security"%_t) könntest du mir da weiter helfen? lg Sarok I'm guessing it has to do with localization, I'm doing a string check against those values and they must be named differently in other locals. Not sure the best way to support that :( Link to comment Share on other sites More sharing options...
Kampfkrapfn Posted June 26, 2018 Share Posted June 26, 2018 Hallo, finde die Idee von "Auto Research" echt genial und hoffe du kannst auch die Geschütztürme noch einbauen. jetzt zu meinen Problem! Leider kann ich die meisten "systemsupgrade" nicht einer automatisches Upgrade unterziehen. Ich habe es versucht selbst zu lösen und denke das diese nicht gefunden werden. Hier die Liste(die durchgestrichenen können nicht Upgegradet werden): systemSelection:addEntry("All"%_t) systemSelection:addEntry("Battery Upgrade"%_t) systemSelection:addEntry("Cargo Upgrade"%_t) systemSelection:addEntry("Energy To Shield Converter"%_t) systemSelection:addEntry("Engine Upgrade"%_t) systemSelection:addEntry("Generator Upgrade"%_t) systemSelection:addEntry("Hyperspace Upgrade"%_t) systemSelection:addEntry("Mining System"%_t) systemSelection:addEntry("Object Detector"%_t) systemSelection:addEntry("Radar Upgrade"%_t) systemSelection:addEntry("Scanner Upgrade"%_t) systemSelection:addEntry("Shield Booster"%_t) systemSelection:addEntry("Shield Reinforcer"%_t) systemSelection:addEntry("A-TCS"%_t) systemSelection:addEntry("C-TCS"%_t) systemSelection:addEntry("M-TCS"%_t) systemSelection:addEntry("Technology Fragment"%_t) systemSelection:addEntry("Tractor Beam"%_t) systemSelection:addEntry("Trading System"%_t) systemSelection:addEntry("Velocity Security"%_t) könntest du mir da weiter helfen? lg Sarok versuch doch mal, die spracheinstellungen auf englisch zu stellen. wenn es dann funktioniert (wovon ich ausgehe), ist zumindest DracoNBs vermutung bestätigt, dass es an der lokalisierung liegt. (for our non-german readers: try to change language settings to "english". if it works, then at least DracoNB's guess is verified.) Link to comment Share on other sites More sharing options...
Ontragon Posted June 27, 2018 Share Posted June 27, 2018 just tested, if i switch to english it works. Link to comment Share on other sites More sharing options...
Sarok Posted June 27, 2018 Share Posted June 27, 2018 Hallo, finde die Idee von "Auto Research" echt genial und hoffe du kannst auch die Geschütztürme noch einbauen. jetzt zu meinen Problem! Leider kann ich die meisten "systemsupgrade" nicht einer automatisches Upgrade unterziehen. Ich habe es versucht selbst zu lösen und denke das diese nicht gefunden werden. Hier die Liste(die durchgestrichenen können nicht Upgegradet werden): systemSelection:addEntry("All"%_t) systemSelection:addEntry("Battery Upgrade"%_t) systemSelection:addEntry("Cargo Upgrade"%_t) systemSelection:addEntry("Energy To Shield Converter"%_t) systemSelection:addEntry("Engine Upgrade"%_t) systemSelection:addEntry("Generator Upgrade"%_t) systemSelection:addEntry("Hyperspace Upgrade"%_t) systemSelection:addEntry("Mining System"%_t) systemSelection:addEntry("Object Detector"%_t) systemSelection:addEntry("Radar Upgrade"%_t) systemSelection:addEntry("Scanner Upgrade"%_t) systemSelection:addEntry("Shield Booster"%_t) systemSelection:addEntry("Shield Reinforcer"%_t) systemSelection:addEntry("A-TCS"%_t) systemSelection:addEntry("C-TCS"%_t) systemSelection:addEntry("M-TCS"%_t) systemSelection:addEntry("Technology Fragment"%_t) systemSelection:addEntry("Tractor Beam"%_t) systemSelection:addEntry("Trading System"%_t) systemSelection:addEntry("Velocity Security"%_t) könntest du mir da weiter helfen? lg Sarok versuch doch mal, die spracheinstellungen auf englisch zu stellen. wenn es dann funktioniert (wovon ich ausgehe), ist zumindest DracoNBs vermutung bestätigt, dass es an der lokalisierung liegt. (for our non-german readers: try to change language settings to "english". if it works, then at least DracoNB's guess is verified.) Hallo und Danke für deinen tip!! Ich habe es auf englisch geschaltet und es funktuniert. lg Sarok Link to comment Share on other sites More sharing options...
Kampfkrapfn Posted June 27, 2018 Share Posted June 27, 2018 so it's definitely a localization issue. @DracoNB I'm pretty sure you could access the localized strings instead of the hardcoded text that you're using at the moment. unluckily, I'm not deep enough into Avorion modding to help you out here. I'd start looking for this in the localization subforum. Link to comment Share on other sites More sharing options...
Devious Posted June 29, 2018 Share Posted June 29, 2018 Thank you for making a new research mod, the old one broke twice and after the last time nobody was able to get it working properly. Looking forward to turrets being added but for now this will make our players happy for sure! Link to comment Share on other sites More sharing options...
Kampfkrapfn Posted June 30, 2018 Share Posted June 30, 2018 regarding the localization issue... I just stumbled upon this one here: i18n Internationalization Link to comment Share on other sites More sharing options...
Bix Posted July 22, 2018 Share Posted July 22, 2018 Hey, I've tried your mod few days ago but uninstalled it right after. I made the mistake to contact the station and start researching items without beeing docked but the script gone crazy and I had to restart client and server, I can't keep this installed if it can hang everything like this, that's too bad because the auto research is a really nice feature ! Also, as this overwrite the original script file, do players can run into bugs if having the script installed on server BUT not on their client ? Link to comment Share on other sites More sharing options...
Rinart73 Posted September 11, 2018 Share Posted September 11, 2018 Hi, DracoNB. I'm playing on the Rusty's Galaxy server where we're using your mod. I found a solution to both server crash and localization bugs. I created pull request on GitHub. Link to comment Share on other sites More sharing options...
Amriel Posted December 19, 2018 Share Posted December 19, 2018 I've updated this to work with the most recent beta (0.20+), based off of Rinart73's pull request. It's working well for me so far on 0.20.2. Thanks to both of you for the HUGE quality-of-life mod! :) avorion-autoresearch-0.20.zip Link to comment Share on other sites More sharing options...
dadavid2009 Posted December 19, 2018 Share Posted December 19, 2018 Thanks for the update amriel :D i'm going to try it Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now