What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

[Plugin] Swolbyn's Mapping Tool - Updated For the Modern Man

GilesSmith

New Member
Joined
Jun 2, 2012
Messages
1,564
Reaction score
34
Many of you were probably not even aware, but there was a mapping tool that let you hit hotkeys, and it'd copy your current position to a clipboard.
"Swolbyn", a forum user, made this plugin back in July, his original thread and downloads can be found here;
http://www.thebuddyforum.com/demonbuddy-forum/plugins/61648-plugin-mapping-tool.html

At the request of forum-user r0sc0, I've updated this tool and added a few new things for the modern profile designer.

It will now automatically record your path while you run around, compiling a list of all the XML <MoveTo> or <TrinityMoveTo> commands for you, at every 10 feet of distance.

Hotkeys (F2 is currently locked out by DB):
F1: Start, or Stop, the Auto-Recording.
F3: Increase Path-precision by 1 (starts at 3).
F4: Decrease Path-precision by 1 (starts at 3).
F5: Manually add current location to log-file.
F6: Switch between using <MoveTo> and <TrinityMoveTo>.

Install Instructions:
Simply download the attached zip, and extract it to your Plugins folder. You should have "\DB\Plugins\MappingTool\MappingTool.cs".
Open DemonBuddy up, and enable the plugin.

Usage Tips:
- Disable RadsAtom/any profile managers you may have running.
- Disable any standalone unstucker plugins. (Db unstucker and Trinity unstucker are fine, and will not interfere).
- Disable DB Inactivity Timer (or set crazy-high), to prevent Demonbuddy or any other tools logging you out and causing a nasty client crash when D3 tries to launch an empty profile as a new game.
- Load a blank combat profile as your profile, so that when you hit "Start", DemonBuddy isn't trying to move (but it will fight & loot).
(a profile you can use has been included in the zip-file - simply load the "CombatRoutine.xml" profile found in the MappingTool folder).

It is recommended that you clear a map-zone of monsters first before auto-recording paths, so your bot doesn't go running after monsters and ruin your nice neat paths!

What Does Auto-Record Do:
When Auto-Record is on, every 10 feet of distance change by your character, will add a <MoveTo> or <TrinityMoveTo> to a file in your MappingTool folder (called MappingTool.log) - these XML commands can directly be pasted into a profile you are making. The file is never deleted - it is always appended to. Delete the file whenever you want to clear it, a new file will be automatically created.

Demonbuddy MUST BE STARTED AND RUNNING for auto-record to record your movements!


It is recommended you MANUALLY add EXTRA WAYPOINTS when navigating around very tight corners/U-Bends, or staircases, to ensure the bot will navigate that area perfectly next time.

Whenever the "LevelAreaID" changes, a comment is added into the log-file along with a date, giving the levelarea id and worldid you are now in.
The current levelarea id and worldid are also output to your DB log-window the moment it changes.

"LevelAreaID" is a more reliable method of checking your current location (WorldID can be the same for certain different areas).

See this thread for a complete list of useful XML commands added by Trinity for advanced profile creation:
http://www.thebuddyforum.com/demonbuddy-forum/plugins/giles-plugins/73952-trinity-v1-6-new-profile-xml-tags.html


Changelog:
Code:
v0.4.1 - hopefully it should always output the waypoint values decimal-seperated (eg "436.14765") instead of with a comma depending on your computer language settings (eg "436,14765").
v.0.4 - initial release by Giles with the auto-logging, world ID stuff etc.
 

Attachments

Last edited:
Plugin not worked? Or work incorrectly? Over previosly maptool - log can`t create.... And with manual create to the path - not record, but in bot present messages
[04:01:26.932 N] Mapper disabled.
[04:01:29.624 N] Mapper Enabled.
[04:01:29.624 N] Hit F1 to start/stop auto-recording. F3 to increase path precision, F4 to decrease. F5 to manually add a waypoint. F6 to switch MoveTo tag-types.
[04:03:56.815 N] Loaded profile Giles Combat testing
[04:04:04.554 N] AUTO-RECORDER STARTED! Logging to: MappingTool\MoveToLog.log
[04:04:05.733 N] STOPPED AUTO-RECORDING MOVEMENTS!
 
Plugin not worked? Or work incorrectly? Over previosly maptool - log can`t create.... And with manual create to the path - not record, but in bot present messages

The plugin's working great for me. Make sure you install it as instructed - it should be in "\Plugins\MappingTool\MappingTool.cs".

And the Log file should be created in that same folder.

If it doesn't work for you, start DemonBuddy up, get it to try adding a manual waypoint, and then post the log from your demonbuddy logs folder here.
 
Oh my god! A simple coordinates on the fly would be awesome, but you HAD to do something even better.

An Automapping with autotagging... How am I supposed to get super really fun making my profiles now?
Haha! I fuking love you, man! Why aren't you developing DB yet?

I will test it here and see this beauty running.
Thank you very much!
 
so those who dont have scripter skills can make their own patch routes?:rolleyes:
 
The plugin's working great for me. Make sure you install it as instructed - it should be in "\Plugins\MappingTool\MappingTool.cs".

And the Log file should be created in that same folder.

If it doesn't work for you, start DemonBuddy up, get it to try adding a manual waypoint, and then post the log from your demonbuddy logs folder here.

