Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (84,693 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

HazardX

[BETA] GTAIV .Net ScriptHook

Recommended Posts

Cyron43

Will you make a .net scripthook for GTA V as well?

Share this post


Link to post
Share on other sites
Rugz007

If they do ....it would be AWESOME

Share this post


Link to post
Share on other sites
Cyron43

Hmm no reply yet. I consider that as a bad sign. :panic:

Share this post


Link to post
Share on other sites
vorotkov

How to set focus to the Form after starting Form1.Show() without clicking the mouse on the Form?

Without the active focus on the form processing KeyUp event occurs.

Imports SystemImports System.DrawingImports System.Windows.FormsImports GTAPublic Class GTA_Forms    Inherits Script    Public Sub New()        Wait(1000)    End Sub    Private Sub Main_KeyUp(ByVal sender As Object, ByVal e As GTA.KeyEventArgs) Handles MyBase.KeyUp        If e.Key = Keys.D1 Then            Dim Form1 As New Form1_Window            Form1.Show()        End If    End SubEnd ClassPublic Class Form1_Window   Inherits GTA.Forms.Form   Public Sub New()        'Me.KeyPreview = True   'Not work   End Sub    Private Sub Main_KeyUp(ByVal sender As Object, ByVal e As GTA.KeyEventArgs) Handles MyBase.KeyUp        If e.Key = Keys.D2 Then Me.Close    End SubEnd Class

Share this post


Link to post
Share on other sites
Stefanex

I have a problem:

2015-04-03 21:15:29 - Initializing ScriptHookDotNet v1.7.1.7 BETA (on GTA IV version 1.0.0.4 with C++ Hook version 0.4.0)
2015-04-03 21:15:29 - WARNING: Your C++ ScriptHook version 0.4.0 and GTA IV version 1.0.0.4 are NOT known to be compatible! Use C++ ScriptHook version 0.5.1 or the newest version of the game AND the C++ ScriptHook instead!
2015-04-03 21:16:53 - Direct3D device created!
2015-04-03 21:16:54 - SEARCHING FOR SCRIPTS...
2015-04-03 21:16:54 - Loading scripts in Assembly 'scripts\Bicycle.net.dll' ...
2015-04-03 21:16:55 - ...found script 'Bicycle'!
2015-04-03 21:16:55 - Loading scripts in Assembly 'scripts\cameracontrol.net.dll' ...
2015-04-03 21:16:55 - ...found script 'cameras.cameraScript'!
2015-04-03 21:16:55 - Loading scripts in Assembly 'scripts\Fireworks.net.dll' ...
2015-04-03 21:16:55 - ...found script 'Fireworks'!
2015-04-03 21:16:55 - Loading scripts in Assembly 'scripts\JulioNIB.Scripts.net.dll' ...
2015-04-03 21:16:55 - ...found script 'JulioNIBScriptsMenu'!
2015-04-03 21:16:55 - Loading scripts in Assembly 'scripts\Selfie.net.dll' ...
2015-04-03 21:16:55 - ...found script 'Selfie'!
2015-04-03 21:16:55 - Loading scripts in Assembly 'scripts\SkateIV.net.dll' ...
2015-04-03 21:16:55 - ...found script 'SkateIV'!
2015-04-03 21:16:55 - Loading scripts in Assembly 'scripts\Umbrella.net.dll' ...
2015-04-03 21:16:55 - ...found script 'umbrellaCS.umbrella'!
2015-04-03 21:16:55 - ...found script 'umbrellaCS.ManualFuncton'!
2015-04-03 21:16:55 - Loading dynamic scriptfile 'scripts\Arrest.CS' ...
2015-04-03 21:16:58 - ...found script 'Arrest.Arrest'!
2015-04-03 21:16:58 - Loading dynamic scriptfile 'scripts\BasicNeeds.cs' ...
2015-04-03 21:16:58 - ...found script 'Basic_Needs.Basic_Needs'!
2015-04-03 21:16:58 - Loading dynamic scriptfile 'scripts\d_Crawl.CS' ...
2015-04-03 21:16:58 - ...found script 'd_Crawl.d_Crawl'!
2015-04-03 21:16:58 - Loading dynamic scriptfile 'scripts\LSD.CS' ...
2015-04-03 21:16:59 - ...found script 'LSD.LSD'!
2015-04-03 21:16:59 - Loading dynamic scriptfile 'scripts\PickupProps.CS' ...
2015-04-03 21:16:59 - ...found script 'PickupProps.PickupProps'!
2015-04-03 21:16:59 - Loading dynamic scriptfile 'scripts\Smoking.cs' ...
2015-04-03 21:16:59 - ...found script 'TestScriptCS.Smoking'!
2015-04-03 21:16:59 - Loading dynamic scriptfile 'scripts\TEMP.CS' ...
2015-04-03 21:17:00 - ...found script 'Temp.Temp'!
2015-04-03 21:17:00 - Loading dynamic scriptfile 'scripts\Trunk.cs' ...
2015-04-03 21:17:00 - ...found script 'Trunk.Trunk'!
2015-04-03 21:17:00 - DONE! 16 valid scripts found!
2015-04-03 21:17:00 - STARTING SCRIPTS...
2015-04-03 21:17:00 - INFO: Phone number checks are not available!
2015-04-03 21:17:00 - ...successfully started script 'Temp.Temp'!
2015-04-03 21:17:00 - ...successfully started script 'Arrest.Arrest'!
2015-04-03 21:17:00 - ...successfully started script 'umbrellaCS.ManualFuncton'!
2015-04-03 21:17:00 - ...successfully started script 'SkateIV'!
2015-04-03 21:17:00 - ...successfully started script 'Selfie'!
2015-04-03 21:17:00 - ...successfully started script 'Fireworks'!
2015-04-03 21:17:00 - ...successfully started script 'cameras.cameraScript'!
2015-04-03 21:17:01 - ...successfully started script 'Trunk.Trunk'!
2015-04-03 21:17:01 - ...successfully started script 'PickupProps.PickupProps'!
2015-04-03 21:17:01 - ...successfully started script 'LSD.LSD'!
2015-04-03 21:17:01 - ...successfully started script 'd_Crawl.d_Crawl'!
2015-04-03 21:17:01 - ...successfully started script 'Basic_Needs.Basic_Needs'!
2015-04-03 21:17:02 - Error during NetHook.Tick:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Scripting.NativeContext2.Invoke(SByte* name, NativeContext2* cxt)
at GTA.Native.Function.BaseCall(String Name, Parameter[] Arguments)
at GTA.Native.Function.Call(String Name, Parameter[] Arguments)
at GTA.Native.Template.Invoke()
at GTA.ScriptDomain.RemoteEvent(RemoteEventArgs ev)
at GTA.ScriptDomain.ProcessRemoteEvents()
at GTA.ScriptDomain.Tick()
at GTA.NetHook.Tick()
can you help me, please????? :panic::panic::panic:
Edited by Stefanex

Share this post


Link to post
Share on other sites
harpando

i know i'm late to the party, but i have several questions to ask hazardx about scripthook?

 

first:

- how to change character model's outfit (randomize outfit doesn't seem to work properly and no other alternative could be found)

 

