wc3edit.net https://forum.wc3edit.net/ |
|
Cheatpack Finder http://forum.wc3edit.net/useful-tools-f69/cheatpack-finder-t21321.html |
Page 1 of 3 |
Author: | Nothinbeter2do [ May 28th, 2011, 9:01 pm ] |
Post subject: | Cheatpack Finder |
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. 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. |
Author: | owner123 [ May 28th, 2011, 10:55 pm ] |
Post subject: | Re: Cheatpack Finder |
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) |
Author: | Nothinbeter2do [ May 29th, 2011, 1:52 am ] |
Post subject: | Re: Cheatpack Finder |
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, |
Author: | 5566 [ May 30th, 2011, 12:03 pm ] |
Post subject: | Re: Cheatpack Finder |
Can you add a function to detect foreign language map too? |
Author: | Nothinbeter2do [ May 30th, 2011, 3:43 pm ] |
Post subject: | Re: Cheatpack Finder |
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. |
Author: | 5566 [ May 31st, 2011, 12:51 am ] |
Post subject: | Re: Cheatpack Finder |
@Nothinbeter2do FOC 9.1a http://www.epicwar.com/maps/145377/ Can't wait for it! |
Author: | Kyoshiro [ May 31st, 2011, 12:23 pm ] |
Post subject: | Re: Cheatpack Finder |
well considering that jass is still in english theres no difference... |
Author: | 5566 [ June 1st, 2011, 3:50 am ] |
Post subject: | Re: Cheatpack Finder |
I got this when I scanned the FOC map Attachment: asdf.JPG
|
Author: | UndeadxAssassin [ June 1st, 2011, 3:58 am ] |
Post subject: | Re: Cheatpack Finder |
That's probably because the activator doesn't use English characters or is hidden. |
Author: | Kyoshiro [ June 1st, 2011, 4:07 am ] |
Post subject: | Re: Cheatpack Finder |
thats because its name activated... |
Page 1 of 3 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |