• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] Gift Of Flight - TEST - Uses flying mount in quest or grind profiles

    Discussion in 'Archives' started by thephoenix25, Oct 8, 2011.

    1. cpy

      cpy New Member

      Joined:
      May 10, 2010
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      Problem with obsidian dragonshire when going from quest guy to lord itharius in wyrmrest temple Dragonblight.

      I think 100 yard radius is too big, im not sure, or too small? Maybe right.

      Ok that problem was with previous version of your plugin, i don't know if it will help now.

      Still cant get in while dead to that stupid temple, i think this has more to do with HB itself as it has poor support for multi level routing.

      GoF : GiftOfFlight is initializing
      GoF : Map ID = 646
      GoF : You are Alliance
      Settings Loaded sucessfully
      Blackspots Loaded sucessfully
      Exception : Error opening file : D:\Programs\LittleBee\Plugins\GiftOfFlight\Alliance SLPossibleDeepholm.xml
      GoF : Settings loaded

      Is that a problem?
       
      Last edited: Oct 18, 2011
    2. thephoenix25

      thephoenix25 New Member

      Joined:
      Jan 15, 2010
      Messages:
      289
      Likes Received:
      4
      Trophy Points:
      0
      The exception is caused because the Alliance SLPossibleDeepholm.xml file is either empty or doesn't exist yet. It wont cause any problems and the file will be created once the plugin has some data to populate it with.
       
    3. cpy

      cpy New Member

      Joined:
      May 10, 2010
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      Any new version? I made few new chars to test it 60-85.
      With my current version it have problem landing in honor hold, it tries to land on the roof, saying blackspot, but have no whitespots available to land, any way around this to have some high lvl char pregenarete spots? Or generate as you go.
       
    4. thephoenix25

      thephoenix25 New Member

      Joined:
      Jan 15, 2010
      Messages:
      289
      Likes Received:
      4
      Trophy Points:
      0
      Current version.
      A workaroung for the "Whitespot" issue you mention is, to take a "hotspot" for the area you'd like it to land at. Then copy and paste it into the appropriate
      *Alliance/Horde* SLSettings*Kalimdor/EasternKingdom*.XML

      New version.
      I've not quite perfected it yet, but the version I'm working on is pretty close. I need to tidy the error reporting and file management before I can release this version. If you want to try it with the untidy spam error reporting you are welcome, just PM me.

      changes :

      Fully reworked safe landing spots algorithm (much more efficient and effective)
      Quest objective/InteractWith/(internal)MoveTo and RunTo support
      Failed landing site generation fixes and work arounds


      Known issues :

      prioritizing current activity needs more work
      unreachable "un-meshed" areas (target at end of cave which is not fully meshed)

      I've just finished some exams for a distance learning degree I am doing, so I should be able to support this a bit more now.

      I'm also working on a GUI to offer a visual interpretation of the landing site generation along with "add" safespot/blackspot buttons.
       
    5. cpy

      cpy New Member

      Joined:
      May 10, 2010
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      Can't there be a learning mode? Where bot adds landing zones and blackspots automaticly? If nothing is found then backtrace to original position, walk there and learn new spots as he walks there. Everything seems to work fine untill he tries to enter buildings.

      Ok and one more thing, i know this isn't problem for plugin itself, but if you'll have some spare time, not really a big prio, i suggest GOF will suspend activity when in bgs and dungeons (to use with mixed mode botting).
       
      Last edited: Oct 30, 2011
    6. thephoenix25

      thephoenix25 New Member

      Joined:
      Jan 15, 2010
      Messages:
      289
      Likes Received:
      4
      Trophy Points:
      0
      Now implemented^^ (should have been before, I found the error)

      Now implemented (untested though)

      I'd be really greatfull of any feedback. Especially :

      Failed landing attempts
      Priority issues (selling and quest hand in infinite loops)
      Stuck(s) inside buildings
      Missing quest (target) mobs because it flew over them.

      exactly where, why, faction, profile and quest name, would be great.

      Again, though the plugin is (hopefully) working better than before, I'd still not suggest using it AFK for extended periods of time.

      If you used an earlier version please remove all previous files when installing
       

      Attached Files:

    7. cpy

      cpy New Member

      Joined:
      May 10, 2010
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      To look less like a bot i'm not sure if it's caused by plugin or not, but if bot is moving to safe departure zone to go fly wherever he wants to fly he mounts horse go 5 yards mount gryphon and off he go. I mean sure a bit suspicious, as i said i dont know if it's GOF or not.

      Also you should edit first post also for people to find it more easy (but probably later after it's more stable, it would be bad to have people who cant read testing this). :)

      I'm playing 99% alliance, (i used to be horde for 5 years, meh i needed change)

      Alliance quest: warlord of bleeding hollow (your clean plugin install) he get stuck in zerth'gor trying to land on the roof stuck.

      [Fly][A - Quest] BC 58-70 [Kick].xml


      Ok so what is your knowledge on learning algorythms, i might be able to suggest an idea.
      I was thinking spiral learning style? Trying to land in increasing circle? With mesh ledge detection (big fall or hill if possible)
      Only problem is see is when quest objective is inside.
       
      Last edited: Oct 30, 2011
    8. thephoenix25

      thephoenix25 New Member

      Joined:
      Jan 15, 2010
      Messages:
      289
      Likes Received:
      4
      Trophy Points:
      0
      Thank you for the feed back, I'm not sure I understand all of your points. Could you elaberate on some of them please.

      To look less like a bot i'm not sure if it's caused by plugin or not, but if bot is moving to safe departure zone to go fly wherever he wants to fly he mounts horse go 5 yards mount gryphon and off he go.

      Do you mean that before it has found a landing site, it will run in the general direction of the ground mount path to the current objective?

      Ok so what is your knowledge on learning algorythms

      I have very little knowledge of learning algorithms, other than what I've guessed or worked out, so I'd be greatfull of any advice on the subject. To add to this I'd be even more greatful of anyone who could point me in the direction of "priority selection" systems.

      Alliance quest: warlord of bleeding hollow (your clean plugin install) he get stuck in zerth'gor trying to land on the roof stuck.

      [Fly][A - Quest] BC 58-70 [Kick].xml

      I'll take a look at this as soon as I can, sorry if it caused any issues.
       
    9. cpy

      cpy New Member

      Joined:
      May 10, 2010
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      Next stuck spot Orebor Harborage. Trying to land with A warm welcome quest.

      And i was thiking the way trying to land works, he just guess in square, i mean this could be slow but more accurate option, but spiral i meant with every next step he increase radius from original point and not go in circle, i mean try [200,200] [190,210] [185,200],[185,180],[200,170],[180,230],[245,220]

      And by not behaving like bot, i dont know if bot or plugin is making bot mount for 5 yards and then remount to flying mount and fly away from safe spot.

      Any flight activity to or from ango'rosh stronghold in zangarmarsh seems totaly broken.

      Apparently in cenarion thicket bot does not mind getting killed while waiting for flight timer to expire. Q: Strange Energy


      Thin the flock quest when on trees:
      [2:05:03 PM:596] Changed POI to:Type: Loot, Name: Skithian Dreadhawk
      [2:05:03 PM:942] Plugin Gift of Flight threw an exception in 'Pulse'! Exception:
      [2:05:03 PM:943] System.NullReferenceException: Object reference not set to an instance of an object.
      at Bots.Quest.QuestOrder.ForcedQuestObjective.get_IsDone()
      at GiftOfFlight.GiftOfFlight.CheckCurrentObjective() in d:\Programs\LittleBee\Plugins\GiftOfFlight\Main.cs:line 886
      at GiftOfFlight.GiftOfFlight.Pulse() in d:\Programs\LittleBee\Plugins\GiftOfFlight\Main.cs:line 921
      at Styx.Plugins.PluginWrapper.Pulse()

      More reports soon.
       
      Last edited: Oct 31, 2011
    10. thephoenix25

      thephoenix25 New Member

      Joined:
      Jan 15, 2010
      Messages:
      289
      Likes Received:
      4
      Trophy Points:
      0
      Yes I noticed this too, even if you use a FlyTo() Custom Behaviour it cannot navigate around ango'rosh stronghold :(

      This is the ground navigation taking the first few Click To Move steps while the plugin attempts to find a safe landing spot, I'll have a look and see what I can do about it.
       
    11. cpy

      cpy New Member

      Joined:
      May 10, 2010
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      Quest Before Darkness Falls:
      GoF : Internal Move To : 201.2804 yards.
      GoF : No suitable saved loactions
      GoF : Not enough Saved spots close enough
      GoF : Searching untested saved spots
      GoF : Found saved spots = 0
      GoF : Generating new spots, this may take some time
      GoF : Found spots = 141
      GoF : possible result count = 490
      GoF : Using Landing Site <-3060, 4960, -21.70242> : 3.163795 yards from target, current height count = 1
      GoF : Estimated flight time 7 secs, flight will cancel in 24 secs
      GoF : 24 seconds till flight is timed out.
      GoF : 14 seconds till flight is timed out.
      GoF : 4 seconds till flight is timed out.
      GoF : time up, using alternative safe spot
      GoF : trying <-3060, 4950, -21.07739>
      GoF : Estimated flight time 6 secs, flight will cancel in 11 secs
      GoF : 11 seconds till flight is timed out.
      GoF : 1 seconds till flight is timed out.
      GoF : time up, using alternative safe spot
      GoF : trying <-3050, 4960, -21.98353>
      GoF : Estimated flight time 8 secs, flight will cancel in 13 secs
      GoF : 13 seconds till flight is timed out.
      GoF : Arrived at destination

      Quite fast learn to land (perhaps a good quest to improve your finding a safe landing spot logic)

      More feedback later as they progress through zones.
       
      Last edited: Oct 31, 2011
    12. lota7

      lota7 Member

      Joined:
      Nov 23, 2010
      Messages:
      108
      Likes Received:
      2
      Trophy Points:
      18
      Please add a check that when it's in a BG, disable the plugin or something.
      Dunno if it was something with my setup, but when I enabled it and bot ran a bg (using mixed mode, grinding when not in bg), it froze.

      Had to disable it for it to work inside a BG.
       
    13. cpy

      cpy New Member

      Joined:
      May 10, 2010
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      Yep that is current problem. Mixed mode still messup GOF.

      Oh man deepholm is a chapter of itself.

      Is there a way to detect being stuck? Because in Northrend starting zone it seems to get stuck a lot, on cloth in riplash strand etc.
       
      Last edited: Nov 3, 2011
    14. thephoenix25

      thephoenix25 New Member

      Joined:
      Jan 15, 2010
      Messages:
      289
      Likes Received:
      4
      Trophy Points:
      0
      I added code to stop the plugin doing anything if you are in a battle ground, but I guess if it was midway generating a landing site that could cause problems, I will test this soon.

      Deepholm is my nemesis at the moment, I'm not having much luck there, and I've run out of toons on my current accounts to test it. I need to level some more :(

      The only way it can tell if it is stuck is by the flight time "timeing out" as by that point control is passed over to Flightor which I have no control over. That is part of the learning system, each time it fails to land the site it was attempting to land at is blacklisted and it will try to revert to another site to try (in theory anyway). If you can stand to watch it wiggle in the air for a few seconds without stopping the bot, it will help the plugin learn for next time. I don't recommend anyone put their account at risk, but that is the way it works.

      Thanks again for the feedback, I'm working on a more tightly regulated landing site which may help to eliminate some of the false possitives we've been getting (but unfortunatly is more cpu hungry).
       
    15. cpy

      cpy New Member

      Joined:
      May 10, 2010
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      All it needs is some pre-generated spots that'll be a good start. Also they get stuck when trying to lift off, normal flight would just try unstuck routine, this thing just flies straight and does not pass to colision detection.

      I mean come on why not mesh game objects, you don't need real time meshing, just in case you get stuck, yeah i'd like buddy team to implement this, i mean mesh objects if stuck and make perfect evade maneuver? Detect that blizzard!
       
    16. thephoenix25

      thephoenix25 New Member

      Joined:
      Jan 15, 2010
      Messages:
      289
      Likes Received:
      4
      Trophy Points:
      0
      Pre-generated spots is on the to do list, this should be a fairly simple affair, but at the moment I'm more focused on dealing with the "what to do when it cannot land". Now you've asked for it I'll push it forward. Maybe keep an eye out over the weekend for a new release.

      I am supprised you say it doesn't colision detect. I've not seen that yet :( From the point it mounts and takes off, to the point it lands and dismounts is in Flightor hands, which when given good coordinates is very effective. The colision detection may take a little longer than you expect.

      As far as meshing game objects. That is far beyond the scope (and my knowledge) of this project, but I do agree that would be cool. I think the reason it is not yet implemented into HB is that it was originally designed with ground navigation in mind. Flight navigation (to my knowledge) is still in it's infancy. Though they have a fairly good underwater navigation system, which should be fairly similar.
       
    17. cpy

      cpy New Member

      Joined:
      May 10, 2010
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      Thing is if they meshed game objects things would be much better, i mean fences,trees and crates do NOT move ever...
       
    18. thephoenix25

      thephoenix25 New Member

      Joined:
      Jan 15, 2010
      Messages:
      289
      Likes Received:
      4
      Trophy Points:
      0
      I cannot speak for the dev team but from what I understand the mesh system works in a 2 dimensional plane. Which equates to you and I as, I can walk here but cannot walk there.

      The way I understand it is like this. Imagine a chess board, and you are controling the queen. The queen moves in upto 8 directions, left, right, forward, backwards and diagonals. Each square on the grid holds information that tells the queen, if you move left you'll fall off a cliff so don't. Or if you move right you'll be fine. So using this the queen can find a way from A to B without misshap, but this system has no information about what is above the square on the board. This is the challange.

      A bit like the original HB1 mesh system, but with some advance programmagic in there.

      I also think game objects are different from world structure. Like a crate or fence in the way is different from a cliff in you way. At the end of the day if everything was mapped it would probably be slow as hell and not much fun to use for most users who just want to level a toon.

      Just my thoughts on the subject but would be cool if the dev team could map the world in 3d.
       
    19. mohoji

      mohoji New Member

      Joined:
      May 10, 2010
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      0
      Great job :D
       
    20. cpy

      cpy New Member

      Joined:
      May 10, 2010
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      Quest on to something from kickz profile:

      <PickUp QuestName="On to Something" GiverName="Harrison Jones" QuestId="27196" GiverId="45180" />
      - <If Condition="((HasQuest(27196)) && (!IsQuestCompleted(27196)))">
      <CustomBehavior File="InteractWith" QuestId="27196" MobId="45180" NumOfTimes="1" GossipOptions="1" WaitTime="1000" CollectionDistance="50" X="-9210.19" Y="-1557.09" Z="65.4521" />
      <RunTo X="-9153.039" Y="-1533.677" Z="71.0817" />
      </If>
      - <If Condition="((HasQuest(27838)) && (IsQuestCompleted(27838)))">
      <CustomBehavior File="FlyTo" X="-9939.002" Y="-811.1786" Z="104.6673" />
      </If>

      It fights with GOF:
      Mounting: Golden Gryphon
      GoF : Move To location : 100.0283 yards.
      GoF : Closest walking distance saved loaction is <-9210, -1560, 65.81123> : 269.594 Yards
      GoF : Saved spot within range : <-9210, -1560, 65.81123> 269.594 Yards
      GoF : possible result count = 97
      GoF : Using Landing Site <-9210, -1560, 65.81123> : 62.97004 yards from target, current height count = 2
      GoF : Estimated flight time 3 secs, flight will cancel in 19 secs
      GoF : 19 seconds till flight is timed out.
      GoF : Arrived at destination
      Mounting: Brown Horse
      GoF : Move To location : 101.8275 yards.
      GoF : Closest walking distance saved loaction is <-9210, -1560, 65.81123> : 269.594 Yards
      GoF : Saved spot within range : <-9210, -1560, 65.81123> 269.594 Yards
      GoF : possible result count = 97
      GoF : Using Landing Site <-9210, -1560, 65.81123> : 62.97004 yards from target, current height count = 2
      GoF : Estimated flight time 3 secs, flight will cancel in 19 secs
      GoF : Arrived at destination
      Mounting: Brown Horse
      GoF : Move To location : 107.3813 yards.
      GoF : Closest walking distance saved loaction is <-9210, -1560, 65.81123> : 269.594 Yards
      GoF : Saved spot within range : <-9210, -1560, 65.81123> 269.594 Yards
      GoF : possible result count = 97
      GoF : Using Landing Site <-9210, -1560, 65.81123> : 62.97004 yards from target, current height count = 2
      GoF : Estimated flight time 4 secs, flight will cancel in 20 secs
      GoF : Arrived at destination

      So bot just basicly run in triangle forever.
       

    Share This Page