Help with Enabling SP
Moderator: Cheaters
-
- Newcomer
- Posts: 14
- Joined: May 30th, 2010, 11:52 pm
- Location: The Magical World of Unicorns
Help with Enabling SP
I've been having trouble enabling singeplayer in alot of maps lately. I've used all of the listed methods and have ended in a dead end or they haven't done anything. I am a slow learner and if anybody is willing to take the time to chat with me about it I may be able to learn a bit better, but reading these guides isn't working at all. No, I'm not a retard. I've been trying to fulfill more than just the JJCP requests, but I can't seem to learn how to enable SP. Please and thanks.
-Zak
-Zak
YOU THOUGHT WRONG!
-
- Banned-To-Be
- Posts: 1378
- Joined: July 28th, 2008, 6:28 pm
- Title: Administrator
Re: Help with Enabling SP
It'd help if you upload the map and tells us what happens when you try to play single player.



League of legends North America - Nietono
-
- Newcomer
- Posts: 14
- Joined: May 30th, 2010, 11:52 pm
- Location: The Magical World of Unicorns
Re: Help with Enabling SP
Well, it isn't any specific map, I'm just retarded when it comes to enabling ANY SP.But I'll give you one of the one's I tried to enable SP on. I just can't seem to get any of the enabling methods to work for me as of yet. I've tried to search -save, it came up with things, but when i searched disabletrigger it came up with nothing. I searched player_slot thing, there was no X+X=1 , just a bunch of I + I = 1 or I>11 . I'm not sure if I'm missing something or what.
You do not have the required permissions to view the files attached to this post.
YOU THOUGHT WRONG!
-
- Forum Staff
- Posts: 2618
- Joined: June 2nd, 2007, 6:53 pm
- Title: I Just Lost the Game
Re: Help with Enabling SP
Err... I hate to break it to you, but it doesn't necessarily have to be X. X just means a variable; it can be any letter, or even a group of letters if they set it to that. Follow the guide, but know that when it says X, it means l for your map.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
-
- Newcomer
- Posts: 14
- Joined: May 30th, 2010, 11:52 pm
- Location: The Magical World of Unicorns
Re: Help with Enabling SP
alright, ill do some more screwing around and see if something happens, thanks alot for the help guys
YOU THOUGHT WRONG!
-
- Super Moderator
- Posts: 3198
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
-
- Newcomer
- Posts: 14
- Joined: May 30th, 2010, 11:52 pm
- Location: The Magical World of Unicorns
Re: Help with Enabling SP
i have absolutely no idea
Edit: The person says cant save and cant load
Edit: The person says cant save and cant load
YOU THOUGHT WRONG!
-
- Super Moderator
- Posts: 3198
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: Help with Enabling SP
Well I just checked and bullshit what happens is you get kicked. Now usually for kicks there are 2 commands in jass.
This means that a player will win and thus end the game for him
This means that a player will be defeated thus end the game for him.
Now how can you tell what is kicking you out?
Well when you are defeated you have 4 option window. restart / reduce dificulity / 2 other I cant remember now
When you win I think you have 2 options.. Cant remember now.
So now if you want to enable SP can do 1 of 2 things.
1) stop the map from recognizing its SP
2) stop the map from doing anything once it is in SP
Ill try to show you both ways for this map now.
Now for both methods the start is the same, you first need to find the function that kicks you (in this map.. not all maps kick..)
So after we try to play the map once we see we won and were not defeated so open war3map.j, press CTRL+F and look for
youll find it on line 7864
So now lets see both methods.
method #1 - stopping the map from checking for SP.
Well the function that kicks you is called
so lets look where in jass is this function being called.
and what do you know its right below
Method #2 - stopping the map from kicking you.
Well that is the easyer part... just delete that victory command and your all set..
Have fun.
Code: Select all
CustomVictoryBJ
Code: Select all
CustomDefeatBJ
Now how can you tell what is kicking you out?
Well when you are defeated you have 4 option window. restart / reduce dificulity / 2 other I cant remember now
When you win I think you have 2 options.. Cant remember now.
So now if you want to enable SP can do 1 of 2 things.
1) stop the map from recognizing its SP
2) stop the map from doing anything once it is in SP
Ill try to show you both ways for this map now.
Now for both methods the start is the same, you first need to find the function that kicks you (in this map.. not all maps kick..)
So after we try to play the map once we see we won and were not defeated so open war3map.j, press CTRL+F and look for
Code: Select all
CustomVictoryBJ
Code: Select all
call CustomVictoryBJ(ConvertedPlayer(GetForLoopIndexA()),true,true)
method #1 - stopping the map from checking for SP.
Well the function that kicks you is called
Code: Select all
function Trig_Melee_Initialization_Actions takes nothing returns nothing
and what do you know its right below
Code: Select all
call TriggerAddAction(gg_trg_Melee_Initialization,function Trig_Melee_Initialization_Actions)
Method #2 - stopping the map from kicking you.
Well that is the easyer part... just delete that victory command and your all set..
Have fun.
-
- Banned-To-Be
- Posts: 1378
- Joined: July 28th, 2008, 6:28 pm
- Title: Administrator
Re: Help with Enabling SP
Also, if you search for "-save"
it'll show you this:
I Can't find anything that disables that.. DisableTrigger(gg_trg_hero_save)
So maybe it's in the conditions:
This probably only checks if your hero is dead or not though..(Can't test this.. can't find it in map list)
so this isn't what disables saving/load
..
it'll show you this:
Code: Select all
call TriggerRegisterPlayerChatEvent(gg_trg_hero_Save,Player(0),"-save",true)
So maybe it's in the conditions:
Code: Select all
function Trig_hero_Save_MG_Conditions takes nothing returns boolean
if(not(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)>0))then
return false
endif
return true
endfunction
~~~~~~~~
function Trig_hero_Load_MG_Conditions takes nothing returns boolean
if(not(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)==0))then
return false
endif
return true
endfunction
so this isn't what disables saving/load
..

League of legends North America - Nietono