Jump to content

[GTAIV|REL] A l i c e


Alexander Blade
  • Replies 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

  • aceship

    107

  • Alexander Blade

    94

  • Marcin6

    63

Top Posters In This Topic

Recommended Posts

 

// -- GTA IV ASI LOADER LOG -- ////-- © Alexander Blade 2008 -- //binkhooked.dll is loaded, address 0x18000000Hooking binkw32 proc named "_BinkSetMemory@8""_BinkSetMemory@8" hooked, address 0x1800DBB0Hooking binkw32 proc named "_BinkGetError@0""_BinkGetError@0" hooked, address 0x18009DF0Hooking binkw32 proc named "_BinkClose@4""_BinkClose@4" hooked, address 0x1800C5F0Hooking binkw32 proc named "_BinkGetSummary@8""_BinkGetSummary@8" hooked, address 0x1800CB80Hooking binkw32 proc named "_BinkSetVolume@12""_BinkSetVolume@12" hooked, address 0x1800D5E0Hooking binkw32 proc named "_BinkSetSoundSystem@8""_BinkSetSoundSystem@8" hooked, address 0x18009E00Hooking binkw32 proc named "_BinkRegisterFrameBuffers@8""_BinkRegisterFrameBuffers@8" hooked, address 0x1800A610Hooking binkw32 proc named "_BinkNextFrame@4""_BinkNextFrame@4" hooked, address 0x1800C170Hooking binkw32 proc named "_BinkOpenDirectSound@4""_BinkOpenDirectSound@4" hooked, address 0x1800F150Hooking binkw32 proc named "_BinkShouldSkip@4""_BinkShouldSkip@4" hooked, address 0x1800C080Hooking binkw32 proc named "_BinkWait@4""_BinkWait@4" hooked, address 0x1800C830Hooking binkw32 proc named "_BinkGoto@12""_BinkGoto@12" hooked, address 0x1800C420Hooking binkw32 proc named "_BinkGetFrameBuffersInfo@8""_BinkGetFrameBuffersInfo@8" hooked, address 0x1800A560Hooking binkw32 proc named "_BinkGetKeyFrame@12""_BinkGetKeyFrame@12" hooked, address 0x1800C340Hooking binkw32 proc named "_BinkOpen@8""_BinkOpen@8" hooked, address 0x1800A630Hooking binkw32 proc named "_BinkPause@8""_BinkPause@8" hooked, address 0x1800CA50Hooking binkw32 proc named "_BinkDoFrame@4""_BinkDoFrame@4" hooked, address 0x1800BAA0

 

 

Thats the code

 

It still has no affect after deleting the file.... which files do I have to do the DEP thing on?

Link to comment
Share on other sites

Can we please stop posting full scripts for help? Ask for specific help, don't ask people to fix your scripts.

 

SET_GRAVITY_OFF takes one int argument, presumably 1 for gravity is off, 0 for gravity is on.

 

PushInt(1)CallNative("SET_GRAVITY_OFF")

 

Link to comment
Share on other sites

No Wanted Level script, sorry I couldn't be arsed to upload it somewhere. It's very hacky, it basically resets your wanted level every half second, I tried something with SET_MAX_WANTED_LEVEL and SET_WANTED_MULTIPLIER but they don't work for some reason, or I'm doing something wrong. Here's the script:

 

 --No Wanted level script, most code written by Alex Blade  PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR = 0function InitScript() -- blah-blah-blah Wait(5000)endfunction WaitForPlayerPoolCreation() while (IsPlayerPoolCreated() == 0) do   Wait(2000) endendfunction WaitForValidPlayer() PLAYER_CHAR = 0 repeat    CallNative("GET_PLAYER_ID")PLAYER_ID = GetIntResult()if (PLAYER_ID >= 0) then  PushInt(PLAYER_ID)  CallNative("CONVERT_INT_TO_PLAYERINDEX")  PLAYER_INDEX = GetIntResult()  PushInt(PLAYER_INDEX)     PushVarPtr()	  CallNative("GET_PLAYER_CHAR")  PLAYER_CHAR = GetIntParam(1)  if (PLAYER_CHAR <= 0) then    Wait(1000)  end  end  until (PLAYER_CHAR > 0)  endfunction main() InitScript() while true do   WaitForPlayerPoolCreation()   WaitForValidPlayer()CallNative("CLEAR_WANTED_LEVEL")Wait(500) end	endmain();

 

