[Release] LuaNinja - Run protected Lua code menu

Shout-Out

User Tag List

Page 9 of 70 FirstFirst ... 567891011121359 ... LastLast
Results 121 to 135 of 1048
  1. #121
    jt12852's Avatar Member
    Reputation
    12
    Join Date
    May 2009
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Iaccidentallytwink View Post
    Is it possible to check if you're moving in a certain direction? Are there values returned differently from the movement functions or some kind of IsMovingLeft();, etc function in the API? I suppose that's what I was really looking for. +Rep anyone.

    In case someone can't find it, I suppose I could macro all my directional keys with something like MoveLeft = 1; and then check then each in the function. Though that would be problematic is it wouldn't reset when I stopped moving. I suppose I could use a G15 macro to do some kind of check.
    There is no API function to determine if your player is moving in a specific direction based on a movement key being held down.

    The only way for you to track this would probably be to secure hook the corresponding functions and record in a variable when they are called:
    • JumpOrAscendStart() -> AscendStop()
    • SitStandOrDescendStart() -> DescendStop();
    • MoveForwardStart() -> MoveForwardStop();
    • MoveBackwardStart() -> MoveBackwardStop();
    • StrafeLeftStart() -> StrafeLeftStop();
    • StrafeRightStart() -> StrafeRightStop();
    • TurnLeftStart() -> TurnLeftStop();
    • TurnOrActionStart() -> TurnOrActionStop(); (this is a mouse movement, like click-to-move)
    • TurnRightStart() -> TurnRightStop();

    [Release] LuaNinja - Run protected Lua code
  2. #122
    spudstar99's Avatar Member
    Reputation
    12
    Join Date
    Aug 2008
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hello it's me again ...

    just weired ...

    sometime my RunMacro"Macroname" works sometimes not.

    mostly when i have a

    if (controllcooldown(spell)) then castspellbyname("spell") else runmacro"macroname" end
    can maybe post someone how he calls the next macro in such a situation?!


    thank you in advance ...
    *****

    Found solution .. just rename your macros ... don't know realy why .. but now it works

    thanks
    Last edited by spudstar99; 10-24-2009 at 11:02 AM.

  3. #123
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by jt12852 View Post
    There is no API function to determine if your player is moving in a specific direction based on a movement key being held down.

    The only way for you to track this would probably be to secure hook the corresponding functions and record in a variable when they are called:
    • JumpOrAscendStart() -> AscendStop()
    • SitStandOrDescendStart() -> DescendStop();
    • MoveForwardStart() -> MoveForwardStop();
    • MoveBackwardStart() -> MoveBackwardStop();
    • StrafeLeftStart() -> StrafeLeftStop();
    • StrafeRightStart() -> StrafeRightStop();
    • TurnLeftStart() -> TurnLeftStop();
    • TurnOrActionStart() -> TurnOrActionStop(); (this is a mouse movement, like click-to-move)
    • TurnRightStart() -> TurnRightStop();
    You writing a bot or something?

  4. #124
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quick question. Is a version of this that works on the PTR of any interest or should I just keep it to the live patches?

  5. #125
    Iaccidentallytwink's Avatar Elite User
    Reputation
    591
    Join Date
    Aug 2007
    Posts
    1,020
    Thanks G/R
    1/16
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Dragonshadow View Post
    Lol would it be possible (even plausible?) to write a bot entirely in lua, using this?
    I'm actually attempting to do just that. I'm not only using macros though, I'm using the G15 + LUA Macros. It should be completely possible this way. Eventually I plan to make an Addon bot.

    EDIT: A leveling bot may not be completely plausible with only LUA, but for PvP and PvE it should be entirely possible, almost easy.

  6. #126
    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)
    Originally Posted by Iaccidentallytwink View Post
    I'm actually attempting to do just that. I'm not only using macros though, I'm using the G15 + LUA Macros. It should be completely possible this way. Eventually I plan to make an Addon bot.

    EDIT: A leveling bot may not be completely plausible with only LUA, but for PvP and PvE it should be entirely possible, almost easy.
    Writing any (decent) bot is going to be hard without a form of object iteration
    "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

  7. #127
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just register a callback into lua that calls EnumVisibObjects. With some internals knowledge on lua, you could do that without too much trouble. Though, this would no longer be JUST and addon/macro/etc.

  8. #128
    Iaccidentallytwink's Avatar Elite User
    Reputation
    591
    Join Date
    Aug 2007
    Posts
    1,020
    Thanks G/R
    1/16
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Robske View Post
    Writing any (decent) bot is going to be hard without a form of object iteration
    Well, I just want to make a PvP bot. As long as I can make a set of combat rotation macro's that respond to enemy combat that are completely automated, I'd be happy with making a bot that runs a recorded path into the WSG flagroom and out with the flag that would respond to enemy combat. Not exactly a full bot, but it would get the job done.

  9. #129
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Iaccidentallytwink View Post
    Well, I just want to make a PvP bot. As long as I can make a set of combat rotation macro's that respond to enemy combat that are completely automated, I'd be happy with making a bot that runs a recorded path into the WSG flagroom and out with the flag that would respond to enemy combat. Not exactly a full bot, but it would get the job done.
    I think that should be possible without custom callbacks... However I've never tried and I don't know enough about the API to know 100%.

    Are we talking about an unattended bot here or semi attended or fully attended?

  10. #130
    Iaccidentallytwink's Avatar Elite User
    Reputation
    591
    Join Date
    Aug 2007
    Posts
    1,020
    Thanks G/R
    1/16
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    I think that should be possible without custom callbacks... However I've never tried and I don't know enough about the API to know 100%.

    Are we talking about an unattended bot here or semi attended or fully attended?
    Definitely not fully attended, otherwise I might as well just do all the running myself (I'm an expert WSG jumper), and have it just combat for me.

    But I'm talking about at least semi-unattended.
    Last edited by Iaccidentallytwink; 10-24-2009 at 03:35 PM.

  11. #131
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Iaccidentallytwink View Post
    Definitely not fully attended, otherwise I might as well just do all the running myself (I'm an expert WSG jumper), and have it just combat for me.

    But I'm talking about at least semi-unattended.
    Fair enough. Afaik that should be possible.. However, again, I'm not 100% sure.

  12. #132
    Jiat's Avatar Member
    Reputation
    23
    Join Date
    Apr 2009
    Posts
    53
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awsome + REP
    https://www.mmowned.com/forums/bots-programs/228781-mac-setting-up-pocketgnome-macguy.html
    https://www.mmowned.com/forums/bots-programs/228291-mac-create-your-own-autologin.html
    Use to be Macguy, but i also have a Windows so..

  13. #133
    oO-Mat-Oo's Avatar Member
    Reputation
    1
    Join Date
    Oct 2009
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there a way to remove the letter limit on macros?

  14. #134
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by oO-Mat-Oo View Post
    Is there a way to remove the letter limit on macros?
    I'm certain it's possible to hack.

    However the typical 'bypasses' are:
    * Put the code in an addon instead
    * Chain macros
    * Use code-shortening tricks

  15. #135
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Iaccidentallytwink View Post
    Well, I just want to make a PvP bot. As long as I can make a set of combat rotation macro's that respond to enemy combat that are completely automated, I'd be happy with making a bot that runs a recorded path into the WSG flagroom and out with the flag that would respond to enemy combat. Not exactly a full bot, but it would get the job done.
    http://rapidshare.com/files/297477871/Snorlax.rar

    A bot addon I was making some time ago. Currently it can navigate a set of waypoints. It's 100% LUA, running as an addon.
    It should be able to run ingame with LuaNinja
    Last edited by MaiN; 10-24-2009 at 06:58 PM.
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

Page 9 of 70 FirstFirst ... 567891011121359 ... LastLast

Similar Threads

  1. Replies: 8
    Last Post: 07-13-2010, 01:36 AM
  2. [3.3.2] AUTOIT - Run Protected LUA
    By satia in forum WoW Memory Editing
    Replies: 46
    Last Post: 06-19-2010, 08:58 AM
  3. Run Protected Lua in 3.3.3a
    By thefarmer in forum WoW Bots Questions & Requests
    Replies: 3
    Last Post: 04-30-2010, 08:03 PM
  4. Protected LUA Code and Chat Addons
    By Ultraviolence in forum WoW UI, Macros and Talent Specs
    Replies: 0
    Last Post: 04-20-2010, 12:01 AM
  5. [Release] LuaHobo - Run protected LUA
    By Seifer in forum World of Warcraft Bots and Programs
    Replies: 50
    Last Post: 01-18-2010, 06:06 PM
All times are GMT -5. The time now is 12:31 PM. 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