2000FUN論壇

 

 

搜索
2000FUN論壇 綜合論壇 俠盜獵車手 GTA Grand Theft Auto I-IV GTA IV C++ Script Hook
返回列表 發新帖 回覆
查看: 4888|回覆: 3
go

[IV] GTA IV C++ Script Hook [複製鏈接]

Rank: 10

UID
909365 
帖子
2972 
積分
7659 
Good
244  
註冊時間
07-6-28 
在線時間
790 小時 

十週年勳章(賀詞)

1#
發表於 10-6-26 08:47 PM |只看該作者 |倒序瀏覽 |打印
GTA IV C++ Script Hook
Version 0.5.1 BETA (May 28 2010)

- Download Version 0.5.1 (Redistributable) -

Supports GTAIV 1.0.7.0 and EFLC 1.1.2.0. Released as BETA, not tested extensively, bug reports are welcome (don't PM me with them, just post them in this thread).

----

Version 0.5.0 (Apr 16 2010)

- Download Version 0.5.0 (Redistributable) -

Supports GTAIV 1.0.6.0 and EFLC 1.1.1.0.

Please note that 0.4.0 onwards comes with a new License that is different from earlier versions. Make sure you read and understand ScriptHook-License.txt before you make use of ScriptHook.dll.

------------------------------------

Development Info

This one is for all you coders out there (hopefully, there's still a lot of you)...

This module will let you create a custom script thread in C++ and have GTAIV process it along with its real scripts threads. Additionally, a type-safe manner to access native functions in GTAIV is provided.

Currently headers and a compiled dynamic library (DLL) is provided. Some very naive samples are provided as well. This is meant to be a base to build on top of. Feel free to contribute your own samples!

- Download Version 0.4.0 (Development Kit) -

Please note that 0.4.0 onwards comes with a new License that is different from earlier versions. Make sure you read and understand ScriptHook-License.txt before you make use of the ScriptHook SDK.

Developing for the 0.5.0 hook: You can continue to use the 0.4.0 SDK for development, and it is not being updated at this time. An updated DevLoader is available here:
- Download 0.5.0 DevLoader -
- Download 0.5.1 DevLoader -



Solution/Project files in zip are for VC++ 2008. Please read UpdateGuide.txt if you're upgrading your code to work from an older version of ScriptHook.

Whats New in 0.5.1

- Added support for GTAIV 1.0.7.0 and EFLC 1.1.2.0.
- Support for invoking undocumented natives by their "new" hash.

Whats New in 0.5.0

- Added support for GTAIV 1.0.6.0 and EFLC 1.1.1.0.
- Enabled MP on all unranked modes, however your multiplayer session will be isolated from people not using mods.
- Fixed bug with text flickering when using ScriptThread/NativeFiberThread
- Fixed bug with crashing when going in/out of video editor

Whats New in 0.4.0

- Added support for GTAIV 1.0.4 (Patch #5)
- New programming model replaces NativeThread and NativeFiberThread with ScriptThread
- A lot of performance enhancements, including:
---- Natives are now directly invoked using the native hash and not the name
---- "SpeedyInvoke" which dynamically rewrites parts of your compiled code to prevent repeated lookups of natives (only enabled for Release builds)
- Rewrote thread/service loading and now has better detection for when new game sessions start.
- Some minor bugs fixed

Whats New in 0.3.0

- New extensible services framework providing the following services currently:
---- D3DHook: Direct3D Device Hooking
---- Config: Configuration (ini and xml)
---- KeyboardHook: Keyboard hook to recieve events of key presses
---- Menu: A simple yet effective menu creation framework
- New "Speedo" sample demonstrating the use of services
- Added DevLoader which is an ASI loader with some development features such as module unload/reload.
- Improved thread hooking into the game -- less chances of crashing while hooking now (not that it crashed before).
- Added ability to unregister threads that were registered
- Added support for starting threads on demand
- Changed a lot of non-important log messages from Info to Debug
- Few internal bug fixes.

Whats New in 0.2.6

- Added support for GTAIV 1.0.4
- Support for Multiplayer when in LAN (any mode), or Online (Freeroam or Party mode only)
- Added a fix for world Z calculation for the Teleport sample in SampleCustomFiber

Whats New in 0.2.5

- Added support for GTAIV 1.0.3
- ScriptHook is now a DLL that can be updated independently of the mods that use it.
- Improved detection/hooking of scripts into the game engine
- Fixed invocation of natives that have Vector3* parameter types
- Fixed GetGlobalAddress/GetGlobalValue/SetGlobalValue for accessing Global variables
- Merged some of the Scripting native contributions back into the source (937 natives now available)
- A number of internal bug fixes
- ScriptHook is disabled for online play (currently its disabled regardless of which mode you play in or even Live/LAN, but this might change in the future)

Credits

- listener for some of the REing and natives mapping
- Seeman for some of the Natives documentation
- Reconsider for being my guinea pig on IRC during early development
- HazardX for some cleaned up natives
- sjaak327 for a lot of help with testing
- All of you guys PMing and emailing me and making me find the time to work on this
- Last but not least, you (yes, you!) for creating (assuming that you will be creating) wonderful mods for this game.

Thanks guys!
http://www.gtaforums.com/index.php?showtopic=390582
已有 1 人評分威望 Good 收起 理由
幻~影 + 10 + 1 支持你!下次繼續^_^

總評分:  威望 + 10  Good + 1   查看全部評分

Rank: 10

UID
909365 
帖子
2972 
積分
7659 
Good
244  
註冊時間
07-6-28 
在線時間
790 小時 

十週年勳章(賀詞)

2#
發表於 10-6-26 08:49 PM |只看該作者
http://www.filecrop.com/ScriptHook.dll.html
ScriptHook.dll文件0.2.5
http://www.clacn.com/data/soft/5777.html
http://www.piaodown.com/soft/27680.htm
http://www.gamersky.com/Soft/200904/19591.shtml
http://download.pchome.net/dlgam ... /detail-170421.html

谁解释一下ScriptHook.dll和ScriptHookDotNet.asi,还有dsound.dll
还有XLiveLess Alice 等等
新人,不太清楚~~·
我是1.03版
哪些东西是1.02的,哪些东西是1.03的,哪些不能混在一起用!

暂时只知道装了Alice.asi要把lua文件放到Alice文件夹下!

http://bbs.04gd.com/archiver/tid-47634.html

《侠盗猎车手GTA4》.Net Script Hook v0.82
http://www.gtaforums.com/index.php?showtopic=392325
http://www.gamersky.com/Soft/200902/18121.shtml
http://uploaded.to/?id=r76kr4

[ 本帖最後由 yelo99pig 於 10-6-27 01:17 PM 編輯 ]
已有 1 人評分威望 收起 理由
幻~影 + 5 支持你!下次繼續^_^

總評分:  威望 + 5   查看全部評分

Rank: 9Rank: 9Rank: 9Rank: 9Rank: 9Rank: 9Rank: 9Rank: 9Rank: 9

UID
151151 
帖子
4963 
積分
7228 
Good
212  
註冊時間
04-1-31 
在線時間
1896 小時 

十週年勳章(賀詞)

3#
發表於 10-6-28 07:56 PM |只看該作者
haha,我就係等緊佢

Rank: 3Rank: 3Rank: 3

UID
844740 
帖子
297 
積分
524 
Good
14  
註冊時間
07-3-7 
在線時間
398 小時 
4#
發表於 10-6-28 09:44 PM |只看該作者
正喔!!!! :em014:
‹ 上一主題|下一主題
你需要登錄後才可以回帖 登錄 | 免費註冊

聯絡我們|Archiver| 2000FUN論壇

SERVER: 2 GMT+8, 26-3-13 03:59 PM , Processed in 0.027035 second(s), 12 queries , Gzip On.

Sponsor:工作間 , 網頁寄存

Powered by Discuz! X1.5.1

© 2001-2010 Comsenz Inc.