[Release] Fossil Restoration Macro

10/21/2009 23:21 rawk0r#1
This macro is from Lemu.Faucet, and was not created by me (Check the credits). Since it seems a lot of people don't visit that forum often, I am going to post it here (I will update this post as they do).

The direct link is:
[Only registered and activated users can see links. Click Here To Register...]
Instructions are included.

Credits
Quote:
Thanks to YYDZH for releasing their fossil restoration macro.
Thanks to DarkForce9999 for altering the macro to adjust for screen and game resolution, and for removing damaged areas from the source.
Thanks to Infamy for converting the macro to be AHK compatible allowing us to use these macro easily.
and, Thanks again to Infamy for creating pixel search in order for the program to be compatible with all resolutions.
and, finally thanks for DarkForce9999 for making this mod compatible with EVERYONE.
Original post can be located here: [Only registered and activated users can see links. Click Here To Register...]
Original post is as follows:
Quote:
Originally Posted by darkforce9999
[Only registered and activated users can see links. Click Here To Register...]

False bug: With Auto Detect on, randomly if switching windows between Mabinogi and other programs will sometime initiate a "Cannot find image file in directory" dialog. If none of the file are truly missing from the same directory ignore the messages and reload the program.

General Information

These macro are used for the fossil restoration minigames in Mabinogi.

Thanks to YYDZH for releasing their fossil restoration macro.
Thanks to DarkForce9999 for altering the macro to adjust for screen and game resolution, and for removing damaged areas from the source.
Thanks to Infamy for converting the macro to be AHK compatible allowing us to use these macro easily.
and, Thanks again to Infamy for creating pixel search in order for the program to be compatible with all resolutions.
and, finally thanks for DarkForce9999 for making this mod compatible with EVERYONE.

Downloads

[Only registered and activated users can see links. Click Here To Register...]
-Still 3/6 perfect recover, but better experience and gold reward from the 3 other fossils.
-Slow enough for laggy clients, and fast enough for all fossils to complete.
-Star fragments have been sped up to it's original speed.
-Auto Detect feature has been added.
-Better error messages stating the problem.

Optional: [Only registered and activated users can see links. Click Here To Register...] - Allows you to differentiate between unrecovered fossils. [Must Have Fantasia, Tiara, Jinsu, or a Data Packer]

Future Update
-Attempt perfect restore on the last 3 fossils if possible.

Instruction

-AutoHotKey may need to be installed for some computers.

1)Open Fossil Restoration V9.5.exe
Optional) You may toggle on Auto Detect by pressing "Z". This would relinquish control (Suspend) from "Numpad Enter" and "X" for you to use while Auto Detect has been toggled. If you use this option, Skip Step 3).
2)Press Use on a fossil in your inventory.
3)Press Numpad Enter on your Numpad key. For laptop users, just press "X". This will search for the fossil window.

*If the window is detected, a sound will be played. If not, resort to the FAQ section.

Pause - End (Pauses the script only, it will resume where it left off)
Insert - Suspend (Use this if your regular in-game bind are numpads, it will allow you to use them again until unsuspended)
Ctrl+R - Reloads the script. It halts the whole script completely.
Exit Program - Ctrl+Esc

4)Do not move the mouse during the automatic recover process. Moving the mouse will most likely damage your fossil.
-A)If you did move the mouse or badly damaged the fossil, switch channel or log out.
5)Turn the fossil into Belita.

*Repeat step 3 to 5 each time you use a fossil.
*If Auto Detect is on, repeat step 2, 4 and 5.


FAQ

Q:Your program does nothing at all
A:If you're running window vista, you will need to right click the application and run as administrator. If you're on Window XP, I got no clue.

Q:Your program is working, but it's very choppy and doesn't cover all the sulfur
A:This is the result of your game is lagging. Lagging will cause the script to skip a few spots, and will most likely not even choose the correct brush size. Go into Simon's shop or a nearby building to reduce lag. If it still doesn't help, you'll need a better computer.
*As of version 9, many slightly laggy area can still allow fossils to be completed.

Q:I can't get a perfectly restore on some fossils
A:The program doesn't cover ALL the sulfur for every fossils, but about 99.995% of them. The others are perfect.

Q:The program cannot detect the image!
A:This shouldn't happen.
1)Make sure you have the fossil images that came with the .rar in the same directory as the .exe file.
2)Remove anything that is obstructing the fossil window (Including the mouse).

If anyone have any problem with the search functions still, please post an image of your fossil window. Can't see, Can't help.

