PDA

View Full Version : Bui's Utilities



LazyBui
2008-07-17, 05:48 PM
Had these for a while, figured that I'd only use them personally when I coded them. So much for that.

Screenshots: http://www.southperry.net/forums/showpost.php?p=22504&postcount=9

1.1 (Fri Aug 22 00:39:54 2008) -
4.2 (Fri Aug 22 00:31:53 2008) -

Fixed slight issues with WDEF calculation (a .6 instead of a .5)
Added MDEF calculation

1.1 (Fri Aug 22 00:24:27 2008) -

Updated with Crimsonwood Keep mountain area monsters
Created a 'ratio' sort option
Changed location from a specific sort to a filtering option

Renamed tax dialog from ms_tax to tax_calc


1.0 (Mon Jul 21 05:33:18 2008) -

Better organization of files
Abstracted each utility from the main file
Compiled dialog definitions into a single script file
Updated readme components
Added a loader - default behavior is all files are loaded on first load
- May change this behavior if it's found to be annoying
Reversed the order of all version histories so the most recent is at the top
Updated all text files to adhere to the lame 80 character per line standard
Updated damage calculator to 4.1
Made the commands to launch more consistent
Icon for the loader from a pack called Simple

Keep in mind that I designed these for myself, so some features may not make sense to you. I tried to keep it as straightforward as possible.

They are scripted in mIRC's built-in language. What is mIRC? It's a client that allows you to connect to IRC networks. It, like many others, allows for scripting of numerous events. Suggested reading: http://www.mirc.com/mirc.html

I know I'll get some bitching about this, but trust me, it's faster to launch mIRC than it is to launch Excel. Plus, I can add an interface to it instead of having it just be a bunch of spreadsheet cells. You wouldn't complain about Excel calculators, would you? Good. Moving on.

Included are my damage calculator, my accuracy calculator, an HP/MP percentage calculator, and a small tax calculator. All are works in progress. There will be bugs that I haven't found, there will be mistakes somewhere, and above all, I will add more features in the future. Feedback is important to all of these. I am just a single user. You see something that would make the utilities better? Let me know.

Download links:

Main: http://www.mediafire.com/?jggzwjn1y4g
Lists: http://www.mediafire.com/?hzygxywdsjd
Feel free to virus scan it if you want, but it's just a bunch of .mrc/.ini/.txt files.

Old versions only come as a package of lists/scripts.

1.0 - http://www.mediafire.com/?zlybhewwhd1


Loading the script into mIRC:

There are two ways you can do this. The first is more advanced. You do want to run the initialization features, unless you feel like adding dialogs.mrc yourself and using the loader to load the rest.

1. /load -rs "path/to/script.mrc"
If it's somewhere within the mIRC directory, which I recommend for placement, you may omit the first part of the normal path and just put folders, e.g. /load -rs maple/maple.mrc. The only file you must load is maple.mrc.

2. Picture tutorial time. ^_^

1. Click http://i266.photobucket.com/albums/ii247/LazyBui/tut1-1.gif
2. Click http://i266.photobucket.com/albums/ii247/LazyBui/tut2-1.gif
3. Browse for file
4. When you get: http://i266.photobucket.com/albums/ii247/LazyBui/tut3.gif
Click yes


It's highly recommended that you unload the main script (maple.mrc) before deleting directories to load a new version.

Using it:

Should be able to right click anywhere and there'll be a "MapleStory" menu. Whether it's the Commands menubar item, a channel, or a status window, or a private chat. Alternatively, there are commands to bring up any of them if you prefer that method, the commands can be found in the titlebars for each utility.

As of official version 1.0, there's a loader that you can utilize to get rid of utilities that you won't be using, preventing them from taking up script space or allowing misclicks or whatever. I'll probably be messing around with these ideas a bit in the future, but hopefully this is fine for now.

Accuracy calculator note:

The accuracy calculator dynamically compiles sort lists based on monsters.ini, which means that the first time switching to them will be a little on the laggy side. I also offer precompiled lists because compiling all of them can take 20+ minutes on my decent PC. But sorting is very snappy afterward. Lists go in maple/accuracy/lists/

