Jump to content
  • [Plugin] Initialize method wont be called after plugin enabling


    Halfbax
    • Version: All Product: WRobot General Type: Bug Status: Not a Bug

    /\

    title



    User Feedback

    Recommended Comments

    Droidz

    Posted

    Hello, can you share your plugin and log file please

    Halfbax

    Posted

    using robotManager.Helpful;
    using wManager.Plugin;
    
    public class Main : IPlugin
    {
        public void Initialize()
        {
            Logging.Write("TestEnv loaded.");
        }
    
        public void Dispose()
        {
            Logging.Write("TestEnv disposed.");
        }
    
        public void Settings()
        {
            Logging.Write("TestEnv settings loaded.");
        }
    }

     

    The plugin itself will be loaded but the method wont be invoked.

     

    F] 10:38:55 - NewUserSettings = False ; LastProductSelected = Custom Profile ; CustomClass = [dedku]warrior.xml ; FoodMaxPercent = 95 ; DrinkMaxPercent = 95 ; IgnoreFightWithPlayer = False ; OffMeshConnectionsSearchDistance = 1600 ; ReadObjectManagerFTS = 10 ; KeyBindingMacro = P ; EventsLuaWithArgsWaitTime = 150 ; DismountWhenStuck = True ; NpcScanRepair = True ; NpcScanAuctioneer = True ; NpcScanVendor = False ; NpcScanMailboxes = True ; SkipInOutDoors = False ; RandomJumping = False ; MyMacro1 = wManager.wManagerSetting+MyMacro ; MyMacro2 = wManager.wManagerSetting+MyMacro ; MyMacro3 = wManager.wManagerSetting+MyMacro ; MyMacro4 = wManager.wManagerSetting+MyMacro ; PluginsSettings = DontWorryAboutYourEquip.dll = True, Interop.IWshRuntimeLibrary.dll = False, Newtonsoft.Json.dll = False, robotManager.dll = False, SlimDX.dll = False, wManager.dll = False, wResources.dll = False, DontWorryAboutYourEquipment.dll = True, TestEnv.dll = True ; CurrentSetting = wManager.wManagerSetting ; AssignTalents = False ; TrainNewSkills = True ; CanAttackUnitsAlreadyInFight = False ; DontStartFighting = False ; UseSpiritHealer = False ; UseMount = True ; UseGroundMount = True ; GroundMountName = ; MountDistance = 80 ; IgnoreFightGoundMount = True ; FlyingMountName = ; UseFlyingMount = False ; AquaticMountName = ; FoodName = ; FoodPercent = 35 ; DrinkName = ; DrinkPercent = 35 ; RestingMana = False ; FoodIsSpell = False ; DrinkIsSpell = False ; LootMobs = True ; DetectNodesStuck = True ; LootChests = False ; SkinMobs = False ; SkinNinja = True ; HarvestMinerals = True ; HarvestHerbs = True ; HarvestTimber = False ; HarvestAvoidPlayersRadius = 7 ; MaxUnitsNear = 3 ; SearchRadius = 300 ; HarvestDuringLongMove = False ; Smelting = False ; Prospecting = False ; ProspectingInTown = False ; ProspectingTime = 15 ; ProspectingList = ; Milling = False ; MillingInTown = False ; MillingTime = 15 ; MillingList = ; BlackListHarvestByName = ; ListHarvestByName = ; Relogger = False ; AccountEmail = ; AccountPassword = ; BNetName = ; FoodAmount = 0 ; DrinkAmount = 0 ; MinFreeBagSlotsToGoToTown = 2 ; UseMammoth = False ; ToTownTimer = 40 ; ToTownTimerActivated = False ; Repair = True ; Selling = False ; SellGray = True ; SellWhite = False ; SellGreen = False ; SellBlue = False ; SellPurple = False ; DoNotSellList = ; ForceSellList = ; UseMail = False ; UseMollE = False ; MailRecipient = ; MailSubject = Hey ; MailGray = False ; MailWhite = True ; MailGreen = True ; MailBlue = True ; MailPurple = True ; DoNotMailList = ; ForceMailList = ; CloseIfFullBag = False ; CloseIfReached4000HonorPoints = False ; CloseIfPlayerTeleported = True ; CloseAfterXLevel = 110 ; CloseIfWhisperBiggerOrEgalAt = 10 ; CloseAfterXBlockagesLatest10Minutes = 25 ; CloseAfterXMin = 2880 ; SecurityPauseBotIfNerbyPlayer = False ; SecurityRecordWhisperInLogFile = True ; SecuritySongIfNewWhisper = False ; UsePathsFinder = True ; NpcMailboxSearchRadius = 10000 ; HelpingGroupMembers = True ; AttackElite = False ; CloseAfterXBlockagesActive = True ; CloseAfterXDeathsActive = False ; CloseAfterXDeathsLatest10Minutes = 5 ; CloseAfterXMinActive = False ; AttackBeforeBeingAttacked = False ; SpellRotationSpeed = False ; IgnoreFightDuringFarmIfDruidForm = False ; WaitResurrectionSickness = False ; BlackListZoneWhereDead = False ; DisableNearPlayerToTown = False ; GoToTownHerbBags = False ; GoToTownMiningBags = False ; CalcuCombatRange = True ; UnlockMaxFps = False ; IgnoreCombatWithPet = False ; UseLuaToMove = False ; SecurityPauseBotIfNerbyPlayerRadius = 1000 ; SecurityPauseBotIfNerbyPlayerTime = 20 ; SecurityShutdownComputer = False ; LatencyMin = 150 ; LatencyMax = 500 ; AddToNpcDb = False ; BlackListTrainingDummy = True ; AvoidWallWithRays = True ; FlyAboveGroundHeight = 1,5 ; AvoidBlacklistedZonesPathFinder = True ; BlackListIfNotCompletePath = True ; WallDistancePathFinder = 1,5 ; PathFinderPostionOffset = 1,7 ; FlightMasterDiscoverRange = 150 ; FlightMasterTaxiDistance = 1000 ; FlightMasterTaxiUse = True ; FlightMasterTaxiUseOnlyIfNear = False ; 
    [D] 10:38:55 - [Blacklist] Added, 1 uniques Npcs, 0 Blackspots and 0 Npcs types (Training dummy ignored = True).

     

    27 Sep 2017 10H38.log.html

    Droidz

    Posted

    Nothing in your log (and plugin is not in folder "Plugins"), and you plugin works:

    WRobot_2017-09-27_10-52-55.png

    Halfbax

    Posted

    *facepalm* Found the error. Sorry for the nonsense bugreport. #closed



    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...