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

[Plugin] SimpleFollow - Fork by Arden

Arden

Member
Joined
Jun 20, 2012
Messages
114
Reaction score
0
This is an update for rrrix amazing SimpleFollow 1.2.8 plugin. OPTIMIZED FOR LAN USE.
Since he hasn't had time to work on it and it hasn't been working the way I want I took some time to make the necessary changes.
I may or may not update this fork based on feedback, my time, my needs, and what rrrix decides to do with the base SimpleFollow.

What this plugin is:
- This is a hack job of SimpleFollow to add functionality I felt was missing.
- Made for myself, I am releasing it to the community because it has functions that have been requested.
- Made primarily for a duo setup.
- Way more stable over LAN for me than the original SimpleFollow.

What this plugin is not:
- Going to work for everyone. Through tinkering with the code for SimpleFollow I have found that the way it is currently coded is very dependent on computer specs. I do not have the expertise to completely recode to take into account older/slower computers, so I have made other adjustments for my needs.
- Bug free.
- Noob friendly.

=================================================================================================
1.0.4 Changes:
1. Fix for friends list staying open. Definitely works on a duo (1 Leader 1 follower) setup. It should be working up to a full group as well.
KEEP IN MIND YOU CANNOT HAVE MORE THAN YOUR FOLLOWERS ON YOUR FRIENDS LIST FOR THIS TO WORK PROPERLY!
2. Added some log entries for debugging purposes. If you have any issues with invites/friends list post your log and I'll see what I can do.

1.0.2 and 1.0.3 Changes:
1. Possible fixes for friends list staying open.

1.0.1 Changes:
1. Disabled the sleep timer, it's not needed.
2. I believe I fixed the party invite issue.

1.0.0 Changes:
1. Timing adjustments across the board. The original SimpleFollow was causing issues with my older system so I made adjustments to just about every delay the bot uses. As a result it is 100x more stable for me.
2. Added a fix for followers not joining the leader as soon as he enters an instance. More often then not previously the followers would take about 10-15 seconds before using the leader's banner.
3. Added a way to have followers log out before the leader so they do not get kicked from the group.

==================================================================================================

Instructions for use:
- Extract the SimpleFollow folder into your Plugins directory overriding your existing SimpleFollow folder if necessary.
- If you want to use the plugin with multiple computers over LAN check out Drazz446's great tutorial: http://www.thebuddyforum.com/demonbuddy-forum/plugins/117732-party-plugin-simplefollow-multi-bot-party-plugin-55.html#post1383851
- For installation and configuration issues please see the original SimpleFollow thread.

New profile tags:
- In order to have the followers join the leader quicker and also log out before the leader does you must make adjustments to the profile you are running. I have attached a sample profile so you can see what this should look like.
1. statusText="Start"
Example:
<TakeTownPortal statusText="Start" questId="72738" stepId="12" />
- This will cause the followers to run to the banner as soon as the leader takes the portal so they don't stand around in town like idiots.

2. statusText="End"
Example:
<TrinityTownPortal questId="72738" stepId="12"/>
<WaitTimer statusText="End" questId="72738" stepId="12" waitTime="10000" />
<LeaveGame reason="End of the run" stayInParty="True" />
- This will have the leader start his town portal, which will also make the followers use theirs. After getting back to town the leader will wait 10 seconds while the followers log out, and then log out himself with everyone staying in the party.

Feedback and questions are welcomed.
 

Attachments

Last edited:
Awesome.. I'll check this out when I get home this evening!
 
Exactly what I was looking for. Can't wait to get home tonight and try it out. Simple follow has got to be the best and most fun plugin out there and I (we) appreciate the time you put in to this to help out.
 
I can't get it to work. My follower didnt get an invite. I change up the http://localhost/ to ip address then restarted bot and that didnt solve it. I tried to manually invite but doesnt follow and left the game.

anyone else got it to work?
 
When i load the sample profile as soon it enters the portal it says "game finished" and it leaves. Also it doesnt invite any followers. If maunally invite the follower it declines the invite. If i maunally accepted the invite and joined the game it says game finished and leaves
 
Thanks for the info rrrix, I'm still a Zeta.TreeSharp noob.
I actually didn't need that wait in there with the changes I made after adding it I completely forgot lol.
I don't use the automatic invite feature but I'm working on a fix now.
 
I guess I'll ask the question that will most likely get asked from a lot of people in the SimpleFollow thread:

Does this still require 2 bots, or can I use this with 2 accounts and have 1 just follow me as I play?
 
I guess I'll ask the question that will most likely get asked from a lot of people in the SimpleFollow thread:

Does this still require 2 bots, or can I use this with 2 accounts and have 1 just follow me as I play?

With the original simplefollow you just needed to run your main account with demonbuddy using a blank no combat/no loot profile. And the DB would send your cords to your followers to follow along. IF this one runs the same then that should be all you need todo.
 
When i load the sample profile as soon it enters the portal it says "game finished" and it leaves. Also it doesnt invite any followers. If maunally invite the follower it declines the invite. If i maunally accepted the invite and joined the game it says game finished and leaves

