Jump to content

IV-SDK .NET


Recommended Posts

ItsClonkAndre

IV-SDK .NEThttps://user-images.githubusercontent.com/39125931/197342023-e20e0ed9-6082-4635-8b8b-57581fba79ee.png

IV-SDK .NET is a .NET Wrapper created by ItsClonkAndre for the original IV-SDK made by Zolika1351.
It allows you to run and create scripts for GTA IV in any .NET language out there.

 

Requirements

  • Windows 7 SP1 and up.
  • GTA IV 1080 or 1070 like IV-SDK does. Other versions are not supported YET.
  • ASI loader.
  • .NET Framework 4.7.2 (Should be installed on windows 10 version 1803 and up by default)
  • Visual C++ 2005 Redistributable x86 which should already be installed on your PC if you've downgraded your game with the GTA IV Downgrader.
  • DirectX June 2010 SDK which should also already be installed on your PC if you've downgraded your game with the GTA IV Downgrader.

 

Downloads

 

Documentation

You want to create your own IV-SDK .NET Scripts? Check out the GitHub page for a little documentation on how to do so.

 

Can IV-SDK .NET load ScriptHookDotNet mods?

Since version 1.2 of IV-SDK .NET, it now has experimental support for loading ScriptHookDotNet scripts!

If you get any errors with ScriptHookDotNet scripts, please report them here.


ScriptHookDotNet Questions and Answers

Spoiler

- How can i make IV-SDK .NET load ScriptHookDotNet mods?

Just place your ScriptHookDotNet mods in the "scripts" folder within the main directory of GTA IV (Where the GTAIV.exe file is located) just like you would do in old ScriptHookDotNet!

If the "scripts" folder doesn't exists, you can just create it.

The scripts folder within the IVSDKDotNet folder is reserved for IV-SDK .NET mods only.

 

- Do i still need ScriptHook.dll, ScriptHookDotNet.dll/ScriptHookDotNet.asi or AdvancedHook.dll?

If you want to use IV-SDK .NET as your ScriptHookDotNet mod loader, you no longer need ScriptHookDotNet.dll/ScriptHookDotNet.asi in your main directory of GTA IV.

For ScriptHook.dll and AdvancedHook.dll you should still keep them in your main directory as some mods you have installed might depend on either of these.

 

- Can IV-SDK .NET load raw .vb or .cs files?

Unfortunately it cannot do that at the moment.

 

The IV-SDK .NET Console

You can open the console with F4 (default).

At the moment there are 17 console command available.

Spoiler
  1. Help                            - Shows all commands.
  2. Clear                           - Clears the IV-SDK .NET Console.
  3. CheckForUpdates     - Checks if there are new updates for IV-SDK .NET available.
  4. Autosave                    - Triggers an auto save.
  5. Save                           - Opens the save menu.
  6. SavePlayerPos           - Saves the player coordinates and heading to the clipboard.
  7. AbortScripts              - Aborts all currently running scripts.
  8. AbortScript                - Tries to abort a single script.
  9. ReloadScripts            - Reloads all available scripts.
  10. GetRunningScripts    - Gets number of currently running scripts.
  11. LoadScript                 - Tries to load a single script.
  12. StartAPI                     - Starts the API so clients can connect to IV-SDK .NET.
  13. StopAPI                     - Stops the API so clients can no longer connect to IV-SDK .NET.
  14. Manager                    - Opens the Manager Window from which you can for example change some IV-SDK .NET settings, or control scripts.
  15. Teleport/Tp               - Teleports the local player to the given position.
  16. Wiki                            - Opens the IV-SDK .NET GitHub Wiki page.
  17. Quit                            - Tries to force quit GTA IV.

 

Bug Report, Suggestions and Contribution

If you find any bugs in IV-SDK .NET, please open up a new Issue on GitHub. If you have any suggestions, you can also open up a new Issue on GitHub but please put [SUGGESTION] in the Issue title!

If you want to contribute to this project, you can fork the Project on GitHub and open up a new Pull Request.

 

Credits

Dear ImGui by ocornut.

Thanks to akifle47 for the InGameTimecycEditor which helped me with the implementation of Dear ImGui into this project!

 

Support

If you want to support me or this project, you can do that via Patreon, Ko-fi or PayPal. Any support would be greatly appreciated!

 

Changelogs

Check out the GitHub releases page to find every version of IV-SDK .NET along with their changelog.

 

Edited by ItsClonkAndre
Updated to version 1.8.1
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/
Share on other sites

ItsClonkAndre

IV-SDK .NET updated to version 0.2!

 

Changelog

  1. IMPORTANT: Added a Initialized event to the Script class that will be fired AFTER the constructor so you can safely call any functions in there without having to worry about stuff not being initialized yet.
  2. Added StartNewTask function.
  3. Added WaitInTask function.
  4. Added new XML Comments.
  5. Added a new parameter to the “CGame.Console.RegisterCommand” Method that takes in a Script. This Method should now be called from the Initialized Event instead from within the constructor.
  6. Added GetPositionInFrontOfEntity and HeadingToDirection functions to the Helper class.
  7. Added CPools class which contains a GetAllPedHandles function which returns an array of handles for each ped currently in the world.
  8. Added native function overload for GET_CHAR_COORDINATES which gives you an Vector3 (System.Numerics) with the coordinates of the character.
  9. Custom Console Commands registered by a Script will now get removed when the Script gets aborted.
  10. Changed C++ Language Standard to C++17 for IVSDKDotNetWrapper because this is the maximum supported version.
  11. Removed managed CVector structs and CQuaternion struct from IV-SDK .NET in favour of the built-in .NET Framework (System.Numerics) Vector and Quaternion structs.
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072004432
Share on other sites

ItsClonkAndre

IV-SDK .NET updated to version 0.3!

 

Changelog

  1. Added SettingsFile class which can load and save ini files.
  2. Added Settings property to Script class which loads the Scripts ini file. It has to be the same name as your Script, and needs to be placed in the scripts folder. Check out the example.
  3. Added CPickups class.
  4. Added GetAllVehicleHandles function to CPools class.
  5. Added GetAllObjectHandles function to CPools class.
  6. Added native function overload for GET_CAR_COORDINATES which gives you an Vector3 (System.Numerics) with the coordinates of the vehicle.
  7. Added native function overload for GET_OBJECT_COORDINATES which gives you an Vector3 (System.Numerics) with the coordinates of the object.
  8. The console open/close key can now be changed in the config.ini file located in the IVSDKDotNet folder.
  • Like 1
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072006192
Share on other sites

2 hours ago, Its-SG said:

I get this error when i use ref/out keyword in Create_Car native: spacer.png

but with Create_Char Native it works:

spacer.png

so im confused how to do so. :)

I think you should rather post this on the github issues page Issues · ClonkAndre/IV-SDK-DotNet · GitHub

Edited by heustler
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072008274
Share on other sites

13 minutes ago, heustler said:

I think you should rather post this on the github issues page Issues · ClonkAndre/IV-SDK-DotNet · GitHub

Oh okii, i will.

13 hours ago, heustler said:

Hey that mod is cool but how do I make a car head over to the player's direction ? and also is there a way to make a phone number/contact function?

I forgot to quote on your reply sorry.

There is a native for giving ped to task drive vehicle to your location or specific coordinates. If you mean something else then I don't know.

Edited by Its-SG
forgot to reply
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072008278
Share on other sites

2 hours ago, Its-SG said:

Oh okii, i will.

I forgot to quote on your reply sorry.

There is a native for giving ped to task drive vehicle to your location or specific coordinates. If you mean something else then I don't know.

Oh bro that's what i wanted thank you

  • YEE 1
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072008326
Share on other sites

ItsClonkAndre

IV-SDK .NET updated to version 0.4!

 

