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

Has anyone Found The Weapon Code For Unused0 and Episodic1-24?

It For my Weapon Spawner

Edit: What Is CrackHead Anyway?

And merry Christmas Everyone !

It should continue from 18, shouldn't it?

Link to comment
Share on other sites

i think 19 was a minigun but not spawning it,it was on annihilator right?

And flame ,camera that was in the weaponinfo,I think it was 20 and 21?

And i will try 20-100 for Everyone

 

Edit:

-------------------------------------------------------------------------------------------------------------

for Anyone Who Has Weaponinfo.xml With All of the Unused0 And Episodic1-24

Please Upload it to me,I don't Have Much Time To Search It By Creating New Weapon,

So Please Upload It

-------------------------------------------------------------------------------------------------------------

Edited by aceship
Link to comment
Share on other sites

 

--Press TAB to disable gravity--global variables PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, GRAV = 0function InitScript() -- neenaww Wait(10000)endfunction ToggleGravity() if GRAV == 0 thenGRAV = 1 else   GRAV = 0 end  PrintFloatToLog(GRAV)  PushInt(GRAV) CallNative("SET_GRAVITY_OFF")endfunction main() InitScript() while true do   if (IsKeyPressed(23) == 1) then  ToggleGravity()  Wait(10)   end    end	end-- startmain();

 

Enables/Disables gravity on the player, Press the End key

Edited by danharibo
Link to comment
Share on other sites

well THANK YOU. when i finished gta iv i was so bored , i didnt play it. but when i found this i cant stop playing! i jump off massive buildings , go full speed on nrg jump off doing like 10 summersaults in air and not dying! this is awesome! thank you man

Link to comment
Share on other sites

I'm trying to find a way to get all valid the ped IDs/CHARs. A quick search through the native function list reveals no way to check if a CHAR ID is valid or not, which ruins my plans of a for loop. Is there a function that exists that I missed, or a good way to get all existing CHARs?

 

EDIT:

 

And of course, right after posting this I find DOES_CHAR_EXIST blush.gif

 

EDIT2:

 

And it appears that DOES_CHAR_EXIST only returns 1 for the player's CHAR. angry.gif

 

EDIT3:

 

Figured it out.

Edited by elevator13
Link to comment
Share on other sites

Change The Gravity Code, IT can't Be Pressed, Change Iskeypressed 23 to 35

35 Is the Decimal Of End and There Are No 23, it was hexadecimal ,

i know this from a person in here

 

Edit : Another Simple Question

What Program Did You Use To Make , Convert ,Edit Animated Gif?

Edited by aceship
Link to comment
Share on other sites

I've read through all the posts in this topic, trying to get it to work. And I can't get any of them to work. The game just acts normal, with none of the said features. I have all of the files where they are supposed to be and right now I am only attempting to get the superman script to run.

 

Here is my log:

 

 

// -- 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 C:\Users\MrX\Documents\My Games\R*\Grand Theft Auto IV\FileCheckFix.asiASI loaded : C:\Users\MrX\Documents\My Games\R*\Grand Theft Auto IV\FileCheckFix.asi, Address 0x000F0000

 

 

Does anyone know why this isn't working?

 

EDIT: I also realised I deleted the alice.asi, as indicated by Alex (I think) in a previous post. If I move alice.asi back into my gta folder then the game crashes at the end of the loading screen as there are 2 .asi files (FileCheckFix.asi and alice.asi), so for the other people that are getting it crash at the same spot, that is how you stop the crash smile.gif

Edited by Toez
Link to comment
Share on other sites

Does anybody know if you can get banned from multi if you don't use any lua script but the Alice thing is in your directory, but no LUAS there.?

Link to comment
Share on other sites

Would it be usefull to document the native functions somewhere? The, uhmm, lets say the Wiki? Like some function with 8 params, if someone has figures it out, please share!

Link to comment
Share on other sites

Alexander Blade

2Toez: try to reinstall Alice and delete all lua scripts

Link to comment
Share on other sites

Never Wanted!

 

---------- (Effectively) NEVER WANTED by TRA -------------------- function waitforplayerpoolcreation and waitforvalidplayer © Alexander Blade 2008 ---------- --global variables PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR = 0function InitScript() -- LOL Wait(150)endfunction WaitForPlayerPoolCreation() while (IsPlayerPoolCreated() == 0) do   Wait(50) 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(50)  end  end  until (PLAYER_CHAR > 0)  end	function ClrWLvl(lvl)PushInt(lvl)PushInt(0)CallNative("IS_WANTED_LEVEL_GREATER")wlvl = GetFloatParam(1)Wait(25)if (wlvl >= 0) thenPushInt(0)CallNative("CLEAR_WANTED_LEVEL")Wait(25)endend function main() InitScript() while true do  WaitForPlayerPoolCreation()     WaitForValidPlayer()     ClrWLvl()    Wait(25)  end   end  	 main();

 

