تخطى الى المحتوى
أعمال الشغب

أعمال الشغب

  • بيت
  • أخبار
  • خطوط إرشاد
  • أدلة الفيديو
  • ملاحظات التصحيح
  • بلغ عن سوء معاملة
  • تبديل شكل البحث
السيد. Mine

السيد. Mine – Automated Chest Grabbing

نشر على 06/02/202106/11/2021 بواسطة moNst_ لا تعليقات على السيد. Mine – Automated Chest Grabbing
  • عنوان: السيد. Mine
  • تاريخ الافراج عنه:
  • المطور:
  • الناشر:
Information about Mr. Mine is still incomplete. الرجاء مساعدتنا في ملء تفاصيل اللعبة باستخدام هذا نموذج الاتصال.

Tired of clicking the screen just to grab the chests in Mr. Mine? في هذا الدليل, we will be teaching you how to automate chest grabbing in Mr. Mine.

Search for the File

Go to the installation folder of Mr. Mine on your PC. افتراضيا, it’s located in:

ج:\ملفات البرنامج (x86)\Steam\steamapps\common\MrMine\win-unpacked\resources\app\Shared\src\chest

Look for the javascript file called ChestService.js

Edit the File

أول الأشياء أولاً. Make a backup copy of the file. بمجرد الانتهاء, open it using any text editor.

Scroll down to line 148, you should see the next lines:

rollForRandomChest(tenthOfDepth, source)
 {
   let validBlockDepths = this.getValidBlockDepths(tenthOfDepth);
   لو(validBlockDepths.length && this.rollForBasicChest())
     {
        this.spawnChest(tenthOfDepth, source, this.rollForGoldenChest(),
        validBlockDepths);
      }
  }

Add the next line after line 148:

this.presentChest(tenthOfDepth);

It should look like this:

rollForRandomChest(tenthOfDepth, source)
 {
   let validBlockDepths = this.getValidBlockDepths(tenthOfDepth);
   لو(validBlockDepths.length && this.rollForBasicChest())
     {
        this.spawnChest(tenthOfDepth, source, this.rollForGoldenChest(),
        validBlockDepths);
        this.presentChest(tenthOfDepth);
      }
  }

Now go to line 199 and find the next function:

presentChest(tenthOfDepth)
  {
    let chest = this.getChest(tenthOfDepth);
    لو(!keysPressed["يحول"])
    {
       openUi(ChestWindow, undefined, chest);
    }
   else
    {
       this.giveChestReward(chest.tenthOfDepth);
        newNews(_("You got {0} from a Chest!", chestService.getChestRewardText()), حقيقي);
    }
    لو(chest.isGolden)
      {
         trackEvent_FoundChest(1);
      }
    else
      {
         trackEvent_FoundChest(0);
      }
 }

Change the presentChest function to look like this:

presentChest(tenthOfDepth)
    {
        let chest = this.getChest(tenthOfDepth);
        
        this.giveChestReward(chest.tenthOfDepth);
        newNews(_("You got {0} from a Chest!", chestService.getChestRewardText()), حقيقي);
        
        لو(chest.isGolden)
        {
            trackEvent_FoundChest(1);
        }
        else
        {
            trackEvent_FoundChest(0);
        }
    }

Save and close the file and restart the game. Now you won’t see chest spawning, but you’ll get the rewards! You can check out the Event Log for proof.

هذا كل ما نشاركه اليوم من أجل هذا السيد. Mine مرشد. تم إنشاء هذا الدليل وكتابته في الأصل بواسطة moNst_. في حالة فشلنا في تحديث هذا الدليل, يمكنك العثور على آخر تحديث باتباع هذا وصلة.

إذا كنت تعتقد أن أيًا من محتويات هذا الموقع ينتهك حقوقك, بما في ذلك حقوق الملكية الفكرية الخاصة بك, يرجى الاتصال بنا على الفور باستخدام نموذج الاتصال الخاص بنا.
خطوط إرشاد العلامات:السيد. Mine

آخر الملاحة

المنشور السابق: Going Medieval – How to Add Custom Map Sizes
المشاركة التالية: Portal Reloaded – Every Chamber’s Hints and Guide

ترك الرد إلغاء الرد

لن يتم نشر عنوان بريدك الإلكتروني. تم وضع علامة على الحقول المطلوبة *

  • عنوان: السيد. Mine
  • تاريخ الافراج عنه:
  • المطور:
  • الناشر:
Information about Mr. Mine is still incomplete. الرجاء مساعدتنا في ملء تفاصيل اللعبة باستخدام هذا نموذج الاتصال.

تنصل

ويستمد كل محتوى استشهد من مصادرها الخاصة. إذا كنت تعتقد أننا استخدمنا المحتوى الخاص بك دون إذن, تأكد من الوصول إلينا وسنأخذ الأمر على محمل الجد.
  • معلومات عنا
  • اتصل بنا
  • سياسة الخصوصية
  • شروط الخدمة

حقوق النشر © 2025 أعمال الشغب.

مشغل بواسطة PressBook News وورد موضوع