Changelog

  1. Updated project assembly info.
  2. The console log will now be saved into a IVSDKDotNet.log file located in the main directory of GTA IV.
  3. Added a Vector3 position overload for natives: CREATE_CAR, CREATE_CHAR, CREATE_OBJECT, CREATE_OBJECT_NO_OFFSET, SET_OBJECT_COORDINATES, SET_CHAR_COORDINATES, SET_CAR_COORDINATES, DRAW_CORONA, DRAW_CHECKPOINT, DRAW_CHECKPOINT_WITH_ALPHA and SET_CAR_COORDINATES_NO_OFFSET.
  4. Added GTAMatrix and CSimpleTransform structs.
  5. Added CObject, CPhysical, CDynamicEntity and CEntity (Not complete yet) classes.
  6. Added DeleteChar, DeleteCar and DeleteObject to CPools class.
  7. Added GetAllObjects function to CPools class.
  8. Added CWorld (Not complete yet) class.
  9. Added ReloadConfig and SavePlayerPos console commands.
  10. Changed the return value of GET_HASH_KEY native from an unsigned integer to a signed integer.
  11. Made CREATE_CHAR, CREATE_CAR, CREATE_OBJECT and CREATE_OBJECT_NO_OFFSET natives take in a signed integer for the model instead of an unsigned integer.
  12. Fixed OutAttribute of native: CREATE_CAR.
  13. Fixed Unable to load IVSDKDotNet.asi : Error 126.
  • Like 2
  • Realistic Steak! 1
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072011186
Share on other sites

  • 2 weeks later...
On 11/7/2022 at 8:28 AM, GUSTAVKLINT4677 said:

Hello, is it possible to port the TrafficFlow.asi script [Which was originally made for ScriptHookDotNet] with that? I really miss it

Have you tried:

https://www.gtainside.com/en/gta4/mods/157022-simple-traffic-loader/

Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072023489
Share on other sites

  • 2 months later...
  • 2 weeks later...
ItsClonkAndre

IV-SDK .NET updated to version 0.5!

 

Changelog

  1. Added “LoadScript” and “Quit” console commands.
  2. Added “PauseExecutionWhenNotInFocus” setting in config.ini file which will pause all running scripts when the GTA IV Window is not currently in focus.
  3. Added eWeather enum.
  4. Added GET_MOUSE_SENSITIVITY native.
  5. Added “DecideManuallyForEachAssembly” enum item in the “eAssembliesLocation” enum so you can decide for yourself where each of your Assemblies are located if they where not found in the main directory of GTA IV.
  6. Added Uninitialize event to Script class.
  7. Added AssemblyResolve event to Script class.
  8. Added OnWndMessage event to CGame class.
  9. Added RegisterConsoleCommand function to Script class.
  10. Added event execution time measurement for each event in the Script class to see how long it took to execute them.
  11. Added CVehicle (Not complete yet) class.
  12. Added GetAllVehicles function to CPools class.
  13. Added GetDirect3DDevice9 function to RAGE class.
  14. Added IVSDKDotNet.Direct3D9 namespace.
  15. Added DirectX drawing functions which can be accessed via the D3DGraphics class in the IVSDKDotNet.Direct3D9 namespace.
  16. Made MARK_MODEL_AS_NO_LONGER_NEEDED native take in a signed integer for the model instead of an unsigned integer.
  17. Fixed System.IO.FileNotFoundException when referencing a external assembly and Scripts “AssembliesLocation” property is not set to “GameRootDirectory”.
  18. Included the IVSDKDotNetWrapper.xml file in the zip which shows developers comments for Namespaces, Classes, Methods etc… (I forgot to add it since v0.1)
Edited by ItsClonkAndre
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072087874
Share on other sites

  • 2 weeks later...
ItsClonkAndre

IV-SDK .NET updated to version 0.6!

 

