Jump to content

[V|REL|HOOK] LUA Plugin for Script Hook V


headscript

Recommended Posts

What is the purpose of the trash.tif image (a simple white image) into the LUA plugin?!

Link to comment
Share on other sites

What is the purpose of the trash.tif image (a simple white image) into the LUA plugin?!

i just asked the person who uploaded it for me and who manages it for me

apperantly its just to increase the size of the zip

Link to comment
Share on other sites

Now that ScriptHook V has been updated with ~350 new Natives The LUA plugin needs another update itself ?

I've tried downloading the LUA plugin after the SH V update but it seems that the new natives aren't there as well... ?

Link to comment
Share on other sites

If you don't trust downloading the mod why would you trust what anyone here would have to say.... ?

Link to comment
Share on other sites

Hello, could anyone convert Szabo's Attach It! Mod

http://gtaforums.com/topic/798521-vwip-szabos-attach-it-mod-script-hook-lua/?p=1067640712

https://github.com/Alan-FGR/Attach-It--Mod/archive/master.zip
into asi file with adding switch on/off (this mod) with key numpad7?
I can't use it because it works only in lua v10 and I'm using lua v9 because another Szabo's mod - Persistance is working best in lua v9. and few another mods...Please...

Link to comment
Share on other sites

What's going on with the download page, it seems it's full of spam on the revision history and looks dodgy as hell.

Link to comment
Share on other sites

diamond-optic

What's going on with the download page, it seems it's full of spam on the revision history and looks dodgy as hell.

 

probably because its a wiki-style setup and probably allows people to easily edit the pages (always a huge attraction to spam)

..I just always grab it off the github page

 

 

on a side note......

 

i noticed the plugin hasnt been compiled on github in 22 days.. any chance to get a recompile to have changes made to the nativedb over the past few weeks?

Edited by diamond-optic
Link to comment
Share on other sites

thefiretitan

Which version should i use?

Link to comment
Share on other sites

headscript

What's going on with the download page, it seems it's full of spam on the revision history and looks dodgy as hell.

i dont see any spam on the wiki on the related pages (download,changelog) could u specify

 

 

What's going on with the download page, it seems it's full of spam on the revision history and looks dodgy as hell.

 

probably because its a wiki-style setup and probably allows people to easily edit the pages (always a huge attraction to spam)

..I just always grab it off the github page

 

 

on a side note......

 

i noticed the plugin hasnt been compiled on github in 22 days.. any chance to get a recompile to have changes made to the nativedb over the past few weeks?

 

no time currently also the build server is down currently and i dont have any money for it at current time

 

 

Which version should i use?

probably that one from github

Link to comment
Share on other sites

thefiretitan

 

Which version should i use?

probably that one from github

 

 

v9 or v10?

Link to comment
Share on other sites

 

 

 

probably because its a wiki-style setup and probably allows people to easily edit the pages (always a huge attraction to spam)

..I just always grab it off the github page

 

 

on a side note......

 

i noticed the plugin hasnt been compiled on github in 22 days.. any chance to get a recompile to have changes made to the nativedb over the past few weeks?

 

no time currently also the build server is down currently and i dont have any money for it at current time

 

 

 

 

 

I know you said that you don't have time currently to update the LUA plugin, but what about in the near future? There are many new natives that would add a lot of functionality to your plugin (such as paint fade) if you were able to update it.

 

Also, if you aren't going to be updating the plug-in anytime soon could you release an open source version of the LUA plugin so modders could at add the new natives they need for the time being?

Link to comment
Share on other sites

 

 

 

 

probably because its a wiki-style setup and probably allows people to easily edit the pages (always a huge attraction to spam)

..I just always grab it off the github page

 

 

on a side note......

 

i noticed the plugin hasnt been compiled on github in 22 days.. any chance to get a recompile to have changes made to the nativedb over the past few weeks?

 

no time currently also the build server is down currently and i dont have any money for it at current time

 

 

 

 

 

I know you said that you don't have time currently to update the LUA plugin, but what about in the near future? There are many new natives that would add a lot of functionality to your plugin (such as paint fade) if you were able to update it.

 

Also, if you aren't going to be updating the plug-in anytime soon could you release an open source version of the LUA plugin so modders could at add the new natives they need for the time being?

 

new natives are added automaticly by the build server

no human should touch it, not even me

 

and yea probably i can update it in the new future(end of july/start of august)

Link to comment
Share on other sites

Will this be updated for the recent update of Ill-Gotten Gains Part 2?

 

 

Does it not work with Ill-Gotten Gains Part 2? Because one or more of my mods are causing crashes on load, and I can't find out which one.. It seems to happen as soon as I use OpenIV.asi in combination with my other mods, though..

Link to comment
Share on other sites

elte_lucifer

