Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

79135

WRobot user
  • Content Count

    291
  • Joined

  • Last visited

About 79135

  • Rank
    Advanced Member

Recent Profile Visitors

937 profile views
  1. wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitByEntry(123456).Count > 0 - yes for big instance dont work, tryed /run print(C_Scenario.GetCriteriaInfo()) - nothing print (WoW 3.3.5). I need check if party (LFG) killed last boss and can to leave without dungeon desertire. And still one question - What is do it function? "GetLFGInfoLocal" ?
  2. How to check if random dungeon is done? (last boss is killed). if(Lua.LuaDoString<bool>("if LFDungeonIsDone then return 1 end") ) //it is dont work return true;
  3. I mean How will bot to know what happens this: [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Idle already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.MovementLoop already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Grinding already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Trainers already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Talents already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.FlightMasterDiscoverState already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.ToTown already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.FlightMasterTakeTaxiState already launched, ignore it the main thing here is to clarify to the bot that this error occurred and after that close the game
  4. Thanks. I think what the code help to me, but dont.. I use it: EventsLuaWithArgs.OnEventsLuaWithArgs += (LuaEventsId id, List<string> args) => { if (id == wManager.Wow.Enums.LuaEventsId.PLAYER_DEAD) robotManager.Products.Products.ProductRestart(); }; Sometimes happens next: [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Idle already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.MovementLoop already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Grinding already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Trainers already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Talents already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.FlightMasterDiscoverState already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.ToTown already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.FlightMasterTakeTaxiState already launched, ignore it I tried use next code: robotManager.Events.LoggingEvents.OnAddLog += delegate(robotManager.Helpful.Logging.Log log) { if (log != null) { if (log.Text.Contains("[FSM] State wManager.Wow.Bot.States.Idle already launched, ignore i")) Lua.LuaDoString("ForceQuit()");//close wow } }; But dont help. How to restart a bot if this error appears?
  5. I badly understand, plaese write it IN DETAIL like: var p = Quest.QuesterCurrentContext.Profile as Quester.Profile.QuesterProfile; if (p != null) { for (int i = 0; i < p.QuestsSorted.Count; i++) { if (p.QuestsSorted.Action == wManager.Wow.Class.QuestAction.StepName && p.QuestsSorted.NameClass == stepName) { Quest.QuesterCurrentContext.CurrentStep = i; break; } } } I've the step TEST type Follow Path. In the Steps, Action list: [0] Pulse > TEST [1] RunCode > here need the code for reset TEST step
  6. How can i callout the command with C#? Write the code please.
  7. Im using 1 relogger for a two different wow versions and sometimes have bug when relogger try to start a profile. Windows 10. On another computers, where i use 1 relogger for an one wow version, work all fine.
  8. [E] 01:05:49 - RunReloggerTask > Run(...)#2: System.Threading.SynchronizationLockException: Для не синхронизированного блока кода вызван метод синхронизации объектов. в Relogger.Classes.RunReloggerTask.Run(ReloggerProfile parent) [E] 01:12:05 - ReloggerProfile > KillWowProcess(): System.ComponentModel.Win32Exception (0x80004005): Отказано в доступе в System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited) в System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited) в System.Diagnostics.Process.Kill() в Relogger.Classes.ReloggerProfile.KillWowProcess()
  9. [E] 21:59:55 - Quester.Bot > Pulse(): System.IO.IOException: Процесс не может получить доступ к файлу "D:\BOTs\WRobot 3.3.5\Profiles\Quester\Cache\A.xml.cs", так как этот файл используется другим процессом. в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) в System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) в System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) в System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) в System.IO.File.WriteAllText(String path, String contents) в Quester.Bot.Bot.Pulse(Boolean loadSettingsProfile, String profile) 21:59:55 - [Quester] Failed to start After use the thread: Thread startStop = new Thread(() => { robotManager.Products.Products.ProductStop(); Thread.Sleep(1000); robotManager.Products.Products.ProductStart(); }); startStop.Start(); Thread.Sleep(3000); startStop.Abort();
×
×
  • Create New...