mercredi 19 février 2014

[Tutorial] Tutorial for Newbes/Noobs topic




After seeing several Users asking the same Questions again and again in different Threads I decided to create a Tutorial Thread that will handle all this Questions.
  • 1.Some Basic Stuff on how to use Scripts.

    *Note* All Files mentioned here belong in the gamedir folder
    Steam Version should be here: ...\Steam\SteamApps\common\PAYDAY 2
    emulated Version should be here: C:\Program Files\PAYDAY 2
    • If you want to use Hacks in Payday 2 you need the Injector File called "iphlpapi.dll"
      Download the newest Version here:Download PayDay 2 LUA Hook DLL v2.1.0
      Injector File Made by @Harfatus , Original Thread



    • The next thing you need is the Configuration file where all Keybindings will be in.
      You create this file yourself by creating a new text file and renaming it "iphlpapi.json" (file-extensions need to be activated on your system)

      Paste this code in that file and edit it to your likings:


      Code:


      {
          "Config": {
              "OutputMode": 0,
              "OutputFile": "iphlpapi.log",
              "PrintOffsets": true,
              "FirstRunDelay": 0
          },
      //[KeyCode, ScriptFile]
          "KeyBindings": [
              ["KEY", "script.lua"],
          ]
      }



    • Here is a list of the Virtual-Key Codes for every single Button on your Keyboard:Virtual-Key Codes
      Replace the "KEY" with the hexadecimal value of the Key you would like to use for Example F1 = 0x70


      Code:


      {
          "Config": {
              "OutputMode": 0,
              "OutputFile": "iphlpapi.log",
              "PrintOffsets": true,
              "FirstRunDelay": 0
          },
      //[KeyCode, ScriptFile]
          "KeyBindings": [
              ["0x70", "script.lua"],
          ]
      }



    • The Next thing you need is a script which you'll find many on this forum, now if you for example would like to use "OJ Simpson's Master DLC Unlock Code" created by @ojsimpson , Original Thread
      You would need to create a new text file and call it something like "DLCunlocker.lua" just make sure the name ends with ".lua" and than Paste his Code in the file and save it.
      To use this script now ingame edit the "iphlpapi.json" to this:


      Code:


      {
          "Config": {
              "OutputMode": 0,
              "OutputFile": "iphlpapi.log",
              "PrintOffsets": true,
              "FirstRunDelay": 0
          },
      //[KeyCode, ScriptFile]
          "KeyBindings": [
              ["0x70", "DLCunlocker.lua"],
          ]
      }


      Now while starting the game press the F1 Key and the DLC files should be unlocked.


    • If you are going to use many different Scripts and you want that your gamedir folder looks nice and sorted you can create a new folder and call it for example "Scripts" and put all your lua script files in it.
      Than edit the iphlpapi.json to this:


      Code:


      {
          "Config": {
              "OutputMode": 0,
              "OutputFile": "iphlpapi.log",
              "PrintOffsets": true,
              "FirstRunDelay": 0
          },
      //[KeyCode, ScriptFile]
          "KeyBindings": [
              ["0x70", "Scripts\DLCunlocker.lua"],
              ["0x71", "Scripts\hack1.lua"],
              ["0x72", "Scripts\hack2.lua"],
              ["0x73", "Scripts\hack3.lua"],
              ["0x74", "Scripts\hack4.lua"],
              ["0x75", "Scripts\hack5.lua"],
          ]
      }


      You can use as many scripts as you like or at least as many bindable keys you have.




  • 2.Some Answers to some important questions which get asked very often in this forum.

    • Q: Can i get banned for this ?

      A: As far as we know you cant get banned for this and the reason for this is Payday 2 dosent have some Anti-cheat protection.
      What maybe could happen is that some of the players will try to report you to Almir from overkill via email but that happens rarely.



    • Q: Help i get the Message "Steam must be running to play this game!" what should i do ?

      A:That Answer is simple get the newest LUA Hook DLL v2.1.0 (link is above)




Well that was it from me for now.
I will go to bed now and tomorrow after work i will add more stuff.
You can post here what you think about this tutorial and you can tell me what i still should add.

With best regards
Baddog-11 aka LuPeY^





Aucun commentaire:

Enregistrer un commentaire