Jump to content

Recommended Posts

  • 2 weeks later...

Hi,

 

I have a little problem. I'm trying to use this inGame trainer, but it will crash my gta ;0 I've installed Asi loader and this Script Hook right but it will give me "gta iv has stopped working" -error. There's nothing special in asilog, but in script hook log there's this text:

 

 

Log start: Thu Aug 19 21:10:56 2010-----------------------------------------------[iNFO] GTA IV Script Hook 0.5.1 - © 2009, Aru - Initialized[iNFO] Process base address: 0xee0000[iNFO] Auto detecting game version[iNFO] Using game version 1.0.3[iNFO] [inGame Trainer] Thread started[WARN] [inGame Trainer] Thread instance is being deleted while still hooked[iNFO] [inGame Trainer] Thread killed[iNFO] Script Hook - Shutdown

 

 

without ingamer trainer files in my gta directory it doesn't crash. I've tried this with 1.5.0 version of script hook also but it doesn't work either sad.gif I have no idea what's wrong here and why does it keeps crashing dozingoff.gif Anybody has any ideas?

 

Sorry for my english biggrin.gif

 

problem solved with an older version of script hook :0

Edited by woncler
Link to comment
https://gtaforums.com/topic/390582-c-script-hook/page/51/#findComment-1060089410
Share on other sites

iriedreadlock23

Hi!

 

It's been along time since i've posted on this web site. I am working on advanced NPC script, where they would spawn all over the LC. I have many advanced functions, many coming from on of my old mods from february 2009.

 

Now, what i need is a way to use Metadata on various Pedestrians used by my code to distiguish them from other NPC's, to get them to have a sort of memory. Also i need it so i can search trough NPC's much easier/faster. I have declared and created xPed as new pedestrian and i have done this as the code suggests.. I am using VisualBasic 2010.

 

WRITE:/// xPed.Metadata.Respect = "blahblah"

 

SEARCH:/// xPed.Metadata.Contains("Respect") -- correct?

 

READ: /// myData = xPed.Metadata.Respect

 

Can you explain if i am doing something wrong.

 

 

Link to comment
https://gtaforums.com/topic/390582-c-script-hook/page/51/#findComment-1060095078
Share on other sites

guywhoknowscollstuff

SCRIPTHOOK 0.5.1 SDK/DEVLOADER LINKS ARE DOWN, NEED SRC CODE accidentally had caps on but im not gonna retype all that

 

Quote from another .net scripthook which uses this scripthook"

 

"Is this dead???? Can somebody recompile this to work with the latest scripthook? I dont have aru's SDK for the version that works with gta4 patch 7 the 1.0.7 cuz that site is down and there are literally NO mirrors for the latest SDK like wth. Cant even recode it for the latest scripthook.dll if i wanted to. If anyone has the latest scripthook sdk guess u could either recode this to work with the 0.5.1 scripthook yourself or upload the sdk for scripthook 0.5.1"

Link to comment
https://gtaforums.com/topic/390582-c-script-hook/page/51/#findComment-1060101130
Share on other sites

but SDK really need to be updated, becouse in ScriptingEnums.h missing a lot of thinks, for example pickups :l

But you could of course do the work yourself, instead of expecting other people to do the work for you.

 

It's not really difficult either, you just need to use ints, and do a trial and error to see which pickups are which smile.gif

 

 

Link to comment
https://gtaforums.com/topic/390582-c-script-hook/page/51/#findComment-1060101719
Share on other sites

Every download link broken.

 

Anyway...

I am trying to find the right scripthook.dll + scripthookdotnet.asi to run both trainer and real traffic spawn.

 

None of the scripthooks seem to work except the ones which come with the downloads.

 

I want a scripthook which will work with both trainer and real traffic spawn.

 

Game Version 1.0.4.0

 

Suggestions?

 

EDIT: I think the problem is that one uses a C++ scripthook.dll and the other doesn't..?

