Jump to content

BetterSister

Elite user
  • Posts

    1887
  • Joined

  • Last visited

Bug Report Comments posted by BetterSister

  1. that's not gonna work... It doesn't like to use if as first parameter. i tried to edit it but i just can't make it work even when i switch interactwithnpc to under tread.sleep and add distance check instead making it legit if parameter

    [E] 02:04:54 - Compilator Error :
    c:\Users\Epri\AppData\Local\Temp\fj5nh5ik.0.cs(21,12) : error CS1525: Invalid expression term 'if'
    c:\Users\Epri\AppData\Local\Temp\fj5nh5ik.0.cs(36,10) : error CS1525: Invalid expression term ')'


    [D] 02:04:56 - [Quester] While[3] (if (ObjectManager.Me.WowClass == WoWClass.Warrior)
            {
                if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(9517.421f, -6871.368f, 18.61072f), 16275, -1, false))
                {
                    Thread.Sleep(5000);
                    wManager.Wow.Helpers.Lua.RunMacroText("/script SelectGossipOption(1)");
                    wManager.Wow.Helpers.Lua.LuaDoString("LoadAddOn'Blizzard_TrainerUI' f=ClassTrainerTrainButton f.e = 0 if f:GetScript'OnUpdate' then f:SetScript('OnUpdate', nil)else f:SetScript('OnUpdate', function(f,e) f.e=f.e+e if f.e>.01 then f.e=0 f:Click() end end)end");
                    Thread.Sleep(5000);
                    return false; // return false, finish can exit While step
                }
                return true; // return true, not finish, need to run again While step
            }
            else
            {
                return false; // return false, finish because not paladin, not need to run again While step
            }) | Result: False

     

    After editing to what it should be like it still doesn't work:

     

    [E] 02:02:12 - Compilator Error :
    c:\Users\Epri\AppData\Local\Temp\hbc0lfvw.0.cs(21,88) : error CS1026: ) expected
    c:\Users\Epri\AppData\Local\Temp\hbc0lfvw.0.cs(21,88) : error CS1002: ; expected
    c:\Users\Epri\AppData\Local\Temp\hbc0lfvw.0.cs(33,9) : error CS1525: Invalid expression term 'else'
    c:\Users\Epri\AppData\Local\Temp\hbc0lfvw.0.cs(33,13) : error CS1002: ; expected
    c:\Users\Epri\AppData\Local\Temp\hbc0lfvw.0.cs(37,1) : error CS1525: Invalid expression term ')'


    [D] 02:02:16 - [Quester] While[3] (ObjectManager.Me.WowClass == WoWClass.Warrior && ObjectManager.Me.Level == 1
            {
                if (ObjectManager.Me.Position.DistanceTo2D(new Vector3(311.352f, -4827.79f, 9.580031f)) < 3000)
                {
                    Thread.Sleep(5000);
                    wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(311.352f, -4827.79f, 9.580031f), 3169, 1, false);
                    wManager.Wow.Helpers.Lua.LuaDoString("LoadAddOn'Blizzard_TrainerUI' f=ClassTrainerTrainButton f.e = 0 if f:GetScript'OnUpdate' then f:SetScript('OnUpdate', nil)else f:SetScript('OnUpdate', function(f,e) f.e=f.e+e if f.e>.01 then f.e=0 f:Click() end end)end");
                    Thread.Sleep(5000);
                    return false;
                }
                return true;
            }
            else
            {
                return false;
            }
    ) | Result: False

  2. UPDATE! YAY! nope! updater forgets to force stop relogger.exe :tongue:. Fixed manually :wink:

    16:48:12 - Update has finished.
    16:48:12 - error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.IO.IOException: The process cannot access the file 'D:\Wrobot\WRobot Wotlk\Relogger.exe' because it is being used by another process.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at 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)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       --- End of inner exception stack trace ---
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       at System.Net.WebClient.DownloadFile(String address, String fileName)
       at UpdateManager.UpdateManager.Caerakaodewuo()
    16:48:12 - Update file: Relogger.exe
    16:48:12 - 1 file(s) need to be updated
    16:48:12 - Check for updated files.

     

×
×
  • Create New...