cipicips 2 Posted August 20 Share Posted August 20 hello, I was wondering if someone uses Human Master Plugin in ? If so could someone help me why do I get always this message? It seams it never changes states i.e. never going to trainer, equiping better items etc. I play on vanila 1.12.1 private and this is the log from plugin: 16:35:07.374 - [HumanMasterPlugin] State Name: Relogger, Priority: 2000 16:35:07.374 - [HumanMasterPlugin] State Name: Pause, Priority: 160 16:35:07.374 - [HumanMasterPlugin] State Name: Resurrect, Priority: 150 16:35:07.374 - [HumanMasterPlugin] State Name: MyMacro, Priority: 140 16:35:07.374 - [HumanMasterPlugin] State Name: IsAttacked, Priority: 130 16:35:07.374 - [HumanMasterPlugin] State Name: BattlePetState, Priority: 120 16:35:07.374 - [HumanMasterPlugin] State Name: LootingRange, Priority: 110 16:35:07.374 - [HumanMasterPlugin] State Name: FarmingRange, Priority: 110 16:35:07.374 - [HumanMasterPlugin] State Name: Regeneration, Priority: 100 16:35:07.374 - [HumanMasterPlugin] State Name: Looting, Priority: 90 16:35:07.374 - [HumanMasterPlugin] State Name: Farming, Priority: 80 16:35:07.374 - [HumanMasterPlugin] State Name: MillingState, Priority: 70 16:35:07.374 - [HumanMasterPlugin] State Name: ProspectingState, Priority: 60 16:35:07.374 - [HumanMasterPlugin] State Name: FlightMasterTakeTaxiState, Priority: 60 16:35:07.374 - [HumanMasterPlugin] State Name: ToTown, Priority: 50 16:35:07.374 - [HumanMasterPlugin] State Name: FlightMasterDiscoverState, Priority: 40 16:35:07.374 - [HumanMasterPlugin] State Name: Talents, Priority: 40 16:35:07.374 - [HumanMasterPlugin] State Name: Quester, Priority: 10 16:35:07.374 - [HumanMasterPlugin] State Name: Idle, Priority: 0 16:35:07.374 - [HumanMasterPlugin] Engine seems modified already - found a state with priority over 300 - DON'T ADD STATES! 16:35:07.374 - [HumanMasterPlugin] Found a different engine, but wasn't successful in storing it Also sometimes I get this: [E] 16:34:51.979 - Error while adding states: System.TypeInitializationException: The type initializer for 'HumanMasterPlugin.States.Training.ClassTraining' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'DatabaseManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. at HumanMasterPlugin.States.Training.ClassTraining..cctor() --- End of inner exception stack trace --- at HumanMasterPlugin.States.Training.ClassTraining..ctor() at HumanMasterPlugin.States.StateAdder.ReplaceTrainingState(Engine engine) at HumanMasterPlugin.States.StateAdder.AddState(Engine engine) [E] 16:34:51.984 - Engine > Pulse(): System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at System.Collections.Generic.List`1.Enumerator.MoveNextRare() at System.Collections.Generic.List`1.Enumerator.MoveNext() at robotManager.FiniteStateMachine.Engine.Pulse() Thx for help Link to comment https://wrobot.eu/forums/topic/15517-humanmasterplugin-vanilla-1121/ Share on other sites More sharing options...
cipicips 2 Posted August 21 Author Share Posted August 21 Hello there, short update, I believe that problem regarding errors in previous posts were from this line which is located in StateAdder.cs file and AddState method where ClassTraining was inserted, which is not part of databasemanager.dll State classTrainingState = engine.States.Find(state => state.GetType() == typeof(ClassTraining)); therefore, I've changed it with Trainers which is located at databsemanager.dll State classTrainingState = engine.States.Find(state => state.GetType() == typeof(Trainers)); With this now I dont get anny errors and output look like Quote 00:31:51.844 - [HumanMasterPlugin] States seem added already - maybe plugin was just reloaded - DON'T ADD STATES! 00:31:51.844 - [HumanMasterPlugin] Relogger 200 00:31:51.844 - [HumanMasterPlugin] Pause 16 00:31:51.844 - [HumanMasterPlugin] Resurrect 15 00:31:51.844 - [HumanMasterPlugin] My Macro 14 00:31:51.844 - [HumanMasterPlugin] IsAttacked 13 00:31:51.844 - [HumanMasterPlugin] BattlePet 12 00:31:51.844 - [HumanMasterPlugin] Looting range 11 00:31:51.844 - [HumanMasterPlugin] Farming range 11 00:31:51.844 - [HumanMasterPlugin] Regeneration 10 00:31:51.844 - [HumanMasterPlugin] Looting 9 00:31:51.844 - [HumanMasterPlugin] Farming 8 00:31:51.844 - [HumanMasterPlugin] Milling 7 00:31:51.844 - [HumanMasterPlugin] Prospecting 6 00:31:51.844 - [HumanMasterPlugin] FlightMaster: Take taxi 6 00:31:51.844 - [HumanMasterPlugin] To Town 5 00:31:51.844 - [HumanMasterPlugin] Flight master discover 4 00:31:51.844 - [HumanMasterPlugin] Talents 4 00:31:51.844 - [HumanMasterPlugin] Trainers 3 00:31:51.844 - [HumanMasterPlugin] Quester 1 00:31:51.844 - [HumanMasterPlugin] Idle 0 00:31:51.844 - [HumanMasterPlugin] Found a different engine, but wasn't successful in storing it Now bot goes to trainer however it still doesnt equip better items. Maybe it doesnt work for vanilla? Link to comment https://wrobot.eu/forums/topic/15517-humanmasterplugin-vanilla-1121/#findComment-69547 Share on other sites More sharing options...
Matenia 630 Posted August 24 Share Posted August 24 (edited) You need to either compile the DatabaseManager yourself and put it in your Bin folder (and the Wowdb inside your Data folder) or grab binaries from here: The "fix" you made has NOTHING to do with trainers. It actually breaks HMP's ClassTraining and replaces it with WRobot's default training which is broken af and will basically do nothing for Vanilla-WotLK but go to trainers every levelup if it can find some in the WRobot database. You shouldn't need to change a single line of code besides removing authentication Edited August 24 by Matenia Link to comment https://wrobot.eu/forums/topic/15517-humanmasterplugin-vanilla-1121/#findComment-69551 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