TKC-Community

Hacking and Art => Armed Assault 3 => Armed Assault 2 => Topic started by: darkrounge on July 01, 2012, 09:58:04 pm

Title: Whats wrong?
Post by: darkrounge on July 01, 2012, 09:58:04 pm
Anyone know what's wrong with this code?:

Code: [Select]
if (isnil ("bInvisibleOn")) then
{
bInvisibleOn = false;
};

if (!bInvisibleOn) then
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";


strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject true;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;
bInvisibleOn = true;
hint "Your are now Invisible (ON).";
strExecCode = nil;
}
else
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";
sleep 0.1;

strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject false;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;


hint "You are now Visible (OFF).";
strExecCode = nil;
};
Title: Re: Whats wrong?
Post by: userpc on July 01, 2012, 10:19:56 pm
Anyone know what's wrong with this code?:

Code: [Select]
if (isnil ("bInvisibleOn")) then
{
bInvisibleOn = false;
};

if (!bInvisibleOn) then
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";


strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject true;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;
bInvisibleOn = true;
hint "Your are now Invisible (ON).";
strExecCode = nil;
}
else
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";
sleep 0.1;

strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject false;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;


hint "You are now Visible (OFF).";
strExecCode = nil;
};

Its code do you invisible pal  :icon_rolleyes2
Title: Re: Whats wrong?
Post by: darkrounge on July 01, 2012, 10:23:25 pm
I know what it is, I'm asking whats wrong with the code.
Title: Re: Whats wrong?
Post by: bouncer123 on July 01, 2012, 10:30:55 pm
Anyone know what's wrong with this code?:

Code: [Select]
if (isnil ("bInvisibleOn")) then
{
bInvisibleOn = false;
};

if (!bInvisibleOn) then
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";


strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject true;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;
bInvisibleOn = true;
hint "Your are now Invisible (ON).";
strExecCode = nil;
}
else
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";
sleep 0.1;

strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject false;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;


hint "You are now Visible (OFF).";
strExecCode = nil;
};

no offense, but shouldnt someone that wants to sell his hack to a paid hack site know whats going on? :wink2
Title: Re: Whats wrong?
Post by: darkrounge on July 01, 2012, 11:08:27 pm
Anyone know what's wrong with this code?:

Code: [Select]
if (isnil ("bInvisibleOn")) then
{
bInvisibleOn = false;
};

if (!bInvisibleOn) then
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";


strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject true;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;
bInvisibleOn = true;
hint "Your are now Invisible (ON).";
strExecCode = nil;
}
else
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";
sleep 0.1;

strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject false;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;


hint "You are now Visible (OFF).";
strExecCode = nil;
};

no offense, but shouldnt someone that wants to sell his mod-app to a paid mod-app site know whats going on? :wink2


Nope, else I wouldn't be asking, would I?
Title: Re: Whats wrong?
Post by: diddly123 on July 01, 2012, 11:10:41 pm
So you took the invisibility script from darky's hack and you don't know how to make it work? And you want to resell it? heh.
Title: Re: Whats wrong?
Post by: darkrounge on July 01, 2012, 11:16:04 pm
So you took the invisibility script from darky's mod-app and you don't know how to make it work? And you want to resell it? heh.

No, it works, I'm just asking what's preventing it from looping..
Darkys mod-app is awesome, that's why I'm using it.

Many of the scripts are produced by darky, majority of users here use previous/old scripts in their mod-apps..
Even MrMedic does..

Is that a problem?
Title: Re: Whats wrong?
Post by: robin-580 on July 01, 2012, 11:27:48 pm
so that script works?
Title: Re: Whats wrong?
Post by: darkrounge on July 01, 2012, 11:59:09 pm
so that script works?

Yes, it does.
But there's a little thing wrong with it that I cannot workout.
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 12:06:45 am
so you say it works and you can be invisible when you execute it but on the other side there is still something wrong with it whats the problem ?
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 12:11:55 am
Let me guess , its not working on dayz?
Title: Re: Whats wrong?
Post by: diddly123 on July 02, 2012, 12:35:11 am
So you took the invisibility script from darky's mod-app and you don't know how to make it work? And you want to resell it? heh.

No, it works, I'm just asking what's preventing it from looping..
Darkys mod-app is awesome, that's why I'm using it.

Many of the scripts are produced by darky, majority of users here use previous/old scripts in their mod-apps..
Even MrMedic does..

Is that a problem?
Regardless the issue with the script is easy to fix if you had the same issue with it as i did. Why don't you tell us what's wrong instead of being vague.
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 12:40:47 am
whats is wrong with it then diddy?
Title: Re: Whats wrong?
Post by: darkrounge on July 02, 2012, 12:46:21 am
Let me guess , its not working on dayz?

It works in dayz for me..
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 12:47:54 am
i just tryed it it doesnt work at all
Title: Re: Whats wrong?
Post by: darkrounge on July 02, 2012, 12:50:24 am
i just tryed it it doesnt work at all

Makes me invisible, but denies taking it off.. :/
But the code seems alright and it should take invisibility off upon second click.
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 01:05:39 am
can you see yourself invisible though? AND IT DOESNT WORK FOR ME ON LIFE SERVERS OR ANY OTHER SERVER cap oops
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 01:30:10 am
i just tryed it it doesnt work at all

Makes me invisible, but denies taking it off.. :/
But the code seems alright and it should take invisibility off upon second click.

it will not work because the hide command has been changed so i dont understand how its making you invisible at all unless thats not the code your using in your post , the reason bis has given is 'security issues'.
Title: Re: Whats wrong?
Post by: darkrounge on July 02, 2012, 01:43:11 am
I don't see myself invisible, but when I walk behind someone else they're unable to see me.
Tried it on several people, they look around but cannot see me :/
Title: Re: Whats wrong?
Post by: s0beit on July 02, 2012, 01:43:53 am
Just make yourself invisible in the same way that you can in other client-side games.

Say you're in one place (X/Y/Z) and actually be in another.
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 01:46:15 am
I don't see myself invisible, but when I walk behind someone else they're unable to see me.
Tried it on several people, they look around but cannot see me :/

if you can see yourself others can also see you mate , be carefull.

il pm you check your inbox.
Title: Re: Whats wrong?
Post by: diddly123 on July 02, 2012, 01:53:23 am
I don't see myself invisible, but when I walk behind someone else they're unable to see me.
Tried it on several people, they look around but cannot see me :/

if you can see yourself others can also see you mate , be carefull.

il pm you check your inbox.
The script still works on dayz, atleast it did before the ban wave. Used it while in a uaz with friends and they said the entire car dissapeared for them.
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 01:56:23 am
I don't see myself invisible, but when I walk behind someone else they're unable to see me.
Tried it on several people, they look around but cannot see me :/

if you can see yourself others can also see you mate , be carefull.

il pm you check your inbox.
The script still works on dayz, atleast it did before the ban wave. Used it while in a uaz with friends and they said the entire car dissapeared for them.

hmm , wait il recheck then , maybe i fucked something up.

nope its still not working , it might be the latest beta 94 , or im messing something up , anyway i do it a different way and i know myne works so good luck with it darkrounge hope you get it working.
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 01:59:45 am
Medic can you put it here when you might have fixed it?
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 02:04:38 am
Medic can you put it here when you might have fixed it?

...... NO .....
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 02:12:23 am
and this?
i saw it somewhere not sure if it works

_playerpos = getPos player;
turnmeintocidemrm[ _playerpos, 2672/4];
Title: Re: Whats wrong?
Post by: Coronel_Niel on July 02, 2012, 02:13:19 am
and this?
i saw it somewhere not sure if it works

_playerpos = getPos player;
turnmeintocidemrm[ _playerpos, 2672/4];


Yep, put that in a script and run it.
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 02:16:59 am
lol haha
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 02:19:04 am
and this?
i saw it somewhere not sure if it works

_playerpos = getPos player;
turnmeintocidemrm[ _playerpos, 2672/4];


Yep, put that in a script and run it.

Nice!. :smile
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 02:19:17 am
Mrmedic you know we would love you forever if you give us a real working invisible script i know you got something :icon_teehee
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 02:20:18 am
Mrmedic you know we would love you forever if you give us a real working invisible script i know you got something :icon_teehee

