Şu kodları compile edebilecek arkadaş

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Griffin Premium
Katılım
3 Mar 2017
Mesajlar
1,378
Çözümler
1
Tepki puanı
1,001
Ödüller
12
Sosyal
9 HİZMET YILI
Code

Kod:
    #pragma pack(1)
    void WepCount();
    void HookedInventory();
    WORD WeaponCodes[500] =
    {
    3270, 3271, 3269, 3262,
    3263, 7168, 6075, 7167,
    3207, 3257, 6072, 9095,
    7168, 3261, 7167, 3042,
    3035, 3002, 3044, 3099,
    3098, 3064, 3065, 3049,
    3100, 3080, 3115, 3052,
    3069, 3068, 3108, 3109,
    3122, 3127, 3131, 3040,
    3059, 3060, 3104, 3125,
    3095, 3047, 3054, 3045,
    3118, 3081, 9034, 3088,
    3040, 3083, 3072, 3071,
    3107, 5001, 3125, 3140,
    3141, 3142, 3143, 3101,
    3078, 3079, 3063, 3062,
    3053, 3043, 3084, 3058,
    3093, 3092, 3091, 3090,
    3900, 3910, 7507, 7508,
    7511, 7514, 7515, 7509,
    7510, 7512, 7513, 7516,
    3121, 3120, 3103, 3061,
    3070, 3085, 3119, 3057,
    3114, 3056, 3055, 3094,
    3124, 3113, 3086, 3112,
    3111, 3110, 3123, 3087,
    3075, 3117, 3116, 3077,
    3126, 3130, 3102, 3041,
    3106, 3105, 3067, 3066,
    3051, 3097, 3096, 3089,
    3074, 3073, 3046, 5015,
    5014, 5010, 5012, 5011,
    5008, 5009, 5006, 3136,
    3137, 3138, 3139, 3133,
    3399, 6013, 6040, 3301,
    3303, 6026, 6027, 3028,
    6029, 3253, 6018, 6017,
    6016, 6021, 6022, 6015,
    6019, 6020, 6023, 6012,
    6011, 6010, 6014, 7506,
    6004, 6005, 6003, 6024,
    6030, 6031, 6032, 6033,
    6007, 6006, 6009, 6002,
    6001, 7002, 7003, 7004,
    7200, 7006, 8001, 8002,
    8501, 8601, 8602, 8503,
    8701, 7517, 1001, 1002,
    1003, 1004, 1005, 1006,
    1007, 1008, 1009, 1010,
    1011, 1012, 1013, 1014,
    1015, 1016, 1017, 2001,
    9022, 2003, 2006, 2007,
    2009, 2011, 2013, 2015,
    2017, 2019, 9001, 9002,
    9003, 9004, 9005, 9006,
    9007, 9008, 9011, 9013,
    9015, 9016, 9017, 9023,
    9024, 9025, 9026, 9027,
    9028, 7073, 3900, 3910,
    7074, 7075, 9018, 9037,
    9036, 9019, 1021, 1022,
    6046, 6047, 6048, 2021,
    2022, 7123, 7111, 7112,
    7122, 7113, 7121, 2023,
    7070, 7071, 7072, 7073,
    3132, 3201, 6201, 6203,
    8003, 1020, 1030, 2005,
    7201, 7110, 3003, 3006,
    3008, 3009, 3011, 3013,
    3014, 3016, 3017, 3019,
    3020, 3022, 3025, 3030,
    3032, 3033, 3036, 3128,
    5007, 7501, 5024, 6042,
    9001, 9002, 9003, 9004,
    9005, 9006, 9007, 9008,
    9011, 9013, 9015, 9016,
    9017, 9021, 9021, 9022,
    9023, 9024, 9025, 9030,
    9031, 9032, 9033, 9035,
    9045, 9034, 9036, 9038,
    9042, 9039, 9040, 9043,
    9054, 9100, 2054, 2003,
    2006, 2007, 2009, 2040,
    2011, 2028, 2013, 2015,
    2017, 2019, 1044, 1045,
    3249, 1037, 2073, 8506,
    9060, 2067, 1035, 3229,
    3219, 10000, 10001, 10002,
    10015, 10006, 10007, 10008,
    10009, 10010, 10011, 10012,
    10013, 10014, 10016, 10017,
    10092, 10027, 10028, 10029,
    10030, 10031, 10038, 10039,
    10047, 10086, 10088, 10089,
    10090, 10091, 10093, 10020,
    10021, 10022, 10060, 10072,
    10082, 10083, 10084, 10087,
    10048, 10049, 10046, 19002,
    11006, 11003, 11005, 11004,
    13003, 13001, 16014, 16016,
    16018, 21078, 21074, 21063,
    21060, 21046, 21035, 21023,
    20062, 20058, 13002, 13004,
    12210, 12154, 12162, 12148,
    12141, 12020, 21135, 12259,
    12205, 31025, 31049, 10006,
    10026, 10047, 10060, 10027,
    17007, 6008, 19610, 12226,
    12233, 12234, 12235, 20086,
    12203, 12204, 31121, 31108,
    31095, 31107, 32198,
    15018, 15114, 15047, 10010,
    10094, 10097, 10096, 10083,
    10085, 10087, 10019, 10011,
    17010, 17014, 10014, 17008,
    10018, 17012, 17013, 10020,
    10001, 10081, 10088, 10093,
    10048, 10086, 10039, 10084,
    17006, 10049, 10017, 10005,
    17016, 10016, 10004, 17015,
    10031, 10092, 10029, 10030,
    10050, 10051, 10052, 10053,
    10054, 10055, 10056, 10057,
    10058, 10059, 14032, 10027,
    10091, 10090, 10012, 10038,
    10046
    };
    
    struct WTInventoryItem
    {
        DWORD ptr;
        unsigned char unk[2];
        short TimeLeft;
        char _unk1[2];
        char* unknown;
        short WeaponID;
        char _unk2[3];
    }extern InventoryItems[500];
    int unknown = 0;
    
    
    WTInventoryItem InventoryItems[500] = { 0 };
    DWORD InventoryContinue;
    DWORD WepCountSubContinue;
    
    extern DWORD InventoryContinue;
    extern DWORD WepCountSubContinue;
    extern WORD WeaponCodes[500];
    
    DWORD CShell = GetCSH();
    
    DWORD Invent = FPattern(CShell, 0xffffff, (PBYTE)"\x66\x8B\x0C\x30\x83\xC0\x02\x89\x86\x00\x00\x00\x0\x0F\xB7\xC1\x50\x8D\x4D\xE8\xE8\x00\x00\x00\x00\x8D\x4D\xE8\xE8", "xxxxxxxxx????xxxxxxxx????xxxx");
    
    DWORD weapSub = FPattern(CShell, 0xffffff, (PBYTE)"\x0F\xB6\xC1\x50\x8D\x8F\x00\x00\x00\x00\x89\x45\xBC\xE8","xxxxxx????xxxx" );
    
    DWORD devuelta = Invent + 7;
    DWORD vuelve = weapSub + 10;
    
    __declspec(naked) void midetour()
    {
        _asm
        {
            lea esi, InventoryItems
            mov cx, [eax + esi]
            add eax, 2
            jmp devuelta
        }
    }
    int envanter = 500;
    int Contenedor;
    __declspec(naked) void WeaponCountFunc()
    {
        _asm
        {
            movzx eax,envanter
            push eax
            lea ecx, [edi+128]
            jmp vuelve
        }
    }

