適用於GTA V的WebScriptHook
截圖 共 3 張
模組介紹 作者原文
允許通過REST API與GTAV交互的平臺。通過擴展可擴展!
包括一個移動駕駛插件,可讓您使用加速度計與手機一起駕駛!
安裝
要求
- Script Hook V.
- Script Hook V.NET
-.NET Framework 4.5.2
- Visual Studio 2013 x64的Visual C ++ Redistributable
WebScriptHook
- 將“WebScriptHook”文件夾解壓縮爲“GTAV / scripts”
- 配置文件應位於GTAV / scripts / WebScriptHook / WebScriptHook.ini中
- DLL應該是GTAV / scripts / WebScriptHook / *.dll
- 服務器exe應該是GTAV / scripts / WebScriptHook / webscripthook-server.exe
- 運行遊戲
WebScriptHook應用程序
運行Web應用程序
- 開始遊戲
- 運行“webscripthook-server.exe”
- 您需要允許程序通過防火牆進行通信
- 默認端口是25555.可以在配置中更改(重啓遊戲和要應用的服務器)
- 打開瀏覽器並轉到http:// localhost:25555您應該會看到主頁
- 要從LAN上的設備訪問該頁面,請將上面的“localhost”替換爲您的PC地址。谷歌“如何找到我的局域網IP”,如果你不知道如何做到這一點
- 有一個適用於WebScriptHook的Android客戶端應用程序
安裝Web應用程序
- 刪除“/ apps”文件夾下的WebScriptHook應用程序的文件夾
- 如果操作正確,應用程序的索引頁應位於/apps/app-name/index.html
- 刷新網頁
WebScriptHook REST API
- 有關詳細信息,請參閱維基頁面
WebScriptHook擴展
安裝擴展
- 將擴展名dll文件放在“/ extensions”文件夾下
- WebScriptHook以遞歸方式搜索程序集,因此如果您願意,可以創建子文件夾
- WebScriptHook啓動時將自動加載擴展
創建擴展
- 有關詳細信息,請參閱維基頁面
其他說明
- 無論您是先開始遊戲還是首先開始服務,都無關緊要
- 如果發生故障,請檢查“GTAV / ScriptHookVDotNet-2016-01-19.log”(將日期替換爲您當前的日期)以查找錯誤
在此處獲取WebScriptHook Android客戶端應用程序
同樣,你不需要一個應用程序。您可以使用任何具有瀏覽器的設備
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 "GTAV/ScriptHookVDotNet-2016-01-19.log" (replace the 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 that has a browser
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
- 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
- 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。
不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。