Further information on this map for anyone wanting to hack it.
I suggest adding these 4 commands into it as well
Code:
if SubString(s2s,0,6)=="-plat "then
set I1IL[1 + GetPlayerId(p2p)] = S2I(SubString(s2s,6,999))
elseif SubString(s2s,0,5)=="-arc "then
set I1LL[1 + GetPlayerId(p2p)] = S2I(SubString(s2s,5,999))
endif
if SubString(s2s,0,7)=="-timeh "then
set IIJII[1 + GetPlayerId(p2p)] = S2I(SubString(s2s,7,999))
elseif SubString(s2s,0,7)=="-timem "then
set IIL1I[1 + GetPlayerId(p2p)] = S2I(SubString(s2s,7,999))
endif
The variables it sets SHOULD be the correct ones. I don't know fully how to deprotect maps so I can't do this work myself, Add these after
Code:
if SubString(s2s,0,3)=="-mh"then
call MapHack(p2p)
endif
in JJCP's "Cheatz" function
As for enabling singleplayer...
OPTIONAL: you can set "bj_isSinglePlayer" before it is called in "function IIIJJII"... to change the text shown from "Single player" to "Multiplayer Enabled" upon map loading as shown in following
My recommendation is to simply add
Code:
set bj_isSinglePlayer = false
right before the check (first line of function). That is the only usage for this variable.
However for actually enabling Save/Load in multiplayer you might want to look at "function IIIJLLI"
You can just replace the entire function with just this...
Code:
function IIIJLLI takes nothing returns nothing
set JLIL=true
endfunction
As the only purpose for this function is to set wether multiplayer is on or not