As of 1.1, list generation is definitely not for the faint of heart. It took almost 20 minutes to produce all 588 lists on my machine. Chances are that it'll take longer on a worse machine.

Spaz
2008-07-17, 06:27 PM
mIRC scripting language makes me want to barf, with its use of whitespace instead of quotes to delimit literal strings. Still, it's nice to finally have an open-source accuracy calculator so only the monster list can be updated when the original writer inevitably disappears, instead of a whole new calculator having to be written.

EDIT: A README (and information in the post, because everyone knows no one reads README's) for people who don't know how to load this with mIRC would be helpful.

Technolink
2008-07-17, 06:38 PM
Yea, nub question, how do I launch it, lol

LazyBui
2008-07-17, 06:55 PM
I'll get on the readme in a sec. Good call.

EndlessAxis
2008-07-19, 05:30 PM
ermmO_O ...whats MIRC?

LazyBui
2008-07-19, 07:29 PM
IRC is a protocol - it's similar to a chat room on AIM or MSN, except it's fundamentally different. It's not structured in the same way.

You connect to these things called networks and they have tons of channels. You can join as many channels as you want. The way the network identifies you is by nickname. You can have as many nicknames as you want, but any given nickname can only be used at a time on each network. So it's kind of like MSN where you can change your name to whatever you want. Channels are like the equivalent of chat rooms.

mIRC is an IRC client - it has features that revolve around connecting and interacting with IRC networks. It's technically shareware, but more like freeware with a nag. It supports its own built-in scripting language which really can be extended to do pretty much anything you want since it supports DLL calls and what have you.

The reasons why I chose mIRC are because it's light on resources and space (compared to Excel), the script is inherently open source (you can't use a script that doesn't have the code right in front of you), and I'm very familiar with mIRC script. Plus, you can't give things an interface with Excel, which I felt was a no-no.

You can pick up the latest version of mIRC at http://www.mirc.com. I upgraded from 6.03 this week and haven't found any issues with my script, so I'm pretty sure it's okay.

Darklai
2008-07-20, 03:57 PM
Such big fancy stuff. o.O It'll take me a few years to even come close to understanding this or being able to do anything like this.

Props to you for doing this. Whenever I have the time I might try your little nifty thing to mess about a bit. (:

Technolink
2008-07-20, 11:40 PM
Using chatrooms as a coding langauge.

Now i've seen everything.

LazyBui
2008-07-21, 06:46 AM
Screenshots of utilities, removing them from the first post as they are excess fat.

http://img503.imageshack.us/img503/6750/prev0eo5.png
http://img370.imageshack.us/img370/5673/prev1fr6.png
http://img529.imageshack.us/img529/3096/prev2vj7.png
http://img529.imageshack.us/img529/6103/prev3fp2.png
http://img292.imageshack.us/img292/4589/prev4bi2.png


http://img388.imageshack.us/img388/808/aprev1ro9.png
http://img388.imageshack.us/img388/3794/aprev2da2.png
http://img388.imageshack.us/img388/5238/aprev3cq1.png

LazyBui
2008-08-22, 01:07 AM
Updated to 1.1.

Takebacker
2008-09-07, 05:50 PM
What weapons and skills are supported? Everything including guns, knuckles, and their respective skill sets?

LazyBui
2008-09-08, 03:23 PM
Currently:

1H Sword
2H Sword
1H Axe/Mace (Slash:Stab)
2H Axe/Mace (Slash:Stab)
Spear (Slash:Stab)
Pole Arm (Slash:Stab)
Dragon Roar
Bow
Crossbow
Bow/Crossbow Whack
Iron Arrow
Piercing Arrow
Frostprey/Phoenix
Dagger (Non-Thief)
Dagger (Thief)
Throwing Stars
Lucky Seven/Triple Throw
Venomous Star/Stab
Gun
Knuckles
Wand/Staff
Chain Lightning
Heal

Some of these are just guesses at the formula, but all the physical weapons (not necessarily the specific skill ones such as Iron Arrow) are known to be correct. The magic ones or skills may or may not be accurate/verified. They should produce, at the very least, close results.