[JJCP 1.24b - e] Multiple-Command Version

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

zUsername
Forum Addict
Posts: 407
Joined: February 25th, 2011, 3:16 am
Location: Unknown

Re: [JJCP 1.24b - e] Multiple-Command Version

Post by zUsername »

thanks for reply, it's
  • set Activator=("-"+S2RAWa[97]+S2RAWa[98]+S2RAWa[99])
Anyway thanks you.
leadership911
Newcomer
Posts: 18
Joined: March 5th, 2013, 4:13 pm

Re: [JJCP 1.24b - e] Multiple-Command Version

Post by leadership911 »

God.Is.A.Dog wrote:
crazymen14 wrote:Can I use rawcode to set activator? And how ?

Example: set Activator=("-"+S2RAWa[97]+S2RAWa[98]+S2RAWa[99])

I'm try to set Activator=("-"+S2RAWa[97]+S2RAWa[98]+S2RAWa[99]) (means -abc) and it's not working, however JJ2197 Cheat Pack normal ( not multiple ) is working well.
You can't use something not declared in global. In this case S2RAWa array can't be used,
if you want to have that for your cheat activator you can add this line in the cheatpack endglobals after declaring the S2RAWa:

Code: Select all

set Activator=""-"+S2RAWa[97]+S2RAWa[98]+S2RAWa[99]"
will it work if i set Activator-string under endglobals, also under the S2RAW-function?
and about the space-insert :
Spoiler:
function Fukki_SpaceInsert2 takes integer fi2i returns string
local integer fi3i=1
local string fs2s=""
loop
exitwhen fi3i>fi2i
set fs2s=fs2s+" "
set fi3i=fi3i+1
endloop
return fs2s
endfunction
function Fukki_SpaceInsert takes string fs2s returns string
return Fukki_SpaceInsert2(Space_Before_Time)+fs2s+Fukki_SpaceInsert2(Space_After_Time)
endfunction
doesnt it just insert only space before and after the act-string? like:
integer Space_Before_Time=0
integer Space_After_Time=2
EX: Activator="-act test" now your activator is "-act test<space><space>" but not "-test<space><space>" as u said?
anyway your work is great, i like it very much, the best one :D. Thanks so much
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: [JJCP 1.24b - e] Multiple-Command Version

Post by Apple »

Why not try it before you ask?
It can be easily tested if you are trying.
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.
leadership911
Newcomer
Posts: 18
Joined: March 5th, 2013, 4:13 pm

Re: [JJCP 1.24b - e] Multiple-Command Version

Post by leadership911 »

God.Is.A.Dog wrote:Why not try it before you ask?
It can be easily tested if you are trying.
i tested and it didnt like he said:
Fukki wrote:String Activator with: -act
integer Space_Before_Time=0
integer Space_After_Time=2
look your "Space_Before_Time" and "Space_After_Time" setting
EX: cmd "-act test" now your activator is "-test<space><space>"
thats why i asked
zUsername
Forum Addict
Posts: 407
Joined: February 25th, 2011, 3:16 am
Location: Unknown

Re: [JJCP 1.24b - e] Multiple-Command Version

Post by zUsername »

leadership911 wrote: doesnt it just insert only space before and after the act-string? like:
integer Space_Before_Time=0
integer Space_After_Time=2
EX: Activator="-act test" now your activator is "-act test<space><space>" but not "-test<space><space>" as u said?
anyway your work is great, i like it very much, the best one :D. Thanks so much
it's mean he use command "-act" to change Activator to "-test", but there have 2 space after Activator so Activator will be "-test<2xspace>"
leadership911
Newcomer
Posts: 18
Joined: March 5th, 2013, 4:13 pm

Re: [JJCP 1.24b - e] Multiple-Command Version

Post by leadership911 »

oh i see, i thought he said if set Activator="-act test" then string to active cheat is "-test<space><space>"
my mistake, sry :D