Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

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

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

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. 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. 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. News

    2. Forum Support

    3. Site Suggestions

grinny

[GTAIV|REL|SRC] gompie lua interpreter

Recommended Posts

grinny

Hi guys,

 

I just completed my lua interpreter called GOMPIE. I use it for a faster debugging cycle. If you like it leave a message so I know people are interested. The last 3 days the only bugs I've been able to find were in the examples and not in gompie, but this is still alpha quality, so if you find any bugs, post them here. Or better yet, post a fix here, source is included biggrin.gif .

 

To install, you'll need asiloader and a correct version of scripthook for your game (included is scripthook 0.5.0). Just copy gompie0.1.asi and lua5.1.4.dll to your game directory, make a folder called lua inside your game dir and make sure there's a main.lua in there.

 

All info on usage is in the readme.

 

For the examples I created two 'micro-missions'. Hopefully I will create more so they can be combined in different ways to create cool and complex missions easily. If you have a cool micro-mission or some other source

you'd like to share (any language) post them here.

 

So, enjoy....

 

Grinny

 

Edit: I've seem to have made some small mistakes in the examples, I'll fix them next version.

 

BTW. I suddenly remembered I made this with VS2008.... It MAY have a dependency on the vs2008 redist....

If anyone can confirm this I'll try to remove the dependency. Get it here: vs2008 redistributable

 

 

temporary link:

 

http://www.megafileupload.com/en/file/245369/gompie-0-1-zip

Edited by grinny

Share this post


Link to post
Share on other sites
Kucikuc24

NICE ! i want to try it soon, pls can you reupload it to other side ? becouse gtagarage long approving mods

Share this post


Link to post
Share on other sites
Fry200

inlove.gif Strongly that we can try it!

 

I have a question please. Is it compatible with eflc ?

 

 

 

Share this post


Link to post
Share on other sites
grinny

 

  NICE ! i want to try it soon, pls can you reupload it to other side ? becouse gtagarage long approving mods

 

Ok, I uploaded it here awaiting approval:

 

http://www.megafileupload.com/en/file/245369/gompie-0-1-zip

Nice to know people are interested

 

 

I have a question please. Is it compatible with eflc ?

 

This should be compatible with whatever scripthook is compatible with..... So GTA should be supported up to 1.0.7.0 and efcl 1.1.2.0....

Share this post


Link to post
Share on other sites
T.r.i.p.

Great Work :-)

Did you include all native (gta4) functions like the alice lua interpreter or only those which were used in the original gta4 scripts?

