Well, seeing as I'm *almost* retired from cheating maps (I've moved on to map making and JASS triggering)
I'll be more than happy to design custom functions, boots or cheats for people instead
Just post your JASS problems below... <.<
JASS help
Moderator: Cheaters
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
-
- Shopping Maul USA Creator
- Posts: 1732
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
I have the perfect challenge for you.
http://www.epicwar.com/maps/14414/
My shopping maul. if you try it, you will see i disabled the damm options. I would like to get rid of tournament, and i think the other option was choose random (been a while, so i forget). tournament and random mode goofed up the start sequence. more info here:
http://forum.wc3edit.net/viewtopic.php?t=230
http://www.epicwar.com/maps/14414/
My shopping maul. if you try it, you will see i disabled the damm options. I would like to get rid of tournament, and i think the other option was choose random (been a while, so i forget). tournament and random mode goofed up the start sequence. more info here:
http://forum.wc3edit.net/viewtopic.php?t=230
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
-
- Shopping Maul USA Creator
- Posts: 1732
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
-
- Member
- Posts: 50
- Joined: February 27th, 2007, 11:17 pm
Aero wrote:Create a trigger called "Aerox Boot"
Convert to custom text and put this in
Put in the username where I have _________
Command is "-crash (color)"Code: Select all
function Aerox takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="________")
endfunction
function GetPlayer takes string s returns player
if SubString(s,7,10)=="red" then
return Player(0)
endif
if SubString(s,7,11)=="blue" then
return Player(1)
endif
if SubString(s,7,11)=="teal" then
return Player(2)
endif
if SubString(s,7,13)=="purple" then
return Player(3)
endif
if SubString(s,7,13)=="yellow" then
return Player(4)
endif
if SubString(s,7,13)=="orange" then
return Player(5)
endif
if SubString(s,7,12)=="green" then
return Player(6)
endif
if SubString(s,7,11)=="pink" then
return Player(7)
endif
if SubString(s,7,11)=="gray" then
return Player(8)
endif
if SubString(s,7,17)=="light blue" then
return Player(9)
endif
if SubString(s,7,17)=="dark green" then
return Player(10)
endif
if SubString(s,7,12)=="brown" then
return Player(11)
endif
return null
endfunction
function CrashPlayer takes player p returns nothing
local integer i=0
if p==GetLocalPlayer() then
set i=-1
endif
call Player(i)
endfunction
function Boot takes nothing returns nothing
local string s=GetEventPlayerChatString()
local player p=GetPlayer(s)
if GetPlayerSlotState(p)==PLAYER_SLOT_STATE_PLAYING then
call CrashPlayer(p)
endif
set p=null
endfunction
function InitTrig_Aerox_Boot takes nothing returns nothing
local trigger t=CreateTrigger()
local integer i=0
loop
exitwhen i>12
call TriggerRegisterPlayerChatEvent(t,Player(i),"-crash",false)
set i=i+1
endloop
call TriggerAddCondition(t,Condition(function Aerox))
call TriggerAddAction(t,function Boot)
set t=null
endfunction
What does this exactly does?? And what i have to put in ______ Space..
Whoa
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
-
- Shopping Maul USA Creator
- Posts: 1732
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
ok, i finally found some time to look for the jass file. here is the portion where the options are. please take a quik look and tell me if there is a way to teke out a couple of them.
I would like to get rid of random shops, and tournament.
.
Code: Select all
call DialogClear(bP)
call DialogDisplayBJ(false,bP,aY)
if(tq())then
call DialogSetMessage(bP,"|cffffffffOptionen")
else
call DialogSetMessage(bP,"|cffffffffOptions")
endif
if(ts())then
else
if(tR())then
if(tr())then
call DialogAddButtonBJ(bP,"|cffffff00[ ] Geldteilen")
else
call DialogAddButtonBJ(bP,"|cffffff00[ ] Gold Sharing")
endif
else
if(tQ())then
call DialogAddButtonBJ(bP,"|cffffff00[|cffff0000X|cffffff00] Geldteilen")
else
call DialogAddButtonBJ(bP,"|cffffff00[|cffff0000X|cffffff00] Gold Sharing")
endif
endif
set bq[1]=bj_lastCreatedButton
endif
if(tu())then
else
if(tT())then
if(tt())then
call DialogAddButtonBJ(bP,"|cffffff00[ ] Ohne XP")
else
call DialogAddButtonBJ(bP,"|cffffff00[ ] Without XP")
endif
else
if(tS())then
call DialogAddButtonBJ(bP,"|cffffff00[|cffff0000X|cffffff00] Ohne XP")
else
call DialogAddButtonBJ(bP,"|cffffff00[|cffff0000X|cffffff00] Without XP")
endif
endif
set bq[2]=bj_lastCreatedButton
endif
if(tW())then
else
if(tw())then
if(tV())then
call DialogAddButtonBJ(bP,"|cffffff00[ ] Filialen max einmal")
else
call DialogAddButtonBJ(bP,"|cffffff00[ ] Races only once")
endif
else
if(tv())then
call DialogAddButtonBJ(bP,"|cffffff00[|cffff0000X|cffffff00] Filialen max einmal")
else
call DialogAddButtonBJ(bP,"|cffffff00[|cffff0000X|cffffff00] Races only once")
endif
endif
set bq[3]=bj_lastCreatedButton
endif
if(tz())then
else
if(tY())then
if(ty())then
call DialogAddButtonBJ(bP,"|cffffff00[ ] Zufällige Filialen")
else
call DialogAddButtonBJ(bP,"|cffffff00[ ] Random Shops")
endif
else
if(tX())then
call DialogAddButtonBJ(bP,"|cffffff00[|cffff0000X|cffffff00] Zufällige Filialen")
else
call DialogAddButtonBJ(bP,"|cffffff00[|cffff0000X|cffffff00] Random Shops")
endif
endif
set bq[4]=bj_lastCreatedButton
endif
if(t1())then
else
if(t0())then
call DialogAddButtonBJ(bP,"|cffaaaaaa[ ] Tournament")
else
call DialogAddButtonBJ(bP,"|cffaaaaaa[|cffff0000X|cffaaaaaa] Tournament (!)")
endif
set bq[5]=bj_lastCreatedButton
endif
call DialogAddButtonBJ(bP,"|cff00ff00OK")
set bq[10]=bj_lastCreatedButton
call DialogDisplayBJ(true,bP,aY)
call ConditionalTriggerExecute(e1)
endfunction
function t3 takes nothing returns boolean
return(aG[13]==false)
endfunction
function t4 takes nothing returns boolean
return(aG[13])
endfunction
function t5 takes nothing returns nothing
set aG[13]=true
call Et(15.)
if(t4())then
call DialogDisplayBJ(false,bP,aY)
call ConditionalTriggerExecute(e8)
endif
endfunction
function t6 takes nothing returns boolean
return(GetClickedButton()==bq[1])
endfunction
function t7 takes nothing returns boolean
return(bQ)
endfunction
function t8 takes nothing returns nothing
if(t7())then
set bQ=false
else
set bQ=true
endif
call ConditionalTriggerExecute(e0)
endfunction
function t9 takes nothing returns boolean
return(GetClickedButton()==bq[2])
endfunction
function Ta takes nothing returns boolean
return(br)
endfunction
function TA takes nothing returns nothing
if(Ta())then
set br=false
else
set br=true
endif
call ConditionalTriggerExecute(e0)
endfunction
function Tb takes nothing returns boolean
return(GetClickedButton()==bq[3])
endfunction
function TB takes nothing returns boolean
return(bt)
endfunction
function Tc takes nothing returns nothing
if(TB())then
set bt=false
else
set bt=true
endif
call ConditionalTriggerExecute(e0)
endfunction
function TC takes nothing returns boolean
return(GetClickedButton()==bq[4])
endfunction
function Td takes nothing returns boolean
return(b5)
endfunction
function TD takes nothing returns nothing
if(Td())then
set b5=false
else
set b5=true
endif
call ConditionalTriggerExecute(e0)
endfunction
function Te takes nothing returns boolean
return(GetClickedButton()==bq[5])
endfunction
function TE takes nothing returns boolean
return(BD)
endfunction
function Tf takes nothing returns nothing
if(TE())then
set BD=false
else
set BD=true
endif
call ConditionalTriggerExecute(e0)
endfunction
function TF takes nothing returns boolean
return(GetClickedButton()==bq[10])
endfunction
function Tg takes nothing returns nothing
set aG[13]=false
call DialogDisplayBJ(false,bP,aY)
call ConditionalTriggerExecute(e8)
endfunction
function TG takes nothing returns boolean
return(az[(1+GetPlayerId(GetEnumPlayer()))]==false)
endfunction
function Th takes nothing returns nothing
if(TG())then
call DisplayTimedTextToForce(fR(GetEnumPlayer()),10.,"|cff0078ffSpielmodus: |c0000ff00Standard (Gruppe)")
else
I would like to get rid of random shops, and tournament.
.