Mission Code Decoder vFinal ~Yuno~

Newbie Spellweaver
Joined
Jan 3, 2008
Messages
14
Reaction score
0
FOR US NF SERVERS

For a tutorial on how to setup Navyfield to use my macros + the programs needed to run it, please look at this thread

http://forum.ragezone.com/f106/us-sailor-macro-v0-5-yuno-353407/

The macro uses something called DTM's to figure which number is which, DTM's are much more efficient
than Bitmap finding, yet more accurate than several single pixel detections, it uses a "Source Pixel" and "Trail Pixels" (which is identified in code) and contains the distance between each trail pixel to the source. When the program finds the Pixel, it'll go through the process to see if the first Trail Pixel is at the exact distant of the source pixel as specified in the code, if False, it'll stop the matching process of that source pixel, and continue searching for the source pixel within the area specified in the code, if true, it'll check the next Trail Pixel, than the Next, until it figures that it has a match, than returns True for the IF statements. This makes the process a lot less resource intensive, accurate, and very fast. If you would like the original code that works before they changed the anti macro mission code, than please PM me, I'll see if I still have it and send it to you within the month.

This purpose of this code is not to macro missions all by itself in its current state, but I guess it can assist those that are unable to see the actual numbers. I know numerous people who are near blind, and therefor, unable to distinguish a #1 to a #7 as an example.


ok now for the code, please forgive me if the code looks a bit messy, I'm never a neat programmer
though, these forums don't like the way I indent my code, and decide to not indent :eek6:

Comments are always welcomed,

The code is included in a text file attached to this post
 
Last edited:
The DTMs work good, a little bit slow but they work. better as that what i've made. ;)
I've created 40 DTMs (i didn't knew what i did ^^ ) and they had a fast detection of the code but it was the wrong way they to use.

I use it without D3D and it works fine for me although i have other coordinates but a screenshot and paint are my best friends *gg*

btw: scar is a very nice tool!

PS: Sorry for my english, its not my native language
 
lol what i'd like to see is an NF leveling bot or leeching macro. also a cv bot would be a sweet build as all you'd need do is send fighters back and forth to set positions on the map
 
Back