Some questions... menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Shamun's Avatar Member
    Reputation
    1
    Join Date
    Nov 2008
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Some questions...

    So guys I've got some questions for you :P

    1. Can I know if I'm dead or alive (click the message for release, if dead)

    2. How can I select an option from a npc window? (i.e I want to bind my home at the inn keeper)

    Are there any functions I can use, I don't want to use simulation for input...

    Thanks

    Some questions...
  2. #2
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe there was a hacky, bullshit way of finding out if you're a ghost or not. Something along the lines of your HITPOINTS reads as 0 when you're dead and haven't released and as 1 when you've released and are a ghost. Honestly, there's better ways of doing it, but that's probably the simplest (if it's even correct... I'm basing that all on memory from years ago).

    Look into the WoW LUA API. There's all sorts of ways of interacting with NPC dialogue windows.

  3. #3
    Shamun's Avatar Member
    Reputation
    1
    Join Date
    Nov 2008
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help!
    I've got another question, I've the offset for the realm Id that I'm connecting to but I want to know the id of the realm i'm selecting at the choose realm list.
    Does anyone know how it can be done?

  4. #4
    galpha's Avatar Member
    Reputation
    5
    Join Date
    Nov 2007
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IMO, if you're gonna do a bot that also log on automaticly, you should instead make your program change the setting in the Config.wtf file before launching the game.

    There's a setting called:

    SET realmName "Mannoroth"

    Set your realm you want to connect to and you want have the trouble of choosing the realm and all.

  5. #5
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shamun View Post
    So guys I've got some questions for you :P

    1. Can I know if I'm dead or alive (click the message for release, if dead)

    2. How can I select an option from a npc window? (i.e I want to bind my home at the inn keeper)

    Are there any functions I can use, I don't want to use simulation for input...

    Thanks
    You can check if you're dead in several ways:
    1. Events generated by the games LUA subsystem.
    2. Checking your HP and unit flags. (If your HP is 0 you're dead, you can check if you're a ghost - which is different to being dead - by checking a unit flag, I can't recall exactly what the flag is but its easy to find)
    3. Theres probably a LUA API you could call to check.

    As for selecting options from an NPC window, the easiest way by far is through LUA.

    This is all assuming you're inside the process, you didn't specify.

    Originally Posted by Shamun View Post
    Thanks for the help!
    I've got another question, I've the offset for the realm Id that I'm connecting to but I want to know the id of the realm i'm selecting at the choose realm list.
    Does anyone know how it can be done?
    Again, LUA.

    Unfortunately most of them are undocumented, here's some of the ones you may want to look into:
    RequestRealmList
    RealmListUpdateRate
    CancelRealmListQuery
    GetNumRealms
    GetRealmInfo
    ChangeRealm
    GetRealmCategories
    SortRealms
    RealmListDialogCancelled
    IsInvalidTournamentRealmCategory
    IsTournamentRealmCategory

    And events such as (but not limited to - you may need to dump a detailed list):
    GET_PREFERRED_REALM_INFO
    SUGGEST_REALM
    OPEN_REALM_LIST
    UPDATE_STATUS_DIALOG
    CLOSE_STATUS_DIALOG

    Using LUA you could quite easily implement realm selection. You may also want to look into console cvars and reading/writing them in memory such as 'realmName'. If you don't need to 'force' cvars GetCvar and SetCvar from the LUA API would do.

    You may want to look into my 3.0.2 sticky and the LUA dump for functions which may help you. Most will not be documented on places like WoWWiki as for the most part addons cannot use them.


    Originally Posted by galpha View Post
    IMO, if you're gonna do a bot that also log on automaticly, you should instead make your program change the setting in the Config.wtf file before launching the game.

    There's a setting called:

    SET realmName "Mannoroth"

    Set your realm you want to connect to and you want have the trouble of choosing the realm and all.

    Thats a particularly poor way of doing it imo that suffers from several obvious (and some less obvious) drawbacks.

  6. #6
    Shamun's Avatar Member
    Reputation
    1
    Join Date
    Nov 2008
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx I'll try that though it sounds hard i'm kinda new with all this RE stuff.
    I hope I can do it.

  7. #7
    testout's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    44
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cypher,

    Thanks for helping me the LUA earlier.

    Code:
    for c=1, #GetRealmCategories() do
    for i=1, GetNumRealms() do 
    if (GetRealmInfo(c,i) == "Terokkar") then 
    ChangeRealm(c,i) 
    return
    end
    end
    end
    Selects a Realm perfectly Character selection is easier.

    I can't call protected lua funtions. Any clues?

  8. #8
    arigity's Avatar Banned
    Reputation
    49
    Join Date
    Dec 2007
    Posts
    548
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by testout
    I can't call protected lua funtions. Any clues?
    option 1. do some debugging on a protected lua function and find out why you can't call it.

    option 2. use cyphers handy-dandy super-post which should already have it labeled.

  9. #9
    UnknOwned's Avatar Legendary
    Reputation
    713
    Join Date
    Nov 2006
    Posts
    583
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shamun View Post
    So guys I've got some questions for you :P

    1. Can I know if I'm dead or alive (click the message for release, if dead)

    2. How can I select an option from a npc window? (i.e I want to bind my home at the inn keeper)

    Are there any functions I can use, I don't want to use simulation for input...

    Thanks
    You can do both, but i highly recommend that you go check the wowapi yourself since you might fall across a function or 2 you might need for something else also.

  10. #10
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0x004A35E2 <-- LUA Protection Check

  11. #11
    Shamun's Avatar Member
    Reputation
    1
    Join Date
    Nov 2008
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by testout View Post
    Cypher,

    Thanks for helping me the LUA earlier.

    Code:
    for c=1, #GetRealmCategories() do
    for i=1, GetNumRealms() do 
    if (GetRealmInfo(c,i) == "Terokkar") then 
    ChangeRealm(c,i) 
    return
    end
    end
    end
    Selects a Realm perfectly Character selection is easier.
    Can you post your implemention for GetRealmCategories, GetNumRealms, GetRealmInfo and ChangeRealm if it isn't too much to ask... hehe

  12. #12
    kynox's Avatar Account not activated by Email
    Reputation
    830
    Join Date
    Dec 2006
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They're LUA functions.. are you retarded?

  13. #13
    Shamun's Avatar Member
    Reputation
    1
    Join Date
    Nov 2008
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes, I thuoght it's obvious

  14. #14
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shamun View Post
    yes, I thuoght it's obvious
    Which is exactly what we think, as well.

  15. #15
    Shamun's Avatar Member
    Reputation
    1
    Join Date
    Nov 2008
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i guess you judge ppl only by their knowledge in memory reading and this shit

Page 1 of 2 12 LastLast

Similar Threads

  1. Some questions....
    By Cush in forum WoW ME Questions and Requests
    Replies: 8
    Last Post: 04-14-2007, 03:47 PM
  2. Replies: 1
    Last Post: 01-27-2007, 07:41 AM
  3. ugh i have some questions...
    By foxfire60 in forum World of Warcraft General
    Replies: 0
    Last Post: 01-17-2007, 05:48 PM
  4. I would like to start model editing....i have some questions.
    By foxfire60 in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 12-04-2006, 01:19 PM
  5. Some Questions
    By mopyohn in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 10-12-2006, 08:52 PM
All times are GMT -5. The time now is 03:16 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search