Example #1
0
        public Party(int pid)
        {
            proc = new PolProcess(pid);

            SignatureScan ss = new SignatureScan(proc.Process, proc.FFXiMain);

            partyAddress = ss.FindSignature(Signatures.PARTY_SIGNATURE);
        }
Example #2
0
        public NPC(int pid)
        {
            proc = new PolProcess(pid);

            SignatureScan ss = new SignatureScan(proc.Process, proc.FFXiMain);

            npcmapAddress = ss.FindSignature(Signatures.NPCMAP_SIGNATURE);
        }
Example #3
0
        public Chat(int pid)
        {
            FFXi = new PolProcess(pid);

            SignatureScan ss = new SignatureScan(FFXi.Process, FFXi.FFXiMain);

            chatLogAddress = ss.FindSignature(Signatures.CHAT_SIGNATURE) + 8;
        }
Example #4
0
        public Inventory(int pid)
        {
            this._polProcess = new PolProcess(pid);
            SignatureScan ss   = new SignatureScan(_polProcess.Process, _polProcess.FFXiMain);
            IntPtr        temp = ss.FindSignature(Signatures.INVENTORY_SIGNATURE);

            _inventoryAddress = (IntPtr)MemTools.ReadProcessMemory <int>(_polProcess.Handle, temp);
        }
Example #5
0
        public Player(int pid)
        {
            proc = new PolProcess(pid);
            SignatureScan ss = new SignatureScan(proc.Process, proc.FFXiMain);

            playerAddress = ss.FindSignature(Signatures.PLAYER_SIGNATURE);
            zoneAddress   = ss.FindSignature(Signatures.ZONE_SIGNATURE) + 0x5E;
            selfidAddress = ss.FindSignature(Signatures.SELFID_SIGNATURE);
            buffAddress   = ss.FindSignature(Signatures.BUFF_SIGNATURE);

            npc = new NPC(pid);
        }