WebScriptHook

by libertylocked·v1.01·Updated 2018-09-02

Screenshots 3 screenshots

About this mod Machine translation

Platform that allows interaction with GTAV via REST API. Expandable via extensions!

Includes a mobile driving add-on that allows you to drive with your phone using the accelerometer!

Install

Require

  • Script Hook V.
  • Script Hook V.NET

-.NET Framework 4.5.2

  • Visual C++ Redistributable for Visual Studio 2013 x64

WebScriptHook

  • Extract the "WebScriptHook" folder to "GTAV/scripts"
  • The configuration file should be located in GTAV/scripts/WebScriptHook/WebScriptHook.ini
  • The DLL should be GTAV/scripts/WebScriptHook/*.dll
  • The server exe should be GTAV/scripts/WebScriptHook/webscripthook-server.exe
  • Run the game

WebScriptHook application

Run web application

  • Start the game
  • Run "webscripthook-server.exe"
  • You need to allow the program to communicate through the firewall
  • The default port is 25555. It can be changed in the configuration (restart the game and the server to be applied)
  • Open your browser and go to http://localhost:25555 you should see the home page
  • To access this page from a device on your LAN, replace "localhost" above with your PC address. Google "how to find my lan IP" if you don't know how to do it
  • There is an Android client application for WebScriptHook

Install web application

  • Delete the folder of the WebScriptHook application under the "/apps" folder
  • If done correctly, the application's index page should be located at /apps/app-name/index.html
  • Refresh the web page

WebScriptHook REST API

  • See the wiki page for details

WebScriptHook extension

Install extension

  • Place the extension dll file under the "/extensions" folder
  • WebScriptHook searches for assemblies recursively so you can create subfolders if you wish
  • Extensions will be loaded automatically when WebScriptHook starts

Create extension

  • See the wiki page for details

Other instructions

  • It doesn't matter whether you start the game first or the service first
  • In case of failure, check "GTAV/ScriptHookVDotNet-2016-01-19.log" (replace date with your current date) for errors

Get the WebScriptHook Android client app here

Again, you don't need an app. You can use any device with a browser

A platform that allows interaction with GTAV through a REST API. Extendable through extensions!

Includes a mobile driving plugin that allows you to drive with your phone using accelerometer!

Installation

Requirements

  • Script Hook V
  • Script Hook V.NET

-.NET Framework 4.5.2

  • Visual C++ Redistributable for Visual Studio 2013 x64

WebScriptHook

  • Extract "WebScriptHook" folder to "GTAV/scripts"
  • The configuration file should be at GTAV/scripts/WebScriptHook/WebScriptHook.ini
  • The DLLs should be at GTAV/scripts/WebScriptHook/*.dll
  • The server exe should be at GTAV/scripts/WebScriptHook/webscripthook-server.exe
  • Run the game

WebScriptHook apps

Running a web app

  • Start the game
  • Run "webscripthook-server.exe"
  • You need to allow the program to communicate through firewall
  • The default port is 25555. Can be changed in config (restart game and the server to apply)
  • Open your browser and go to You should see the home page
  • To access the page from devices on your LAN, replace "localhost" above with the address of your PC. Google "How to find my LAN IP" if you don't know how to do that
  • There is an Android client app for WebScriptHook

Installing a web app

  • Drop the folder of a WebScriptHook app under "/apps" folder
  • If done correctly, the index page of the app should be at /apps/app-name/index.html
  • Refresh the webpage

WebScriptHook REST API

  • See the wiki page for details

WebScriptHook extensions

Installing an extension

  • Put the extension dll files under "/extensions" folder
  • WebScriptHook searches for assemblies recursively, so create subfolders if you wish
  • Extensions will be automatically loaded when WebScriptHook starts

Creating an extension

  • See the wiki page for details

Other notes

  • Whether you start the game first or the server first does not matter
  • If things broke, check …

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. There is no universal mod manager for this game: some mods replace game files directly, some go into a game-specific Mods folder, and some need a game-specific community loader or tool first — follow the bundled readme.
  3. Place the files exactly as the readme says; mods with listed dependencies need those installed too.
  4. Launch the game to confirm it loaded; some games require enabling mods in settings or an in-game mod menu.

Install locations vary a lot between games and mods — the bundled readme is the most reliable guide.

File & checksum

Filename
适用于GTA V的WebScriptHook
File size
4.0 MiB