Quantcast

Jump to content

» «
Photo

[GTAIV|REL|SRC] C++ Script Hook

1,813 replies to this topic
hunter316
  • hunter316

    Player Hater

  • Members
  • Joined: 25 Apr 2010
  • None

#1801

Posted 06 August 2017 - 02:30 PM

 

Could you also make it compatible with EFLC 1.1.3.0?

 

 

 

 

Actually, yes. I modified avail's scripthookhook so it also patches EFLC1.1.3.0 - just had to adjust some offsets. Beware, it's barely tested, but I don 't see why it should work any less,  apart from the known problems stated in my earlier post. Same download url.    

 

 

Thank you, everything seem to work except I'm having problems with the Simple Native Trainer. The trainer itself freezes after picking a couple of options and can't be used. Anyone else having this problem?


redddor
  • redddor

    Tittie Sprinkles

  • Members
  • Joined: 17 Jul 2017
  • Norway

#1802

Posted 07 August 2017 - 05:31 AM

   


 

Thank you, everything seem to work except I'm having problems with the Simple Native Trainer. The trainer itself freezes after picking a couple of options and can't be used. Anyone else having this problem?

 

Spawning cars/objects/peds doesn't work, or are you running into any other problems?

  


Zolika1351
  • Zolika1351

    Ladies, hide your titties!

  • Members
  • Joined: 16 Jun 2014
  • Hungary

#1803

Posted 07 August 2017 - 07:57 AM

I'm hoping that sjaak327 sees this and makes a modified version of his trainer that has the same anti-freeze in Model, Ped, Object spawning and Neons as in Car spawning so the trainer doesn't freeze permanently like it does now.


Zolika1351
  • Zolika1351

    Ladies, hide your titties!

  • Members
  • Joined: 16 Jun 2014
  • Hungary

#1804

Posted 08 August 2017 - 11:11 AM Edited by Zolika1351, 08 August 2017 - 11:12 AM.

Sorry for asking so much, but could you possibly get the .NET ScriptHook to work? I tried to do it myself but when building it in Visual Studio I got this error: LNK1181: cannot open input file 'Lib\x86\d3dx9.lib'

Also it seems to have some addresses for different versions and a way to get them for 1.0.8.0 so maybe it could be more compatible than the normal ScriptHook is?

 

Memoryaccess.h:

 

// IMPORTANT: EASY way to get the adresses! Run "FunctionAddressScript" or get adresses of object script function manually (subtract baseAddress).
// Then open IDA Pro and jump to the adresses. Enter the inner function (usually first and only CALL).
// In the inner function, first call usually takes the index and THE POOL ADDRESS)
// funcs: GET_CAR_HEALTH, GET_CHAR_HEALTH, SET_OBJECT_VISIBLE, GET_BLIP_COLOUR
 
EDIT: also sorry for double post I actually forgot that I posted already

Zolika1351
  • Zolika1351

    Ladies, hide your titties!

  • Members
  • Joined: 16 Jun 2014
  • Hungary

#1805

Posted 28 August 2017 - 07:07 PM Edited by Zolika1351, 29 August 2017 - 10:04 AM.

Legendary triple hack here everyone, I just wrote an SCO to load the first 2 pages of Model Spawning and the entirety of Car Spawning!

It does completely fill up your VRAM after a few loads though, but it clears out 30 seconds after each time you load the SCO.

https://mega.nz/#!nE...qE-_-rqc3GtPCug

Usage:

Try spawning the model/car you want, then after pressing numpad 5, press whatever key is Skorpro's SCO loader. I set it to Page Down in the ini and by default it's F12 (123 in ini).

Wait about 5-10 seconds for the game to go through the list of models to request and then it should spawn.

 

Thanks to Skorpro for his SCO loader so I didn't have to include some shady mod loader thing.

  • Skorpro likes this

sjaak327
  • sjaak327

    Boss

  • Feroci
  • Joined: 01 Dec 2008
  • None
  • Modding Contribution Award

#1806

Posted 30 August 2017 - 05:35 PM

