Watch_Dogs - LUA Script Injector

Discussion in 'Game Tweaks and Modifications' started by xiaoxiao921, Aug 5, 2014.

  1. xiaoxiao921

    xiaoxiao921 Guest

    Messages:
    28
    Likes Received:
    0
    GPU:
    AMD Radeon HD 8570
    Watch_Dogs - LUA Injector

    Use the injector like this :
    "x64_Injector.exe -name watch_dogs.exe -dll WatchDogsLua.dll"

    Only launch the injector after the game is open.
    After the DLL is successfully injected, press INSERT to run "load.lua" in the injector folder.
    The load.lua script will set the time of day at 11pm. You can edit it with notepad.

    Some lua cmd example :
    Code:
    BeginEnvironmentEvent("Storm", 999); -- change weather to storm
    CDynamicEnvironmentManager_GetInstance():SetScriptedTimeOfDay(23, 0); -- Set time to 11pm
    StartTimeLapse(8, 0, 15); -- Make a time lapse, 15 second for full day cycle to 8am.
    GiveCash(GetLocalPlayerId(), 999999)"); -- give you cash
    ActivateInvincibility(GetEntityIdFromPlayerIndex(GetLocalPlayerId())); -- Activates invincibility
    RefillAdrenaline(GetLocalPlayerEntityId()); -- Give Focus
    FelonySetHeat(GetLocalPlayerEntityId(), 0); -- Remove wanted level
    EnableReputation(0); -- Disables reputation level
    FelonySystemEnable(0); -- Disables police
    EnabledLockOnAssistanceTarget(0); -- Disables auto-aim
    SetPatrolSpeed(0); -- Disable ctOS movement
    SendShowOrHideAllUIEvent(0); -- Disabe hud
    RandomEventSystemEnable(0); -- Disable random event (and the hud pop-up)
    If you want to do some testing :
    Most of .lua files from the game are in Watch_Dogs\data_win64\common.dat\domino\
    You then must decrypt them with unluac.jar if you want to see what is inside.
    No need to recompile them next, you can launch them if you rename the decrypted .lua : load.lua.
    Most of them will not work, they are dependent from other .lua file but the way they are "called" in the .lua script is not the same. And since i don't know a lot about .lua i don't know how to call them.

    The possibilities are pretty much endless since almost all the disrupt engine is based on lua. Almost everything is called with it.
    You can spawn vehicles, spawn npc, change weather, call massive blackout, infinite ammo, invulnerability, give cash. Almost everything is on fly, doesn't even need a restart.

    All credit goes to unknowncheats.me for the documentation / s0beit for the injector.

    LUA Injector - Download

    virustotal for the injector : https://www.virustotal.com/en/file/...49d6c2a90bd614ddf28dc6b3/analysis/1407254249/
     
    Last edited: Aug 6, 2014
  2. nuvasek

    nuvasek Guest

    Messages:
    83
    Likes Received:
    0
    GPU:
    GTX 770 2GB OC
    first
     
  3. Nicistarful

    Nicistarful Guest

    Messages:
    38
    Likes Received:
    0
    GPU:
    Nvidia GTX 660 3GB EVGA
    Here's a wink from Evie:
    [​IMG]
     
  4. Cru_N_cher

    Cru_N_cher Guest

    Messages:
    775
    Likes Received:
    2
    GPU:
    MSI NX8800GT OC
    Great work hehe funny that it comes from a cheat creator who spoils everyones online fun ;)
     

  5. xiaoxiao921

    xiaoxiao921 Guest

    Messages:
    28
    Likes Received:
    0
    GPU:
    AMD Radeon HD 8570
    Feel free to contribute guys, just added timelapse command, try it out, its very nice looking while walking down a street. ;)
     
  6. Cryill

    Cryill Guest

    Messages:
    7
    Likes Received:
    0
    GPU:
    GeForce GTX TITAN Z 12GB
    Did you change the original file in anyway from unknowncheats.
    cause i got it from the original source and my Watch_dogs keeps crashing when i press INSERT.

    I'm on the latest Watch_Dogs patch btw.
     
  7. xiaoxiao921

    xiaoxiao921 Guest

    Messages:
    28
    Likes Received:
    0
    GPU:
    AMD Radeon HD 8570
    Offset probably changed on the last patch so it may not work yeah.
     
  8. Yecnot

    Yecnot Guest

    Messages:
    857
    Likes Received:
    0
    GPU:
    RTX 3080Ti
    <------------ Mastermind behind this.
     
  9. Cru_N_cher

    Cru_N_cher Guest

    Messages:
    775
    Likes Received:
    2
    GPU:
    MSI NX8800GT OC
    Great work yecnot :)

    maybe you could find the debug mode switch for the console ?
     
  10. Nicistarful

    Nicistarful Guest

    Messages:
    38
    Likes Received:
    0
    GPU:
    Nvidia GTX 660 3GB EVGA
    The file "MSVCR110.dll" was not found on this computer. Reinstall the program to solve the problem.
     

  11. Cru_N_cher

    Cru_N_cher Guest

    Messages:
    775
    Likes Received:
    2
    GPU:
    MSI NX8800GT OC
    You need Visual Studio Runtimes
     
  12. Cryill

    Cryill Guest

    Messages:
    7
    Likes Received:
    0
    GPU:
    GeForce GTX TITAN Z 12GB
    So... will we be getting an updated offset version so we can use it to mod the current version game?
     
    Last edited: Aug 11, 2014
  13. Cryill

    Cryill Guest

    Messages:
    7
    Likes Received:
    0
    GPU:
    GeForce GTX TITAN Z 12GB
    Cause it can help us speed up finding stuffs like this
    [​IMG]
     
  14. Cru_N_cher

    Cru_N_cher Guest

    Messages:
    775
    Likes Received:
    2
    GPU:
    MSI NX8800GT OC
    Are these all the HDR Enviroment Light Setups we know so far ?

    Clear
    Clear_Rain0_Cloud0.4
    Clear_Rain0_Cloud0.6
    Clear_Rain0.01_Cloud0.9
    Clear_Rain0.5_Cloud1
    Storm
    Interior
    ExtBoost
    Jazzbar
    HQ
    Warehouse
    E3
    Cinema
    Windy
    E3_Theatre
    Cloudy_NoRain
    UndergroundParking
    InteriorGunshop
    RelaunchDemo
    VR_Hacking
    Relaunch_Pharmacy
    Pills_P30ple
    Pills_Madness
    07_Pills_Alone
    07_Pills_Bouncing
    07_Pills_SpiderTank
    InteriorWindows
    CTOS_Server
    InteriorWindowsIP
    Pills_P30ple2
    Motel
    Interior_Bar
    Interior_NO_AE
    07_PIlls_Satellite

    xiaoxiao921 did you found more ?

    We slowly get the same Realtime Manipulation possibilities together like in GTA4 :D

    http://anonym.to/?http://www.ld-host.de/uploads/images/1a918ce75e907dd3c1d3bb32c7394734.png
    http://anonym.to/?http://www.ld-host.de/uploads/images/a3cdadcd15046578995074bbbe38b302.png
    http://anonym.to/?http://www.ld-host.de/uploads/images/3abfef7a5d7f04fec0f8990a4602449e.png
    http://anonym.to/?http://www.ld-host.de/uploads/images/2ddf01298c64f2538f730db17485eedc.png
    http://anonym.to/?http://www.ld-host.de/uploads/images/f7a98678b63293ab741046ac89e8ecfe.png
    http://anonym.to/?http://www.ld-host.de/uploads/images/07563093fd4f8e41b4428c9f793689f7.png
     
    Last edited: Aug 11, 2014
  15. Nicistarful

    Nicistarful Guest

    Messages:
    38
    Likes Received:
    0
    GPU:
    Nvidia GTX 660 3GB EVGA
    I installed the newest "Vcredistx64.exe" still getting the error. Do I have to restart my PC?

    EDIT: Or just make it easy for me and post the link for the right download please.
     
    Last edited: Aug 12, 2014

  16. Nicistarful

    Nicistarful Guest

    Messages:
    38
    Likes Received:
    0
    GPU:
    Nvidia GTX 660 3GB EVGA
    No answer? No Idea?
     
  17. Cru_N_cher

    Cru_N_cher Guest

    Messages:
    775
    Likes Received:
    2
    GPU:
    MSI NX8800GT OC
    Last edited: Aug 14, 2014
  18. Nicistarful

    Nicistarful Guest

    Messages:
    38
    Likes Received:
    0
    GPU:
    Nvidia GTX 660 3GB EVGA
    Ok it works now, when I try to inject smth. (Time change example) The game crashes.
     
  19. Nicistarful

    Nicistarful Guest

    Messages:
    38
    Likes Received:
    0
    GPU:
    Nvidia GTX 660 3GB EVGA
  20. Marduk

    Marduk Guest

    Messages:
    663
    Likes Received:
    0
    GPU:
    gtx 780m
    Has anyone an idea or solution how it could be possible to edit or decrypt this files

    worlds\windy_city\generated\wlu\wlu_data_gasstatio n_explosion.xml.data.fcb

    And I have Problems with decompile this
    i know unluac is the App, but i have no know how how to use it right

    domino\user\gyms\gym_e3_gasstationexplosion\gym_e3 _gasstationexplosion.main.debug.lua
    domino\user\gyms\gym_e3_gasstationexplosion\gym_e3 _gasstationexplosion.main.lua

    domino\user\gyms\gym_jamestest\gym_jamestestwege.g asstationexplosion.debug.lua
    domino\user\gyms\gym_jamestest\gym_jamestestwege.g asstationexplosion.lua
    * *
     

Share This Page