GetBattlefieldFlagPosition menu

User Tag List

Results 1 to 10 of 10
  1. #1
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    GetBattlefieldFlagPosition

    Hey Guys,

    mind my spelling 1st of all,

    Not that great at debugging if at all, trying to learn slowly.
    i have made my bot pritty sucesfully now i have hit a wall murging it into a BG Bot also

    i was just wondering is there any way to Actualy get these without using injection Lua
    flagX, flagY, flagToken = GetBattlefieldFlagPosition(i);


    Also a nother question, on map, say your in AV, how would you get if a place on the map say Icewing bunker is alliance or horde?
    Last edited by SwInY; 05-01-2010 at 06:34 AM.

    GetBattlefieldFlagPosition
  2. #2
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Open it in a disassembler.
    I don't know if retrieves information for static flags or carrieable flags, it will either be stored statically in memory or fetched out of a database.
    Hey, it compiles! Ship it!

  3. #3
    caytchen's Avatar Contributor
    Reputation
    138
    Join Date
    Apr 2007
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you need that kind of logic, you'll need to inject and use the Lua API. Of course you can try and resemble what the API does for you, but the maintenance work will be unbearable.

    Or just don't care and run to some specific point into the enemy base, chances are you'll get into combat en route

  4. #4
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    also the gates for SOTA would like to know whats broken and whats not.

    i was thinking about that aproach, but then i thought why not make it run to a spot and do sertain things at that spot, I.E Cap flag then run 2 base, defend a gate.

    be defensive more than aggressive run at a person. that way it dont look so stupid if ur running at a group of like 10. plus more honor :P

  5. #5
    Xarg0's Avatar Member
    Reputation
    61
    Join Date
    Jan 2008
    Posts
    389
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can always take a look at those lua functions with olly or ida and see how they work.

    If you don't know how to find them, search for how to find stuff

    Edit: lol too late
    I hacked 127.0.0.1

  6. #6
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what do you think it would be under tho in the LUA function,

    to find if the "capable" base is ally or horde. then how would you retreive it.
    i know how to use IDA, but only to a sertain limit. aint that good at debugging.

    take eye of the storm for example,
    4 cappable bases. 1 flag in middle.

    ive goten all the other Lua functions i need *i think

  7. #7
    Xarg0's Avatar Member
    Reputation
    61
    Join Date
    Jan 2008
    Posts
    389
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    API GetBattlefieldFlagPosition - WoWWiki - Your guide to the World of Warcraft
    take a look at that, as you can see this lua function is returning all information you're looking for, if you know how the lua stack works you should be able to find out how it's retriving the values with IDA or olly easiely
    I hacked 127.0.0.1

  8. #8
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks Xarg0,

    been looking at that but i dont think thats the lua function at all,
    infact i dont think there is a Lua function at all for what im trying to get at.

    im not to sure where its held at? possibly a dynamic or in the database about the "base" cap's whos in charge of what base and what not.

  9. #9
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I took a look at API GetBattlefieldFlagPosition - WoWWiki - Your guide to the World of Warcraft and it's quite obvious and straightforward.

    It acquires the Vec3 struct with the real world coordinates of the flag, then translates them to 2D map coordinates.

    Time to pickup a book or follow some reversing guides sir.
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  10. #10
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks Robske, will look into it.

All times are GMT -5. The time now is 02:21 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search