wc3edit.net

United Warcraft 3 map hacking!
It is currently March 28th, 2024, 3:06 pm

All times are UTC


Forum rules


While crediting should be allowed, please keep down the advertising. If you know who it's from, and they have a website, please link to it as a basic courtesy.



Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 28 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Cheatpack Finder
PostPosted: May 28th, 2011, 9:01 pm 
Offline
Junior Member

Joined: November 14th, 2008, 8:56 pm
Posts: 48
This is just a simple tool I made in 5 minutes the other day. All it does is scan the war3map.j file for popular cheatpacks.

EDIT1: Now detects Fai's. :D
EDIT 2: Decided that while I was at it, might as well add support for SgGuy's cheatpack.
EDIT 3: Added some miscellaneous things. Also added a mass file checker. Will probably be the last version.
EDIT 4: This is the FINAL version. I promise. c: Added some error catching, and it now asks if you would like to copy the activator to your clipboard.

Want to contact me? Send a message to breadroll on USEast.


You do not have the required permissions to view the files attached to this post.


Last edited by Nothinbeter2do on May 29th, 2011, 6:28 pm, edited 11 times in total.

Top
 Profile  
 
 Post subject: Re: Cheatpack Finder
PostPosted: May 28th, 2011, 10:55 pm 
Offline
Super Moderator

Joined: February 3rd, 2009, 11:28 pm
Posts: 2394
Thanks for the share.
A few things.
Why does it create the folder "Work" on desktop ;o. You can just like write temp files to some directory like "C:\Temp" then delete them after you close & dispose your archive.

The app fails if you select a map, then delete the map, then check for cheatpacks. Not very important, but you could add
Code:
try {
} catch (exception ex) {
}

And make it say like "File does not exist" at exception.

[Edit 3]
If the war3map.j already exists in "Work" you get an error.
To fix, delete war3map.j after the operation finishes and check for it at the beginning of the operation. If it exists, delete it.

Overall it works well. If you want to make it really useful, have it display all the main CPs. (JJ's, Fai's, Sg's)


Top
 Profile  
 
 Post subject: Re: Cheatpack Finder
PostPosted: May 29th, 2011, 1:52 am 
Offline
Junior Member

Joined: November 14th, 2008, 8:56 pm
Posts: 48
owner123 wrote:
Thanks for the share.
A few things.
Why does it create the folder "Work" on desktop ;o. You can just like write temp files to some directory like "C:\Temp" then delete them after you close & dispose your archive.


It creates the Work folder in the same directory as the executable.

owner123 wrote:
The app fails if you select a map, then delete the map, then check for cheatpacks. Not very important, but you could add
Code:
try {
} catch (exception ex) {
}

And make it say like "File does not exist" at exception.


Like you said, it's not very important. The only exception I have ever had it throw was when the map was open in Warcraft 3. I will probably have it copy the map into the Work folder so that doesn't happen, though.

owner123 wrote:
[Edit 3]
If the war3map.j already exists in "Work" you get an error.
To fix, delete war3map.j after the operation finishes and check for it at the beginning of the operation. If it exists, delete it.

Overall it works well.


I've never had that happen to me. Maybe you had the file open in another program?

owner123 wrote:
If you want to make it really useful, have it display all the main CPs. (JJ's, Fai's, Sg's)


I was going to do that, but just used JJs cause that is all I ever really see,


Top
 Profile  
 
 Post subject: Re: Cheatpack Finder
PostPosted: May 30th, 2011, 12:03 pm 
Offline
Member

Joined: May 17th, 2009, 4:00 am
Posts: 98
Can you add a function to detect foreign language map too?


Top
 Profile  
 
 Post subject: Re: Cheatpack Finder
PostPosted: May 30th, 2011, 3:43 pm 
Offline
Junior Member

Joined: November 14th, 2008, 8:56 pm
Posts: 48
5566 wrote:
Can you add a function to detect foreign language map too?


Give me an example map and I will see what I can do.


Top
 Profile  
 
 Post subject: Re: Cheatpack Finder
PostPosted: May 31st, 2011, 12:51 am 
Offline
Member

Joined: May 17th, 2009, 4:00 am
Posts: 98
@Nothinbeter2do

FOC 9.1a
http://www.epicwar.com/maps/145377/
Can't wait for it!


Top
 Profile  
 
 Post subject: Re: Cheatpack Finder
PostPosted: May 31st, 2011, 12:23 pm 
Offline
Forum Staff

Joined: October 27th, 2009, 12:18 pm
Posts: 1108
Location: Australia, GMT+8
well considering that jass is still in english theres no difference...

_________________
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.


Top
 Profile  
 
 Post subject: Re: Cheatpack Finder
PostPosted: June 1st, 2011, 3:50 am 
Offline
Member

Joined: May 17th, 2009, 4:00 am
Posts: 98
I got this when I scanned the FOC map
Attachment:
asdf.JPG


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: Cheatpack Finder
PostPosted: June 1st, 2011, 3:58 am 
Offline
Grammar King
User avatar

Joined: June 22nd, 2008, 10:11 pm
Posts: 2410
Location: Mostly USEast
Title: Worst human for 4eva
That's probably because the activator doesn't use English characters or is hidden.

_________________
Quote:
(20:53:52) Bartimaeus: Thank you, Jen.
(20:53:56) Bartimaeus: Truly, you are wise.


Quote:
(23:44:12) Bartimaeus: I was in pubic school until middle school...


Learn how to extract and read RAW Codes here!

Need help? Click here and ask your question!


Top
 Profile  
 
 Post subject: Re: Cheatpack Finder
PostPosted: June 1st, 2011, 4:07 am 
Offline
Forum Staff

Joined: October 27th, 2009, 12:18 pm
Posts: 1108
Location: Australia, GMT+8
thats because its name activated...

_________________
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 28 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


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)