Here, maybe this will help you understand what you're doing and its effect.
Searching for "-save" will show you what trigger it's activating, you then search for that trigger.
In order for the game to have an anti-single player, it will have to either kick the player from the game (A.K.A. Customdefeat)
or disable the saving trigger (A.K.A. DestroyTrigger OR DisableTrigger).
So, for this example, I will use Land of Oblivion RPG. I'll take you step by step on how to enable the single player and what it's doing.
I'm picking this map due to the fact that it disables the loading trigger rather than the save. (So you can see each way, though they are the same)
First, search for the "-save"
Result:
Code:
call TriggerRegisterPlayerChatEvent( gg_trg_Save, Player(0), "-save", true )
The part we want is the "gg_trg_Save", that is the trigger that's being used in it.
Let's search for "Disabletrigger(gg_trg_Save", as that would disable the saving feature of the map.
Not there? Try Destroytrigger(gg_trg_Save". Still can't find it? Let's try the loading feature.
Search for "-load"
Result:
Code:
call TriggerRegisterPlayerChatEvent( gg_trg_Load, Player(0), "-load", false )
Now we have the loading trigger, let's search for it's disabler.
Use "Disabletrigger(gg_trg_load)"
Result:
Code:
call DisableTrigger( gg_trg_Load )
call DisplayTimedTextToForce( GetPlayersAll(), 15.00, "TRIGSTR_5234" )
call TimerDialogDisplayBJ( false, GetLastCreatedTimerDialogBJ() )
Ah! There it is. Here, you have a few options. You could simply delete the negative effects of that trigger,
you could replace it with "do nothing", or you could replace "Disable" with "Enable". Usually I just replace the
actions of the trigger with a message saying "Single player saving enabled" or something.
Now, another common problem in maps (mainly RPGs) is that they kick you from the game when you're in single player.
Bad news, right? Well, in order to do this, they need a custom defeat.
Use the search function and look for "CustomDefeat"
Result:
Well shit, there is no custom defeat in Land of Oblivion RPG. Well anyways, here is what it'd look like.
Code:
call CustomDefeatBJ(GetTriggerPlayer(),"Some gay comment here")
The customdefeat is what kicks the player, so we need to get rid of it. Again, you have some options.
The trigger is usually accompanied with other actions.
This map is, here are the results.
Code:
call CustomDefeatBJ(GetTriggerPlayer(),"Fucking CHEATER!!! Go take a bath in acid and light yourself on fire you small dick motherfucker.")
set udg_group1=GetUnitsOfPlayerAll(GetTriggerPlayer())
call ForGroupBJ(udg_group1,function Trig_use_draughts_Func003002)
set udg_heroBonusXP=(udg_heroBonusXP-10)
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UPDATED,("Hero xp gain reduced to "+("|cffff0000"+(I2S(udg_heroBonusXP)+"|r%.")))
Now, those are all negative. Getting rid of the customdefeat won't remove all those effects, so we need to get rid of them too.
Use "do nothing" or replace it with a message or something. Now check for more customdefeats, and remove all of them.
If you cheated the map with JJ's CP, there will be a customdefeat for his "-kick" command, so you might not want to remove that.
And now it's ready for single player. W00T.
(Make sure to delete the (attributes) file or it won't work!)
As for the other two commands, I'd need more detail. Unlimited saving? If it's a -save command, I've never seem a limit to how many
times you can save... but if there is, you could check for "-save" and then find an action that increases a variable.
It'd look like
Code:
set x=x+1
You would either remove the "+1" part or remove the limit (The limit would be a variable too, so you could just set it to be a number like 600)
OR, you could just look for "Disabletrigger(gg_trg_save" and find it, because if there's a limit, it'd have to disable the save that way.
(Or Destroytrigger(gg_trg_save)).
As for the -pvpp command, I would need detail on what you mean, what the command does...