TKC-Community

Hacking and Art => Armed Assault 3 => Armed Assault 2 => Topic started by: killerCH on December 31, 2011, 04:43:53 pm

Title: Get all Items from Life Missions...
Post by: killerCH on December 31, 2011, 04:43:53 pm
Hi there ...

Im new, low level knowledged of sqf Programming ( PHP is my world ;-) ) and use this site to get some info's to learn more about to hack Arma. Here some code from "me" (i learned from other, some pieces are from another scripts but the idea to read out the masterarray and use the existing menu's is from me), to share with you ... you can use it only in life missions, because it spawns the mission menu's that already exist's. I know the lack of entering a number for the amount of the specific item, but hey .... somewhere is the begin ;-)

choosing_script:

if (!(createDialog "distribute")) exitWith {hint "Dialog Error!"};
for [{_c=0}, {_c < (count INV_AlleItemsArray)}, {_c=_c+1}] do

{   
   _myItem = INV_AlleItemsArray select _c;
   
   Item = _myItem select 2;
   ItemID = Item select 0;
   ItemInfo = Item select 1;

   
   _index = lbAdd [1, format["Item: %1 (%2)", ItemInfo, ItemID] ];
   lbSetData [1, _index, format["%1", str(Item) ] ];
   buttonSetAction [2, " [lbData [1, (lbCurSel 1)],""""] execVM ""\mod-app\getItem.sqf""; " ];

};

GetItem Script:
// Parameters
   Param_ = _this select 0;
   Item_ = call compile (Param_);
   ItemID_ = Item_ select 0;

// spawn Item
   [ItemID_, +(1)] call INV_AddInventoryItem;
      
   ItemID_ = nil;
   Item_ = nil;

If you found this not helpful or lame, let me know i want not be the wannabe - im only interested to give something back to the community ...

Cheers
killerCH
Title: Re: Get all Items from Life Missions...
Post by: Kr4nkl0r on December 31, 2011, 08:02:22 pm
tried....

seems a bit buggy...some items like pistols or rifle arent usable
Title: Re: Get all Items from Life Missions...
Post by: killerCH on January 01, 2012, 02:48:39 am
Pistol and Rifle represents only, that you have one, not more not less ... means, you need also to create pistol / rifle in the old way like spawn it. The pistol and rifle entry in the items list is only for the police to check it over the entry (search inventar) in the action menu.
Title: Re: Get all Items from Life Missions...
Post by: Coronel_Niel on January 18, 2012, 12:39:03 am
Made this 2-3 years ago. Should help you with adding more than 1 of an object.


Load all items into a list with the ID 999:
Code: [Select]
for [{_i=0}, {_i < (count INV_AlleItemsArray)}, {_i=_i+1}] do

{

_item         = INV_AlleItemsArray select _i;
_infos        = _item call INV_getitemArray;
_name         = (_infos call INV_getitemName);
_weight  = _infos call INV_getitemTypeKg;
_scriptname   = _item call INV_getitemScriptName;

_index = lbAdd [999,format ["%1 (%2kg)", _name, (_infos call INV_getitemTypeKg)] ];

lbSetData [999,_index, format ["%1", _scriptname] ];


};

Make this the action for your add button:

Code: [Select]
action = "[] execVM 'ADDSCRIPT.sqf';";

Have a text box ID 1008 for the amount.

Add script (This is very sloppy coding, it was the best way I could find when doing this to other players. Just for yourself it should be a lot easier.):

Code: [Select]

_add = lbData [999, (lbCurSel 999)];
_amount = (parseNumber ctrlText 1008);

add2 = format ["%1",_add];                        // Format = Read what value this points to, not what it says
amount2 = format ["%1",_amount];

[add2,amount2] call INV_Addinventoryitem;
Title: Re: Get all Items from Life Missions...
Post by: Scing on January 18, 2012, 01:06:44 am
Now, if only I had the knowledge to bypass BE+SigChecks to be able to use all my old scripts =P
Title: Re: Get all Items from Life Missions...
Post by: MrMedic on January 18, 2012, 01:29:45 am
Now, if only I had the knowledge to bypass BE+SigChecks to be able to use all my old scripts =P

most of the knowledge is available.
Title: Re: Get all Items from Life Missions...
Post by: Scing on January 18, 2012, 08:43:31 am
Search for me doesn't turn up anything MrM. There's a bunch of edited posts by you that haz trollface on.

Majority are either edited, or no longer apply to current version.
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 04:17:16 pm
its really simple: edit the packet with WPE, ie log the valid sig packet (when no hacks on)and replace keys from it in the invalid packet (when you use a modified ui or so).. nothing new realy.

you can bet even medic posted that before but then deleted it as the coward he is :P hope hes not crying now :D
Title: Re: Get all Items from Life Missions...
Post by: MrMedic on January 18, 2012, 05:34:46 pm
Detected since 1.14 of battleye.

try what bouncer has posted you will end up guid banned.




Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 05:35:35 pm
Be carefull if you try what bounder has posted you will more than likely end up guid banned.
lol, why did you post the exact same method then? i know it works

we both know you did and delated the thread shorttime after.... not attacking you, just posting thruth (as alwys). why did you delete it if youre not a coward? ;)


edit: comon man, stop editing your posts all the time, thats just lame.
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 05:38:28 pm
Detected since 1.14 of battleye.

try what bouncer has posted you will end up guid banned.





lol, you edited that post at least 3 times now.

its not detected, just close wpe after youre done, heck there is even a sticky that explains this, lol
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 05:42:48 pm
even lamer that you send me pms but block me from replyng, lol! i wanted to tell you something important :)

anyway, lets be happy and work together ok? just posting some facts that helps others here, no need to attack me for it


edit: btw medic, push me hard enough and i will just post a working hack (like a wpe filter for starters).... just stop lyng man, people are asking for help here..
Title: Re: Get all Items from Life Missions...
Post by: i mss old ofp on January 18, 2012, 09:46:00 pm
even lamer that you send me pms but block me from replyng, lol! i wanted to tell you something important :)

anyway, lets be happy and work together ok? just posting some facts that helps others here, no need to attack me for it


edit: btw medic, push me hard enough and i will just post a working mod-app (like a wpe filter for starters).... just stop lyng man, people are asking for help here..
lol he did the same to me , even edits my posts or has somone delete them.
i have nothing against noone here, but i get alot of bs from a few, hes 1.
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 10:26:10 pm
me ? aww man dont be so harsh , no need for that.  :smile

ps mate il call the war off now if you want to or it can continue because to be honest with you ofp i dont care either way , our aim is to beat the anti cheat all arguing on a forum will acheive is usually it help the anticheat out ,but post away if you wish to continue , no skin off my nose.

bouncer , isnt worth replying to so i wont.


well, i wanted to suggest to you via pm to stop fighting/insultng/ridiculing and work together, but i couldnt as you know lol
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 10:28:31 pm
me ? aww man dont be so harsh , no need for that.  :smile

ps ofp il call the war off now if you want to or it can continue to be honest with you ofp wether you have mod-apps or not i dont care either way , our aim is to beat the anti cheat all arguing on a forum acheive's is absolutley nothing.

bouncer , isnt worth replying to he is classed as a super noob to me :smile..


and on he goes, lol. so far for calling off war....

happy to be a supernoob with a working bypass :P
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 10:29:50 pm
lol ok war is off bouncer , why it started in the first place i have no idea.
i reflected your bullshit on you. dont bullshit other people and i wont you ;)
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 10:33:14 pm
2 words 1 begins with F and the other ends on off , hope that helps  :smile

I can carry on all day but i wont.

i can carry on posting pointless crap to, but i wont. just stop pretending and expresing youre the total king here and i will be nice to you.

regarding your question: "User 'MrMedic' has blocked your personal message."


edit: comon. stop deleting/editing your posts all the time, you cant have a conversation like that
Title: Re: Get all Items from Life Missions...
Post by: i mss old ofp on January 18, 2012, 10:33:32 pm
me ? aww man dont be so harsh , no need for that.  :smile

ps mate il call the war off now if you want to or it can continue because to be honest with you ofp wether you have mod-apps or not i dont care either way , our aim is to beat the anti cheat all arguing on a forum acheive's is nothing.

bouncer , isnt worth replying to he is classed as a super noob :smile..


im not at war with anyone, but having my posts deleted or edited is wrong. and look who you listend to, so who started. it wasnt me. and jst as it is now you want to say somthing about numbers, so as i see it theres no team in i , i dont know numbers to well , but you had time to help so did gerk. #1 hackers with nothing to say, but(look at me im #1) .. sorry if this sounds a bit to much, but. like me, people are here to learn, not be lauphed at.
end of war
end of story
Title: Re: Get all Items from Life Missions...
Post by: MrMedic on January 18, 2012, 10:34:18 pm
me ? aww man dont be so harsh , no need for that.  :smile

ps mate il call the war off now if you want to or it can continue because to be honest with you ofp wether you have mod-apps or not i dont care either way , our aim is to beat the anti cheat all arguing on a forum acheive's is nothing.

bouncer , isnt worth replying to he is classed as a super noob :smile..


im not at war with anyone, but having my posts deleted or edited is wrong. and look who you listend to, so who started. it wasnt me. and jst as it is now you want to say somthing about numbers, so as i see it theres no team in i , i dont know numbers to well , but you had time to help so did gerk. #1 mod-appers with nothing to say, but(look at me im #1) .. sorry if this sounds a bit to much, but. like me, people are here to learn, not be lauphed at.
end of war
end of story

no i in team  :smile
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 10:35:27 pm
medic, youre so cool for deleting all your posts. i would write in pm but since you blocked me...
Title: Re: Get all Items from Life Missions...
Post by: MrMedic on January 18, 2012, 10:39:46 pm
arguing on the internet is like competing in the special olympics , no one really wins bouncer when you finally realise that then maybe we will get along untill then we will not.
Title: Re: Get all Items from Life Missions...
Post by: i mss old ofp on January 18, 2012, 10:42:14 pm
i plus 1 you numbers for being such a noob with a bypass,  :icon_razz2
i have no clue how to make filters, i started researching yesterday.
but having a filter to work off of will help alot. thanks for sharing.
hex editing was working but not if i saved it.
and only in a2 .
Title: Re: Get all Items from Life Missions...
Post by: MrMedic on January 18, 2012, 10:43:02 pm
end of war
end of story

so where is your hack then ? you posting it?

joking mate joking.
Title: Re: Get all Items from Life Missions...
Post by: MrMedic on January 18, 2012, 10:43:52 pm
i plus 1 you numbers for being such a noob with a bypass,  :icon_razz2
i have no clue how to make filters, i started researching yesterday.
but having a filter to work off of will help alot. thanks for sharing.
hex editing was working but not if i saved it.
and only in a2 .

wpe will get you banned mate , try using something else.

Bellend posted some info about a red something packet editor i think that is undetected not sure though but i will try it to save you a key if you want.

the bickering should stop though from everyone we are here to beat bi not beat each other.
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 10:46:19 pm
end of war
end of story

so where is your mod-app then ? you posting it?

joking mate joking.
just saying, same could be said about you.announced so often that you are close to release something... but you know that right ;)
Title: Re: Get all Items from Life Missions...
Post by: i mss old ofp on January 18, 2012, 10:49:06 pm
yeah , sure... somone had my last key ban from alot of servers. a2. i never switched to my new key yet,.
been reading alot, to do with filters and dll.
Title: Re: Get all Items from Life Missions...
Post by: i mss old ofp on January 18, 2012, 10:51:02 pm
i will release soon as i get back on track, i had to postpone my mod for a bit. and working on server shit.
part of me belived i could bypass thru a linux server but im to noob to get it all to work.
i only half undersand how to do it so i gave up for a bit.
need more c reading
Title: Re: Get all Items from Life Missions...
Post by: MrMedic on January 18, 2012, 10:53:08 pm
yeah , sure... somone had my last key ban from alot of servers. a2. i never switched to my new key yet,.
been reading alot, to do with filters and dll.


i will pm you with some ( bought them myself just so there is no key trading shit from bouncer my stalker ) .. 2 minutes have to find them
Title: Re: Get all Items from Life Missions...
Post by: MrMedic on January 18, 2012, 10:53:54 pm
i will release soon as i get back on track, i had to postpone my mod for a bit. and working on server shit.

i was joking mate , release whenever you feel you want to , dont listen to anyone else if its your hack then you decide when and if it ever gets released.
Title: Re: Get all Items from Life Missions...
Post by: i mss old ofp on January 18, 2012, 11:07:51 pm
ooops i was calling bouncer numbers lol my bad.
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 11:12:00 pm
yeah , sure... somone had my last key ban from alot of servers. a2. i never switched to my new key yet,.
been reading alot, to do with filters and dll.


i will pm you with some ( bought them myself just so there is no key trading shit from bouncer my stalker ) .. 2 minutes have to find them

now you disapoint me. i always thought yo used a2 free keys in arma2 (yes, its possible, gerk described that before). you reallly bought them? lol :D
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 11:15:09 pm
yeah , sure... somone had my last key ban from alot of servers. a2. i never switched to my new key yet,.
been reading alot, to do with filters and dll.


i will pm you with some ( bought them myself just so there is no key trading shit from bouncer my stalker ) .. 2 minutes have to find them

now you disapoint me. i always thought yo used a2 free keys in arma2 (yes, its possible, gerk described that before). you reallly bought them? lol :D

of course i did , its a public forum bouncer  :smile

mean, lied to ofp again....

re your pm: i thought it would be better to take this "war" out in private and not spam in countless threads. or not ? still havent unblocked me, lol.
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 11:19:13 pm
i need a bypass to unblock my pm's , im a nub according to you  :smile
lool. nevr said youre a noob, just a lot of (intentional) bs often. we all know you can hack man....
Title: Re: Get all Items from Life Missions...
Post by: i mss old ofp on January 18, 2012, 11:21:10 pm
dont worry about it about me bouncer, i never ask for anything so a never get disapointed when i dont get anything. i think z needs to start deleting all these usless posts.
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 11:27:24 pm
dont worry about it about me bouncer, i never ask for anything so a never get disapointed when i dont get anything. i think z needs to start deleting all these usless posts.
i agree, this thread is totally consoleed
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 11:28:36 pm
btw gerks sat on xfire laughing at this.
now youre friends with gerk again? maybe next week he will be your enemy again and i will be your freind? and what about in 2 weeks? lol
Title: Re: Get all Items from Life Missions...
Post by: bouncer123 on January 18, 2012, 11:43:57 pm
is that it now? lol
from me, yes.. tired

just saying because gerk hated you while ago :)
Title: Re: Get all Items from Life Missions...
Post by: MrMedic on January 19, 2012, 12:01:29 am
pm me bouncer your allowed now.