Link to comment
Share on other sites

Why do people post a great big HEY look at this script in full size, just add a link to the.txt file or something and if someone wishes to help they will, or better yet PM someone with a quick question not these long posts.

 

 

My apologies if this offends anyone, btw nice work Alexander.

 

 

 

Link to comment
Share on other sites

 

And just out of curiosity, could someone list the possibilities we have now? Like main ones, just to let me know where this is going to lead GTAIV modding?

Look in the two text files in additional files, where native functions and parameters are listed.

Yes but explain in simple terms for idiots like me who don't fully understand coding and scripting.

 

@~Rick, I do not understand how to implement that code into the game.

Could you explain it to me please?

1.To put it simply, copy the text from the post and stick it in a text editor like notepad ++ Download notepad ++ then save as .lua

 

2.Save the script in the Alice folder in the main GTAIV directory and bingo.

 

3.Then if the script has a function like the save me for example press the correct key to trigger said function, example press Tab to save while not in safe house or on mission.

 

 

any other question feel free to PM.

Link to comment
Share on other sites

 

2 everyone who has crahses & no changes !

 

Is asilog.txt\alice.log creating ? log pls if it is

 

try to set upper point (named only for system applications or something like this) in MyComputer -> Properties -> Additional -> Performace params -> DEP (the longest bar)

 

Delete Alice.asi and asilog.txt if it exists , try to start the game , if asilog.txt was created - post here the log

Crash upon end of character loading screens,

 

 

// -- GTA IV ASI LOADER LOG -- ////-- © Alexander Blade 2008 -- //binkhooked.dll is loaded, address 0x18000000Hooking binkw32 proc named "_BinkSetMemory@8""_BinkSetMemory@8" hooked, address 0x1800DBB0Hooking binkw32 proc named "_BinkGetError@0""_BinkGetError@0" hooked, address 0x18009DF0Hooking binkw32 proc named "_BinkClose@4""_BinkClose@4" hooked, address 0x1800C5F0Hooking binkw32 proc named "_BinkGetSummary@8""_BinkGetSummary@8" hooked, address 0x1800CB80Hooking binkw32 proc named "_BinkSetVolume@12""_BinkSetVolume@12" hooked, address 0x1800D5E0Hooking binkw32 proc named "_BinkSetSoundSystem@8""_BinkSetSoundSystem@8" hooked, address 0x18009E00Hooking binkw32 proc named "_BinkRegisterFrameBuffers@8""_BinkRegisterFrameBuffers@8" hooked, address 0x1800A610Hooking binkw32 proc named "_BinkNextFrame@4""_BinkNextFrame@4" hooked, address 0x1800C170Hooking binkw32 proc named "_BinkOpenDirectSound@4""_BinkOpenDirectSound@4" hooked, address 0x1800F150Hooking binkw32 proc named "_BinkShouldSkip@4""_BinkShouldSkip@4" hooked, address 0x1800C080Hooking binkw32 proc named "_BinkWait@4""_BinkWait@4" hooked, address 0x1800C830Hooking binkw32 proc named "_BinkGoto@12""_BinkGoto@12" hooked, address 0x1800C420Hooking binkw32 proc named "_BinkGetFrameBuffersInfo@8""_BinkGetFrameBuffersInfo@8" hooked, address 0x1800A560Hooking binkw32 proc named "_BinkGetKeyFrame@12""_BinkGetKeyFrame@12" hooked, address 0x1800C340Hooking binkw32 proc named "_BinkOpen@8""_BinkOpen@8" hooked, address 0x1800A630Hooking binkw32 proc named "_BinkPause@8""_BinkPause@8" hooked, address 0x1800CA50Hooking binkw32 proc named "_BinkDoFrame@4""_BinkDoFrame@4" hooked, address 0x1800BAA0Loading ASI P:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV\Alice.asiASI loaded : P:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV\Alice.asi, Address 0x01970000

 

Here's the log.

Link to comment
Share on other sites

Alexander Blade

no spawning , Alice can not operate with models

Link to comment
Share on other sites