Can you update it to get it working with the new update?

And thanks for this great mod!

Link to comment
Share on other sites

diamond-optic

Does it not work with Ill-Gotten Gains Part 2? Because one or more of my mods are causing crashes on load, and I can't find out which one.. It seems to happen as soon as I use OpenIV.asi in combination with my other mods, though..

disable the lua plugin, if crashes still happen then its not this causing them.. And also if it happens when you have the openiv.asi loaded then its probably a problem with something you changed in one of the rpf files. Did you re-install all your mods to the new update folder? because if you are still trying to use the old update folder then that is probably why you are crashing

 

it seems to work fine for me, havent noticed any of my scripts having any problems

Edited by diamond-optic
Link to comment
Share on other sites

Hello HeadScript.

 

LUA Plugin latest v10.1 doesnot support vehicle indicator functions such as turn signal scripts. Plz fix this issue!

Link to comment
Share on other sites

Hi when I am using this now with persistent vehicles cpu usage goes through the roof and get game stutters (even with min extended scaling).

 

Is this due to the gta 5 devs now adding junk code to slow down mods?

 

--edit--

 

downgraded to 1.24 but this isnt working now, is it for 1.26 only?

Edited by chrcoluk
Link to comment
Share on other sites

We need to wait for the LUA plugin to get updated. It's still in development and it will be updated but the progress it's rather slow.

Link to comment
Share on other sites

diamond-optic

this mod has been posted on GTAinside.com with the online bypass (also without credit to the real author of this)...

 

if youre not the one that posted it (i doubt it is since the same person posted a bunch of 'online' mods there in the past couple of days), i would suggest you report it as a 'stolen' mod

Edited by diamond-optic
Link to comment
Share on other sites

  • 2 weeks later...

Does it work on Windows 10?? It keep saying failed to load.. Worked on Windows 8.1

The same problem here, some mods don't work anymore with W10, but yes in W8.1.

Link to comment
Share on other sites

chinagreenelvis

Anyone know if there's a way to set game options using LUA? I'm trying to hide the radar under certain circumstances, but the game has a way of turning it back on. Even when it's done on the mod.tick(), there are frames where the radar comes back and then disappears again.

For reference, this is the code being used:

local GPSMod = {};function init()    UI.DISPLAY_RADAR(false);endfunction GPSMod.tick()    if (PED.IS_PED_RUNNING_MOBILE_PHONE_TASK(PLAYER.PLAYER_PED_ID())) then        UI.DISPLAY_RADAR(true);    else        UI.DISPLAY_RADAR(false);    endendreturn GPSMod; 

It would be much easier just to set the base game option "Hide Radar", but I'm not sure if LUA actually has this capability. If not, finding a workaround for the reappearance would help.

Link to comment
Share on other sites

diamond-optic

so the other day I reinstalled windows 7 x64 and im having problems with this mod now :(

 

It either crashes when the sdk console appears or occasionally I can get ingame but then it crashes after 10-15 seconds. Everything is fine if I remove this mod.

 

Ive got the Visual Studio 2013 x64 Redist, and as a matter of fact ive got x86 and x64 versions for 2005, 2008, 2010, 2012, 2013.. so that shouldnt be the problem...

 

 

anyone know of anything else I might need?

Link to comment
Share on other sites

so the other day I reinstalled windows 7 x64 and im having problems with this mod now :(

 

It either crashes when the sdk console appears or occasionally I can get ingame but then it crashes after 10-15 seconds. Everything is fine if I remove this mod.

 

Ive got the Visual Studio 2013 x64 Redist, and as a matter of fact ive got x86 and x64 versions for 2005, 2008, 2010, 2012, 2013.. so that shouldnt be the problem...

 

 

anyone know of anything else I might need?

The LUA plugin stopped working for me after a reinstall too, have not been able to fix it yet, been like these for some weeks now. Win7 also, upgraded to 10 2 days ago and still no luck. Post a solution if you happen to find one please!

Link to comment
Share on other sites

diamond-optic

yeah im confused by it.. before I reinstalled one of the things I did was taking screen shots of all my installed programs etc, and ive reinstalled everything that could possibly have any effect on it and still no luck..

 

wiped my gta v registry entries and im going to let gta reinstall overnight and see if that does anything

 

 

*edit*

 

well that didnt help at all lol.. But i found if I remove all the scripts from the addins folder, the game loads fine.. then if I put even a single script back in the addins folder and go back ingame and reload the lua scripts the game crashes.

 

 

 

i cant figure out what the hell is wrong lol

 

 

*edit 2*

 

after the game crashes, if I choose to restart it in safe mode it seems to work.. it runs in a little window but doesnt seem to crash. If i alt-enter and make it go full screen it crashes, if i try and change any graphic options ingame it crashes

 

 

*edit 3*

 

in the gta launcher.log file im seeing a bunch of errors:

 

 

[2015-08-14 14:05:50.062] [DISPLAY] Using DPI 96

[2015-08-14 14:05:50.142] [DISPLAY] File version 10000:1890004 (for E:\Games\Steam\steamapps\common\Grand Theft Auto V\GTA5.exe)

[2015-08-14 14:05:50.216] [DISPLAY] File version 10001:60001 (for C:\Program Files\Rockstar Games\Social Club\socialclub.dll)

[2015-08-14 14:05:50.285] [DISPLAY] File version 10000:1890002 (for E:\Games\Steam\steamapps\common\Grand Theft Auto V\GTAVLauncher.exe)

[2015-08-14 14:05:50.303] [DISPLAY] Version: |1.0.393.4|1.1.6.1|1.0.393.2|FSP

[2015-08-14 14:05:50.787] [DISPLAY] OS version: Major: 6, Minor: 1, Build: 7601, Platform: 2

[2015-08-14 14:05:50.965] [DISPLAY] Social Club initializing...

[2015-08-14 14:05:51.563] [DISPLAY] Attempting to create device...

[2015-08-14 14:05:51.572] [DISPLAY] Attempting to initialise DX9 COM object...

[2015-08-14 14:05:51.582] [DISPLAY] Window size: 690 x 496

[2015-08-14 14:05:51.602] [DISPLAY] Successfully created DX Device!

[2015-08-14 14:05:52.298] [DISPLAY] Geo: US

[2015-08-14 14:05:57.781] [DISPLAY] Launching game...

[2015-08-14 14:05:57.789] [DISPLAY] (path: E:\Games\Steam\steamapps\common\Grand Theft Auto V\GTA5.exe cmdline: "E:\Games\Steam\steamapps\common\Grand Theft Auto V\GTA5.exe")

[2015-08-14 14:08:25.460] [WARNING] Device lost.

[2015-08-14 14:08:25.460] [WARNING] Resetting device...

[2015-08-14 14:08:25.691] [WARNING] Reset failed with D3DERR_DEVICELOST.

[2015-08-14 14:08:43.457] [WARNING] Resetting device...

[2015-08-14 14:08:43.677] [ ERROR ] GameComm: ReadFile failed.

[2015-08-14 14:08:43.740] [DISPLAY] Reset succeeded.

[2015-08-14 14:08:43.775] [DISPLAY] Game exited with code -1073741795

[2015-08-14 14:08:43.775] [ ERROR ] Unable to stat out-file!

[2015-08-14 14:08:43.779] [ ERROR ] ************************************************************************

[2015-08-14 14:08:43.779] [ ERROR ] * Setting error condition

[2015-08-14 14:08:43.779] [ ERROR ] * Category: 1 (ERROR_CATEGORY_LAUNCHER)

[2015-08-14 14:08:43.780] [ ERROR ] * Code: 1 (LAUNCHER_ERR_INVALID_OUTFILE)

[2015-08-14 14:08:43.780] [ ERROR ] * Extra:

[2015-08-14 14:08:43.780] [ ERROR ] * Localised: Launcher error. Code: 7

[2015-08-14 14:08:43.780] [ ERROR ] ************************************************************************

[2015-08-14 14:08:43.783] [ ERROR ] Unable to read out-file!

[2015-08-14 14:08:43.786] [ ERROR ] ************************************************************************

[2015-08-14 14:08:43.786] [ ERROR ] * Setting error condition

[2015-08-14 14:08:43.787] [ ERROR ] * Category: 5 (ERROR_CATEGORY_EXIT_CODE)

[2015-08-14 14:08:43.787] [ ERROR ] * Code: 5 (c000001d)

[2015-08-14 14:08:43.787] [ ERROR ] * Extra:

[2015-08-14 14:08:43.787] [ ERROR ] * Localised: Grand Theft Auto V exited unexpectedly.

 

Please click Retry below to enter the game again, or click Safe Mode to launch the game with reduced graphics settings.

 

If you continue to have problems playing the game, please contact Rockstar Games Customer Service at http://support.rockstargames.com

[2015-08-14 14:08:43.787] [ ERROR ] ************************************************************************

[2015-08-14 14:08:43.805] [ ERROR ] Unable to clear in-file and out-file!

[2015-08-14 14:09:02.384] [WARNING] Device lost.

[2015-08-14 14:09:02.384] [WARNING] Resetting device...

[2015-08-14 14:09:02.443] [DISPLAY] Reset succeeded.

 

 

no idea what they mean tho.. things like 'device lost', 'readfile failed', 'unable to stat out-file!', and 'unable to read out-file'

Edited by diamond-optic
Link to comment
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
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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