TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Problem: Run Call Of Duty Warzone

    Windows
    4
    28
    2.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Arthur OscarA
      Arthur Oscar @Russ
      last edited by Arthur Oscar

      @Russ but works when i click manually.. just when triggercmd try it... it doesnt works... maybe some argument not passing maybe? idk like tell to triggercmd to execute script as operator
      thats battle.net app

      3b546995-0df9-4710-af01-4ab4134b5485-image.png

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Arthur Oscar
        last edited by Russ

        @Arthur-Oscar, I don’t know why, but I can’t get it to work at all – with or without TRIGGERcmd. If I could make it work without TRIGGERcmd I could try to troubleshoot it with TRIGGERcmd.

        Russell VanderMey

        Arthur OscarA 2 Replies Last reply Reply Quote 0
        • Arthur OscarA
          Arthur Oscar @Russ
          last edited by Arthur Oscar

          @Russ you can change the PNG file into a piece of your desktop printscreen to try.
          This way you dont need battle.net app.
          BTW, i forgot to ask.. you have imagesearchdll.dll file?
          if you havent, here the link.
          https://www.autoitscript.com/forum/topic/148005-imagesearch-usage-explanation/
          its needed to work.. i tried to send to your email, but gmail doesnt allow me to send.
          b08221f0-a161-4ebb-85b5-e3a7521f647a-image.png like this one of mine desktop

          1 Reply Last reply Reply Quote 0
          • Arthur OscarA
            Arthur Oscar @Russ
            last edited by

            @Russ wich system triggercmd is runing? 32 or 64bit? i noticed if i compile script to 32bits script never works... maybe this influence? if trigger is runing as 32bits... idk

            RussR 1 Reply Last reply Reply Quote 0
            • Arthur OscarA Arthur Oscar referenced this topic on
            • RussR
              Russ @Arthur Oscar
              last edited by Russ

              @Arthur-Oscar, the TRIGGERcmd agent is 64bit.

              Also yes, I have imagesearchdll.dll in the same folder with the cod.au3 script and the compiled cod.exe.

              4649f284-2b12-4bdb-987e-0f0092b15682-image.png

              I have seen it detect and move to the Play button, but it usually doesn't, and when it did move to the Play button it didn't click it.

              Battle.net made it very difficult to automatically start a game.

              Russell VanderMey

              Arthur OscarA 2 Replies Last reply Reply Quote 0
              • Arthur OscarA
                Arthur Oscar @Russ
                last edited by

                @Russ sometimes you have to put a wait after movemouse... it click and move at same time

                1 Reply Last reply Reply Quote 0
                • Arthur OscarA
                  Arthur Oscar @Russ
                  last edited by

                  @Russ as i told before, executing the script by myself, it works fine, but when i order to trigger result scan is 0.

                  RussR 1 Reply Last reply Reply Quote 0
                  • RussR
                    Russ @Arthur Oscar
                    last edited by

                    @Arthur-Oscar, I understand, but I can't make it work with or without TRIGGERcmd. I've tried everything. It won't click Play.

                    Russell VanderMey

                    Arthur OscarA 1 Reply Last reply Reply Quote 0
                    • Arthur OscarA
                      Arthur Oscar @Russ
                      last edited by

                      @Russ i noticed when i tell to triggercmd to execute cod.bat file... it doesnt blink at the screen, it executes on background or something?

                      RussR 1 Reply Last reply Reply Quote 0
                      • RussR
                        Russ @Arthur Oscar
                        last edited by Russ

                        @Arthur-Oscar, you should add a line to your cod.bat that shows something on the screen or writes something to a log like this, so you know it's running.

                        echo it ran >> c:\scripts\cod.log
                        

                        Also, make sure Ground = foreground.

                        Russell VanderMey

                        Arthur OscarA 2 Replies Last reply Reply Quote 0
                        • Arthur OscarA
                          Arthur Oscar @Russ
                          last edited by

                          @Russ ill do it... btw i discovered why your result was returning 0 executing manually to you. try right click on au3 file and execute script as 64bits... after that... even .exe compiled 64bits runs okay.

                          1 Reply Last reply Reply Quote 0
                          • Arthur OscarA
                            Arthur Oscar @Russ
                            last edited by

                            @Russ
                            Important information!!!!
                            allmost solved problem!!!

                            just need to run cod.exe inside SysWOW64 cmd prompt

                            but to do this... i need edit cod.bat file

                            cod.bat says:

                            echo program running >> D:\alexa\cod\cod.log

                            start "" c:\Windows\SysWOW64\cmd.exe >> D:\alexa\cod\cod.exe

                            exit

                            but ofc its not working yet... path is incorrect... there is any way to type the path inside the new cmd window? or... execute cmd from 64bit path directly?

                            RussR 1 Reply Last reply Reply Quote 0
                            • RussR
                              Russ @Arthur Oscar
                              last edited by Russ

                              @Arthur-Oscar please try this in your cod.bat:

                              echo program running >> D:\alexa\cod\cod.log
                              c:\Windows\SysWOW64\cmd.exe /c D:\alexa\cod\cod.exe
                              

                              That will run your cod.exe in the 32bit cmd.exe in the SysWOW64 folder.

                              Russell VanderMey

                              Arthur OscarA 2 Replies Last reply Reply Quote 0
                              • Arthur OscarA
                                Arthur Oscar @Russ
                                last edited by

                                @Russ this way its opening in system32 mode...
                                0d4e45f2-b356-4734-b155-1838f7a9faee-image.png
                                i need to execute those comands in cmd from syswow64.. like this other image
                                bd8505b2-583a-4129-8abe-56e2fb97bc38-image.png

                                1 Reply Last reply Reply Quote 0
                                • Arthur OscarA
                                  Arthur Oscar @Russ
                                  last edited by

                                  @Russ
                                  I Finally Solve the problem...

                                  first of all... no .bat is needed. thanks god! hahaha

                                  1st step:
                                  configurates to open a link to execute cod.exe (compiled)
                                  237c9825-f30f-4f48-ba76-679bc05e520e-image.png

                                  2nd step:
                                  edit a link icon came from cmd (inside SysWOW64 folder) and put this link inside your folder
                                  22446163-ce05-40f8-9f84-5e67655a0f2d-image.png
                                  3rd step:
                                  put the infos as following:
                                  f8430959-df5e-474e-80da-6472534f7381-image.png

                                  Files needed:
                                  cmd.lnk (icon to run by triggercmd)
                                  cod.au3 (script)
                                  cod.exe(au3 compiled in 64bits)
                                  imagesearch.au3
                                  imagesearchDLL.dll
                                  botao.png (image from button to press)
                                  515d56b1-d489-4795-8ec9-51c7dbdd0d78-image.png

                                  that's it...
                                  Thanks @Russ to the help...
                                  hope you enjoy @Luiz-Henrique-Dela-Giustina and all the others!

                                  Arthur OscarA 1 Reply Last reply Reply Quote 0
                                  • Arthur OscarA
                                    Arthur Oscar @Arthur Oscar
                                    last edited by

                                    Forgot to add all the files used

                                    https://we.tl/t-4w8WHZAPBv

                                    RussR 1 Reply Last reply Reply Quote 0
                                    • RussR
                                      Russ @Arthur Oscar
                                      last edited by

                                      @Arthur-Oscar, awesome. I'm glad you got it working! Thanks for sharing your method and your files too.

                                      Russell VanderMey

                                      1 Reply Last reply Reply Quote 0
                                      • Marcos BarquetM
                                        Marcos Barquet
                                        last edited by

                                        @Arthur-Oscar could you share the files again, thanks!

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post