second:

- how to scale down marker (or blip) - the only way i found to add a marker is by blip and when i change it's scale, only the minimap marker is affected, not the world marker

 

and also a (possible) bug i found: when i set the interval to negative number, ticks don't stop triggering

Share this post


Link to post
Share on other sites
whydontlose

sr, im bad in english

but i have a question

how to use C# to know my character is aiming?

Share this post


Link to post
Share on other sites
Lord Trolldemort

I got a problem?

 

I seem to have an error with some scripts. I have been trying to fix it for ages, to no avail.

 

I have installed many scripts, the bank account one, weapon weight, pickups e.t.c. The problem is, for these scripts the text that is supposed to appear, is not working.

The bank account script, is supposed to bring about an interface, out of text. But it doesn't appear. The functions work, but the text is invisible. I found the problem in the log.

 

//LOG////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

2015-09-22 17:07:54 - Error during Direct3D rendering:
System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.Direct3D.DrawString(String Text, Rectangle area, TextAlignment alignment, Int32 Color, Int32 FontID)
at GTA.Graphics.DrawText(String Text, RectangleF Area, TextAlignment Alignment, Color Color, Font Font)
at GTA.Graphics.DrawText(String Text, Single X, Single Y)
at GTA.NetHook.Draw()
at GTA.Direct3D.OnRender()
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Does anyone know a way to fix this? Please answer ASAP.
Thanks for reading