Changelog

  1. Added CPedFactoryNY class.
  2. Added CVehicleFactoryNY class.
  3. Added CStreaming (Not complete yet) class.
  4. Added CModelInfo (Not complete yet), CBaseModelInfo (Not complete yet), CPedModelInfo, CVehicleStructure (Not complete yet) and CVehicleModelInfo (Not complete yet) classes.
  5. Added CVehicle pointer to ProcessAutomobile script event.
  6. Added tLineOfSightResults struct.
  7. Added eLineOfSightFlags, eCamType and eSettings enums.
  8. Added ProcessLineOfSight function to CWorld class.
  9. Added Add and Remove method to CWorld class.
  10. Added static FromPointer function to CVehicle class.
  11. Added CPed (Not complete yet) class.
  12. Added CBuilding class.
  13. Added GetAllPeds function to CPools class.
  14. Added GetAllBuildings function to CPools class.
  15. Added CCam class.
  16. Added CCamera class.
  17. Added GetAllCameras function to CPools class.
  18. Added Helper.Drawing class.
  19. Added Helper.JSON class.
  20. Added GetRadarRectangle function to CGame class.
  21. Added two new overloads for the D3DGraphics.DrawString function, which doesn’t require a font resource. The default font will be used instead.
  22. Added Scaling property to D3DGraphics class (Does not do much currently).
  23. Added Device property to D3DGraphics class.
  24. Added AbortTaskOrTimer and ChangeTimerState method to Script class.
  25. Added ScriptResourceFolder property to Script class. This makes it easier for the developer to access their script resource folder, where all the required files are located (Like audio files or images). The folder has to be named the same name as your Script (without extension), and needs to be placed in the scripts folder.
  26. Changed D3DGraphics.DrawTexture function.
  27. Fixed System.NullReferenceException/SharpDX.SharpDXException exceptions when trying to draw an empty string.
  28. CPlayerInfo.FindPlayerPed/FindPlayerVehicle now returns an UIntPtr. Tho, FindPlayerVehicle does not work yet.
  29. Updated XML comments.
  • Like 2
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072094582
Share on other sites

  • 1 month later...
ItsClonkAndre

IV-SDK .NET updated to version 0.7!

 

Changelog

  1. Added equals operator override to CEntity class so you can directly compare a CEntity object with another.
  2. Added ePool and eNewGetInVehicleType enum.
  3. Added CPool class.
  4. Added CInteriorInst class.
  5. Added Get…Pool functions to CPools class.
  6. Added ClientBrodcastVars and ClientBrodcastVarSize properties to CNetwork class.
  7. Added CPedMoveBlendOnFoot class.
  8. Added Get/Set setting functions to CMenuManager class.
  9. Added Passengers property to CVehicle class.
  10. Added GetUIntPtr function to CCam class.
  11. Added Anim property to CDynamicEntity class.
  12. Added MeasureText function to D3DGraphics class.
  13. Added DrawString function overload to D3DGraphics class which takes in a Rectangle and eD3DFontDrawFlags which allows you to draw text in a specified rectangle.
  14. Added SetDummyThread and RestorePreviousThread methods to CTheScripts class.
  15. Added GivePedScriptedTask method to CTheScripts class.
  16. Added PedWeapons and PedWeaponSlot class.
  17. Added CHandlingDataMgr and tHandlingData classes.
  18. Added CWeaponInfo and WeaponFlags classes.
  19. Added CDraw (Not complete yet), tGlobalScene (Not complete yet), CViewportMobilePhone, CViewportRadar, CViewportGame, CViewportPrimaryOrtho, CViewport and tViewportData classes.
  20. Added CTaskComplexDie, CTaskComplexMobileMakeCall, CTaskComplexNewGetInVehicle, CTaskComplexNM, CTaskComplexPlayerOnFoot, CTaskSimpleNMHighFall, CTaskSimpleNMJumpRollFromRoadVehicle, CTaskSimpleSidewaysDive, CTaskComplexClimbLadder, CTaskComplexInWater, CTaskComplexWander, CTaskComplexWanderStandard and CTaskComplexPlayerSettingsTask task classes.
  21. Added GET_INT_STAT and GET_FLOAT_STAT natives.
  22. Added eMissionCompleteAudio and eRadarSprite enums.
  23. Added SendScriptCommand method and ScriptCommandReceived event to the Script class that allows you to communicate with other IV-SDK .NET Scripts.
  24. Added DoesScriptExists, IsScriptRunning, GetScript and GetAllScripts functions to the Script class.
  25. Expanded CPed class.
  26. Expanded CVehicle class.
  27. Expanded CVehicleModelInfo and CVehicleStructure classes.
  28. Expanded CPlayerInfo class.
  29. Expanded CStreaming class.
  30. Native functions that crashed the game like TASK* or PLAY_SOUND_FRONTEND will now work without any more steps when called from the Script.Tick event.
  31. Fixed NullReferenceException occuring in the IVSDKDotNet.Manager when trying to DrawString with the default font.
  32. Updated XML comments.
Edited by ItsClonkAndre
Update
  • Like 3
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072111099
Share on other sites

ItsClonkAndre

IV-SDK .NET updated to version 0.8!

This update contains 1 important change.

 

Changelog

  1. Added FromPointer and GetUIntPtr functions to CPlayerInfo class.
  2. Added CPad, tPadValues, tValueHistory and tValueHistoryItem classes.
  3. Added CreatedFor property to the D3DGraphics class.
  4. Renamed the m_pWeaponData property to WeaponData inside the CPed class.
  5. Added a Vector3 position overload for natives: LOAD_SCENE, GET_GROUND_Z_FOR_3D_COORD, TELEPORT_NETWORK_PLAYER, SET_CAM_ATTACH_OFFSET, GET_CLOSEST_CAR_NODE, GET_CLOSEST_CAR_NODE_WITH_HEADING, GET_CLOSEST_CAR_NODE_FAVOUR_DIRECTION, GET_CLOSEST_MAJOR_CAR_NODE, GET_NTH_CLOSEST_CAR_NODE, GET_NTH_CLOSEST_CAR_NODE_FAVOUR_DIRECTION, GET_NTH_CLOSEST_CAR_NODE_WITH_HEADING, GET_NTH_CLOSEST_CAR_NODE_WITH_HEADING_ON_ISLAND, GET_RANDOM_CAR_NODE, GET_RANDOM_CAR_NODE_INCLUDE_SWITCHED_OFF_NODES, GET_SAFE_POSITION_FOR_CHAR, IS_EXPLOSION_IN_AREA, IS_EXPLOSION_IN_SPHERE, GET_WATER_HEIGHT, GET_WATER_HEIGHT_NO_WAVES, IS_POINT_OBSCURED_BY_A_MISSION_ENTITY, GET_OFFSET_FROM_CHAR_IN_WORLD_COORDS, SET_CHAR_COORDINATES_DONT_WARP_GANG, SET_CHAR_COORDINATES_DONT_WARP_GANG_NO_OFFSET, REGISTER_PLAYER_RESPAWN_COORDS and REQUEST_COLLISION_AT_POSN.
  6. Added a Vector2 position overload for natives: GET_HEADING_FROM_VECTOR_2D.
  7. Added a Quaternion overload for natives: GET_VEHICLE_QUATERNION and SET_VEHICLE_QUATERNION.
  8. Added ChangeTimerInterval method to Script class.
  9. Added OnlyRaiseKeyEventsWhenInGame property to Script class.
  10. Added IsConsoleOpen property to the CGame.Console class.
  11. Added OnWindowFocusChanged event to CGame class.
  12. Added IsInFocus function to CGame class.
  13. Added CGame.Mouse class.
  14. Important: Removed the “device” argument from every function inside the D3DGraphics class. - Some mods might need to be updated to work again on IV-SDK .NET v0.8!
  15. Expanded CPed class.
  16. Scripts will now abort when a required assembly was not found.
  17. The IV-SDK .NET Console and Notifications can no longer only be shown in-game. They are visible no matter the current menu.
  18. The Script KeyDown/KeyUp events will no longer only be fired when in-game. They will be fired even when in main menu.
  19. Updated XML comments.
Edited by ItsClonkAndre
  • Like 3
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072114143
Share on other sites

  • 2 weeks later...

somehow it makes my game crash either after the loading screen or the rockstar legal thingy, the only mods i have are an enb and pretty much everything else is just a replacement, i even deleted anything related to scripthook and i'm running it on 1070, what am i doing wrong?

Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072119234
Share on other sites

  • 1 month later...
ItsClonkAndre
4 hours ago, Archiven said:

Can we have a dedicated topic for the list of ScriptHookDotNet mods that needed to be ported over to IV-SDK .NET? It would be nice to have more great script mods.

You can create one if you like, or you can post another comment in here with a list of SHDN Mods that you would like to see ported over to IV-SDK .NET. You can always edit your post if you have more ideas 🙂

Dunno what i would prefer tho, a dedicated topic or people posting comments in here asking for mods to be ported 🤔 Both works!

Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072136437
Share on other sites