And might you include in gompie to load all lua scripts in the lua folder (I didn't had a look over the source atm sry)?

Share this post


Link to post
Share on other sites
grinny

All natives should be present

 

 

And might you include in gompie to load all lua scripts in the lua folder

 

It just loads main.lua but if you put some 'require' statements in main.lua it includes your other scripts. smile.gif

 

If you are talking about running multiple scripts at the same time, this is something I'd like to implement, or maybe a mechanism to start a new thread from lua.... It's not that easy though, since I have only one thread I can easily pass functions as WAIT to the only thread, gompieThread. With multiple threads we'd have to pass a reference to the thread in these functions and pass the reference from c to the script on startup....

Edited by grinny

Share this post


Link to post
Share on other sites
Erem

Looks interesting, Grinny. I'm running Alice on v1.0.0.4 of the game at the moment, but if I'm ever forced to patch and Alice still hasn't been updated, this could be very useful.

 

The syntax differs a little from Alice's but it doesn't look like it would be too complicated to convert scripts to run with Gompie. You mentioned in the Alice topic that you might add some compatibilty support for Alice scripts, and it would certainly be nice if it could run existing Lua mods without them having to be rewritten. I'm not sure if that would be possible though, as I see that you and Alexander are using the .b notation to signify different things (binaries and floats respectively).

 

I've only had a quick read of the example scripts and will have to find the time to try this out properly. So far, though, I'm liking the Log() function and the .i and .f notation which is much more intuitive than .a and .b.

 

I did spot a small typo in one of the example scripts: In the_meeting.lua, in CHANGE_BLIP_NAME_FROM_ASCII at the end of start_mission() , you have friend_bip instead of friend_blip.

Share this post


Link to post
Share on other sites
ZAZ

What a surprise but I didn't got it to work.

I have running GTA IV with 7.patch

I installed first sjaak327's trainerv60 to see that dsound.dll and ScriptHook is working,

then copied gompie0.1.asi and lua5.1.4.dll into GTA IV root dir and created a folder named lua,

copied the show_coords.lua from your example folder into Grand Theft Auto IV\lua folder

and renamed the show_coords.lua into main.lua

Then I started the game and ingame I pressed F4 but nothing happend.

The asilog:

 

// -- GTA IV ASI LOADER LOG -- ////-- © Alexander Blade 2008 -- //C:\WINDOWS\system32\dsound.dll is loaded, address 0x73E70000Hooking dsound proc named "DirectSoundCreate""DirectSoundCreate" hooked, address 0x73E7473BHooking dsound proc named "DirectSoundEnumerateA""DirectSoundEnumerateA" hooked, address 0x73E9708DHooking dsound proc named "DirectSoundEnumerateW""DirectSoundEnumerateW" hooked, address 0x73E970AAHooking dsound proc named "DllCanUnloadNow""DllCanUnloadNow" hooked, address 0x73E9BE61Hooking dsound proc named "DllGetClassObject""DllGetClassObject" hooked, address 0x73E809C5Hooking dsound proc named "DirectSoundCaptureCreate""DirectSoundCaptureCreate" hooked, address 0x73E968BBHooking dsound proc named "DirectSoundCaptureEnumerateA""DirectSoundCaptureEnumerateA" hooked, address 0x73E970C7Hooking dsound proc named "DirectSoundCaptureEnumerateW""DirectSoundCaptureEnumerateW" hooked, address 0x73E970E4Hooking dsound proc named "GetDeviceID""GetDeviceID" hooked, address 0x73E96D42Hooking dsound proc named "DirectSoundFullDuplexCreate""DirectSoundFullDuplexCreate" hooked, address 0x73E96A32Hooking dsound proc named "DirectSoundCreate8""DirectSoundCreate8" hooked, address 0x73E967F5Hooking dsound proc named "DirectSoundCaptureCreate8""DirectSoundCaptureCreate8" hooked, address 0x73E9696FLoading ASI F:\Grand Theft Auto IV\gompie0.1.asiASI loaded : F:\Grand Theft Auto IV\gompie0.1.asi, Address 0x00000000Loading ASI F:\Grand Theft Auto IV\Trainer.asiASI loaded : F:\Grand Theft Auto IV\Trainer.asi, Address 0x10000000

 

 

the scripthooklog:

 

Log start: Mon Jun 28 07:00:03 2010-----------------------------------------------[iNFO] GTA IV Script Hook 0.5.1 - © 2009, Aru - Initialized[iNFO] Process base address: 0x400000[iNFO] Auto detecting game version[iNFO] Using game version 1.0.7[iNFO] [simpleTrainer] Thread started[iNFO] [simpleTrainer] Thread killed[iNFO] [simpleTrainer] Thread started[iNFO] [simpleTrainer] Thread killed[iNFO] Script Hook - Shutdown

 

 

I tried also the ScriptHook of your download but it didn't work and didn't create any logfile

I tried also to run the lua script with other name, show_coords.lua instead of main.lua but nothing happend

 

Share this post


Link to post
Share on other sites
grinny
What a surprise but I didn't got it to work.

I have running GTA IV with 7.patch

I installed first sjaak327's trainerv60 to see that dsound.dll and ScriptHook is working,

then copied gompie0.1.asi and lua5.1.4.dll into GTA IV root dir and created a folder named lua,

copied the show_coords.lua from your example folder into Grand Theft Auto IV\lua folder

and renamed the show_coords.lua into main.lua

Then I started the game and ingame I pressed F4 but nothing happend.

The asilog:

 

// -- GTA IV ASI LOADER LOG -- ////-- © Alexander Blade 2008 -- //C:\WINDOWS\system32\dsound.dll is loaded, address 0x73E70000Hooking dsound proc named "DirectSoundCreate""DirectSoundCreate" hooked, address 0x73E7473BHooking dsound proc named "DirectSoundEnumerateA""DirectSoundEnumerateA" hooked, address 0x73E9708DHooking dsound proc named "DirectSoundEnumerateW""DirectSoundEnumerateW" hooked, address 0x73E970AAHooking dsound proc named "DllCanUnloadNow""DllCanUnloadNow" hooked, address 0x73E9BE61Hooking dsound proc named "DllGetClassObject""DllGetClassObject" hooked, address 0x73E809C5Hooking dsound proc named "DirectSoundCaptureCreate""DirectSoundCaptureCreate" hooked, address 0x73E968BBHooking dsound proc named "DirectSoundCaptureEnumerateA""DirectSoundCaptureEnumerateA" hooked, address 0x73E970C7Hooking dsound proc named "DirectSoundCaptureEnumerateW""DirectSoundCaptureEnumerateW" hooked, address 0x73E970E4Hooking dsound proc named "GetDeviceID""GetDeviceID" hooked, address 0x73E96D42Hooking dsound proc named "DirectSoundFullDuplexCreate""DirectSoundFullDuplexCreate" hooked, address 0x73E96A32Hooking dsound proc named "DirectSoundCreate8""DirectSoundCreate8" hooked, address 0x73E967F5Hooking dsound proc named "DirectSoundCaptureCreate8""DirectSoundCaptureCreate8" hooked, address 0x73E9696FLoading ASI F:\Grand Theft Auto IV\gompie0.1.asiASI loaded : F:\Grand Theft Auto IV\gompie0.1.asi, Address 0x00000000Loading ASI F:\Grand Theft Auto IV\Trainer.asiASI loaded : F:\Grand Theft Auto IV\Trainer.asi, Address 0x10000000

 

 

the scripthooklog:

 

Log start: Mon Jun 28 07:00:03 2010-----------------------------------------------[iNFO] GTA IV Script Hook 0.5.1 - © 2009, Aru - Initialized[iNFO] Process base address: 0x400000[iNFO] Auto detecting game version[iNFO] Using game version 1.0.7[iNFO] [simpleTrainer] Thread started[iNFO] [simpleTrainer] Thread killed[iNFO] [simpleTrainer] Thread started[iNFO] [simpleTrainer] Thread killed[iNFO] Script Hook - Shutdown

 

 

I tried also the ScriptHook of your download but it didn't work and didn't create any logfile

I tried also to run the lua script with other name, show_coords.lua instead of main.lua but nothing happend

wow.gif Never had that problem.... But then again I've never tested it with trainer loaded.... It might be that they conflict over the usage of keyboard keys.

 

Please try again with gompie as the only mod loaded to see if it works.

 

Did lualog.txt get created? What's in it? To be sure I didn't make an error in the script you could delete every line except the call to Log.

 

I'm not able to do any test now but I wil tonight

 

BTW I did all testing with 1.0.6 patch but that shouldn't matter.

Share this post


Link to post
Share on other sites
ZAZ

 

wow.gif Never had that problem.... But then again I've never tested it with trainer loaded.... It might be that they conflict over the usage of keyboard keys.

 

Please try again with gompie as the only mod loaded to see if it works.

 

Did lualog.txt get created? What's in it? To be sure I didn't make an error in the script you could delete every line except the call to Log.

 

I'm not able to do any test now but I wil tonight

 

BTW I did all testing with 1.0.6 patch but that shouldn't matter.

Yes, i tried also without the trainer files.

No lualog.txt

I'm shure that your scripthook only works with 6.patch and your gompie0.1.asi works only with this older scripthook

Share this post


Link to post
Share on other sites
grinny

Hi ZAZ, thanks for testing. It should be compatible with the new version of scripthook because the whole SDK I link to has remained unchanged since scripthook 0.4 (see aru's scripthook thread). So it should work on version 0.4, 0.5 and 0.5.1 without recompiling.

Since you confirmed that mods are working with the new version of scripthook, I decided it was safe to upgrade too. biggrin.gif

So I tried, and got some script to work... Then I tried the show_coords script and found a stupid bug blush.gif, sorry must have included a wrong version in the zip whatsthat.gif .

 

 

mission_name = "Show coords"player_ped = nilplayer_idx = nilfunction get_player()local bla = GET_PLAYER_ID().i local pi = CONVERT_INT_TO_PLAYERINDEX(bla)return pi.p;endfunction get_player_ped() local ped = {} GET_PLAYER_CHAR(player_idx, ped) return ped.pendfunction start_mission()local x, y, z = {}, {}, {}player_idx = get_player() player_ped = get_player_ped() GET_CHAR_COORDINATES(player_ped, x, y, z)local msg = "(" .. x.f .. ", " .. y.f .. ", " .. z.f .. ")"PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING", msg, 3000, 1)Log(msg)endfunction main() Trace(true) Log("Starting mission: " .. mission_name) start_mission()endmain()

 

 

After fixing this little error and saving the above code as $(gta_dir)/lua/main.lua, I ran gta again and after hitting F4 it shows my location on screen.

 

 

// -- GTA IV ASI LOADER LOG -- ////-- © Alexander Blade 2008 -- //C:\WINDOWS\system32\dsound.dll is loaded, address 0x73E50000Hooking dsound proc named "DirectSoundCreate""DirectSoundCreate" hooked, address 0x73E689F1Hooking dsound proc named "DirectSoundEnumerateA""DirectSoundEnumerateA" hooked, address 0x73E694BFHooking dsound proc named "DirectSoundEnumerateW""DirectSoundEnumerateW" hooked, address 0x73E694DCHooking dsound proc named "DllCanUnloadNow""DllCanUnloadNow" hooked, address 0x73E7099FHooking dsound proc named "DllGetClassObject""DllGetClassObject" hooked, address 0x73E713E6Hooking dsound proc named "DirectSoundCaptureCreate""DirectSoundCaptureCreate" hooked, address 0x73E68B6EHooking dsound proc named "DirectSoundCaptureEnumerateA""DirectSoundCaptureEnumerateA" hooked, address 0x73E694F9Hooking dsound proc named "DirectSoundCaptureEnumerateW""DirectSoundCaptureEnumerateW" hooked, address 0x73E69516Hooking dsound proc named "GetDeviceID""GetDeviceID" hooked, address 0x73E68FF5Hooking dsound proc named "DirectSoundFullDuplexCreate""DirectSoundFullDuplexCreate" hooked, address 0x73E68CE5Hooking dsound proc named "DirectSoundCreate8""DirectSoundCreate8" hooked, address 0x73E68AA8Hooking dsound proc named "DirectSoundCaptureCreate8""DirectSoundCaptureCreate8" hooked, address 0x73E68C22Loading ASI h:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV\gompie0.1.asiASI loaded : h:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV\gompie0.1.asi, Address 0x10000000

 

 

 

Log start: Mon Jun 28 22:55:27 2010-----------------------------------------------[iNFO] GTA IV Script Hook 0.5.1 - © 2009, Aru - Initialized[iNFO] Process base address: 0x400000[iNFO] Auto detecting game version[iNFO] Using game version 1.0.7[iNFO] [GompieThread] Thread started[iNFO] [GompieThread] Thread killed[iNFO] Script Hook - Shutdown

 

 

 

Starting gompiethreadRunning scriptStarting mission: Show coordsTRACE: Invoking GET_PLAYER_IDTRACE: Invoking CONVERT_INT_TO_PLAYERINDEXTRACE: Invoking GET_PLAYER_CHARTRACE: Invoking GET_CHAR_COORDINATESTRACE: Invoking PRINT_STRING_WITH_LITERAL_STRING_NOW(-423.4811706543, 1496.1514892578, 18.896728515625)done

 

 

I have no idea why it's not working, it should at least create lualog.txt, it's the first thing it does....

 

 

Share this post


Link to post
Share on other sites
grinny

 

Looks interesting, Grinny.

 

Thanks, I overlooked your post smile.gif

 

 

The syntax differs a little from Alice's but it doesn't look like it would be too complicated to convert scripts to run with Gompie. You mentioned in the Alice topic that you might add some compatibilty support for Alice scripts, and it would certainly be nice if it could run existing Lua mods without them having to be rewritten. I'm not sure if that would be possible though, as I see that you and Alexander are using the .b notation to signify different things (binaries and floats respectively).

 

 

Actually:

 

gompie:     gta/scripthook type:                        lua type:i                 int (signed integer 32 bit)                numberu                u32 (unsigned integer 32 bit)          numberb                bool (unsigned integer 32 bit)         booleanp                void * ( pointer 32 bit )                    light user datas                const char * ( pointer to string )      stringf                 f32 ( floating point 32 bit)                number

 

As you can see b isn't really needed, lua will accept numbers as booleans too.

So you can replace any b with i, u, or p. Much the same way, u and p are actually the same. It's just good practice to use p for pointers and handles because lua will not allow arithmetic on them.

Edited by grinny

Share this post


Link to post
Share on other sites
sjaak327

Nice work !

 

I guess people who used to run lua scripts using Alice will be thrilled.

 

Edit: I can confirm this working on EFLC 1.1.2.0.

 

 

Edited by sjaak327

Share this post


Link to post
Share on other sites
grinny
Nice work !

 

I guess people who used to run lua scripts using Alice will be thrilled.

 

Edit: I can confirm this working on EFLC 1.1.2.0.

Thanks for confirming that it works, I was starting to doubt smile.gif

 

BTW your trainer rulez.

Share this post


Link to post
Share on other sites
G_M_StYlEr_M

its not work for me

i add the files from the BIN folder (you have forget to say that the files from the BIN folder must add into the GTA IV/ EFlc folder)

 

 

so my asi log file say

Loading ASI C:\Program Files\Rockstar Games\EFLC\gompie0.1.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\gompie0.1.asi, Address 0x00000000

Loading ASI C:\Program Files\Rockstar Games\EFLC\ScriptHookDotNet.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\ScriptHookDotNet.asi, Address 0x65CD0000

Loading ASI C:\Program Files\Rockstar Games\EFLC\Trainer.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\Trainer.asi, Address 0x63D40000

Loading ASI C:\Program Files\Rockstar Games\EFLC\Trainertbogt.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\Trainertbogt.asi, Address 0x63590000

Loading ASI C:\Program Files\Rockstar Games\EFLC\Trainertlad.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\Trainertlad.asi, Address 0x631F0000

 

Gompie0.1 is load but its not create a Lua log and its not work in game ?

 

Share this post


Link to post
Share on other sites
grinny

 

its not work for me

i add the files from the BIN folder (you have forget to say that the files from the BIN folder must add into the GTA IV/ EFlc folder)

 

 

so my asi log file  say

Loading ASI C:\Program Files\Rockstar Games\EFLC\gompie0.1.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\gompie0.1.asi, Address 0x00000000

Loading ASI C:\Program Files\Rockstar Games\EFLC\ScriptHookDotNet.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\ScriptHookDotNet.asi, Address 0x65CD0000

Loading ASI C:\Program Files\Rockstar Games\EFLC\Trainer.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\Trainer.asi, Address 0x63D40000

Loading ASI C:\Program Files\Rockstar Games\EFLC\Trainertbogt.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\Trainertbogt.asi, Address 0x63590000

Loading ASI C:\Program Files\Rockstar Games\EFLC\Trainertlad.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\Trainertlad.asi, Address 0x631F0000

 

Gompie0.1 is load but its not create a Lua log and its not work in game ?

Yes, I forgot to add that you need the files from the bin directory, I'll edit the first post and update the readme for the next version.

 

I'm baffled that it's not working for you, I even reinstalled GTA from some iso's on the net and cracked it just to see if that would cause it not to work... I even thought that might be it, but I forgot to use the newest version of scripthook instead of the one supplied (Did you make this mistake?). But ZAZ said he used 1.0.7 with scripthook 0.5.1 which is the same as mine......

 

I do see you have various other mods loaded, this might cause a conflict. Especially trainer since it hogs all the keys smile.gif (Both gompie and trainer use F4). Please tell me if it works for you without other mods enabled.

 

Just to be sure get the vs2008 redistributable too: vs2008 redist

Edited by grinny

Share this post


Link to post
Share on other sites
G_M_StYlEr_M
its not work for me

i add the files from the BIN folder (you have forget to say that the files from the BIN folder must add into the GTA IV/ EFlc folder)

 

 

so my asi log file  say

Loading ASI C:\Program Files\Rockstar Games\EFLC\gompie0.1.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\gompie0.1.asi, Address 0x00000000

Loading ASI C:\Program Files\Rockstar Games\EFLC\ScriptHookDotNet.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\ScriptHookDotNet.asi, Address 0x65CD0000

Loading ASI C:\Program Files\Rockstar Games\EFLC\Trainer.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\Trainer.asi, Address 0x63D40000

Loading ASI C:\Program Files\Rockstar Games\EFLC\Trainertbogt.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\Trainertbogt.asi, Address 0x63590000

Loading ASI C:\Program Files\Rockstar Games\EFLC\Trainertlad.asi

ASI loaded : C:\Program Files\Rockstar Games\EFLC\Trainertlad.asi, Address 0x631F0000

 

Gompie0.1 is load but its not create a Lua log and its not work in game ?

Yes, I forgot to add that you need the files from the bin directory, I'll edit the first post and update the readme for the next version.

 

I'm baffled that it's not working for you, I even reinstalled GTA from some iso's on the net and cracked it just to see if that would cause it not to work... I even thought that might be it, but I forgot to use the newest version of scripthook instead of the one supplied (Did you make this mistake?). But ZAZ said he used 1.0.7 with scripthook 0.5.1 which is the same as mine......

 

I do see you have various other mods loaded, this might cause a conflict. Especially trainer since it hogs all the keys smile.gif (Both gompie and trainer use F4). Please tell me if it works for you without other mods enabled.

 

Just to be sure get the vs2008 redistributable too: vs2008 redist

allso i use the 1.1.2 version (i dont know is this the right neme ) version for EFLC

i have delete the traienr files out of the gta Iv direcktory and its not work its not create a lua.log or whatever

 

and i i use virsuel studio 2010 i think this is not a problem ?

Share this post


Link to post
Share on other sites
grinny

 

allso i use the 1.1.2 version (i dont know is this the right neme ) version for EFLC

i have delete the traienr files out of the gta Iv direcktory and its not work its not create a lua.log or whatever

 

and i i use virsuel studio 2010 i think this is not a problem ?

I guess that wouldn't be a problem, but I'd be surprised if the redistributable would cause any problems at all. I don't think I have any dependencies on that stuff but I'm not a windows programmer.

 

As you can see from the source, the very first thing it does on dll attachment is creating the log.... So asiloader says it has loaded the dll, but dll main is either never called or it fails to create the log file....

 

I don't know what could cause this as I'm not a windows programmer, do you use vista or something? I did my testing on XP64. It looks like trainer is working for you with the newest EFLC so you must have the correct version of scripthook (0.5.1). Please make sure you haven't accidentally overwritten your scripthook.dll with the scripthook.dll that's included in the zip, as the included version is 0.5.0.

 

I'm sorry but I cannot help you with this cryani.gif , as I have no way to reproduce this error, as I said it works for me. If you do manage to get it working, please report back here so others can benefit from your experience.

Edited by grinny

Share this post


Link to post
Share on other sites
asyntax

hello,

 

i recently installed gompie and when i tried to press F4 in-game, nothing happened.

 

my asilog shows that gompie is loading up, but the log for aru's scripthook shows the following:

 

 

[iNFO] GTA IV Script Hook 0.5.1 - © 2009, Aru - Initialized[iNFO] Process base address: 0xfb0000[iNFO] Auto detecting game version[iNFO] Using game version 1.0.7[iNFO] [FirstPerson] Thread started[iNFO] [simpleTrainer] Thread started[iNFO] [simpleTrainer] Thread killed[iNFO] [FirstPerson] Thread killed[iNFO] Script Hook - Shutdown

 

 

For some reason the gompie thread isn't starting, does anyone have any idea how to fix this?

Edited by asyntax

Share this post


Link to post
Share on other sites
G_M_StYlEr_M
hello,

 

i recently installed gompie and when i tried to press F4 in-game, nothing happened.

 

my asilog shows that gompie is loading up, but the log for aru's scripthook shows the following:

 

 

[iNFO] GTA IV Script Hook 0.5.1 - © 2009, Aru - Initialized[iNFO] Process base address: 0xfb0000[iNFO] Auto detecting game version[iNFO] Using game version 1.0.7[iNFO] [FirstPerson] Thread started[iNFO] [simpleTrainer] Thread started[iNFO] [simpleTrainer] Thread killed[iNFO] [FirstPerson] Thread killed[iNFO] Script Hook - Shutdown

 

 

For some reason the gompie thread isn't starting, does anyone have any idea how to fix this?

Another Script Hook Version I think

Share this post


Link to post
Share on other sites
dragonov5

when i try to start EFLC the game won't start i've put everything where it should be

Share this post


Link to post
Share on other sites
Erem

Grinny, what's the current status with Gompie? Has anyone other than you and Sjaak got it to work yet? I really must try to find the time to test it myself.

 

On the subject of me being slow, I've only just realised why you called it Gompie! lol.gif

Share this post


Link to post
Share on other sites
imperialmaster

not found main.lua.............

 

work in 1.0.6??

 

soryy my bad english cry.gif

Share this post


Link to post
Share on other sites
RobZombie

i got problem too with that...

 

// -- GTA IV ASI LOADER LOG -- ////-- © Alexander Blade 2008 -- //C:\WINDOWS\system32\dsound.dll is loaded, address 0x73EA0000Hooking dsound proc named "DirectSoundCreate""DirectSoundCreate" hooked, address 0x73EA473BHooking dsound proc named "DirectSoundEnumerateA""DirectSoundEnumerateA" hooked, address 0x73EC708DHooking dsound proc named "DirectSoundEnumerateW""DirectSoundEnumerateW" hooked, address 0x73EC70AAHooking dsound proc named "DllCanUnloadNow""DllCanUnloadNow" hooked, address 0x73ECBE61Hooking dsound proc named "DllGetClassObject""DllGetClassObject" hooked, address 0x73EB09C5Hooking dsound proc named "DirectSoundCaptureCreate""DirectSoundCaptureCreate" hooked, address 0x73EC68BBHooking dsound proc named "DirectSoundCaptureEnumerateA""DirectSoundCaptureEnumerateA" hooked, address 0x73EC70C7Hooking dsound proc named "DirectSoundCaptureEnumerateW""DirectSoundCaptureEnumerateW" hooked, address 0x73EC70E4Hooking dsound proc named "GetDeviceID""GetDeviceID" hooked, address 0x73EC6D42Hooking dsound proc named "DirectSoundFullDuplexCreate""DirectSoundFullDuplexCreate" hooked, address 0x73EC6A32Hooking dsound proc named "DirectSoundCreate8""DirectSoundCreate8" hooked, address 0x73EC67F5Hooking dsound proc named "DirectSoundCaptureCreate8""DirectSoundCaptureCreate8" hooked, address 0x73EC696FLoading ASI C:\Program Files\Rockstar Games\Grand Theft Auto IV\FirstPerson.asiASI loaded : C:\Program Files\Rockstar Games\Grand Theft Auto IV\FirstPerson.asi, Address 0x02A30000Loading ASI C:\Program Files\Rockstar Games\Grand Theft Auto IV\gompie0.1.asiASI loaded : C:\Program Files\Rockstar Games\Grand Theft Auto IV\gompie0.1.asi, Address 0x00000000Loading ASI C:\Program Files\Rockstar Games\Grand Theft Auto IV\Trainer.asiASI loaded : C:\Program Files\Rockstar Games\Grand Theft Auto IV\Trainer.asi, Address 0x02C20000

 

 

FirstPerson.asi was loading with addres 0x00000000 too, also trainer.asi but when they was together they load normal (dunno why, maybe because of xliveless) please help (game ver is 1.0.7.0)

 

//also i was testing it with IV:MP lastest ver. I will test it on Single Player later.

 

// on Single Player same ;/

Edited by RobZombie

Share this post


Link to post
Share on other sites
rrgrrg

it workes gr8 but when i press f4 it tells me "cannot , permisssion denied" angry.gif

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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.