I cant download you new link
It's pending approval
file approved
Former BattleOn Minion
If you cannot run trainers please see this thread: https://www.mpgh.net/forum/showthread.php?t=1170564
rodit (06-03-2018)
Can you give me a quick script for arcangrove rep pls. Also I think Rbot is the only bot working right now
Could you explain how to use the skills tab? And maybe how to use it with the already implemented scripts?
Would you mind if I assist you in the documentation of your script methods and implementations?
e.g. Bot.Inventory.Contains(string)
Accepts a string literal as a parameter and returns a boolean value of the parameter matches an item name that exists in the player's inventory.
This interest was spurned by my interest in coding, I'm writing my own pretty complex scripts, and I wanted to know the following commands:
bot.Player.KillForTempItem(string, int)
bot.Player.Move(double, double) ? bot.Map.Cell(string, string)
Last edited by imbasu; 06-02-2018 at 10:37 PM.
This script will do the Gorillaphant Poaching quest: https://pastebin.com/FQzzAGXq
- - - Updated - - -
I would appreciate any help with the documentation (I pretty much just stopped writing it after I added the autocomplete feature to the script editor). If you want, send me any documentation you have written and I'll update it (I could put it on ****** so I don't have to create new releases when it's updated).
There is no explicit function bot.Player.KillForTempItem but one of the arguments for bot.Player.KillForItem is a boolean indicating whether or not the item is a temporary item. For example, if you wanted to kill for the Slain Gorillaphants quest item, the syntax would be as follows: bot.Player.KillForItem("Gorillaphant", "Slain Gorillaphant", 10, true), where 10 is the number of Slain Gorillaphant items to get, and true indicates its a temporary item.
To move the player, you can use bot.Player.WalkTo(int, int), and to jump to another cell/pad, you can use bot.Player.Jump(string, string), where the first argument is the name of the cell, and the second the name of the pad (e.g. bot.Player.Jump("Spawn", "Enter")).
If you have any more questions, please ask; I'd love to know what scripts your making as well
- - - Updated - - -
To use the skills tab, all you have to do is add skills you want the bot to use (add button in bottom right). If you would like to customise when these skills are used, click the 'Edit Use Rule' button with the skill that you want to customise selected in the listbox (on the left). In the window that pops up, select the desired rule from the combo box (e.g. the mana or health use rule), and configure it in the property box on the right. Once you've done that, you can close the use rule window. Make sure the 'Override Script SkillTimer' checkbox is checked. To use these skills with a script, at the beginning of the script, just add a call to the bot.Skills.StartTimer() method. You can also add custom skill use rules in scripts, and I can explain further how to do this if you would like? You can also save and load your skill sets (e.g. for different classes) using the skills window.
This might get some bad rep but I'm making a bot that will dynamically clear out the quest line for a map.
It will require you to edit the starting quest ID for the map, and the end quest ID, and then a loop that will go to every valid room in the map.
Here's what I've written so far, haven't gotten to use the Autocomplete it is kind of weird for me to use.
If i may suggest some improvements for the autocomplete:
Case 1:
When I type bot. it should open the dropdown of options, as I type, it will filter and upon pressing arrow keys and enter, replace what I've been writing.
Last edited by imbasu; 06-03-2018 at 11:47 AM.
Till now the "Edit Script" button has been crashing the bot, but I just loaded the ScriptEditor.exe from the directory instead and now the Edit Script button works for me. And I can see what documentation you've already written... also yes it is complicated, and without some algorithm analysis (which may take time), is there a means for you to determine what are the components of a quest in the QuestList?
You can only access the list of required items (and quantities) required to turn in the quest (through the 'Rewards' member of a quest object such as ones in the bot.Quests.ActiveQuests list). Unfortunately, there is no more information that can be obtained about quests through the bot. If you could somehow parse information from the AQW wiki about item locations and the monsters required to obtain them, that would help in automatically completing quests. This is obviously nearly impossible/very, very difficult to do accurately (the wiki page is not in the nicest format etc). Alternatively, most area/story quests require you to just kill some local monsters, so you could make a script to kill every monster in the area, and see if any drop the required quest items, if so, continue killing them - I'm assuming this is something like what you meant by algorithm analysis.
imbasu (06-03-2018)