ItsClonkAndre

IV-SDK .NET updated to version 0.9!

 

Changelog

  1. Added more ptfx natives.
  2. Added phInstGta, gtaFragType (Not complete yet), phInst and phArchetypeGta (Not complete yet) classes.
  3. Added Archetype and FragType properties to CBaseModelInfo class.
  4. Added VehicleFragInst property to CVehicle class.
  5. Added InstGta property to CEntity class.
  6. Added AvailableTextureMemory property to D3DGraphics class.
  7. Added ScissorRect property to D3DGraphics class.
  8. Added IsDrawingAvailable function to D3DGraphics class.
  9. Added “continueWithAction” parameter to the Script.StartNewTask function.
  10. Added new Script.ShowSubtitleMessage overload which act like the String.Format function.
  11. Added console command “AbortScript” which aborts a single script.
  12. Added console hotkeys: “Insert” to paste the text currently saved in clipboard into the text input field, “Delete” to delete the current text that is entered in the text input field and “End” to scroll down to the recently added console item.
  13. Added natives: _TASK_EXTEND_ROUTE, _TASK_DRIVE_POINT_ROUTE_ADVANCED, _TASK_PLAY_ANIM, _TASK_PLAY_ANIM_SECONDARY, _TASK_PLAY_ANIM_SECONDARY_IN_CAR, _TASK_PLAY_ANIM_SECONDARY_NO_INTERRUPT, _TASK_PLAY_ANIM_SECONDARY_UPPER_BODY, _TASK_PLAY_ANIM_UPPER_BODY, _TASK_PLAY_ANIM_WITH_ADVANCED_FLAGS, _TASK_PLAY_ANIM_WITH_FLAGS, GET_BLIP_INFO_ID_TYPE, GET_BLIP_INFO_ID_DISPLAY, GET_BLIP_INFO_ID_CAR_INDEX, GET_BLIP_INFO_ID_PED_INDEX, GET_BLIP_INFO_ID_OBJECT_INDEX, GET_BLIP_INFO_ID_PICKUP_INDEX, GET_BLIP_SPRITE, GET_STRING_FROM_HASH_KEY, START_CAR_FIRE, START_CHAR_FIRE, START_SCRIPT_FIRE, REMOVE_PTFX_FROM_OBJECT, SET_PED_FIRE_FX_LOD_SCALER, GET_NEXT_BLIP_INFO_ID, START_PTFX, START_PTFX_ON_PED, START_PTFX_ON_PED_BONE, START_PTFX_ON_VEH, START_PTFX_ON_OBJ_BONE, UPDATE_PTFX_TINT and REMOVE_PTFX.
  14. Added a Vector3 overload for natives: SET_OBJECT_ROTATION, GET_INTERIOR_AT_COORDS, POINT_CAM_AT_COORD, SET_CAM_DOF_FOCUSPOINT, SET_CAM_POS, SET_CAM_ROT, DRAW_LIGHT_WITH_RANGE, DRAW_SPHERE, GET_SCRIPT_FIRE_COORDS, CREATE_MONEY_PICKUP, CREATE_PICKUP, CREATE_PICKUP_ROTATE, CREATE_PICKUP_WITH_AMMO, GET_PICKUP_COORDINATES, GET_SAFE_PICKUP_COORDS, CREATE_EMERGENCY_SERVICES_CAR, CREATE_EMERGENCY_SERVICES_CAR_RETURN_DRIVER and CREATE_EMERGENCY_SERVICES_CAR_THEN_WALK.
  15. Added a Vector2 out attribute for natives: GET_HELP_MESSAGE_BOX_SIZE, GET_PHYSICAL_SCREEN_RESOLUTION, GET_SCREEN_RESOLUTION and GET_TEXTURE_RESOLUTION.
  16. Re-added old console and notifications drawing method so incase of the dxhook failes, the console and notifications will still be visible (Although only in-game).
  17. Expanded CPhysical class.
  18. Got the MARK_CHAR_AS_NO_LONGER_NEEDED, MARK_CAR_AS_NO_LONGER_NEEDED, MARK_MISSION_TRAIN_AS_NO_LONGER_NEEDED and MARK_OBJECT_AS_NO_LONGER_NEEDED native functions to work.
  19. Renamed, moved and changed the “OnWndMessage” event from CGame class to RAGE class. You can now return a boolean from the “OnWndProcMessageReceived” event which will say if you want to stop GTA IV from receiving windows messages.
  20. Fixed weird behaviour when trying to go through the recent console commands you’ve entered.
  21. Fixed IS_CHAR_PLAYING_ANIM native.
  22. The console now only scrolls down to the last added item when: You pressed the “End” key, the console gets opened or if you manually entered text and pressed “Enter”.
  23. Updated XML comments.