Edited by DeathFrogg
Link to comment
https://gtaforums.com/topic/390582-c-script-hook/page/51/#findComment-1060101840
Share on other sites

But you could of course do the work yourself, instead of expecting other people to do the work for you.

It's not really difficult either, you just need to use ints, and do a trial and error to see which pickups are which smile.gif

WTF ? work for me ? bullsh*ts...this is Aru´s script hook, Aru´s work and pickups and other thinks missing him...

so i can still trying, but i really dont have a lot of time...

Link to comment
https://gtaforums.com/topic/390582-c-script-hook/page/51/#findComment-1060102067
Share on other sites

But you could of course do the work yourself, instead of expecting other people to do the work for you.

It's not really difficult either, you just need to use ints, and do a trial and error to see which pickups are which smile.gif

WTF ? work for me ? bullsh*ts...this is Aru´s script hook, Aru´s work and pickups and other thinks missing him...

so i can still trying, but i really dont have a lot of time...

And you recon he does have the time ? He provided us with a working scritphook, he has no obligation whatsoever to also document the whole game...

 

 

Link to comment
https://gtaforums.com/topic/390582-c-script-hook/page/51/#findComment-1060102146
Share on other sites

Accountclosed

 

Every download link broken.

 

Anyway...

I am trying to find the right scripthook.dll + scripthookdotnet.asi to run both trainer and real traffic spawn.

 

None of the scripthooks seem to work except the ones which come with the downloads.

 

I want a scripthook which will work with both trainer and real traffic spawn.

 

Game Version 1.0.4.0

 

Suggestions?

 

EDIT: I think the problem is that one uses a C++ scripthook.dll and the other doesn't..?

I have the somehow same problem.

 

I use:

- GTA IV 1.0.4.0 (ENBseries addicted)

- .NET Scripthook v1.7.1.6

- C++ Scripthook 0.4.0

 

I experience problems when using mods (LCPD First response, Trainers etc.) Because of the old C++ Scripthook.

 

If I try to use C++ Scripthook 0.5.0 or 0.5.1 the game crashes (They aren't compatible with GTA IV 1.0.4.0 - I know)

 

Is there a possibility that compatibility between C++ Scripthook 0.5.1 and GTA IV 1.0.4.0 could be made?

 

When I use:

- GTA IV 1.0.6.0 (1.0.7.0 Is the newest)

- .NET Scripthook v1.7.1.6 (Newest)

- C++ Scripthook 0.5.1 (Newest)

 

I experience NO problems at all, except that I can't use ENBseries, which is why I want this to work on 1.0.4.0.

Edited by Hypertenzion
Link to comment
https://gtaforums.com/topic/390582-c-script-hook/page/51/#findComment-1060103705
Share on other sites

You could always use an older version of scripthook, and an older version of first response, or whatever trainer you are trying to use.

 

Allthough most trainers based upon this hook will just work with the older scripthook.dll.

 

 

Link to comment
https://gtaforums.com/topic/390582-c-script-hook/page/51/#findComment-1060103727
Share on other sites

Accountclosed

 

You could always use an older version of scripthook, and an older version of first response, or whatever trainer you are trying to use.

 

Allthough most trainers based upon this hook will just work with the older scripthook.dll.

An older version of C++ Scripthook is not an option, since the mods I use, use the newest (0.5.1). Neither is using older version of mods (buggy and lacking features).

 

If 0.5.1 were compatible with older versions of GTA (1.0.3.0+1.0.4.0) we would all be able to enjoy our mods.

Edited by Hypertenzion
Link to comment
https://gtaforums.com/topic/390582-c-script-hook/page/51/#findComment-1060103867
Share on other sites

^ no idea what's up with that webserver, added a mirror ..

 

Download Version 0.5.1 (Redistributable)

 

Download Version 0.4.0 (Development Kit)

can I get a .5

There isn't a sdk version 0.5, these two are the latest available.

 

 

Link to comment
https://gtaforums.com/topic/390582-c-script-hook/page/51/#findComment-1060111484
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.