Share this post


Link to post
Share on other sites
iriedreadlock23

This error happens after calling native functions for 6,7 hours, for example DISPLAY_TEXT_WITH_LITERAL_STRING. It seems that issue is in GetStringPointer function in ScripthookDotNet code. After reloading scripts all is back to normal.

                System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.                         at System.Collections.Generic.List`1.set_Capacity(Int32 value)                         at System.Collections.Generic.List`1.EnsureCapacity(Int32 min)                         at System.Collections.Generic.List`1.Add(T item)                         at GTA.Native.Function.GetStringPointer(String input)                         at GTA.Native.Parameter.op_Implicit(String source)

Share this post


Link to post
Share on other sites
jpm1

is there a command to freeze the weather

Share this post


Link to post
Share on other sites
ChinaLino

How about a scripthook for GTA IV 1.0.8.0 :D

Share this post


Link to post
Share on other sites
Hullian111

Scripthook isn't working, I've reinstalled it wrong, or TrafficFlow isn't working, because...well...it isn't working.

Share this post


Link to post
Share on other sites
ChinaLino

Scripthook isn't working, I've reinstalled it wrong, or TrafficFlow isn't working, because...well...it isn't working.

It's the new patch, hopefully enventually he will release a new version of Scripthook for the current patch.

Share this post


Link to post
Share on other sites
65536

 

Scripthook isn't working, I've reinstalled it wrong, or TrafficFlow isn't working, because...well...it isn't working.

It's the new patch, hopefully eventually he will release a new version of ScriptHook for the current patch.

 

 

I don't know, but it's better if someone send a message to @AlexanderBlade about the new GTA IV's patch about if he can make a new normal ScriptHook for IV / EFLC (and might also Hazards' ScriptHook .NET) from scratch which to replace their outdated versions since:

 

1. This ScriptHook .NET (and the original ScriptHook too as well) still have various nasty bugs, and also their authors wasn't active on GTAForums for more than an year here now;

2. Also, seems the normal ScriptHook's author @aru most likely doesn't allow anyone to back engineering his partially broken (and still BETA) plugin without anyone ask him first, which means without able to contact him for permission, we're in fact stuck! Unfortunately now appears - cannot contact current ScriptHook's author @aru (he isn't active anymore and he might also NO LONGER WORKING on this anymore) - NO ONE from the currently active modders here CAN UPDATE this to current patch without getting author's permission (which sadly appears impossible now since @aru is completely vanished)...

 

I think beside the variant IV's modding community to ask @AlexanderBlade about he to make a new ScriptHook for GTA IV 1.0.8.0 / GTA EFLC 1.1.3.0, we'll will not be able to use any script mods anymore for these games. :cry:

Edited by 65536

Share this post


Link to post
Share on other sites
nkjellman

 

 

Scripthook isn't working, I've reinstalled it wrong, or TrafficFlow isn't working, because...well...it isn't working.

It's the new patch, hopefully eventually he will release a new version of ScriptHook for the current patch.

 

 

I don't know, but it's better if someone send a message to @AlexanderBlade about the new GTA IV's patch about if he can make a new normal ScriptHook for IV / EFLC (and might also Hazards' ScriptHook .NET) from scratch which to replace their outdated versions since:

 

1. This ScriptHook .NET (and the original ScriptHook too as well) still have various nasty bugs, and also their authors wasn't active on GTAForums for more than an year here now;

2. Also, seems the normal ScriptHook's author @aru most likely doesn't allow anyone to back engineering his partially broken (and still BETA) plugin without anyone ask him first, which means without able to contact him for permission, we're in fact stuck! Unfortunately now appears - cannot contact current ScriptHook's author @aru (he isn't active anymore and he might also NO LONGER WORKING on this anymore) - NO ONE from the currently active modders here CAN UPDATE this to current patch without getting author's permission (which sadly appears impossible now since @aru is completely vanished)...

 

I think beside the variant IV's modding community to ask @AlexanderBlade about he to make a new ScriptHook for GTA IV 1.0.8.0 / GTA EFLC 1.1.3.0, we'll will not be able to use any script mods anymore for these games. :cry:

 

Our best bet for now is to do what we do on GTA San Andreas. Make a downgrader. That is till someone makes a new Script Hook.

Share this post


Link to post
Share on other sites
AcD08

Then, No scripthook for 1.0.8.0 T_T

Share this post


Link to post
Share on other sites
Nicolas Crazy

plss update it for 1.0.8.0 and 1.1.3.0

Share this post


Link to post
Share on other sites
asilas

f*ck license just update scripthook

Share this post


Link to post
Share on other sites
GTAGAMERVIDEOS

CAN YOU MOD IT TO WORK ON PATCH 1.8

Share this post


Link to post
Share on other sites
SilverRST

CAN YOU MOD IT TO WORK ON PATCH 1.8

THE CREATOR OF GTAIV SCRIPTHOOK HASN'T BEEN ACTIVE TO UPDATE IT FOR PATCH 1.8

Share this post


Link to post
Share on other sites
Zolika1351

The C++ ScriptHook was (kind of) updated (by that I mean the ScriptHook got hooked into to enable 1.0.8.0 functionality), so can't someone do the same thing here?

Share this post


Link to post
Share on other sites
FeelAlone

who can tell team make new script hook please.

Please some people and who people can fix and how long to update scripthook.dll+scripthook.net.dll and dsound.dll to come for 1.0.8.0/1.1.3.0? for All old mod on game gta iv/eflc v.1.0.8.0/1.1.3.0 please.

Share this post


Link to post
Share on other sites
Rifelecnak

I just registered, some minutes ago, to comment on this... Because

 

I just installed GTA IV Complete Edition (STEAM) and updated to last game versions gta iv/eflc v.1.0.8.0/1.1.3.0 and

 

When I unpacked my mod packages backup to play and enjoy (like some years ago), then I figure out, ScripHook for IV is broken on this version (I'm running Windows 10) so some minutes ago I started some research...

 

I see now, "this crucial" tool, is abandoned by original author, who published the code, then another author vanished without notice at the end of 2013, but that is not the worse thing (because people evolve or change hobbies and interests)... Ohh my surprise comes when I realized that ScripHook is DEAD WTF... oh for Christ Shake, a key important tool on GTA IV modding killed because it seems author "patterns of coding" are a totally mess.. who don't like so it is difficult to make community-driven updates...

 

Now a lot of people on GTA IV modding would be orphans, or forced to stay on old version (maybe with conflicts on Windows 10 newest releases)

 

How this can be happening, a massive community, from years, brotherhood of great and powerful scripting and immersive mods like LCPDFR among others, a crucial framework base of modding development and execution ScripHook is badly programmed, badly development poorly-depending of "one man" who dissapear years ago... This is a shame...

 

Now with GTA V major developers will not interested on build from scratch a new ScripHook (Thanks to people who don't release work when they retire, or without proper statement before vanished.

 

I hope someone contact author or at least we could found a solution... GTA IV is a lot of ways better than GTA V... and there are beautiful scripting mods.

 

I am very angry now... retro gaming or modding is about freedom, it is essential legacy and open source, in some ways...

 

f*ckin' amnesia and Tábula Rasa of purges like this.

 

I am not and expert on GTA IV scripting, but (for people who knows about this stuff? What we could do from now on? To update and maintain this :'(

Edited by Rifelecnak

Share this post


Link to post
Share on other sites
Zolika1351

I just registered, some minutes ago, to comment on this... Because

 

I just installed GTA IV Complete Edition (STEAM) and updated to last game versions gta iv/eflc v.1.0.8.0/1.1.3.0 and

 

When I unpacked my mod packages backup to play and enjoy (like some years ago), then I figure out, ScripHook for IV is broken on this version (I'm running Windows 10) so some minutes ago I started some research...

 

I see now, "this crucial" tool, is abandoned by original author, who published the code, then another author vanished without notice at the end of 2013, but that is not the worse thing (because people evolve or change hobbies and interests)... Ohh my surprise comes when I realized that ScripHook is DEAD WTF... oh for Christ Shake, a key important tool on GTA IV modding killed because it seems author "patterns of coding" are a totally mess.. who don't like so it is difficult to make community-driven updates...

 

Now a lot of people on GTA IV modding would be orphans, or forced to stay on old version (maybe with conflicts on Windows 10 newest releases)

 

How this can be happening, a massive community, from years, brotherhood of great and powerful scripting and immersive mods like LCPDFR among others, a crucial framework base of modding development and execution ScripHook is badly programmed, badly development poorly-depending of "one man" who dissapear years ago... This is a shame...

 

Now with GTA V major developers will not interested on build from scratch a new ScripHook (Thanks to people who don't release work when they retire, or without proper statement before vanished.

 

I hope someone contact author or at least we could found a solution... GTA IV is a lot of ways better than GTA V... and there are beautiful scripting mods.

 

I am very angry now... retro gaming or modding is about freedom, it is essential legacy and open source, in some ways...

 

f*ckin' amnesia and Tábula Rasa of purges like this.

 

I am not and expert on GTA IV scripting, but (for people who knows about this stuff? What we could do from now on? To update and maintain this :'(

C++ ScriptHook is already usable http://gtaforums.com/topic/390582-gtaivrelsrc-c-script-hook/?p=1069729638

Edited by Zolika1351

Share this post


Link to post
Share on other sites
B Dawg

Considering that Scripthook was fixed, anyone can grab the source for Dotnet and do the same?

Share this post


Link to post
Share on other sites
Marcus101RR

Looks like 1.0.8.0 got released, and all they really did was remove the damn songs. Now we need a new scripthook...who even does this kind of bs? Oh right, only R*

Share this post


Link to post
Share on other sites
B Dawg
Posted (edited)

Looks like 1.0.8.0 got released, and all they really did was remove the damn songs. Now we need a new scripthook...who even does this kind of bs? Oh right, only R*

Eh, no? The music removal isn't a real patch, all it did is change files in audio folders, nothing in the game executable or anything to warrant a new version. Also, 1080 was released like, 1.5 years ago?

Edited by B Dawg

Share this post


Link to post
Share on other sites
Marcus101RR

 

Looks like 1.0.8.0 got released, and all they really did was remove the damn songs. Now we need a new scripthook...who even does this kind of bs? Oh right, only R*

Eh, no? The music removal isn't a real patch, all it did is change files in audio folders, nothing in the game executable or anything to warrant a new version. Also, 1080 was released like, 1.5 years ago?

 

 

People are saying that the owner no longer exists and this is why this won't update...who runs this site then and makes ScripthookV?

http://www.dev-c.com/gtav/scripthookv/

 

They even have a copyright at the bottom for both GTA4 and 5, but only 5 is up to date.

Share this post


Link to post
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

×

Important Information

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