Request help with SP
Moderator: Cheaters
-
- Newcomer
- Posts: 16
- Joined: December 24th, 2007, 10:09 pm
Request help with SP
Alright i tried multiple ways to get around his single player but its highly gaurded in a maze of if statements with a few variables all refering to it and i could use someone more experienced to tell me how they would do it...
the text i recieve in warcraft is the general save codes disabled in singleplayer...
ill attach my J file to find the section i mean i just did a search for "single player" which took me to the displayed text when the trigger isnt active..
i realize this explanation sucks but thats do to frustration and confusion just looking at this thing
but i think the problem is its not the normal if then statement that if its single played disable blah blah its more like if single player activate trigger(XX) well i tried going around that and i even changed where he declared the single player variables so that it would never even matter but it seems that after it checks for single player there is something like if not single player activate (XX) and it turns on but i cant find this trigger anywhere and there are like 40000 lines not exagerating
i am attaching my j file that only has cheatpacks enabled so its a fresh start for anyone who takes this on thank you in advance for any input
the text i recieve in warcraft is the general save codes disabled in singleplayer...
ill attach my J file to find the section i mean i just did a search for "single player" which took me to the displayed text when the trigger isnt active..
i realize this explanation sucks but thats do to frustration and confusion just looking at this thing
but i think the problem is its not the normal if then statement that if its single played disable blah blah its more like if single player activate trigger(XX) well i tried going around that and i even changed where he declared the single player variables so that it would never even matter but it seems that after it checks for single player there is something like if not single player activate (XX) and it turns on but i cant find this trigger anywhere and there are like 40000 lines not exagerating
i am attaching my j file that only has cheatpacks enabled so its a fresh start for anyone who takes this on thank you in advance for any input
You do not have the required permissions to view the files attached to this post.
-
- Senior Member
- Posts: 152
- Joined: October 5th, 2009, 7:31 am
- Title: Taiwan, Singapore
- Location: Here!? XD
Re: Request help with SP
The save system is a 'liar' . You will not get a code by type '-save' even tho you did ENABLED it!
Well, kinda hard to explain. But assume that the .j file does not have a 'Generate Code System'.
Don't sure about load.
Well, kinda hard to explain. But assume that the .j file does not have a 'Generate Code System'.
Don't sure about load.
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: Request help with SP
Code: Select all
set bj_isSinglePlayer=false
set kq=0
set Jq=0
loop
exitwhen Jq>=12
if(GetPlayerController(Player(Jq))==MAP_CONTROL_USER and GetPlayerSlotState(Player(Jq))==PLAYER_SLOT_STATE_PLAYING)then
set kq=kq+1
endif
set Jq=Jq+1
endloop
set bj_isSinglePlayer=(kq==1)
change this
Code: Select all
set kq=0
Code: Select all
set kq=5 //it can be any other number.. just higher then 0..
Code: Select all
set kq=kq+1
Code: Select all
set kq=kq+5//it can be any other number. just higher then 1..
Code: Select all
set bj_isSinglePlayer=(kq==1)
Code: Select all
set bj_isSinglePlayer=(kq==0)
Last edited by haxorico on October 21st, 2009, 12:36 am, edited 5 times in total.
-
- Senior Member
- Posts: 152
- Joined: October 5th, 2009, 7:31 am
- Title: Taiwan, Singapore
- Location: Here!? XD
Re: Request help with SP
._. , that does not matter, i think.
Try search for -save, and than search the action of -save. You'll find out that does not a 'Code Generate System'.
Try search for -save, and than search the action of -save. You'll find out that does not a 'Code Generate System'.
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: Request help with SP
all the stuff it does when in SP doesnt matter. as the game doesnt think he is playing on SP.[=ryCgg=] wrote:._. , that does not matter, i think.
Try search for -save, and than search the action of -save. You'll find out that does not a 'Code Generate System'.
so instead of searching for stuff that happen in SP. i just told him how to make the game think he isnt on SP. simple..
-
- Newcomer
- Posts: 16
- Joined: December 24th, 2007, 10:09 pm
Re: Request help with SP
haxorico i had that theory to... i declared kp to 5 when it was declared because further down there is a statement kp must be grester or equal to 2 but that didnt work i even changed the statement where kp needed to be and i made it needs to be greater than 0 no dice on ether attempt... im gonna upload the map so that u guys can try ur theorys i shoulda done this earlier i apologize...
You do not have the required permissions to view the files attached to this post.
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: Request help with SP
i didnt look at the map as i still have the war3map.j
dont know if its important or not.. maybe its not the same map...
but if u had a diffrent veriable called "kp" it wont rly matter.
i say u just need to use the CTRL+F.
look for bj_isSinglePlayer
then ull find the commands i posted. and just delete...
if u have any trouble.. i think i will be able to help u better at the chat.
chat.wc3edit.net
dont know if its important or not.. maybe its not the same map...
but if u had a diffrent veriable called "kp" it wont rly matter.
i say u just need to use the CTRL+F.
look for bj_isSinglePlayer
then ull find the commands i posted. and just delete...
if u have any trouble.. i think i will be able to help u better at the chat.
chat.wc3edit.net
-
- Newcomer
- Posts: 16
- Joined: December 24th, 2007, 10:09 pm
Re: Request help with SP
ya but what im saying is i dont think deleting it will work because if it doesnt pass this check the save will never be called so deleting it will just make there be no save single or multiplayer
*edit*
tried deleting the triggers out and it makes the map incompatible
*edit*
tried deleting the triggers out and it makes the map incompatible
-
- Forum Staff
- Posts: 2618
- Joined: June 2nd, 2007, 6:53 pm
- Title: I Just Lost the Game
Re: Request help with SP
Well, if you search for -save
you'll find this:
Notice it adds function CW to the trigger at the bottom. When you search for function CW, you'll find this:
You'll be able to save if you remove this chunk (don't replace with call DoNothing(), remove this entire snippet):
So that function CW now looks like this:
you'll find this:
Spoiler:
Spoiler:
Code: Select all
if(AW())then
call DisplayTimedTextToForce(Iq(GetTriggerPlayer()),6.,"Generation of character save codes disabled in single player games.")
call EnableTrigger(Hf)
return
endif
Spoiler:
You do not have the required permissions to view the files attached to this post.
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: 16
- Joined: December 24th, 2007, 10:09 pm
Re: Request help with SP
That was one of my first attempts and i attempted with ur J file to double check and it doesnt work for this reason all we are doing is deleting the code for the u cannot save message... but later on in the code there is also a section that turns it on when someone actually tries to save and that needs to be where function AW is .... u can find the part im talking about by going in the J file and searching for "vexorian" and u will see what i meanSo that function CW now looks like this:Spoiler: