[GuaEngine] New Custom Lua Engine menu

User Tag List

Page 9 of 11 FirstFirst ... 567891011 LastLast
Results 121 to 135 of 159
  1. #121
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    As you can see from the following screenshot:

    http://i28.tinypic.com/2s76n1u.jpg

    There are still some errors compiling with the latest rev of ArcEmu. Yes I did update the GuaEngine

    [GuaEngine] New Custom Lua Engine
  2. #122
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fixed, update the engine.

  3. #123
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    http://i27.tinypic.com/29xvhtz.jpg

    Still getting errors when compiling

  4. #124
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tried all I could, but arc doesn't support unit selections so GetTarget() is now broken on the ArcEmu branch. I seriously wonder why I brought up arc support again.

  5. #125
    malulululu's Avatar Member
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    82
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Gastric there are just Syntax errors they are easy to fix. Take GetSeletion() not GetTarget() I wrote new lua commands and I had the same errors

  6. #126
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Malulu, GetSelection() is not a member of Unit*, therefore cannot be used.

  7. #127
    malulululu's Avatar Member
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    82
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    GetSelection() is a Member of Unit...

  8. #128
    P1raten's Avatar Banned
    Reputation
    500
    Join Date
    Mar 2008
    Posts
    1,323
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Unit:SummonCreature(X); -- Summons Creature at Summoners Location
    Unit:FollowSummoner(); -- Summoned Creature follows the summoner

    This is for my pet project. Would be greatly appreciated.

  9. #129
    morpheux's Avatar Member
    Reputation
    1
    Join Date
    Dec 2007
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    gastric what about x64? for both aspire cores?
    Last edited by morpheux; 07-30-2009 at 11:07 PM.

  10. #130
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by malulululu View Post
    GetSelection() is a Member of Unit...
    In the arcemu core, show me.

  11. #131
    Lynie's Avatar Contributor
    Reputation
    87
    Join Date
    Mar 2008
    Posts
    74
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Epic , +Rep

  12. #132
    hypersniper's Avatar Member
    Reputation
    50
    Join Date
    May 2007
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Gastricpenguin View Post
    Tried all I could, but arc doesn't support unit selections so GetTarget() is now broken on the ArcEmu branch. I seriously wonder why I brought up arc support again.
    In the Arc core to get the selection of the unit they use GetNextTarget(). It is a member of unit, too.

    Unit* AIInterface::GetNextTarget()
    Here's an example of when it's used in the core:

    float combatReach[2]; // Calculate Combat Reach
    float distance = m_Unit->CalcDistance(GetNextTarget());

    combatReach[0] = GetNextTarget()->GetModelHalfSize();
    combatReach[1] = _CalcCombatRange(GetNextTarget(), false);

    if( (
    // distance >= combatReach[0] && //removed by Zack. You can create an exploit with this that creature will never attack
    distance <= combatReach[1] + DISTANCE_TO_SMALL_TO_WALK )
    // || gracefull_hit_on_target == GetNextTarget()
    ) // Target is in Range -> Attack
    I hope this is what you are looking for.

  13. #133
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I fail to see how GetNextTarget() is going to generate the Unit's selection.

  14. #134
    hypersniper's Avatar Member
    Reputation
    50
    Join Date
    May 2007
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, you are correct, in my tests GetNextTarget never returned anything, even though, in the core, when they call the 'current target' they always use GetNextTarget.
    But ->GetUInt64Value(UNIT_FIELD_TARGET) successfully returned the GUID of what the unit was targeting.
    If that still isn't what you need then you could make a function that checks the unit's target. It would check if the unit is casting, if true, return ->GetCurrentSpell()->m_targets.m_unitTarget, otherwise return the main tank, since if it's not casting then it would be targeting main tank anyway.
    But my most recommended suggestion is to try ->GetUInt64Value(UNIT_FIELD_TARGET).

    Just trying to help.

  15. #135
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Much obliged, my time is short and I really don't give 2 shits about ArcEmu support
    Updating the engine now.

Page 9 of 11 FirstFirst ... 567891011 LastLast

Similar Threads

  1. Custom LUA engine
    By flameworker in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 04-19-2009, 04:07 PM
  2. New Custom City with Screenshots
    By Banksey in forum World of Warcraft Emulator Servers
    Replies: 24
    Last Post: 12-22-2007, 07:37 PM
  3. [HELP] CANNOT ADD MY NEW CUSTOM ITEM {error log inside}
    By vak in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 09-28-2007, 07:21 AM
  4. Make custom search engines for Firefox
    By Marlo in forum Community Chat
    Replies: 1
    Last Post: 03-03-2007, 03:22 PM
  5. New Custom Model Swapping Fix (1.11 Working)
    By Matt in forum World of Warcraft Exploits
    Replies: 5
    Last Post: 06-23-2006, 06:05 PM
All times are GMT -5. The time now is 04:00 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