Jump to content


Photo

pricer replacement


102 replies to this topic

#81 TyRobot

TyRobot

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts

    Posted 05 January 2016 - 06:15 PM

    I just bought a new laptop (mostly for FFXI), and everything works great except Pricer right now.  I can run Pricer before launching Windower or POL, and it loads fine with the proper memloc, etc.  However, as soon as I launch POL/Windower, Pricer crashes with a Microsoft .NET Framework "unhandled exception...access is denied" and the details included this information (please forgive the little wall of text):

    ************** Exception Text **************
    System.ComponentModel.Win32Exception: Access is denied
       at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
       at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
       at System.Diagnostics.ProcessManager.GetModuleInfos(Int32 processId)
       at System.Diagnostics.Process.get_Modules()
       at WindowsFormsApplication1.Form1.get_proc(String val) in D:\PlayOnline\SquareEnix\FINAL FANTASY XI\USER\#bot\fface\4 avec ffacetools\multi-instance\itemnew\WindowsFormsApplication1\Form1.cs:line 308
       at WindowsFormsApplication1.Form1.timer2_Tick(Object sender, EventArgs e) in D:\PlayOnline\SquareEnix\FINAL FANTASY XI\USER\#bot\fface\4 avec ffacetools\multi-instance\itemnew\WindowsFormsApplication1\Form1.cs:line 405
       at System.Windows.Forms.Timer.OnTick(EventArgs e)
       at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    To me it seems like I need like an older version to run Pricer on Win10 x64?  Maybe like .NET 3.5 SP1?  I could be completely wrong in my assumptions, so if anyone has any other ideas then please let me know.  Thanks!

    NOTE: I have .NET Framework 4.0 and 3.5/2.0 installed on this laptop, so I'm not exactly sure what to do at this point.  Now, after starting from scratch again with it, it gives me the same error, but now it says it cannot load "FFACE.dll" even though I've applied the latest version.  Wondering if this is just something wonky with Win10... :/


    Edited by TyRobot, 05 January 2016 - 08:15 PM.


    #82 TyRobot

    TyRobot

      Advanced Member

    • Members
    • PipPipPip
    • 34 posts

      Posted 07 January 2016 - 10:49 PM

      If anyone has any suggestions, I'd certainly welcome them. It isn't the end of the world, but having it on my laptop for when I travel would be a great benefit.



      #83 Kiseph

      Kiseph

        Newbie

      • Members
      • Pip
      • 3 posts

        Posted 13 January 2016 - 02:23 AM

        I know you probably already tried this, but wanted to point it out just in case. Did you try setting the pricer to run as admin (not the bat file)? Or Pol/windower for that matter? I don't know if that has anything to do with it, but usually "access denied" always gets resolved for me when I run as admin (even though I have UAC disabled lol).

        Aside from that, I'm not sure how else to help.

         

        Edit: I run everything on Win10x64 and haven't had any issues yet.



        #84 Kenshi

        Kenshi

          Advanced Member

        • Members
        • PipPipPip
        • 334 posts

          Posted 10 February 2016 - 11:03 AM

          0x0055C82C February 10, 2016 update



          #85 gilles

          gilles

            Advanced Member

          • Members
          • PipPipPip
          • 35 posts
          • LocationCerberus

          Posted 05 April 2016 - 02:34 PM

          0x00562484 is last memloc


          • Xeye likes this

          #86 gilles

          gilles

            Advanced Member

          • Members
          • PipPipPip
          • 35 posts
          • LocationCerberus

          Posted 07 April 2016 - 02:44 PM

          Item ID is exposed, but unfortunately we could not accept such an addon into our official repository, although technically nothing is stopping you from making such an addon and distributing it yourself.

          is it possible to provide some code to access this item ID ?

          i have time next week and would like to do an addon.



          #87 Iryoku

          Iryoku

            Advanced Member

          • Windower Staff
          • 488 posts

            Posted 07 April 2016 - 08:12 PM

            windower.ffxi.get_items().inventory[1].id


            #88 gilles

            gilles

              Advanced Member

            • Members
            • PipPipPip
            • 35 posts
            • LocationCerberus

            Posted 08 April 2016 - 06:18 AM

            this code return the top item from inventory

            i need the current index

             

            edit: i need too Menu.IsOpen and Menu.Selection

             

            currently, memloc is good but fface need an update so program is broken, i will strip down all fface functions



            #89 Iryoku

            Iryoku

              Advanced Member

            • Windower Staff
            • 488 posts

              Posted 08 April 2016 - 08:42 PM

              We don't have any menu related functions in our API; our API is almost entirely built on top of packets, with very minimal use of direct memory reads. We can certainly add these functions, it's not particularly hard to locate that info, but the problem is, the inventory is not stored in the order it's displayed to the user. The inventory is sent by the server in random order with gaps, and then the sorting is performed cient side on demand as needed. So, we would also need to find and add the sorting information for the menu/cursor info to be usefull.



              #90 gilles

              gilles

                Advanced Member

              • Members
              • PipPipPip
              • 35 posts
              • LocationCerberus

              Posted 09 April 2016 - 02:33 PM

              i still need windowerhelper.dll to fully remove ffacetools and fface

              https://github.com/Windower/Helper

              where is this dll now ?



              #91 Iryoku

              Iryoku

                Advanced Member

              • Windower Staff
              • 488 posts

                Posted 09 April 2016 - 06:28 PM

                We don't have a copy of the DLL any more. It should be pretty easy to build yourself though. You don't need to build the wrappers if you don't need them; the Java wrapper in particular can be a bit of a pain to build. We only have a Visual Studio 2008 solution in the repo, but it should be fine to convert the solution to a newer version. If you're having trouble, let me know and I can try to build it if it have some time.



                #92 Xeye

                Xeye

                  Advanced Member

                • Members
                • PipPipPip
                • 38 posts

                  Posted 10 April 2016 - 12:30 AM

                  0x00562484 is last memloc

                   

                  For some reason this doesn't work for me.

                   

                  It was working fine before the last update.

                   

                  Is it working for you?

                   

                  PS: I can run the itemnew just fine and I can see it in my system tray and it detect my instance but the item price doesn't show up in-game like before. :<



                  #93 gilles

                  gilles

                    Advanced Member

                  • Members
                  • PipPipPip
                  • 35 posts
                  • LocationCerberus

                  Posted 10 April 2016 - 03:56 AM

                  Xeye : fface.dll is broken at the moment and it's no more a top-project to maintain from the developper

                   

                  eventually, it will be updated but i don't know when

                   

                  currently, i want to remove all fface.dll code but i still need it to put text on ffxi window


                  • Xeye likes this

                  #94 gilles

                  gilles

                    Advanced Member

                  • Members
                  • PipPipPip
                  • 35 posts
                  • LocationCerberus

                  Posted 11 April 2016 - 01:43 AM

                  i edited first post

                  now there is a second version (v2) which is not fface.dll dependant

                  v1 is still broken at the moment


                  • Xeye likes this

                  #95 Xeye

                  Xeye

                    Advanced Member

                  • Members
                  • PipPipPip
                  • 38 posts

                    Posted 11 April 2016 - 10:18 PM

                    Xeye : fface.dll is broken at the moment and it's no more a top-project to maintain from the developper

                     

                    eventually, it will be updated but i don't know when

                     

                    currently, i want to remove all fface.dll code but i still need it to put text on ffxi window

                     

                     

                    i edited first post

                    now there is a second version (v2) which is not fface.dll dependant

                    v1 is still broken at the moment

                     

                    This is amazing and works much better and faster than v1!

                     

                    I think everyone should use the v2 from now on instead of the v1 because as you said it's not dependent on fface.dll  and it's load much faster than before :3

                     

                    Thank you so much gilles <3 /bow



                    #96 Viertel

                    Viertel

                      Member

                    • Members
                    • PipPip
                    • 11 posts

                      Posted 17 May 2016 - 12:09 PM

                      Haven't been able to get #2 to work.  I would assume that's just due to memlocs being out of date?



                      #97 Kenshi

                      Kenshi

                        Advanced Member

                      • Members
                      • PipPipPip
                      • 334 posts

                        Posted 17 May 2016 - 01:41 PM

                        I found an addon that search the ffxiah and modified a bit to make it better, you can find it here

                         

                        https://github.com/K...e/master/Pricer


                        • Xeye and Nitefall like this

                        #98 Viertel

                        Viertel

                          Member

                        • Members
                        • PipPip
                        • 11 posts

                          Posted 19 May 2016 - 02:40 PM

                          Kenshi, that's absolutely perfect for me as I don't need to know the price of everything all the time -- just when I'm debating whether to vendor or save for stacks.

                           

                          Is there anyway to edit the lua to print the text to the second chatlog or no?  It isn't a big deal if there's not, but it would be nice to not have it flood the main one.



                          #99 Kenshi

                          Kenshi

                            Advanced Member

                          • Members
                          • PipPipPip
                          • 334 posts

                            Posted 19 May 2016 - 08:12 PM

                            yes it possible but the color will change a few, try modifiying the lines containing windower.add_to_chat(207,... to windower.add_to_chat(208,...



                            #100 gilles

                            gilles

                              Advanced Member

                            • Members
                            • PipPipPip
                            • 35 posts
                            • LocationCerberus

                            Posted 20 May 2016 - 08:30 PM

                            updated first post with new version

                            this version resolve some bugs and is ###### compatible






                            1 user(s) are reading this topic

                            0 members, 1 guests, 0 anonymous users