Ehhh , you must fix something in this , because i`ve gut sometimes GTAIV.exe error confused.gif

Link to comment
Share on other sites

^As far as I know, you can't if the weapons are using the same slot. IE. you can have only one weapon of a certain type, one pistol, one shotgun.

 

 

Link to comment
Share on other sites

It`s possible to have AK47 and M4 together ?

It is possible to assign same type of weapons to different weapon slots. At least with direct memory editing (see GTA IV Control Center). The weapon in wrong slot would however get replaced if you buy/collect a weapon that would normally go into that slot.

 

Link to comment
Share on other sites

It`s possible to have AK47 and M4 together ?

It is possible to assign same type of weapons to different weapon slots. At least with direct memory editing (see GTA IV Control Center). The weapon in wrong slot would however get replaced if you buy/collect a weapon that would normally go into that slot.

Yeah but with Alice script don`t working , i can`t change it to M4 because it`s back to AK confused.gif

The same with other weapons

Link to comment
Share on other sites

 

--Press End to disable gravity--global variables PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, GRAV = 0function InitScript() -- neenaww Wait(10000)endfunction ToggleGravity() if GRAV == 0 thenGRAV = 1 else   GRAV = 0 end  PushInt(GRAV) CallNative("SET_GRAVITY_OFF")endfunction main() InitScript() while true do   if (IsKeyPressed(23) == 1) then      ToggleGravity()   end      Wait(100) end endmain();

 

Fixed the script, shouldn't cause major lag, and should work properly. Press End to toggle Gravity on/off

Link to comment
Share on other sites

PEOPLE !

 

What i must to do to have M4 not AK47 , or UZI ?

 

With Alice Script i only have AK47 , and mp5 , etc .

 

And i can`t change weapon to different because it`s back to default confused.gif

Link to comment
Share on other sites

PEOPLE !

 

What i must to do to have M4 not AK47 , or UZI ?

 

With Alice Script i only have AK47 , and mp5 , etc .

 

And i can`t change weapon to different because it`s back to default confused.gif

The superman script (superman.lua) automatically adds a weapon set. To stop that you just have to remove the code in superman.lua that adds the weapons.

Link to comment
Share on other sites

Killuminati91
code

 

Fixed the script, shouldn't cause major lag, and should work properly. Press End to toggle Gravity on/off

hm now we need some kind of air control...

Link to comment
Share on other sites

Here's the Superman script without the weapons.

 

Invincibility Script

 

 

---------- GTA IV Invincibility -------------------- Code © Alexander Blade 2008 ---------- --global variables PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR = 0function InitScript() -- blah-blah-blah Wait(10000)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)  end	function SetPlayerProperties() PushInt(PLAYER_INDEX) PushInt(1) CallNative("SET_PLAYER_INVINCIBLE") PushInt(PLAYER_INDEX) PushInt(1) CallNative("SET_PLAYER_NEVER_GETS_TIRED") PushInt(PLAYER_INDEX) PushInt(1)endfunction main() InitScript() while true do   WaitForPlayerPoolCreation()   WaitForValidPlayer()    SetPlayerProperties()Wait(5000) end	end-- startmain();

 

 

Save as invincible.lua or whatever in Program Files\Rockstar Games\Grand Theft Auto IV\Alice.

 

EDIT : Remember to delete superman.lua Marcin6 if you want rid of the constant weapons set.

Edited by Lyall
Link to comment
Share on other sites

Had done this earlier today, press tab to clear wanted level.

THANKS!

 

So to get this to work I would just copy it into notepad and save as .lua?

Yup. The never wanted script will conflict with the tab clear script, have only one in the folder at a time.

I put it in my game as "Clear Wanted.lua" and it did not work game me an error 1 or something similar to that...

Link to comment
Share on other sites

code

 

Fixed the script, shouldn't cause major lag, and should work properly. Press End to toggle Gravity on/off

hm now we need some kind of air control...

If you jump off a motorcycle at speed you can fly across the gap between the islands

Link to comment
Share on other sites

Killuminati91
code

 

Fixed the script, shouldn't cause major lag, and should work properly. Press End to toggle Gravity on/off

hm now we need some kind of air control...

If you jump off a motorcycle at speed you can fly across the gap between the islands

yeh already did that lol... but i mean somekind of superman-flymode

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.