Q:My Numpad Enter won't work. How do I change the hotkey?
A:AutoHotKey is needed to be installed. Once you do, inside the package has a Source Script folder. Edit the Fossil Restoration.AHK script and change NumpadEnter:: to <Insert your key here>::
Once done, right-click the script, and hit Compile Script for Exe. Use the new .exe file and enjoy.

Q:Could not conduct search. Help!
A:If you are to move any files, you must keep

Fossil Restoration V9.exe
beak.bmp
pelvis.bmp
scapula.bmp
skull.bmp
star.bmp
tibia.bmp
tooth.bmp

In the same directory.
10/22/2009 00:14 Dark Raccoon#2
Nice, this one has an even better Quality than the one I made myself.
10/22/2009 00:20 rawk0r#3
I have no idea bout you one you made, but this one works like I charm. It detects the window regardless of background and resolution, and regardless of UI color. It also has the X key mapped for people with laptops, but make sure you close/suspend it before you try to type!
10/22/2009 03:49 Angela18877#4
um i'm having difficulties :x well um i have it downloaded n when i open it it comes out as photoshop (i dun have that n dun work with that i dun know which program it goes with) so it doesn't show.. hm n when i click use on the fossil n then press x nothing happens owo help?( i has vista)
10/22/2009 05:22 rawk0r#5
Quote:
Originally Posted by Angela18877 View Post
um i'm having difficulties :x well um i have it downloaded n when i open it it comes out as photoshop (i dun have that n dun work with that i dun know which program it goes with) so it doesn't show.. hm n when i click use on the fossil n then press x nothing happens owo help?( i has vista)
That file are you opening? You should be running Fossil Restoration V8.exe. If you have executables opening in photoshop, you really need to re-install your operating system or fix the defaults.
10/22/2009 08:57 icekenshin#6
Man good too see a quality Macro. Thanks for sharing this.

About 50 fossils later... 3 lava cat robes >_< new record for me!

is just me or does the " found " sound sound like Cleavland from Family Guy >_>
10/22/2009 09:31 rawk0r#7
Quote:
Originally Posted by icekenshin View Post
Man good too see a quality Macro. Thanks for sharing this.

About 50 fossils later... 3 lava cat robes >_< new record for me!

is just me or does the " found " sound sound like Cleavland from Family Guy >_>
It was just the voice of the guy who originally made the macro I think... Willing to share one of those robes? I have done about 60 today and no robe or Ring bow.
10/22/2009 14:32 Pikangie#8
Sounds like a handy program. Does this need any kind of bypass? Or will it work as it is?
10/22/2009 19:22 rawk0r#9
Currently, this will work as-is, being that Hackshield does not detect AutoHotkey, yet. Remember to always check back to the first post for updates.
10/22/2009 21:10 Dark_Force9999#10
Nice... just nice...

Don't get it wrong, but ever thought that the original creator was here? I may not have posted, but I became aware of this forum long before I signed up at the beginning of this month. Also, you should size my original /size=150, or 125/ down.
10/22/2009 22:47 rawk0r#11
Quote:
Originally Posted by Dark_Force9999 View Post
Nice... just nice...

Don't get it wrong, but ever thought that the original creator was here? I may not have posted, but I became aware of this forum long before I signed up at the beginning of this month. Also, you should size my original /size=150, or 125/ down.
I looked before I posted, you were not here, so I imagine you just signed up... If you want I can have the thread marked for deletion, and you can post it yourself.
10/22/2009 22:58 Dark Raccoon#12
Quote:
Originally Posted by rawk0r View Post
I looked before I posted, you were not here, so I imagine you just signed up... If you want I can have the thread marked for deletion, and you can post it yourself.
Not so fast.

There is no proof that thats actually the real Creator.

Go to Faucet and ask Dark if he/she really is registered here, then you can ask for mercy. :P
10/22/2009 23:18 rawk0r#13
Quote:
Originally Posted by Dark Raccoon View Post
Not so fast.

There is no proof that thats actually the real Creator.

Go to Faucet and ask Dark if he/she really is registered here, then you can ask for mercy. :P
Very true, thank you for pointing this out.

EDIT: And he did not join today or yesterday, his join date is 10-15-2009. I was wrong in that sense.
10/23/2009 00:32 Dark_Force9999#14
You guys want me to put a shoutout over there for here? BTW, I replied to your message on lemu rawk.

Quote:
Originally Posted by Dark Raccoon View Post
Not so fast.

There is no proof that thats actually the real Creator.

Go to Faucet and ask Dark if he/she really is registered here, then you can ask for mercy. :P
Just because it happens randomly, doesn't mean it's false alarm.


Then again, I aint making a big deal out of it, but just make sure to ask.
10/23/2009 00:34 rawk0r#15
So I have verified that you have are indeed dark_force9999. Is it alright to post this here?