Rich246 36 Posted December 23, 2008 // -- GTA IV ASI LOADER LOG -- ////-- © Alexander Blade 2008 -- //binkhooked.dll is loaded, address 0x18000000Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800DBB0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x18009DF0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C5F0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800CB80Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800D5E0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x18009E00Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800A610Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C170Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800F150Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C080Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C830Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C420Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800A560Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C340Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800A630Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800CA50Hooking binkw32 proc named "[email protected]""[email protected]" 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? Quote Share this post Link to post Share on other sites
~Rick 0 Posted December 23, 2008 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") Quote Share this post Link to post Share on other sites
FunGt 56 Posted December 23, 2008 (edited) LUA help post here http://www.gtaforums.com/index.php?showtopic=386908 Edited December 23, 2008 by FunGt Quote Share this post Link to post Share on other sites
STEVE124 0 Posted December 23, 2008 not working where the patch. Quote Share this post Link to post Share on other sites
FunGt 56 Posted December 23, 2008 not working where the patch. You need the 1.0.1 patch? Click. Quote Share this post Link to post Share on other sites
Intosia 0 Posted December 23, 2008 Where can i find a LUA errorcode list? Cant find it... I get Error 1... Quote Share this post Link to post Share on other sites
-TRASE- 0 Posted December 23, 2008 Where can i find a LUA errorcode list? Cant find it... I get Error 1... there is somthing wrong in your file. Quote Share this post Link to post Share on other sites
Sporbie 0 Posted December 23, 2008 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(); Quote Share this post Link to post Share on other sites
sjaak327 1,026 Posted December 23, 2008 That code is looping.. Quote Share this post Link to post Share on other sites
ArkangelJosh 0 Posted December 23, 2008 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. Quote Share this post Link to post Share on other sites
ArkangelJosh 0 Posted December 23, 2008 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. Quote Share this post Link to post Share on other sites
TheRealTRA 0 Posted December 23, 2008 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 "[email protected]""[email protected]" hooked, address 0x1800DBB0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x18009DF0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C5F0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800CB80Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800D5E0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x18009E00Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800A610Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C170Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800F150Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C080Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C830Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C420Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800A560Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C340Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800A630Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800CA50Hooking binkw32 proc named "[email protected]""[email protected]" 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. Quote Share this post Link to post Share on other sites
NLFreeman 0 Posted December 23, 2008 I noticed these scripts all use an infinite loop to perform certain actions, does this affect performance? Quote Share this post Link to post Share on other sites
killerkid 0 Posted December 23, 2008 Can someone make a script that create a vehicle when you press a key please? Quote Share this post Link to post Share on other sites
Alexander Blade 1,387 Posted December 23, 2008 no spawning , Alice can not operate with models Quote Share this post Link to post Share on other sites
coin-god 24 Posted December 23, 2008 no spawning , Alice can not operate with models No way to spawn car or peds? Or initiate objects? Quote Share this post Link to post Share on other sites
Jimmy Stromboli 0 Posted December 23, 2008 Looks very Nice, good job Alexander Blade Quote Share this post Link to post Share on other sites
-TRASE- 0 Posted December 23, 2008 no spawning , Alice can not operate with models No way to spawn car or peds? Or initiate objects? No. sorry Quote Share this post Link to post Share on other sites
adhome 0 Posted December 23, 2008 But in VC there was a single offset to call with carname and that car spawned. http://www.gtaforums.com/index.php?showtopic=384884 Perhaps a Vartype of string is needed. Quote Share this post Link to post Share on other sites
illdan 0 Posted December 23, 2008 But in VC there was a single offset to call with carname and that car spawned.http://www.gtaforums.com/index.php?showtopic=384884 Perhaps a Vartype of string is needed. No there is a bug the disallows using models. Quote Share this post Link to post Share on other sites
gamerzworld 984 Posted December 23, 2008 Small question, is there a way to call on .SCO scripts in the game? Thanks. Quote Share this post Link to post Share on other sites
warclaw 0 Posted December 23, 2008 Can i be banned from LIVE If i use this mod??? or how it works? have i full healt in MP games to??? or? Quote Share this post Link to post Share on other sites
Intosia 0 Posted December 23, 2008 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 Nothing fancy. Quote Share this post Link to post Share on other sites
Alexander Blade 1,387 Posted December 23, 2008 Can someone make a script that create a vehicle when you press a key please? no Quote Share this post Link to post Share on other sites
samn 0 Posted December 23, 2008 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) Quote Share this post Link to post Share on other sites
ArkangelJosh 0 Posted December 23, 2008 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. Quote Share this post Link to post Share on other sites
Alexander Blade 1,387 Posted December 23, 2008 anyone has the bug like this ? http://www.gtaforums.com/index.php?showtopic=386816&st=100# Quote Share this post Link to post Share on other sites
ArkangelJosh 0 Posted December 23, 2008 anyone has the bug like this ?http://www.gtaforums.com/index.php?showtopic=386816&st=100# A bug like what exactly, the link just seems to reload this page. Quote Share this post Link to post Share on other sites
skaarlaw 0 Posted December 23, 2008 anyone has the bug like this ?http://www.gtaforums.com/index.php?showtopic=386816&st=100# 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 :@ Quote Share this post Link to post Share on other sites
TheRealTRA 0 Posted December 23, 2008 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 "[email protected]""[email protected]" hooked, address 0x1800DBB0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x18009DF0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C5F0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800CB80Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800D5E0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x18009E00Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800A610Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C170Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800F150Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C080Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C830Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C420Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800A560Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C340Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800A630Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800CA50Hooking binkw32 proc named "[email protected]""[email protected]" 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 Quote Share this post Link to post Share on other sites