Manual waypoint for F5 write in to log, but auto logging not working. Log is present (if manual touch waipoints) in Plugins\MappingTool\MappingTool\
I press F1, db log show "AUTO-RECORDER STARTED! Logging to: MappingTool\MoveToLog.log" but not auto record to log. How repair?
Thank you for advise.
 
Manual waypoint for F5 write in to log, but auto logging not working. Log is present (if manual touch waipoints) in Plugins\MappingTool\MappingTool\
I press F1, db log show "AUTO-RECORDER STARTED! Logging to: MappingTool\MoveToLog.log" but not auto record to log. How repair?
Thank you for advise.

Is DemonBuddy "started", or "stopped"? DemonBuddy needs to be "started".
 
Tested and approved :D

Just one issue. It's recording the log with "," instead of "." making DB thinks, for example X=150.500 actually is X=150500.


Better explanation
This:
<MoveTo questId="1" x="2050,192" y="1126,091" z="170,4425" pathPrecision="3" />
should be this:
<MoveTo questId="1" x="2050.192" y="1126.091" z="170.4425" pathPrecision="3" />
 
Tested and approved :D
Just one issue. It's recording the log with "," instead of "." making DB thinks, for example X=150.500 actually is X=150500.

It's actually just a standard Windows string output, which means it'll be using your computer's language settings to decide whether or not you use commas (like MENTAL WEIRDOS! ;) ) or full-stops (LIKE NORMAL PEOPLE ;) ) to decimalise number! :D

I'll try and get a version out that changes that and forces it to use full-stops as the decimal mark for you!

Edit: Just attached 0.4.1 - give it a try. I've never messed with language locale stuff before, so let me know if it works or not please!
 
Last edited:
Is DemonBuddy "started", or "stopped"? DemonBuddy needs to be "started".
Thank you.
DB will be started, but a dont start bot with combat routing.
 
Thank you.
DB will be started, but a dont start bot with combat routing.

Db needs to be fully started and running (with a combat routine picked and selected), or the auto-mapper cannot output data.

Use the "combat routine" as your selected profile and DB will not try to move around - it will only fight if near monsters.

If you DISABLE Trinity plugin, but SELECT "Giles Plugin" as your combat routine when you hit start, you shouldn't even fight! (note: I don't support doing this, but give it a try, it should work in theory, to allow DB to be "running" without ever doing anything for you ;) ).
 
Haha, I was using Replace tool of notepad++ to make comma -> fullstops

Tested 0.4.1 and working with fullstops. Thanks.

I have another question, now regarding the new Trinity XML tags. I'm creating a profile that when started it randomly chooses which will be the order of the run (like Mines->Alcarnus->Sands OR Alcarnus->Sands->Mines OR some other)
So I was planning to make like 3 files each one with different path ordering WITH multi-pathing.
And a START_HERE to random choose one of them.

Does Trinity has a command to load a next profile? <continue profile> is just RadsAtom tag right? Cause I don't wan't to use Rads anymore.
 
Haha, I was using Replace tool of notepad++ to make comma -> fullstops
Tested 0.4.1 and working with fullstops. Thanks.
I have another question, now regarding the new Trinity XML tags. I'm creating a profile that when started it randomly chooses which will be the order of the run (like Mines->Alcarnus->Sands OR Alcarnus->Sands->Mines OR some other)
So I was planning to make like 3 files each one with different path ordering WITH multi-pathing.
And a START_HERE to random choose one of them.
Does Trinity has a command to load a next profile? <continue profile> is just RadsAtom tag right? Cause I don't wan't to use Rads anymore.

Check the full list of XML commands Trinity adds here;
http://www.thebuddyforum.com/demonbuddy-forum/plugins/giles-plugins/73952-trinity-v1-6-new-profile-xml-tags.html

There's a short list of them all at the top, then a description of each. It has profile loading, and randomization of the loads, but with clever <UseOnce> use you can achieve the same thing in a single XML file, too, just depends how you decide to create it!
 
I think this tool will be very useful for beginners, but my testing has me convinced it's inferior to the standard way of profile making :(
My two test profiles had a bunch of stucks after I made them with this :(((
 
I think this tool will be very useful for beginners, but my testing has me convinced it's inferior to the standard way of profile making :(
My two test profiles had a bunch of stucks after I made them with this :(((

Remember you can always use the tool WITHOUT the auto-mapping, and just have the "manual addition" hotkey use (and just tap F5 while you run around). Just as easy - run around tapping F5 where you know you want your waypoints! :D

As for stucks, I tried a few test profiles with the auto-mapping and it ran back through them all each time without issue, following the exact path (I set the pathprecision down to 1 though first). Are you using the default path-precision? DemonBuddy moveto's or Trinity moveto's? (I would always use DemonBuddy moveto's EXCEPT in areas that keep causing nav-server hits or "stucks with nothing around" blackspots, then just do Trinitymoveto's in those areas). Perhaps the frequency of the waypoint additions needs to be tweaked (or user definable) - so you can set it every 5 feet distance, 10 feet, 20 feet etc.? (maybe having too many too "close" together is the issue)?
 
Hi Giles.

I have some suggestions for next versions if you are willing to improve it...
Aside from adding user defined wp frequency, I think it's a good idea to add a hotkey for commenting where bot currently is, like what you did when change AreaID, but we can add this comment manually pressing a button.
It would be good for marking where some event or portal is located among all those movetos.

Keep up the good work :)
 
You are brilliant Giles, greatly appreciate your effort!
 
Back
Top