Mafia Scene - Mafia I & II Game Fan Site

Modders Corner => Mafia Editing => Mod Help => Topic started by: hahalala on August 15, 2012, 09:20:04 AM

Title: Need help with LUA injector
Post by: hahalala on August 15, 2012, 09:20:04 AM
Hello, I need help to get lua injector working, ive tried many none works. I found possible problem but could anybody help me? Its my virus protection, it removes lua injector v6 even though its not a virus or something. It removes injectors EXE file in like 5 seconds when i have extracted it. I have microsoft security essentials. Ask if you need any more information. Sorry about the grammar, english isnt my native language.




If downloaded it from this http://code.google.com/p/mafia2injector/downloads/list (http://code.google.com/p/mafia2injector/downloads/list)




Please Help Me!


 


 




EDIT: Sorry it may be my bad, it said its Trojan or something. Do you guys know where to get clean version?
Title: Need help with LUA injector
Post by: thewildnath on August 15, 2012, 09:22:41 AM
I had the same problem with my antivirus.




I use BitDefender and i have an option to turn it off in the "antivirus" tab of the menu.
Title: Need help with LUA injector
Post by: farhad_999 on August 15, 2012, 09:55:05 AM
Try this: http] (//downloads/viewdownload/4-mafia-tools/504-injector-6)
Title: Need help with LUA injector
Post by: hahalala on August 15, 2012, 11:12:54 AM
still the same, It multiplies alert when i try to allow it and then deletes exe again, tried downloading from the ling you gave, same problem. I would really appreciate if someone could solve my problem.
Title: Need help with LUA injector
Post by: thewildnath on August 15, 2012, 02:35:11 PM
you should be able to dezactivate your antivirus.....then activate it again




maybe in the menu..?
Title: Need help with LUA injector
Post by: hahalala on August 15, 2012, 02:51:05 PM
Thank you, it works now. Never thought about it myself. I appreciate it.
Title: Need help with LUA injector
Post by: hahalala on August 15, 2012, 04:11:44 PM
Still have on problem, i can use scripts like 5 times and then game crashes, anyone knows what to do?
Title: Need help with LUA injector
Post by: johncena1 on August 15, 2012, 05:20:35 PM
QuoteStill have on problem' date=' i can use scripts like 5 times and then game crashes, anyone knows what to do?[/quote']

What button is it assigned to?


Title: Need help with LUA injector
Post by: hahalala on August 15, 2012, 05:38:23 PM
I have 4 commands, F4 F1 F2 and F10 i think not sure about the last one.


 


 


 




EDIT: maybe it crashes because when ive used commands when last animation isnt finished, ive never actually used 5 commands in a row and using them to end. And is there like a list of ready made commands? like vomiting etc.? ive never saw one all of them are videos and i have kinda slow internet so id prefer using commands. I dont know much about how this thing works so maybe im wrong and need to download anyway?
Title: Need help with LUA injector
Post by: farhad_999 on August 16, 2012, 01:07:30 PM
QuoteI have 4 commands, F4 F1 F2 and F10 i think not sure about the last one. 


 


 




EDIT: maybe it crashes because when ive used commands when last animation isnt finished, ive never actually used 5 commands in a row and using them to end. And is there like a list of ready made commands? like vomiting etc.? ive never saw one all of them are videos and i have kinda slow internet so id prefer using commands. I dont know much about how this thing works so maybe im wrong and need to download anyway?



 




Use this:




<div class="ipsSpoiler_header">



 




ply=game.game:GetActivePlayer()




if i==nil then i=0 end i=i+1




if i==8 then i=1 end




if i==1 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{




function(l_1_0)return ply:AnimPlay("sc_man_smoke_in", false)end,




function(l_2_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,




function(l_3_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end




if i==2 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{




function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,




function(l_2_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end




if i=(//smile3.gif) then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{




function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,




function(l_2_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end




if i==4 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{




function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,




function(l_2_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end




if i==5 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{




function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,




function(l_2_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end




if i==6 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{




function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,




function(l_2_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end




if i==7 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{




function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,




function(l_2_0)return ply:AnimPlay("sc_man_smoke_out", false)end,




function(l_3_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end




NOTE:
when the animation ends, again click on f7!





</div>

 
Title: Need help with LUA injector
Post by: hahalala on August 16, 2012, 06:31:46 PM
Do i understand right? i put your command as F7 and use some command and after it ends i use that command you gave me? Its just smoking, but still thanks  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">  now i have 3 smoking commands.