Coder Social home page Coder Social logo

lmsdev / w_d-hook Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 5.0 304 KB

A script hook for Watch Dogs which exposes the lua API functions to users to allow them to create their own scripts. Please note that project is discontinued and doesn't work with the latest version and should be considered an educational project.

License: GNU General Public License v2.0

C++ 99.12% C 0.52% Objective-C 0.36%

w_d-hook's Introduction

General

I've decided to release my Watch Dogs Script Hook as I still receive questions about the game and I don't really actively develop this (last commit around June).

Watch Dogs Script Hook

A script hook for Watch Dogs which exposes the lua API functions to users to allow them to create their own scripts. Doesn't work on the current version of the game. Supposed to act as an educational resource for game hacking, since it's very hacky and very bad/ugly code (e.g. mixed naming conventions). The last thing I was working on was getting lua callbacks for the d3d hook to work, but never found the time to properly implement it. The threading model is also very hacky.

Please don't blame for any code issues, this project is discontinued and was just a quick PoC. In addition, I never worked with lua so this implementation is probably going to hurt everyone who ever seriously worked with lua. Feel free to contribute/update for current version. Also feel free to ask questions, though I may not be able to answer since it's a long time since I worked on this.

Have fun and happy REing!

LMS

05-Dec-2014

License

The project is licensed under GNU GPLv3:

WatchDogs ScriptHook Copyright (C) 2014 LMS ([email protected])

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

FW1FontWrapper by Erik Rufelt is distributed under the MIT license:

The MIT License (MIT)

Copyright (c) 2011 Erik Rufelt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

w_d-hook's People

Contributors

lmsdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

w_d-hook's Issues

Just a simple question?

Hey, I know I know this is past 1 year, but I have a simple question.. The hook doesnt seem to load, because there's no log file, and I bet they didn't update the game that hard.. Could you tell me why?
Thanks :)

How to use it?

I saw that 'LuaFunctions' holds the offset for these respective lua functions. Asked a friend to compile the VS_sln, but it produces several dlls. So my simple question is:
a. what needs to be installed to hook the script ?
b. while ingame, how to invoke any lua script/function ?

I can test this with the original v1.0, to see it's working. If so, I can then update the offsets to its latest version and test accordingly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.