I would but then i'd have to shoot myself in the finger for revealing it.
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 02:21:08 am
you could just reveal 1 little thing  :oops:
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 02:21:56 am
you could just reveal 1 little thing  :oops:

it makes you invisible ... :icon_laugh

nah i will let someone else work it out and if they want to post it then thats upto them , it would cause havoc on the game.
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 02:22:26 am
give a bit more :oops:
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 02:24:02 am
loads of invisible cheaters ? ... sorry cant be done from my end someone else will have to post it if they wanna.
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 02:25:12 am
 :icon_cry2 :icon_cry2 :icon_cry2 :icon_cry2 you make me cry i will have bad dreams from now on
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 03:03:01 am
 :icon_cry2 :icon_cry2
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 03:06:36 am
Mrmedic oo no this is the first time i see you emotional
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 03:09:31 am
Mrmedic oo no this is the first time i see you emotional
.... NO NO NO ....
Title: Re: Whats wrong?
Post by: Buster on July 02, 2012, 03:15:16 am
lol, its easy to get working if you compare it to a similar script. They all work on the same principle  :icon_thumbsup
Just got it working and never thought of bieng invisible  :icon_laugh
And YES I can confirm, this still works, whether you get detected on specifically a "DayZ" server, is another question  :icon_cool2
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 03:18:59 am
http://www.youtube.com/watch?v=zKdxd718WXg
Title: Re: Whats wrong?
Post by: Buster on July 02, 2012, 03:22:20 am
lol, Freddy the fuckin nudge fudger  :icon_laugh
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 03:26:27 am
lol, Freddy the fuckin nudge fudger  :icon_laugh

lol he's the invisible man  :icon_thumbsup
Title: Re: Whats wrong?
Post by: Buster on July 02, 2012, 03:32:20 am
lol,  :icon_thumbsup
(http://i1169.photobucket.com/albums/r514/BusterNoob/images.jpg)
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 03:33:18 am
lol,  :icon_thumbsup
(http://i1169.photobucket.com/albums/r514/BusterNoob/images.jpg)
ahahahaaaa fkn hell. lol
Title: Re: Whats wrong?
Post by: jimz on July 02, 2012, 03:33:47 am
invisibilty is the best teleporting into clans camps and taking stuff out of their alice pack is funny as hell  :icon_biggrin2
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 03:35:29 am
invisibilty is the best teleporting into clans camps and taking stuff out of their alice pack is funny as hell  :icon_biggrin2

lol i migt try that. i bet that is funny.
Title: Re: Whats wrong?
Post by: Buster on July 02, 2012, 03:36:15 am
yep, Invisibility is the wtg if ya "want to be free"  :icon_laugh
Title: Re: Whats wrong?
Post by: jimz on July 02, 2012, 03:36:53 am
its brilliant mate ive had a lot of fun today taking all there beans etc not killing them though just a silent thief lol
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 03:37:02 am
what is the tent class ? cant be arsed to look through the config lol , be funny to warp to it , steal all their stuff and dump it next to someone else. then tell every fucker in the server oi this mothers stealing shizzle  :icon_laugh

im going to make this tomorrow , its too late here right now.

call it , the scarlet pimpqueen.
Title: Re: Whats wrong?
Post by: jimz on July 02, 2012, 03:38:33 am
haha i spawned some ai the guy was raging in chat saying the takistan woman stole his gear  :icon_laugh
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 03:39:13 am
haha i spawned some ai the guy was raging in chat saying the takistan woman stole his gear  :icon_laugh
ahahaha!!!

lol stay tuned this is going to be a propper laugh , im going to make it tomorrow.
Title: Re: Whats wrong?
Post by: jimz on July 02, 2012, 03:40:09 am
its so funny im gonna record some footage, maybe spawn a cow army hmmm
Title: Re: Whats wrong?
Post by: Buster on July 02, 2012, 03:40:53 am
Cool,  :icon_cool2
Title: Re: Whats wrong?
Post by: jimz on July 02, 2012, 03:41:34 am
thieving cows!
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 03:42:20 am
"TentStorage" .. lol to be continued. :icon_laugh
Title: Re: Whats wrong?
Post by: jimz on July 02, 2012, 03:46:02 am
"TentStorage" .. lol to be continued. :icon_laugh

sounds interesting lol  :icon_laugh
Title: Re: Whats wrong?
Post by: link757 on July 02, 2012, 09:13:02 am
loads of invisible cheaters ? ... sorry cant be done from my end someone else will have to post it if they wanna.

I agree fuck that.
Title: Re: Whats wrong?
Post by: Flyingspaghettimonster on July 02, 2012, 11:56:47 am
katie, you might want to try using ctrl +c and ctrl+v as opposed to manually right clicking copy, then pasting. Hoped this help dark.

-Spaghetti
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 02:16:44 pm
its so funny im gonna record some footage, maybe spawn a cow army hmmm

something like this :icon_biggrin2 had alot of fun with it

hint "Open the Map and Select the Map Position u want to paradrop";
sCode = 'hint "Cows in comming, RUN!";';
sCode = sCode + ' _pos = [(cTargetPos select 0) + random 100, (cTargetPos select 1) + random 100, 100];';
sCode = sCode + ' PLANE1 = createVehicle ["C130J", [(_pos) select 0,(_pos) select 1,500], [], 0, "FLY"];';
sCode = sCode + 'cpbLoops = 100;';
sCode = sCode + 'cpLoopsDelay = 0.13;';
sCode = sCode + 'for "_i" from 0 to cpbLoops do {';
sCode = sCode + ' _pos1 = [(cTargetPos select 0)+random 100,   (cTargetPos select 1)+random 100];';
sCode = sCode + ' _chute= createvehicle ["ParachuteC", [(_pos1) select 0,(_pos1) select 1], [], 0, "FLY"];';
sCode = sCode + ' _cow=group player createunit  ["Cow04", [(_pos1) select 0,(_pos1) select 1,152], [], 0, "FORM"];';
sCode = sCode + ' _cow attachTo [ _chute, [0,0,0]];' ;
sCode = sCode + 'sleep cpLoopsDelay;};';
sCode = sCode + 'cTargetPos = nil;cpbLoops = nil;cpLoopsDelay = nil;';
onMapSingleClick "cTargetPos = _pos;[] spawn compile sCode; onMapSingleClick '';true;";

they also walk around and stuff when you drop them
Title: Re: Whats wrong?
Post by: MrMedic on July 02, 2012, 02:32:20 pm
hint "Open the Map and Select the Map Position u want to paradrop Tents";
sCode = 'hint "Camping is great ... !";';
sCode = sCode + ' _pos = [(cTargetPos select 0) + random 100, (cTargetPos select 1) + random 100, 100];';
sCode = sCode + ' PLANE1 = createVehicle ["C130J", [(_pos) select 0,(_pos) select 1,500], [], 0, "FLY"];';
sCode = sCode + 'cpbLoops = 100;';
sCode = sCode + 'cpLoopsDelay = 0.13;';
sCode = sCode + 'for "_i" from 0 to cpbLoops do {';
sCode = sCode + ' _pos1 = [(cTargetPos select 0)+random 100,   (cTargetPos select 1)+random 100];';
sCode = sCode + ' _chute= createvehicle ["ParachuteC", [(_pos1) select 0,(_pos1) select 1], [], 0, "FLY"];';
sCode = sCode + ' _cow="TentStorage" createvehicle (getpos  _chute);';
sCode = sCode + ' _cow attachTo [ _chute, [0,0,0]];' ;
sCode = sCode + 'sleep cpLoopsDelay;};';
sCode = sCode + 'cTargetPos = nil;cpbLoops = nil;cpLoopsDelay = nil;';
onMapSingleClick "cTargetPos = _pos;[] spawn compile sCode; onMapSingleClick '';true;";

tent sale...  :smile
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 02:52:57 pm
hahahaha thats funny
Title: Re: Whats wrong?
Post by: jimz on July 02, 2012, 04:45:01 pm
Lol i like it medic!
Title: Re: Whats wrong?
Post by: robin-580 on July 02, 2012, 05:44:33 pm
hint "Open the Map and Select the Map Position u want to paradrop";
sCode = 'hint "Cows in comming, RUN!";';
sCode = sCode + ' _pos = [(cTargetPos select 0) + random 100, (cTargetPos select 1) + random 100, 100];';
sCode = sCode + ' PLANE1 = createVehicle ["C130J", [(_pos) select 0,(_pos) select 1,500], [], 0, "FLY"];';
sCode = sCode + 'cpbLoops = 100;';
sCode = sCode + 'cpLoopsDelay = 0.13;';
sCode = sCode + 'for "_i" from 0 to cpbLoops do {';
sCode = sCode + ' _pos1 = [(cTargetPos select 0)+random 100,   (cTargetPos select 1)+random 100];';
sCode = sCode + ' _chute= createvehicle ["ParachuteC", [(_pos1) select 0,(_pos1) select 1], [], 0, "FLY"];';
sCode = sCode + ' _cow=group player createunit  ["Cow04", [(_pos1) select 0,(_pos1) select 1,152], [], 0, "FORM"];';
sCode = sCode + ' _cow attachTo [ _chute, [0,0,0]];' ;
sCode = sCode + 'sleep cpLoopsDelay;};';
sCode = sCode + 'cTargetPos = nil;cpbLoops = nil;cpLoopsDelay = nil;';
onMapSingleClick "cTargetPos = _pos;[] spawn compile sCode; onMapSingleClick '';true;";

this is more fun though
Title: Re: Whats wrong?
Post by: jimz on July 02, 2012, 08:26:55 pm
That does look fun  :icon_biggrin2 hopefully dayz is working again when i finish work
Title: Re: Whats wrong?
Post by: inf1kek on July 02, 2012, 09:33:22 pm
hint "Open the Map and Select the Map Position u want to paradrop";
sCode = 'hint "Cows in comming, RUN!";';
sCode = sCode + ' _pos = [(cTargetPos select 0) + random 100, (cTargetPos select 1) + random 100, 100];';
sCode = sCode + ' PLANE1 = createVehicle ["C130J", [(_pos) select 0,(_pos) select 1,500], [], 0, "FLY"];';
sCode = sCode + 'cpbLoops = 100;';
sCode = sCode + 'cpLoopsDelay = 0.13;';
sCode = sCode + 'for "_i" from 0 to cpbLoops do {';
sCode = sCode + ' _pos1 = [(cTargetPos select 0)+random 100,   (cTargetPos select 1)+random 100];';
sCode = sCode + ' _chute= createvehicle ["ParachuteC", [(_pos1) select 0,(_pos1) select 1], [], 0, "FLY"];';
sCode = sCode + ' _cow=group player createunit  ["Cow04", [(_pos1) select 0,(_pos1) select 1,152], [], 0, "FORM"];';
sCode = sCode + ' _cow attachTo [ _chute, [0,0,0]];' ;
sCode = sCode + 'sleep cpLoopsDelay;};';
sCode = sCode + 'cTargetPos = nil;cpbLoops = nil;cpLoopsDelay = nil;';
onMapSingleClick "cTargetPos = _pos;[] spawn compile sCode; onMapSingleClick '';true;";

this is more fun though

 :icon_laugh :icon_laugh :icon_laugh :icon_laugh
Title: Re: Whats wrong?
Post by: diddly123 on July 02, 2012, 11:59:11 pm
Here's a hint for the script. There's a flip in the boolean that's missing.
Title: Re: Whats wrong?
Post by: MrMedic on July 03, 2012, 12:15:01 am
the command he's looking for is 'not'
Title: Re: Whats wrong?
Post by: Foma on July 04, 2012, 12:16:40 am
Just a few minutes ago I was playing some Arma 2 and some mod-apper came in and spawned a hundred of these paracows, then he made everyone fly on a rocket and then after all he got people in the flying tanks.
At first I thought that my script's gone crazy (as I spawned some parahookers like 10 mins ago) but then I realized that was someone else. :smile
It was quite a show  :icon_laugh
As I'm sure that was someone from out there, can I ask what way do you set player on a rocket/vehicle and make it actually fly for a long time?
Is the flying path taken from a bird?
Title: Re: Whats wrong?
Post by: Buster on July 04, 2012, 12:23:37 am
paracows

 :icon_laugh :icon_laugh :icon_laugh :icon_laugh :icon_laugh