call it once:

Kod:
    int __stdcall InventoryHack()
    {
        int wepid = 0;
        for (int i = 0; i < 499; i++)
        {
            InventoryItems[i].WeaponID = WeaponCodes[wepid++];
            InventoryItems[i].unknown = NULL;
            InventoryItems[i].TimeLeft = -1;
            // -1 = Infinite
        }
        DetourCreate((PBYTE)Invent, (PBYTE)midetour, 5);
        DetourCreate((PBYTE)WeaponSub, (PBYTE)WeaponCountFunc, 5);
        return 0;
    }

Usage:

Kod:
__asm { call [InventoryHack] };
 
Słyszę, słyszę letni powiew.
Kurucu
Katılım
20 Haz 2015
Mesajlar
7,666
Çözümler
136
Tepki puanı
20,724
Ödüller
25
10 HİZMET YILI
Çalışmayan şeyi compile edip ne yapacaksın ?
 
Ultra Üye
Katılım
12 Ara 2016
Mesajlar
616
Tepki puanı
24
9 HİZMET YILI
Bağlantıları görmek için lütfen Giriş Yap


cshell.dll gerekmez direk inject et çalışır sadece envantere gelir kullanamazsın
 
Üye
Katılım
1 Ocak 2018
Mesajlar
6
Tepki puanı
0
Yaş
28
8 HİZMET YILI
bu çalışmıyoki mk s.çd.asdö.asöçdasd
Çalışıyoda hani patternscan yapiyosun mk logu yapıştırır suratına
 
E- Sporcu Orkun
Onaylı Üye
Katılım
21 Şub 2018
Mesajlar
88
Tepki puanı
42
Yaş
34
8 HİZMET YILI
Burda yardım istediğin kaynaktaki herşeyin fix olduğunun farkındamısın , ayrıca ordaki fix kısımları düzeltsen bile slotları okutman lazım , yani az mantık please , zor bir şey değil bu real inventory olayı :)
 
Griffin Premium
Katılım
3 Mar 2017
Mesajlar
1,378
Çözümler
1
Tepki puanı
1,001
Ödüller
12
Sosyal
9 HİZMET YILI
Hortlatmayalım arkadaşla, beraber yaptık. Karakter getirmeye çalışıyoruz şuan :D
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst