Could anyone show me how to change the activator of Fai's cheatpack with picture? I cant get what senethior means .I really need help about it . And is it possible change the activator like start with "-" ?
Thanks~
[blinking]Seen My Faces Like a Nerd ! It's Time To Consume People ![/blinking]
Credit to ILikeHacking
function passW takes nothing returns nothing
local player p7=GetTriggerPlayer()
local integer j7=GetPlayerId(p7)
local boolean bl6=false
local integer i3
local string s5=GetEventPlayerChatString()
if ahbee[12]<1then
set ahbee[12]=1
set ahbee[13]=-1
set ahbee[14]=-1
set ahbee[15]=-1
set ahbee[16]=-1
set ahbee[17]=-1
set ahbee[18]=-1
set ahbee[19]=-1
set ahbee[20]=-1
set ahbee[21]=-1
set ahbee[22]=-1
set ahbee[23]=-1
set ahbee[24]=-1
set col7[12]="PASSWORD"
set col7[37]="|CFFFF0303"
set col7[38]="|CFF0042FF"
set col7[39]="|CFF1CE6B9"
set col7[40]="|CFF540081"
set col7[41]="|CFFFFFC00"
set col7[42]="|CFFFE8A0E"
set col7[43]="|CFF20C000"
set col7[44]="|CFFE55BB0"
set col7[45]="|CFF959697"
set col7[46]="|CFF7FBFF1"
set col7[47]="|CFF106246"
set col7[48]="|CFF492A04"
endif
set i3=StringLength(col7[12])
if SubString(s5,0,i3)==col7[12]and SubString(s5,i3+3,i3+4)==""then
if ahbee[j7]<1then
if ahbee[12]!=2then
set ahbee[12]=2
set col7[j7+13]="k??. cp. us. md. dc. "
set ahbee[133]=j7
call DoNotSaveReplay()
set i3=0
loop
set ahbee[i3+37]=0
set ahbee[i3+49]=6
set ahbee[i3+85]=12
set ahbee[i3+97]=18
exitwhen i3>10
set i3=i3+1
endloop
endif
call TriggerRegisterPlayerChatEvent(BeE,p7,".",bl6)
set ahbee[j7+13]=1
call DisplayTimedTextToPlayer(p7,0,0.25,5,"|cff00BFFFYou|r are loved by |cffff0000Fai|r")
set ahbee[j7]=1
endif
endif
set p7=null
endfunction
Change col[12] to whatever you'd like the activator to be. I've removed the normal password, since Fai asked it never be posted on the forums.
By changing col[12], the activator will be that + 3 spaces. To change the number of spaces, change this line:
if SubString(s5,0,i3)==col7[12]and SubString(s5,i3+3,i3+4)==""then
Change "i3+3" so the 3 is however many spaces you'd like to have in the code, and "i3+4" so the 4 is one greater.
Or you could make it "i3, i3+1" and have the spaces in col[12].
EDIT: Actually, you may wanna leave the spaces alone. There's stuff in function main too, and I'm too tired to work it all out right now.
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
dont be unhappy. It's a way of protecting a cp's activator.
so that it won't be easy for some random noobs just to oepn the J file and easily get the activator.
It needs an intermediate level JASSer to interprete it and get the right answer.