Userfunctions and waypoints looking for a good home
Posted: Mon Jun 11, 2012 10:54 pm
Hi
I have been playing around with the bot for a while now, and I was enjoying just learning Lua and getting the bot to get around by itself. I like AI and had ideas of creating a small bit of AI with this BOT. But I have kind of lost interest with it now, as I am really just scripting what the bot does, and if its not scripted it doesn't do it, so no real intelligents.
The one thing that has really bugged me, it the inability to get the bot to upgrade its own gear. I am not saying the bot cant do this, I just saying it is way beyond my ability and no one else has done it. I think you are getting close to something rock5?
So no matter how well I coded the bot, I would still need to "get it dressed in the morning" to deal with bigger mobs as it gains levels and heads to new areas to kill.
This forum has helped me heaps, and I just want to upload the work that I had done on the bot so other could pick through it to get any useful bits out of it.
There are many waypoint files, and one big userfunctions file containing all the functions I created. I'm sure it would be cleaner to split the functions out into more meaningful files, but it still works fine with it all in the one file.
The BOT starts at the human newbie area, and works its way through to Obsidian Stronghold. The "Travel.xml file has a path all the way, so that is a good default file to start the bot with if you are not sure where you are at.
If you are near a merchant I would start the bot with the todomerchant.xml file, as the merchant is the central point in any town, and will do everything from the merchant.
I do not pretend these function are perfect, but I have run at least a dozen bots through using it, as long as you manually upgrade the bots gear it works fine.
You will need your own way to manage the loot in your bag, to drop or not pick up crap. You will also need another character to send mail to, and you can set them at the top of the functions file. You will also need rock5 mail mod.
You will also need to add a couple of things into your profile, mainly “startup()”. Have a look at some of the examples I have in the attached folders.
The last thing I was working on was adding quests to the bot. I have added several daily quests. The Quests I started working on around Obsidian Stronghold, and the files work, and I had added checks into the functions file, but they do not quite call the appropriate files. I was thinking of having a quest file for each level, so when you hit level 42, the function checks to see if you have any lvl42 quests to do, if so questlinelvl42.xml will be called, and inside that xml file it will do some more onload checks to figure out how far through the quests you have gone and head to that NPC. I have created the (some) questline files, but they need to be integrated into the functions.
Have fun, and thanks all for your help.
Imaginethat
I have been playing around with the bot for a while now, and I was enjoying just learning Lua and getting the bot to get around by itself. I like AI and had ideas of creating a small bit of AI with this BOT. But I have kind of lost interest with it now, as I am really just scripting what the bot does, and if its not scripted it doesn't do it, so no real intelligents.
The one thing that has really bugged me, it the inability to get the bot to upgrade its own gear. I am not saying the bot cant do this, I just saying it is way beyond my ability and no one else has done it. I think you are getting close to something rock5?
So no matter how well I coded the bot, I would still need to "get it dressed in the morning" to deal with bigger mobs as it gains levels and heads to new areas to kill.
This forum has helped me heaps, and I just want to upload the work that I had done on the bot so other could pick through it to get any useful bits out of it.
There are many waypoint files, and one big userfunctions file containing all the functions I created. I'm sure it would be cleaner to split the functions out into more meaningful files, but it still works fine with it all in the one file.
The BOT starts at the human newbie area, and works its way through to Obsidian Stronghold. The "Travel.xml file has a path all the way, so that is a good default file to start the bot with if you are not sure where you are at.
If you are near a merchant I would start the bot with the todomerchant.xml file, as the merchant is the central point in any town, and will do everything from the merchant.
I do not pretend these function are perfect, but I have run at least a dozen bots through using it, as long as you manually upgrade the bots gear it works fine.
You will need your own way to manage the loot in your bag, to drop or not pick up crap. You will also need another character to send mail to, and you can set them at the top of the functions file. You will also need rock5 mail mod.
You will also need to add a couple of things into your profile, mainly “startup()”. Have a look at some of the examples I have in the attached folders.
The last thing I was working on was adding quests to the bot. I have added several daily quests. The Quests I started working on around Obsidian Stronghold, and the files work, and I had added checks into the functions file, but they do not quite call the appropriate files. I was thinking of having a quest file for each level, so when you hit level 42, the function checks to see if you have any lvl42 quests to do, if so questlinelvl42.xml will be called, and inside that xml file it will do some more onload checks to figure out how far through the quests you have gone and head to that NPC. I have created the (some) questline files, but they need to be integrated into the functions.
Have fun, and thanks all for your help.
Imaginethat