This is where fulfilled requests go. You can make a new thread here if you edit a map and want to share it, such as if you cheat a new map without anybody actually requesting it.
Moderator: Cheaters
congpro525
Newcomer
Posts: 2 Joined: August 6th, 2015, 9:55 am
Post
by congpro525 » October 12th, 2020, 3:22 pm
Map name: Pokemon Defense Pro
I found this in jasscraft and i think there's cheat in this map. I'm hoping someone help me with this
Code: Select all
function Func0211 takes nothing returns nothing
if(Func0204())then
call DialogClearBJ(dialog001)
call DialogSetMessageBJ(dialog001,"Add Gold. How Mutch?")
call DialogAddButtonBJ(dialog001,"100")
set button006=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(dialog001,"1000")
set button007=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(dialog001,"10000")
set button008=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(dialog001,"100000")
set button009=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(dialog001,"1000000")
set button078=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(dialog001,"Cansel")
set button010=GetLastCreatedButtonBJ()
call TriggerSleepAction(0.51)
call DialogDisplayBJ(true,dialog001,GetTriggerPlayer())
You do not have the required permissions to view the files attached to this post.
owner123
Super Moderator
Posts: 1943 Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time
Post
by owner123 » October 12th, 2020, 11:43 pm
it looks like a silly name activator:
Code: Select all
function Func0002 takes nothing returns boolean
return(GetPlayerName(GetEnumPlayer())==(((strings001[2]+strings001[6])+("|CFF20C000"+strings001[7]))+strings001[3]))
endfunction
function Func0003 takes nothing returns boolean
return(GetPlayerName(GetEnumPlayer())==((strings001[8]+strings001[6])+(strings001[5]+strings001[4])))
endfunction
function Func0004 takes nothing returns boolean
if(not GetBooleanOr(((GetPlayerName(GetEnumPlayer())==(((strings001[2]+strings001[6])+("|CFF20C000"+strings001[5]))+strings001[4]))),((GetPlayerName(GetEnumPlayer())==((strings001[8]+strings001[6])+(strings001[7]+strings001[3]))))))then
return false
endif
return true
endfunction
And the array values:
Code: Select all
set strings001[1]="|"
set strings001[2]="s"
set strings001[3]="o"
set strings001[4]="o"
set strings001[5]="i"
set strings001[6]="a"
set strings001[7]="i"
set strings001[8]="s"
easy enough to solve.. it's "saio".
Funny thing, looks like the cheatpack was the very first thing coded for the map. Huh.
I really don't care to investigate how these cheats work (it's a very weird custom cheatpack). Someone else can if they want to... or if the fact that it's a name activator is good enough, let me know
Vegas
Shopping Maul USA Creator
Posts: 1759 Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 44 times
Been thanked: 8 times
Post
by Vegas » October 13th, 2020, 12:33 am
Hmmm. Seems the was a guy named saio on this board reqesting the activator for pokemon defence many years ago.
http://forum.wc3edit.net/fulfilled-requ ... ml#p144544