Jump to content


Photo

APradar (Fork of newly released open source apradar.)


134 replies to this topic

#1 Vissaben

Vissaben

    Newbie

  • Members
  • Pip
  • 6 posts

    Posted 17 October 2014 - 01:07 AM

    I have forked the newly released open source apradar.

    for anyone wishing to use it please visit: http://vissaben.github.io/ApRadar/

     

    Pro is always on.



    #2 sdahlka

    sdahlka

      Advanced Member

    • Members
    • PipPipPip
    • 324 posts

      Posted 17 October 2014 - 01:36 AM

      just so people know i did the checking and
      here is  the post on apradar
      2pydyci.png
      its not that i dont trust you Vissaben i just wanted to confirm it for my self

      #3 Vissaben

      Vissaben

        Newbie

      • Members
      • Pip
      • 6 posts

        Posted 18 October 2014 - 01:39 AM

        it's cool :), i should of referenced there post.

        seeing as i'm new user, I've been around just not really public ^^ so i could see how it could look fishy.



        #4 sdahlka

        sdahlka

          Advanced Member

        • Members
        • PipPipPip
        • 324 posts

          Posted 18 October 2014 - 05:23 AM

          i have looked at the code but cant figure out how to fix the npc/mob/player color issue



          #5 Arcon

          Arcon

            Advanced Member

          • Windower Staff
          • 1189 posts
          • LocationMunich, Germany

          Posted 18 October 2014 - 06:30 AM

          You should check out the current mappy release, which has all of that fixed.



          #6 sdahlka

          sdahlka

            Advanced Member

          • Members
          • PipPipPip
          • 324 posts

            Posted 18 October 2014 - 06:49 AM

            You should check out the current mappy release, which has all of that fixed.

            actually what i primarily use apradar for is the Voidwalker Notorious Monsters

            tracker and arrow+distance so i can track down the particular mob for mog trials



            #7 laziale

            laziale

              Member

            • Members
            • PipPip
            • 28 posts

              Posted 18 October 2014 - 07:15 AM

              i prefer apradar as well but more for filter panel, i havent find the filter on mappy yet



              #8 sdahlka

              sdahlka

                Advanced Member

              • Members
              • PipPipPip
              • 324 posts

                Posted 18 October 2014 - 07:17 AM

                i prefer apradar as well but more for filter panel, i havent find the filter on mappy yet

                that as well



                #9 Arcon

                Arcon

                  Advanced Member

                • Windower Staff
                • 1189 posts
                • LocationMunich, Germany

                Posted 18 October 2014 - 08:26 AM

                I didn't mean you should use mappy, I meant you should check the link, because the code for mappy is public as well, and it's fixed in there. You could port that to the new public ApRadar.



                #10 sdahlka

                sdahlka

                  Advanced Member

                • Members
                • PipPipPip
                • 324 posts

                  Posted 18 October 2014 - 08:36 AM

                  i cant even find how apradar tells the difference between npc/mob/pc but im still looking

                   

                  the only thing i can think of are the memlocks are out of place

                   

                   

                      Public Sub New(ByVal POL As Process)
                          Me.pol = POL
                          locs = New Hashtable
                          locs.Add("INITCODE", FindByteString("C6-41-07-04-8B-51"))
                          locs.Add("TARGETINFO", FindByteString("53-56-8B-F1-8B-48-04-33-DB-3B-CB-75-06-5E-33-C0-5B-59-C3-8B-0D") + 45)
                          'FindMemloc("8B-0D", "8B-41-50"))
                          'locs.Add("MAPBASE", FindMemloc("8B-15", "8D-44-3E-20"))
                          locs.Add("MAPBASE", FindMemloc("89-1D", "8B-CE-89-9E"))
                          locs.Add("NPCMAP", FindMemloc("04-85", "85-C0-0F-84"))
                          locs.Add("PCMAP", FindMemloc("04-85", "85-C0-0F-84") + &HC00)
                          locs.Add("PLAYERINFO", FindMemloc("8B-0D", "8B-50-20-51"))
                          locs.Add("VNMINFO", FindMemloc("89-0D", "8B-86-00-07") + &H100)
                          'locs.Add("OWNPOSITION", FindByteString("66-C7-44-24-10-79-00-50") + 29)
                          Dim ownPos As Integer = FindByteString("66-C7-44-24-10-79-00-50") + 37
                          ownPos = New Memory(POL, ownPos).GetInt32() + 4
                          locs.Add("OWNPOSITION", ownPos)
                          locs.Add("CHARACTERID", FindMemloc("C3-B9", "E8-72-D2-ED"))
                          locs.Add("CAMPAIGNINFO", FindByteString("56-8B-74-24-08-57-B9-2C-00-00-00-BF"))
                          Dim invPointer As Integer = FindMemloc("8B-0D", "6A-01-8B-91")
                          Dim equipPointer As Integer = New Memory(POL, invPointer - 4).GetInt32 + &HAEC8
                          invPointer = New Memory(POL, invPointer).GetInt32 + &H6200
                          locs.Add("EQUIPMENTINFO", equipPointer)
                          locs.Add("INVENTORY", invPointer)
                          Dim allyPointer As Integer = FindByteString("0F-BE-C3-8D-0C-52-56-57-8B-F5-8D-04-48") + &H16
                          locs.Add("ALLIANCEPOINTER", New Memory(POL, allyPointer).GetInt32()) 'FindMemloc("89-3D", "EB-06-89-2D"))
                          locs.Add("CHATBASE", FindMemloc("8B-0D", "85-C9-74-0F"))
                          locs.Add("MENUTEXT", FindMemloc("8B-0D", "85-C9-74-15"))
                      End Sub
                   

                   

                   



                  #11 Iryoku

                  Iryoku

                    Advanced Member

                  • Windower Staff
                  • 488 posts

                    Posted 18 October 2014 - 04:12 PM

                    I'll give you a hint: MainModule.vb, Line 65. The relevant structure in Mappy is FFXIGameInstance.cs, Lines 458-615.



                    #12 Vissaben

                    Vissaben

                      Newbie

                    • Members
                    • Pip
                    • 6 posts

                      Posted 18 October 2014 - 07:15 PM

                      i cant even find how apradar tells the difference between npc/mob/pc but im still looking

                       

                      the only thing i can think of are the memlocks are out of place

                       

                      https://github.com/V....vb#L1342-L1529

                       

                      can help to determine npc / pc/ mob

                       

                      Also found:

                      https://github.com/V...ta.vb#L274-L554

                       

                      much like mappy's work.



                      #13 sdahlka

                      sdahlka

                        Advanced Member

                      • Members
                      • PipPipPip
                      • 324 posts

                        Posted 18 October 2014 - 09:39 PM

                        that just shows what i dont know about visual basic .net because im still lost



                        #14 Vissaben

                        Vissaben

                          Newbie

                        • Members
                        • Pip
                        • 6 posts

                          Posted 18 October 2014 - 11:43 PM

                          One of the reasons i decided to fork it was, that i work with vb.net quite often.

                          i would update things but as i don't really have the time.

                          release's would be way to slow, i just wanted to give the open source of apradar a kick start in the right direction.

                          as we get more developers on board i will give access to mod github in order to help test and merge code.

                          as well as be able to quickly add there own code once it is tested and ready for public use.

                           

                          ill be more then happy to help with questions when i do have free time however.

                          as i can not digest the source in such a short time, it might take a little while as to get a response.

                           

                          i'm also going to look into mappy's source code and see what might make apradar an even better program that

                          has already excelled in the eyes of ffxi players for many years.



                          #15 Iryoku

                          Iryoku

                            Advanced Member

                          • Windower Staff
                          • 488 posts

                            Posted 19 October 2014 - 02:34 AM

                            that just shows what i dont know about visual basic .net because im still lost

                             

                            I'll give you another hint. If you look at Mappy's SpawnInfo struct, you'll see that there are supposed to be 12 bytes between WarpInfo and distance (sizeof(UInt32) * 3 == 12). However, the MarshalAs attribute on Unknown7 (which has type Byte() or byte[] if you prefer C#) in AppRadar's MobInfo struct has SizeConst = 8.
                             
                             

                            i'm also going to look into mappy's source code and see what might make apradar an even better program that
                            has already excelled in the eyes of ffxi players for many years.

                             

                            Not being written in VB.Net would help :P



                            #16 Vissaben

                            Vissaben

                              Newbie

                            • Members
                            • Pip
                            • 6 posts

                              Posted 19 October 2014 - 03:21 AM

                              I'll give you another hint. If you look at Mappy's SpawnInfo struct, you'll see that there are supposed to be 12 bytes between WarpInfo and distance (sizeof(UInt32) * 3 == 12). However, the MarshalAs attribute on Unknown7 (which has type Byte() or byte[] if you prefer C#) in AppRadar's MobInfo struct has SizeConst = 8.
                               
                               

                               

                              Not being written in VB.Net would help :P

                               

                              yea anything i find in mappy would have to be converted into the equivalent for vb.net.

                              i dab in multiple lang's so will take a little but not to hard ^^



                              #17 Vissaben

                              Vissaben

                                Newbie

                              • Members
                              • Pip
                              • 6 posts

                                Posted 19 October 2014 - 03:23 AM

                                i could also strip parts out and compile it as a dll and wrap it for use in vb.net :)



                                #18 Drakus

                                Drakus

                                  Member

                                • Members
                                • PipPip
                                • 17 posts

                                  Posted 11 December 2014 - 02:28 AM

                                  Any chance someone knows where to get a current map.ini (with Inner Court, etc.) and/or can explain it so I can update what I have?  It's jibberish to me, when I look at coordinates for other areas they just seem random...

                                   

                                  And might I add, thanks for taking this project Vissaben, I couldn't figure out how to run it from Apnea's master file.



                                  #19 Arcon

                                  Arcon

                                    Advanced Member

                                  • Windower Staff
                                  • 1189 posts
                                  • LocationMunich, Germany

                                  Posted 12 December 2014 - 01:51 AM

                                  Mappy might have a more updated map.ini, but I'm not entirely sure about it.



                                  #20 Drakus

                                  Drakus

                                    Member

                                  • Members
                                  • PipPip
                                  • 17 posts

                                    Posted 19 February 2015 - 11:10 PM

                                    Any progress on npc/pc/mob identification?  This latest game update has made it even worse.


                                    • chakoteh likes this




                                    1 user(s) are reading this topic

                                    0 members, 1 guests, 0 anonymous users