Cheatpack Finder

Any tool that you think is useful, make a thread here and upload it.

Moderator: Cheaters

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.
Nothinbeter2do
Junior Member
Posts: 40
Joined: November 14th, 2008, 8:56 pm

Cheatpack Finder

Post by Nothinbeter2do »

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.
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: Cheatpack Finder

Post by owner123 »

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: Select all

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)
Nothinbeter2do
Junior Member
Posts: 40
Joined: November 14th, 2008, 8:56 pm

Re: Cheatpack Finder

Post by Nothinbeter2do »

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: Select all

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,
5566
Member
Posts: 69
Joined: May 17th, 2009, 4:00 am

Re: Cheatpack Finder

Post by 5566 »

Can you add a function to detect foreign language map too?
Nothinbeter2do
Junior Member
Posts: 40
Joined: November 14th, 2008, 8:56 pm

Re: Cheatpack Finder

Post by Nothinbeter2do »

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.
5566
Member
Posts: 69
Joined: May 17th, 2009, 4:00 am

Re: Cheatpack Finder

Post by 5566 »

@Nothinbeter2do

FOC 9.1a
http://www.epicwar.com/maps/145377/
Can't wait for it!
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: Cheatpack Finder

Post by Kyoshiro »

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.
5566
Member
Posts: 69
Joined: May 17th, 2009, 4:00 am

Re: Cheatpack Finder

Post by 5566 »

I got this when I scanned the FOC map
asdf.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
UndeadxAssassin
Grammar King
Posts: 2117
Joined: June 22nd, 2008, 10:11 pm
Title: Worst human for 4eva
Location: Mostly USEast

Re: Cheatpack Finder

Post by UndeadxAssassin »

That's probably because the activator doesn't use English characters or is hidden.
(20:53:52) Bartimaeus: Thank you, Jen.
(20:53:56) Bartimaeus: Truly, you are wise.
(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!
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: Cheatpack Finder

Post by Kyoshiro »

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.