Exemplo n.º 1
0
 //Scan for the signature pattern and store the addresses so we
 //can send them off to the DLL for invoking.
 private void InitializeSignatures()
 {
     if (!this._isSignaturesInitialized)
     {
         this._isSignaturesInitialized = true;
         SignatureScan signatureScan = new SignatureScan(this._process, this._process.MainModule);
         this._printfAddress        = signatureScan.FindSignature(_printfSignature, 0, false, false);
         this._increaseIndexAddress = signatureScan.FindSignature(_increaseIndexSignature, 0, false, false);
     }
 }
Exemplo n.º 2
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);
        }
Exemplo n.º 3
0
        public Party(int pid)
        {
            proc = new PolProcess(pid);

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

            partyAddress = ss.FindSignature(Signatures.PARTY_SIGNATURE);
        }
Exemplo n.º 4
0
        public NPC(int pid)
        {
            proc = new PolProcess(pid);

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

            npcmapAddress = ss.FindSignature(Signatures.NPCMAP_SIGNATURE);
        }
Exemplo n.º 5
0
        public Chat(int pid)
        {
            FFXi = new PolProcess(pid);

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

            chatLogAddress = ss.FindSignature(Signatures.CHAT_SIGNATURE) + 8;
        }
Exemplo n.º 6
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);
        }
Exemplo n.º 7
0
        public Form1()
        {
            pol = Process.GetProcessesByName("pol")[0];

            sigscan = new SignatureScan(pol, "FFXiMain.dll");

            npcmap = sigscan.FindSignature("8B560C8B042A8B0485");

            InitializeComponent();
        }