Page 2 of 4

Re: Is there any easier tut bout enabling SP..?

Posted: September 22nd, 2009, 12:13 pm
by Bushido
You made a double Post.
Was that needed? Nope. There's an edit Button for a good reason.
You forgot something? Edit the post above and it's k.

Re: Is there any easier tut bout enabling SP..?

Posted: September 22nd, 2009, 12:22 pm
by boiled_vodka
Do I have to delete all that below..? I think I rid of 'em and got (b) _____________________________________________________________ [result of ctrl + f 'singleplay]
loop
exitwhen OOI1I0==16
set bj_FORCE_PLAYER[OOI1I0]=CreateForce()
call ForceAddPlayer(bj_FORCE_PLAYER[OOI1I0],Player(OOI1I0))
set OOI1I0=OOI1I0+1
endloop
set bj_FORCE_ALL_PLAYERS=CreateForce()
call ForceEnumPlayers(bj_FORCE_ALL_PLAYERS,null)
set bj_cineModePriorSpeed=GetGameSpeed()
set bj_cineModePriorFogSetting=IsFogEnabled()
set bj_cineModePriorMaskSetting=IsFogMaskEnabled()
set OOI1I0=0
loop
exitwhen OOI1I0>=bj_MAX_QUEUED_TRIGGERS
set bj_queuedExecTriggers[OOI1I0]=null
set bj_queuedExecUseConds[OOI1I0]=false
set OOI1I0=OOI1I0+1
endloop
set bj_isSinglePlayer=false
set OOI110=0
set OOI1I0=0
loop
exitwhen OOI1I0>=$C
if(GetPlayerController(Player(OOI1I0))==MAP_CONTROL_USER and GetPlayerSlotState(Player(OOI1I0))==PLAYER_SLOT_STATE_PLAYING)then
set OOI110=OOI110+1
endif
set OOI1I0=OOI1I0+1
endloop
set bj_isSinglePlayer=(OOI110==1)
set bj_rescueSound=CreateSoundFromLabel("Rescue",false,false,false,$2710,$2710)
set bj_questDiscoveredSound=CreateSoundFromLabel("QuestNew",false,false,false,$2710,$2710)
set bj_questUpdatedSound=CreateSoundFromLabel("QuestUpdate",false,false,false,$2710,$2710)
set bj_questCompletedSound=CreateSoundFromLabel("QuestCompleted",false,false,false,$2710,$2710)
set bj_questFailedSound=CreateSoundFromLabel("QuestFailed",false,false,false,$2710,$2710)
set bj_questHintSound=CreateSoundFromLabel("Hint",false,false,false,$2710,$2710)
set bj_questSecretSound=CreateSoundFromLabel("SecretFound",false,false,false,$2710,$2710)
set bj_questItemAcquiredSound=CreateSoundFromLabel("ItemReward",false,false,false,$2710,$2710)
set bj_questWarningSound=CreateSoundFromLabel("Warning",false,false,false,$2710,$2710)
set bj_victoryDialogSound=CreateSoundFromLabel("QuestCompleted",false,false,false,$2710,$2710)
set bj_defeatDialogSound=CreateSoundFromLabel("QuestFailed",false,false,false,$2710,$2710)
_________________________________________________________________________________

There are too many *-save*s and I don't know what to touch.
I need images of the sp tut of the attached file (a).j badly X^X

:edit: and I can't find anything about (gg_trg_save)..

Re: Is there any easier tut bout enabling SP..?

Posted: September 22nd, 2009, 12:27 pm
by dDemoneEvil
Try delete :

4576-4578 lines , this:

Code: Select all

if(IOOI00())then
call DisplayTimedTextToForce(OOO1I0(GetOwningPlayer(GetDyingUnit())),60.,"-save command is DISABLED.")
endif

and
4705-4707 lines , this:

Code: Select all

if(IOII00())then
call DisplayTimedTextToForce(OOO1I0(Player(-1+(bj_forLoopAIndex))),60.,"-save command is DISABLED.")
endif

Re: Is there any easier tut bout enabling SP..?

Posted: September 22nd, 2009, 12:37 pm
by boiled_vodka
removed those mentioned codes..and fail playing the map.
It returns to the 1st page of lan game.

Re: Is there any easier tut bout enabling SP..?

Posted: September 22nd, 2009, 12:41 pm
by dDemoneEvil
F9 syntax check at Jasscraft.

And try do not delete the 'endif' and see.

Hope this helped :
(05:46:23) Hillo: and about that map
(05:46:29) Hillo: anti-singleplayer is with a boolean
(05:46:35) Hillo: it's something like Wx or something
(05:46:39) Hillo: search for set Wx = false
(05:46:42) Hillo: and make it true
(05:46:47) Hillo: it might have changed
(05:46:50) Hillo: the name of the variable

Re: Is there any easier tut bout enabling SP..?

Posted: September 22nd, 2009, 6:43 pm
by UndeadxAssassin
Deleting those lines would not do anything. DisplayTimedText is just a text display. It isn't the function that's preventing the save. Just ignore those lines, they don't do anything.

Re: Is there any easier tut bout enabling SP..?

Posted: September 23rd, 2009, 5:19 am
by dDemoneEvil
UndeadxAssassin wrote:Deleting those lines would not do anything. DisplayTimedText is just a text display. It isn't the function that's preventing the save. Just ignore those lines, they don't do anything.

They did .

if(IOII00())then
call DisplayTimedTextToForce(OOO1I0(Player(-1+(bj_forLoopAIndex))),60.,"-save command is DISABLED.")
endif

Re: Is there any easier tut bout enabling SP..?

Posted: September 23rd, 2009, 1:44 pm
by Hillo
dDemoneEvil wrote:They did .

if(IOII00())then
call DisplayTimedTextToForce(OOO1I0(Player(-1+(bj_forLoopAIndex))),60.,"-save command is DISABLED.")
endif


Fail. It just checks for Io1oi13oiio113oio1iio asdasadsads whatever it is and displays a text message to everyone. As dDemoneEvile quoted me below, the anti-singleplayer is with a variable. It was Wx in 1.360 but I don't know about 1.370.

Re: Is there any easier tut bout enabling SP..?

Posted: September 23rd, 2009, 1:48 pm
by dDemoneEvil
Hillo said so, just upload the map here.

Re: Is there any easier tut bout enabling SP..?

Posted: September 24th, 2009, 10:48 am
by boiled_vodka
Actually, I've requested the map before trying it out myself.
map-requests-f65/survival-1-370-t14073.html
↑That's the request link. 51 views and 3 replies but no-one has uploaded it :(