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

REQ Plugin to learn WPS

escequi

New Member
Joined
Nov 25, 2011
Messages
143
Reaction score
0
Is there an easy way to make the bot learn new waypoints he passes by if its not already learned?
 
Yep it is,
if you look at the Follower bot from xtenshisanx, he picks waypoints when you passes and don't have them.
So you will find a code sample in there ;)
 
Yep it is,
if you look at the Follower bot from xtenshisanx, he picks waypoints when you passes and don't have them.
So you will find a code sample in there ;)
Heh idk shit about C# (or any other coding language for that matter) but i'll give it a try after i sleep XD
 
Haha ok,
but it isn't really complex :)
I'm actually working on another plugin/routine, but if you need help or have any questions just ask and I'll help.
 
Haha ok,
but it isn't really complex :)
I'm actually working on another plugin/routine, but if you need help or have any questions just ask and I'll help.
Code:
new Decorator(ret => LokiPoe.EntityManager.Waypoint() != null && !Functions.DoIHaveWaypointOfThisArea(), BotLogic.GetWaypoint()),
Code:
 #region GetWaypoint
        /// <summary>
        /// Gets the Waypoint if in Range
        /// </summary>
        public static Composite GetWaypoint()
        {
            return new PrioritySelector(
                new Decorator(param0 => LokiPoe.EntityManager.Waypoint() != null,
                    new PrioritySelector(
                        new Decorator(param0 => LokiPoe.EntityManager.Waypoint().Distance > 15, new Action(delegate
                        {
                            Vector2i WaypointLocation = LokiPoe.EntityManager.Waypoint().Position;
                            Follower.Log.DebugFormat("Follower(GetWaypoint): Waypoint is to far away. Moving in range");
                            Navigator.BeginMoveTo(new MoveCommand(WaypointLocation, "Follower(TakeWaypoint): Waypoint is to far away moving to range", null, null, 3000));
                        })),
                        new Decorator(param0 => LokiPoe.Me.Position.Distance(LokiPoe.EntityManager.Waypoint().Position) <= 15,
                            new Decorator(ret => !GuiApi.Waypoint.IsWorldPanelWindowOpen, new Action(delegate
                            {
                                PoEObject Waypoint = LokiPoe.EntityManager.Waypoint();
                                Navigator.BeginMoveTo((MoveCommand)null);
                                Follower.Log.DebugFormat("Follower(GetWaypoint): Interacting with Waypoint");
                                Waypoint.Interact();
                                SharedCode.SetForcedWait(GuiApi.Waypoint.IsWorldPanelWindowOpen ? 3000f : 1000f, 0.0f);
                            }))
                        )
                    )
                )
            );
        }
        #endregion
this? As i can see there is already an function to get the wp, so it doesn't really seems hard at all, just wondering how to call it by a plugin?
 
Yep and you'll need that function too "!Functions.DoIHaveWaypointOfThisArea()"
Look into some simple plugins, maybe you'll find some events where the bot "asks" the plugin to execute functions.
 
Sorry didn't know that, I'm currently not farming with the bot.
When did they added it?
Or did I just missed it?
 
Okay sorry guys i went to sleep XD gonna try this now wish me luck (and thx for the function tenshisan :P)
 
yep you are right but its easy to me dont release my code.
working right now on Questbot. Act1 could be fully quested. and equip him self but yeah nn to release you were right
 
yep you are right but its easy to me dont release my code.
working right now on Questbot. Act1 could be fully quested. and equip him self but yeah nn to release you were right

you have every right to not release anything.
you have no rights to deny anyone from using released code.
you have no rights to release compiled code.
you have no rights to advertise anything outside the forums.


so yes, you have every right to not release anything.
if you dont plan on releasing, you shouldn't also be talking about (here).

kind regards
 
you have no rights to advertise anything outside the forums.

Iam the rightfull owner of the sourcecode of mine so i can
 
you have no rights to advertise anything outside the forums.

Iam the rightfull owner of the sourcecode of mine so i can

except the fact you are not allowed to advertise anything (hosted outside of the forums).

bambam922 said:
Hey there developers/community.
Lately there have been some grey areas in our rules, so I am going to take some time to clarify things.

As you know from Tony's rules update, we ARE NOT allowing direct selling of routines/plugins.
Also, I'd like to reiterate that external links are not allowed.
We have been going over the whole "going around it thing" as well.

You are not allowed to say "hey google XXXXX for XXXXXX"
Links from URL shortening services are also not allowed.
If you need to advertise something, you need to do it elsewhere.

These rules will apply for staff/customer alike.

I will be spending the next few hours combing over every plugin and combat routine, looking for external links or "google this" stuff.
When I find something like this within a plugin or routine, the thread will be moderated until you update your project.
If I see "google this" in your signature, I will edit your signature.
If I see any URL shortening, I will remove it also.
Any advertising in logs will also result in a moderated post.

Paypal donation links are allowed.

Thanks for understanding.
 
but i can announce a beta and give code to testers with condition to do not share code ;)
 
but i can announce a beta and give code to testers with condition to do not share code ;)

at the forums: wrong.
you are not allowed to exclude any guys or advertise anything.

somewhere else: true.

e: i doubt you want to play that way, just because you're afraid someone uses """your""" code. I already used your code. Whatcha gonna do about it?
e2: do what you want, mods usually don't care at all whats happening in the forums. I just told you what the rules say.
 
Back
Top