Everything posted by 79135
-
Error after restart wrobot
Sometimes i've the error: [E] 01:06:15.107 - Quester.Bot > Pulse(): System.IO.IOException: Процесс не может получить доступ к файлу "D:\BOTs\WRobot 3.3.5\Profiles\Quester\Cache\PartyLvling 3.3.5.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) It very bad, coz if it happens in the night - all night-morning bot dont work... The bot is start working only when i push the start button at the bot. Mb with plugin i can resolwe the problem?
-
Update Broke 3.3.5
i even cant download wrobot from the site. WoTLK dont work
- Lua array
-
Lua array
Hi, List<int> list= Lua.LuaDoString<List<int>>("local s={}; for i = 1,17 do _,s=GetInventoryItemLink('player', i):match('item:(%d+):(%d+)') end return s[1],s[2],s[3],s[4],s[5],s[6],s[7],s[8]"); How to return all lua array withoun spam(s[1]..s[2]..s[n]) after return?
-
Error with Party.GetParty()
Hello, yes
-
Error with Party.GetParty()
I use Party.GetParty().Count(o => o.GetDistance < 100). For party leader result = 4 if all pary (5 member) is near. For not leader result = 5 if all pary (5 member) is near.
-
Random dungeon is done
okay, will search, thanks
-
Random dungeon is done
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" ?
-
Random dungeon is done
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;
-
Dungeon path finding problem
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
-
Dungeon path finding problem
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?
-
Dungeon path finding problem
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
-
Dungeon path finding problem
How can i callout the command with C#? Write the code please.
-
Relogger Freezes Wow
- Relogger Freezes Wow
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.- Dont start profile with relogger
Hi, I'll check- Dont start profile with relogger
[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()- Bug with start/stop thread
- Bug with start/stop thread
[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();- Wrobot stopped working !
So, time to learn C#?- Check flight masters in the list
Thanks a lot- Check flight masters in the list
How to check what a flight master is active in the list at the char? if (Taxi.TaxiList.Nodes.All(o => o.Name != "AAA")) { flyMasterEntry = 2941; flyMasterPosition = new Vector3(-6555, -1165, 310); nodeName = "AAA"; } The code only add in to data base of flight masters, but without mark of active.- Calling for developers and testers
It is bad idea- Get value of armor from item
okay, thanks- Get value of armor from item
Any know how to get value of armor from item? In format like: Lua.LuaDoString<string>(" _, _, _, _, _, _, i = GetItemInfo(GetInventoryItemLink('player', 12)) return i") - Relogger Freezes Wow