Hold on, if request_model does not work, that means you can't spawn any peds, vehicles or objects ? Am I reading this wrong ?


B Dawg
  • B Dawg

    The Mystic Peephole

  • Members
  • Joined: 15 Dec 2008
  • Bosnia-and-Herzegovina

#1807

Posted 31 August 2017 - 09:05 AM Edited by B Dawg, 31 August 2017 - 09:05 AM.

If the peds/vehicles/objects are already loaded (anything around the player), then he can. The ones that aren't loaded, he loads in with an SCO script, and then spawns them via Trainer.

  • FeelAlone likes this

sjaak327
  • sjaak327

    Boss

  • Feroci
  • Joined: 01 Dec 2008
  • None
  • Modding Contribution Award

#1808

Posted 01 September 2017 - 07:17 PM

Ok

 

If the peds/vehicles/objects are already loaded (anything around the player), then he can. The ones that aren't loaded, he loads in with an SCO script, and then spawns them via Trainer.

 

That's a rather convoluted work-around. I was requested to update trainer for this, but I don't think I am going to bother. To be honest, WHY did anyone upgrade in the first place ? What does 1.0.8 offer in terms of benefits over 1.0.7 ? 


zanesix
  • zanesix

    Stupid Malaka

  • Members
  • Joined: 02 May 2015
  • United-States

#1809

Posted 01 September 2017 - 09:06 PM

Allegedly it fixes performance for some people, but other than that it just makes mods incompatible. Way easier to just downgrade and forget 1.0.8 exists.

B Dawg
  • B Dawg

    The Mystic Peephole

  • Members
  • Joined: 15 Dec 2008
  • Bosnia-and-Herzegovina

#1810

Posted 02 September 2017 - 09:17 AM Edited by B Dawg, 02 September 2017 - 09:23 AM.

Well, there's also the fact that all mod checks are removed for the newest versions, and you no longer get separated into mod only lobbies for changing any data file or having any asi mod, which is a plus for me (I can have modified carcols for races, have cars spawn with gang only extras, etc...).

I only keep EFLC at 1120 since random players on it are very rare.


FeelAlone
  • FeelAlone

    Player Hater

  • Members
  • Joined: 05 Sep 2017
  • Thailand

#1811

Posted 01 October 2017 - 07:39 AM Edited by FeelAlone, 01 October 2017 - 10:41 AM.

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.

 

sorry my eng it's badly.


FeelAlone
  • FeelAlone

    Player Hater

  • Members
  • Joined: 05 Sep 2017
  • Thailand

#1812

Posted 01 October 2017 - 08:22 AM

If the peds/vehicles/objects are already loaded (anything around the player), then he can. The ones that aren't loaded, he loads in with an SCO script, and then spawns them via Trainer.

BDawg you can make [[[Mod]]] you can make friend Backup same >>>>>> TLAD: Tough Backup to [close friend] to gta iv [Freind For Niko Bellic]>>>Jacob Hughes  and >>>TBOGT Gta IV The gay tony ballad [Friend of Luis Lopez]  >>>Armando Torres & Henrique Bardas please.


EDU.GAMEYR291
  • EDU.GAMEYR291

    Player Hater

  • New Members
  • Joined: 28 Oct 2017
  • Brazil

#1813

Posted 28 October 2017 - 08:14 PM Edited by EDU.GAMEYR291, 28 October 2017 - 08:14 PM.

   


 

Thank you, everything seem to work except I'm having problems with the Simple Native Trainer. The trainer itself freezes after picking a couple of options and can't be used. Anyone else having this problem?

 

Spawning cars/objects/peds doesn't work, or are you running into any other problems?

  

Man, its works correctly in my normal GTA IV, but when l put the EFLC version (1.1.3.0) its simply dont work, it dont crash nothing, it dont appear the Menu. Please help me


spartaque12
  • spartaque12

    Peon

  • Members
  • Joined: 11 Feb 2012
  • Ukraine

#1814

Posted 2 weeks ago Edited by spartaque12, 2 weeks ago.

Zolika1351

could u make ability to load scripts from folder "scripts" itself , i mean dll scripts





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users