wc3edit.net
https://forum.wc3edit.net/

[GUIDE] Rebuilding An MPQ
https://forum.wc3edit.net/tutorials-cheatpacks-f80/rebuilding-an-mpq-t18761-10.html
Page 2 of 6

Author:  haxorico [ September 10th, 2010, 3:05 am ]
Post subject:  Re: [Guide] Advanced Cheating

if you delete a function, then some where in the .j file it is being called or used in some way, and if you delete the function it will cause a syntax error.
If you delete a returned value, then that value probably has a purpose, and that purpose is written in a different function. So then if there is no value, it gets an error.

Author:  royalsymbol [ September 10th, 2010, 4:22 am ]
Post subject:  Re: [Guide] Advanced Cheating

so this is the way we can enable single players?
what do we need to look for?

Code:
PLAYER_SLOT_STATE_PLAYING
customdefeatbj
singleplayer


i know there are more..
i've tried Defi4nc3 Open RPG (v0.17B)
http://www.mapgnome.org/map-download/213739

It's quite hard to enable Single Player.. can you make a guide on this map?
I've looked into
deprotection-cheating-f64/deprotecting-inserting-a-cheatpack-enabling-sp-t10059.html
where it says
Quote:
Make sure you don't delete the function itself, but delete the functions that relate to "bj_isSinglePlayer".


deprotection-cheating-f64/how-to-enable-single-player-by-jj2197-t5725.

and finally

deprotection-cheating-f64/deprotecting-tools-a-guide-how-to-deprotect-any-map-t16357.html

Quote:
The way I activate single player

Note : This doesn't work on highly corrupted maps.
1- Extract the .j file, open it in JassCraft included in the package.
2- Search on the text it gives when you try to save singleplayer
3- Remove all script from the "if" statement to the "endif" statement.
I know this is a 'noob' way of singleplayering a map, but it normally works (for me at least).


tried these ways, not sure which to delete or change to call DoNothing( )

Author:  Kyoshiro [ September 10th, 2010, 5:55 am ]
Post subject:  Re: [Guide] Advanced Cheating

There are easier ways than to delete or change all the triggers such as looking for triggers that count the number of players
In your map for example
Code:
return(CountPlayersInForceBJ(GetPlayersMatching(Condition(function Trig_Firebolt_Two_Func001001001001)))<2)

Just change the < to a >. There are others in there but thats the gist of it.

Author:  Pyro7778 [ September 10th, 2010, 3:35 pm ]
Post subject:  Re: [Guide] Advanced Cheating

Umm... Kyoshiro, if you change it from less than to greater than... Single Player would work, but if you tried to play it online with 3 or more people the game would end.

Author:  Kyoshiro [ September 10th, 2010, 4:16 pm ]
Post subject:  Re: [Guide] Advanced Cheating

Yeah but who'd be hosting the cheated version with sp enabled anyway.
Mostly it'd just be cheat/save code/play on official map. But to fix what pyro touched upon you can change the 2 to a 0.

Author:  haxorico [ September 10th, 2010, 4:50 pm ]
Post subject:  Re: [Guide] Advanced Cheating

wow? spam much?
next time I see a message that has nothing to do with this post, ill start giving warnings..
This isn't a guide on how to enable single player. Got a question? make your own post.

Author:  Ken [ September 11th, 2010, 11:22 pm ]
Post subject:  Re: [Guide] Advanced Cheating

Protip: Don't tell people to use MPQ Recover. Instead, use the auto search function of RMPQex, since it's got all the functionality and more.

Author:  haxorico [ September 12th, 2010, 12:17 am ]
Post subject:  Re: [Guide] Advanced Cheating

I'm not sure how its all working, yet auto-search at RMPQEx is kinda weird imo. I tried finding files with no listfile and it barely found any. And with MPQRecover it was.. good. It found stuff.

Author:  Kyzerdrood [ September 18th, 2010, 10:02 pm ]
Post subject:  Re: [Guide] Advanced Cheating

Nice guide :-) When do you plan on adding the "Fake version" guide to it?

Author:  haxorico [ September 18th, 2010, 10:27 pm ]
Post subject:  Re: [Guide] Advanced Cheating

I was planning on doing it when Ill get home.. tough things got kinda bad. In a week I should get some time to finish it.

Page 2 of 6 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/