JJCP array activator!

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

aronsaabala
Newcomer
Posts: 5
Joined: May 14th, 2013, 4:13 am

JJCP array activator!

Post by aronsaabala »

Hello there can you tell me how can i make an basic array activator ?

I really don't have any idea how to start. :(

Hope you can help me.
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: JJCP array activator!

Post by Apple »

You should find out what are arrays.
here's a view how arrays look

globals
Spoiler:
string array abc
endglobals
Spoiler:
function xxx takes nothing returns nothing
set abc[1]="-aronsaabala"
set abc[2]=abc[1]+" cheats"
endfunction
function main takes nothing returns nothing
Spoiler:
call xxx()
endfunction
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
aronsaabala
Newcomer
Posts: 5
Joined: May 14th, 2013, 4:13 am

Re: JJCP array activator!

Post by aronsaabala »

where should i put globals,endglobals and fuction main? it's in end or in the beginning?? Pls tell me in easy way i'm new in learning array :( What'll i do with this line string Activator=" " should i remove it?
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: JJCP array activator!

Post by Apple »

Use Find for the following:
globals, endlglobals, function main
note that function main content has to be placed under the local variables.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
User avatar
haxorico
Super Moderator
Posts: 3196
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Been thanked: 1 time

Re: JJCP array activator!

Post by haxorico »

I don't think you understand the meaning of an array.
Tell us what you want specifically as what you are asking doesn't make much sense.
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac: 

Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
aronsaabala
Newcomer
Posts: 5
Joined: May 14th, 2013, 4:13 am

Re: JJCP array activator!

Post by aronsaabala »

i just want to make an simple array activator to hide my activator.

so anyone would tried to open my map will try to find what my activator is.

if i want my activator to be like this : "-S2RAWa[49]+S2RAWa[50]+S2RAWa[51]" it's -123
where should i put this line ??

and should i change this line to my declared array :

if SubString(GetEventPlayerChatString(),0,100)==Activator TO if SubString(GetEventPlayerChatString(),0,100)==(array name)

or can you give me a map with an array activator any map will do so i have an guide.
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: JJCP array activator!

Post by Apple »

aronsaabala wrote:i just want to make an simple array activator to hide my activator.

so anyone would tried to open my map will try to find what my activator is.

if i want my activator to be like this : "-S2RAWa[49]+S2RAWa[50]+S2RAWa[51]" it's -123
where should i put this line ??

and should i change this line to my declared array :

if SubString(GetEventPlayerChatString(),0,100)==Activator TO if SubString(GetEventPlayerChatString(),0,100)==(array name)

or can you give me a map with an array activator any map will do so i have an guide.
*a guide*
Open up JJCP endglobals go to function UnitId2Stringz , that's what they assigned every string of your name into the array.
for example, set S2RAWa[48]="0"
this simply set 0 to be replaced by S2RAWa[48]
What you're asking for is just linking your name up with that array.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.