Edited by ItsClonkAndre
  • Like 3
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072136542
Share on other sites

ItsClonkAndre

IV-SDK .NET updated to version 0.9.1!

A quick little update in which i added 2 more native functions that can be useful to some people (An upcoming update to my IV Coding Library will include these 👀).

 

Changelog

  1. Added natives: GET_NUMBER_OF_FIRES_IN_RANGE and GET_NUMBER_OF_FIRES_IN_AREA.
  • Like 2
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072136596
Share on other sites

On 10/22/2022 at 4:06 PM, ItsClonkAndre said:

⚠️ Does not work properly when having dxvk installed (Drawing will not be available due to failure of creating dummy device).

Will the DXVK issue will be fix?

 

On 5/10/2023 at 6:11 PM, ItsClonkAndre said:

You can create one if you like, or you can post another comment in here with a list of SHDN Mods that you would like to see ported over to IV-SDK .NET. You can always edit your post if you have more ideas 🙂

Dunno what i would prefer tho, a dedicated topic or people posting comments in here asking for mods to be ported 🤔 Both works!

Also, I made a Dedicated Topic for the list of scripts that needed to ported.

 

Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072139312
Share on other sites

On 5/10/2023 at 8:11 PM, ItsClonkAndre said:

You can post another comment in here with a list of SHDN Mods that you would like to see ported over to IV-SDK .NET. You can always edit your post if you have more ideas 🙂

Fixed or realisticly improved versions of

 

Assasination Mod ;

Bleed and Heal ;

Arrest Warrant ;

Pick Ups 2.0 ;

Real Reload ;

Realistic Fuel Mod

Player Euphoria ;

for a play through,

 

maybe

Jerry Can Mod ;

Bicycle Mod;

for fun ingame,

 

are the Mods i would love to see ported to IVSDKDN. 😁

  • Best Bru 1
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072140751
Share on other sites

  • 1 month later...
ItsClonkAndre

IV-SDK .NET updated to version 0.9.2!

 

Changelog

  1. Added “eVigilanteCrimeType” enum for TRIGGER_VIGILANTE_CRIME native.
  2. Added “eNaturalMotionMessageID” and “eNaturalMotionStringID” enums for the NaturalMotion natives.
  3. Added GetUIntPtr and FromPointer functions to CObject class.
  4. Added Natives: SET_CAR_ON_GROUND_PROPERLY, GET_VEHICLE_COMPONENT_INFO, GET_CLOSEST_CAR, OPEN_SEQUENCE_TASK, IS_THIS_PRINT_BEING_DISPLAYED and LOAD_ALL_PATH_NODES.
  5. Added Vector3 overload for natives: TRIGGER_VIGILANTE_CRIME, CLEAR_AREA, CLEAR_AREA_OF_CARS, CLEAR_AREA_OF_CHARS, CLEAR_AREA_OF_COPS, CLEAR_AREA_OF_OBJECTS, EXTINGUISH_FIRE_AT_POINT, ADD_EXPLOSION and SET_NM_MESSAGE_VEC3.
  6. Added nullptr check to CVehicle.Driver property.
  7. Added DisablePlayerControlWhenOpen setting to Console section of the IVSDKDotNet config.ini file.
  8. Fixed parameters of native: _TASK_START_SCENARIO_AT_POSITION and SET_RADAR_ZOOM.
  9. Fixed CPed.WeaponData.WeaponObject always returning a CObject instance even tho it could be nullptr.
  • Like 3
Link to comment
https://gtaforums.com/topic/986510-iv-sdk-net/#findComment-1072162723
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.