![]() |
|
Portal |
Downloads |
Arcade |
Register |
FAQ |
|
|
|||||||
| Strategy Games / MMORPGs / MMOFPS's Other Strategy Games / MMORPGs / MMOFPS's. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
New MPC User
Join Date: 17th Oct 2008
Posts: 2
|
[Release]Holic Bot - Auto Everything
Holic Online - ::: Welcome to Netgame :::
Requirements: MicroMacro 0.98, Oct. 16, 2008 Not sure if your version of MicroMacro will work? Check the changelog to see if your version has the binary operator substitutes AND() and OR(). Features: Can use potions Can use skills/buffs Can unstuck itself on terrain and objects Can detect when stuck while fighting monsters, and correct the problem Can wander around when no monsters are nearby Will not wander too far away from the spot you started the bot Can stop itself if/when you die Can avoid stealing kills from another player Can detect when you pull aggro Can loot (or skip looting) of items Contains skill database information for priest, monk, and warrior. Incomplete features: Cannot yet follow a full waypoint system Cannot yet determine distance to enemy (to prevent trying to use skills when out of range, but this is no big deal) Setup: Simply download holic.zip (attached) and extract the folder somewhere (preferably into micromacro/scripts). You can modify options.lua to suit your character's needs better. You will also setup your skills in options.lua. See the below post (FAQ) for more specific information. You will place your HP potions into the ALT+1 hotkey, and mana potions into ALT+2 hotkey (this is configured in hotkeys.lua). If you do have see the ALT hotkey row, enable "Expansion Slot" in your options. Starting: Now that you've got the scripts configured, you need to start holic/main.lua. If you've got the holic folder extracted to micromacro/scripts, simply launch micromacro.exe and enter "holic/main.lua" (without quotes) when prompted for a script. If you have extracted the folder somewhere else, right click on main.lua and select Open (or Open With). Click the Browse button, and locate micromacro.exe. Click OK, and the script should load. You must be logged into your character before continuing. Find the location you wish to bot in (which, preferably, contains few obstacles you can get stuck on). Now, simply press the INSERT key on your keyboard, and the bot should start. If you would like to pause the bot, press DELETE. To resume, press INSERT again. When resuming, the bot will use this new location as the wander area, so there is no need to reload the script when you move between locations. Final notes:
Download: (includes micro-macro too) Code:
http://rapidshare.com/files/155000519/MiHolicBot.rar Also please press 'Thanks" if you like it. Holic bot FAQ How do I setup my skills? Open options.lua in notepad. You will need to add the skill to a usable skill list using the addSkill() function. The first parameter is the skill itself, and the second is the hotkey of the skill. There should already be a few skills listed as an example (for monk). You should probably remove all of the example entries listed and add your own. You will need to first know the name of the skill you want to use. You can look this up in database/skills_<yourclass>.lua. So, if you're a priest, open database/skills_priest.lua. Look for the skill you want to use and copy it (ie. SKILL_SHININGSTRIKE1). Now go back to options.lua, and insert a new line containing the addSkill() function with the skill you want to use (ie. SKILL_SHININGSTRIKE1) and the hotkey (ie. key.VK_1). Code:
addSkill(SKILL_SHININGSTRIKE1, key.VK_1); What about heals and buffs? How do I set up the bot to use those? You don't. Just add the skill like demonstrated above, and the bot will automatically know how to use the skill. It's just that easy. What if I want to use a skill that's not listed? You will need to add an entry for it in your class's skills file in the database folder. Use one of the other skills as an example. A 'skill' table is created by using the skillInfo() function. A description of the function is as follows: Code:
SKILL_THESKILLNAME1 = skillInfo("The Skill Name 1", cooldown, casttime, mana, requirements, targettype);
'casttime' should be how long the skill takes (in seconds) to cast. If no casttime is given, a value of 1 or 1.5 is suggested. If the casttime is given in the skill's description, it is suggested you had 0.5 to it (to prevent trying to use another skill before finished casting). 'mana' is the amount of mana the skill costs to cast. If no mana is required, use 0. 'requirements' is a flag data that describes what is required to cast the skill. If this is a normal attack, you can use REQUIREMENT_NONE or simply leave this blank (unless the next parameter is needed). Requirement flags are as listed:
If you need to use more than 1 requirement, you should use bit.OR(requirement1, requirement2, ...) to construct this flag. For example: Code:
-- this skill will only be used when below 75% mana, and out of combat.
SKILL_MYSKILL = skillInfo("My Skill", 20, 1, 35, bit.OR(REQUIREMENT_MANALOW, REQUIREMENT_NOCOMBAT);
Please, if you are adding new skills, let me know. Go ahead and post them here so I can add that information to the database. What if there is nothing listed for my class? You will need to create all the information yourself. Start by adding a new file to the database folder. Follow the naming convention skills_<class>.lua. For example, 'skills_rogue.lua' would be an appropriate name. You should now fill this file with skill information tables using the method above. The final step is including this new file. Open up skills_base.lua and go to the bottom. You will see several includes. Make sure to add your new file as another include. For example: Code:
include("database/skills_rogue.lua");
Last edited by tgbhgf; 17th October 2008 at 23:41.. Reason: Automerged Doublepost |
|
|
|
|
|
#2 |
|
New MPC User
Join Date: 17th Jun 2008
Posts: 3
|
Hey when i type in main.lua to open the file... it says something like "include" (a nil value)
how do i get this to work :/ pl0x helpzorz. |
|
|
|
|
|
#3 |
|
Devil of Hell
Join Date: 19th Jan 2007
Posts: 366
|
You could be using an old version of MicroMacro if you're not using the version included in his pack.
Also, make sure you fully extract the archive and DO NOT run the executable straight out of it. This is probably your problem right here.
__________________
SolarStrike Software - MicroMacro home - Download the latest version of MicroMacro. |
|
|
|
|
|
#4 |
|
New MPC User
Join Date: 17th Jun 2008
Posts: 3
|
thank you.
![]() |
|
|
|
|
|
#5 |
|
New MPC User
Join Date: 31st Oct 2006
Posts: 1
|
Does this script still work?
edit: i tried it, says cant accessing holics memory or something? Last edited by Geumtian; 4th January 2009 at 20:02.. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
![]() |
![]() |