Please teach me how to enable SP for this

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Please teach me how to enable SP for this

Post by Apple »

The war3map.j is attached,
When I play it, it shows a message save is disabled in single player mode.
it doesn't kick but disable save.
I didn't find a disabletrigger(gg_trg_Sauvegarde either
call TriggerRegisterPlayerChatEvent(gg_trg_Sauvegarde,Player(9),"-save",true)

it is filled with booleans. please help me thanks alot.
You do not have the required permissions to view the files attached to this post.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: Please teach me how to enable SP for this

Post by Kyoshiro »

post the actual map as well

edit: meanwhile try changing
return(CountPlayersInForceBJ(GetPlayersMatching(Condition(function Trig_Initialisation_2_Func005Func003001001001)))<=1)

to

return(CountPlayersInForceBJ(GetPlayersMatching(Condition(function Trig_Initialisation_2_Func005Func003001001001)))<=0)
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: Please teach me how to enable SP for this

Post by Apple »

Kyoshiro wrote:post the actual map as well

edit: meanwhile try changing
return(CountPlayersInForceBJ(GetPlayersMatching(Condition(function Trig_Initialisation_2_Func005Func003001001001)))<=1)

to

return(CountPlayersInForceBJ(GetPlayersMatching(Condition(function Trig_Initialisation_2_Func005Func003001001001)))<=0)
changed and it still says, "save is disabled in solo games".
You do not have the required permissions to view the files attached to this post.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: Please teach me how to enable SP for this

Post by Kyoshiro »

Then you're doing it wrong.
Changing that 1 thing works perfectly for me.
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: Please teach me how to enable SP for this

Post by Apple »

Kyoshiro wrote:Then you're doing it wrong.
Changing that 1 thing works perfectly for me.
It worked, here's another map that I need help with.
You do not have the required permissions to view the files attached to this post.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: Please teach me how to enable SP for this

Post by Kyoshiro »

what's the anti-sp method
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: Please teach me how to enable SP for this

Post by Apple »

Kyoshiro wrote:what's the anti-sp method
When you type -save it doesn't show you the code.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: Please teach me how to enable SP for this

Post by Kyoshiro »

i dunno don't have time to test properly but try changing
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)==0)
to
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)>0)
or
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)<0)
or
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)!=0)
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: Please teach me how to enable SP for this

Post by Apple »

Kyoshiro wrote:i dunno don't have time to test properly but try changing
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)==0)
to
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)>0)
or
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)<0)
or
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)!=0)
i used the !=0 and worked.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.