wc3edit.net

United Warcraft 3 map hacking!
It is currently June 2nd, 2020, 11:35 pm

All times are UTC




Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
PostPosted: September 10th, 2010, 3:05 am 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3805
Location: JEW LAND
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.


Top
 Profile  
 
PostPosted: September 10th, 2010, 4:22 am 
Offline
Newcomer

Joined: June 19th, 2010, 2:17 pm
Posts: 18
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( )


Top
 Profile  
 
PostPosted: September 10th, 2010, 5:55 am 
Offline
Forum Staff

Joined: October 27th, 2009, 12:18 pm
Posts: 1108
Location: Australia, GMT+8
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.


Top
 Profile  
 
PostPosted: September 10th, 2010, 3:35 pm 
Offline
Forum Staff
User avatar

Joined: April 17th, 2008, 10:04 pm
Posts: 334
Location: Pittsburgh
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.


Top
 Profile  
 
PostPosted: September 10th, 2010, 4:16 pm 
Offline
Forum Staff

Joined: October 27th, 2009, 12:18 pm
Posts: 1108
Location: Australia, GMT+8
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.


Top
 Profile  
 
PostPosted: September 10th, 2010, 4:50 pm 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3805
Location: JEW LAND
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.


Top
 Profile  
 
PostPosted: September 11th, 2010, 11:22 pm 
Offline
Spice Pirate
User avatar

Joined: January 29th, 2009, 5:35 pm
Posts: 949
Location: Canada
Title: LHC
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.


Top
 Profile  
 
PostPosted: September 12th, 2010, 12:17 am 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3805
Location: JEW LAND
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.


Top
 Profile  
 
PostPosted: September 18th, 2010, 10:02 pm 
Offline
Junior Member
User avatar

Joined: May 28th, 2008, 9:21 pm
Posts: 35
Title: eruliaF
Nice guide :-) When do you plan on adding the "Fake version" guide to it?


Top
 Profile  
 
PostPosted: September 18th, 2010, 10:27 pm 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3805
Location: JEW LAND
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)