The invite issue should be fixed in 1.0.1.
The "game finished" is happening because your followers are detecting the leader is not in the game. This is an issue I had with the original SimpleFollow that is fixed for me in my version.
Make sure you are out of game when starting the bots.
I'll add an additional check to make sure the followers aren't leaving when the game starts.
 
Last edited:
@arden

are we supposed to place those new profile tags on right, so that it wouldnt kick the entire party? i tried the new 1.01 and it invites and works but not the one i mention. so i will try your tags on my profiles.
 
it works!! thanks arden.

Here is what I did to the profile i got from the one i ran along with the new profile tags.

<Profile>
<Name>Arreat Core v1.4 Waypoint</Name>
<GameParams quest="101758" step="1" act="A3" resumeFromSave="True" isPrivate="True" numGames="-1" />
<KillMonsters>True</KillMonsters>
<PickupLoot>True</PickupLoot>
<Order>
<TrinityMaxDeaths questId="1" max="1" />
<If condition="Me.IsInTown">

<WaitTimer questId="101758" stepId="1" waitTime="5000" />
<TakeTownPortal statusText="Start" questId="101758" stepId="1" />


</If>
<If condition="CurrentLevelAreaId == 119306">
<MoveTo questId="101758" stepId="1" x="234.3673" y="721.8984" z="-19.12973" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="325.6044" y="724.0543" z="0.1000002" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="360.4592" y="720.9416" z="0.0999999" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="412.6540" y="719.4575" z="0.1000008" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="477.0340" y="717.0168" z="0.1000000" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="514.8190" y="717.9202" z="0.3601070" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="561.2090" y="692.8415" z="0.2256483" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="570.5340" y="667.0037" z="0.1000153" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="541.2538" y="639.1760" z="0.1000153" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="556.0313" y="596.9506" z="0.0998783" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="566.3148" y="556.4681" z="0.0998597" pathPrecision="20" />
<MoveTo questId="101758" stepId="1" x="579.8280" y="565.6981" z="0.0999094" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="626.1776" y="557.8848" z="0.0998843" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="672.5002" y="540.4488" z="0.1000153" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="738.4600" y="548.2753" z="0.1000153" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="767.9120" y="591.3010" z="0.1000165" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="776.4760" y="636.7722" z="0.1000198" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="813.1725" y="661.5166" z="0.1000153" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="858.3293" y="701.3019" z="0.1000153" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="907.4997" y="718.5369" z="0.1000161" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="960.2914" y="724.0094" z="0.1000001" pathPrecision="30" />
<MoveTo questId="101758" stepId="1" x="998.8082" y="722.2805" z="0.1000002" pathPrecision="30" />
<UseWaypoint questId="101758" stepId="1" waypointNumber="0" x="1166.333" y="686.9626" z="0.099999" />

<WaitTimer questId="101758" stepId="1" waitTime="2000" />
<TrinityTownPortal questId="101758" stepId="1"/>
<WaitTimer statusText="End" questId="101758" stepId="1" waitTime="13000" />
I use 13000 so the leader waits for 13 seconds for the follower to leave. This happens once the leader is at home then the follower instantly hit escape button and shows the 10 second leave screen.
</If>



<If condition="Me.IsInTown">
<LeaveGame reason="End of the run" stayInParty="True" />
</If>

</Order>
</Profile>


arden, can't I let the follower TP home too, so I won't have to wait 10 seconds.
 
Awesome, glad you got it working taskmanager.
I was going to say, the followers should be teleporting back to town when the leader does.
I've been running my version for over 24 hours now without any issues.
As I said in the original post though, specific computer specs and setups may not have the same results.
 
I ran 2 accounts 1 leader and 1 follower and they are both in party still and yet the plugin opens friends list and doesn't closes. I tried unchecking settings in simplefollow invite 1,2,3 and still it checks the friends list but doesn't closes. its minor though. you might not experience this in whatever profile your using though.
 
You hard-coded your LAN IP address. This won't work...

Code:
private static Uri serverUri = new Uri("http://192.168.1.22:10920");
 
You hard-coded your LAN IP address. This won't work...

Code:
private static Uri serverUri = new Uri("http://192.168.1.22:10920");

Whoops, forgot to change it back to localhost before uploading. Fixed.
 
I ran 2 accounts 1 leader and 1 follower and they are both in party still and yet the plugin opens friends list and doesn't closes. I tried unchecking settings in simplefollow invite 1,2,3 and still it checks the friends list but doesn't closes. its minor though. you might not experience this in whatever profile your using though.
I'm working on a fix for the friends list not closing. The fix I had in before was actually why the bot wouldn't invite. lol.
It annoys me as well.
 
I'm working on a fix for the friends list not closing. The fix I had in before was actually why the bot wouldn't invite. lol.
It annoys me as well.

You know, it's probably easier if we collaborate... rather than having 2 versions of the same plugin.

Just sayin'
 
Back
Top