Small question, is there a way to call on .SCO scripts in the game? Thanks.

Link to comment
Share on other sites

 

Can someone make a script that create a vehicle when you press a key please?

As long as there is a Wait(200) in a While, its no problem. The Wait makes sure CPU time is giving to other processes aswell.

 

Rick: is it possible to give more debug info? Like Line-number? Error 1 is all i get... Cant see the error sad.gif Nothing fancy.

Link to comment
Share on other sites

Alexander Blade

 

Can someone make a script that create a vehicle when you press a key please?

no

Link to comment
Share on other sites

I have an idea for a script, one which makes some missions easier by making it impossible for the guy youre chasing to get away? (like when he gets a certain distance away usually you lose the mission, this script would mean that it didnt matter how far away you were)

Link to comment
Share on other sites

 

I have an idea for a script, one which makes some missions easier by making it impossible for the guy youre chasing to get away? (like when he gets a certain distance away usually you lose the mission, this script would mean that it didnt matter how far away you were)

Not to be offensive

 

but GTA4 is already too easy this would make it even more so.

Link to comment
Share on other sites

A bug like what exactly, the link just seems to reload this page.

it links to the post iwth the error logs

i get a problem where i can load the game up, but when i actually click "start" and it loads, about 4-5 secs after the game crashes

reinstalling now though

anyone able to link a savegame? i forgot to backup :@

Link to comment
Share on other sites

2 everyone who has crahses & no changes !

 

Is asilog.txt\alice.log creating ? log pls if it is

 

try to set upper point (named only for system applications or something like this) in MyComputer -> Properties -> Additional -> Performace params -> DEP (the longest bar)

 

Delete Alice.asi and asilog.txt if it exists , try to start the game , if asilog.txt was created - post here the log

Crash upon end of character loading screens,

 

 

// -- GTA IV ASI LOADER LOG -- ////-- © Alexander Blade 2008 -- //binkhooked.dll is loaded, address 0x18000000Hooking binkw32 proc named "_BinkSetMemory@8""_BinkSetMemory@8" hooked, address 0x1800DBB0Hooking binkw32 proc named "_BinkGetError@0""_BinkGetError@0" hooked, address 0x18009DF0Hooking binkw32 proc named "_BinkClose@4""_BinkClose@4" hooked, address 0x1800C5F0Hooking binkw32 proc named "_BinkGetSummary@8""_BinkGetSummary@8" hooked, address 0x1800CB80Hooking binkw32 proc named "_BinkSetVolume@12""_BinkSetVolume@12" hooked, address 0x1800D5E0Hooking binkw32 proc named "_BinkSetSoundSystem@8""_BinkSetSoundSystem@8" hooked, address 0x18009E00Hooking binkw32 proc named "_BinkRegisterFrameBuffers@8""_BinkRegisterFrameBuffers@8" hooked, address 0x1800A610Hooking binkw32 proc named "_BinkNextFrame@4""_BinkNextFrame@4" hooked, address 0x1800C170Hooking binkw32 proc named "_BinkOpenDirectSound@4""_BinkOpenDirectSound@4" hooked, address 0x1800F150Hooking binkw32 proc named "_BinkShouldSkip@4""_BinkShouldSkip@4" hooked, address 0x1800C080Hooking binkw32 proc named "_BinkWait@4""_BinkWait@4" hooked, address 0x1800C830Hooking binkw32 proc named "_BinkGoto@12""_BinkGoto@12" hooked, address 0x1800C420Hooking binkw32 proc named "_BinkGetFrameBuffersInfo@8""_BinkGetFrameBuffersInfo@8" hooked, address 0x1800A560Hooking binkw32 proc named "_BinkGetKeyFrame@12""_BinkGetKeyFrame@12" hooked, address 0x1800C340Hooking binkw32 proc named "_BinkOpen@8""_BinkOpen@8" hooked, address 0x1800A630Hooking binkw32 proc named "_BinkPause@8""_BinkPause@8" hooked, address 0x1800CA50Hooking binkw32 proc named "_BinkDoFrame@4""_BinkDoFrame@4" hooked, address 0x1800BAA0Loading ASI P:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV\Alice.asiASI loaded : P:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV\Alice.asi, Address 0x01970000

 

Here's the log.

this post

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.