Arena menu

User Tag List

Thread: Arena

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Toffster's Avatar Member
    Reputation
    17
    Join Date
    Jun 2008
    Posts
    207
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Arena

    I'm making an arena, and I have spectators around the edge, I would like them to clap and or cheer when someone dies and to boo or cry when the boss dies. They then disappear once the boss has died.

    If someone could make this for me in a .lua script I would be very appreciative and it would be nice if someone could teach me, either way l'l give rep to the person who manages this. The arena is in the gurubashi arena. The boss is named Luther and the spectators are called Phantom Guest.

    Thanks in advance if this is possible.

    EDIT Actually I'd prefer it if they cheered on the bosses death.
    Last edited by Toffster; 06-27-2010 at 09:32 AM.
    "There is no such thing as a plea of innocence in my court. A plea of innocence is guilty of wasting my time. Guilty."

    Arena
  2. #2
    d3rrial's Avatar Contributor Authenticator enabled
    Reputation
    127
    Join Date
    Apr 2010
    Posts
    527
    Thanks G/R
    0/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do not think this is possible with LUA... Maybe C++ or the Times have changed and it is possible with LUA, but it would mean a hell lot of work.

  3. #3
    Toffster's Avatar Member
    Reputation
    17
    Join Date
    Jun 2008
    Posts
    207
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    True, if anyone can do it in C++ it would be cool too. If it isn't possible how about the spectators just cheering when someone dies?

    EDIT: actually i'd prefer it if they cheered on the bosses death.
    Last edited by Toffster; 06-27-2010 at 09:31 AM.
    "There is no such thing as a plea of innocence in my court. A plea of innocence is guilty of wasting my time. Guilty."

  4. #4
    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)
    It is possible with Lua, and it's quite an easy concept. To actually write it would be a nightmare though...

    You would have to:
    A) Have a invisible npc check for creatures death, then when it dies get all nearby friendly AI and make the emote then despawn (may not work).
    B) Save all the audiences as different guid's/ID's and call each one individually do emote then despawn.

    Either way I can't be bothered to make a script this long for you.

  5. #5
    vanoon's Avatar Member
    Reputation
    3
    Join Date
    Feb 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You won't do such a thing in C++ (lol). Lua is the right way(and the only one). Using C++ would mean: you need the "reserve-engineering " method(for the client)(look at wikipedia when you need some information)). Using this on a server-based script wouldn't be a good idea imo.

    You don't need an npc for this one :>.

  6. #6
    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)
    Lua is just as effective as C++ is as an alternative scripting language especially due to it's lightweight structure and easy functionality.

    In fact, since Lua is effectively C++ code simplified and reduced, it would be exactly the same method to do it in C++.

    What your talking about is a client side edit, which is a very bad thing since then every single one of your players would need to download your version of WoW/your patch. Take a look at the 'model editing' or 'memory editing' sections for client side editing, this is emulation.

  7. #7
    vanoon's Avatar Member
    Reputation
    3
    Join Date
    Feb 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    like Lua is not a simplified and reduced C++ (if you don't trust me google it). That is your own opinion. It's more like "pascal".
    Just do this on serverside, but I won't recommended things that could done by the client for the serverside.
    Btw. Lua-scripts are also serverbased(its "based on" means: who calculates the function/scripts etc. not where they were started from).

    Edit: I am a bit confused but that shouldn't mean that can't thing clear about things.

  8. #8
    Mildan's Avatar Member
    Reputation
    10
    Join Date
    Feb 2009
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Won't this be more possible if you just make checks? Or is what Harry said the only way to check for stuff like that?

    If you are looking for the actual script in the right location and everything, I suggest you learn lua, or get someone to help you, but if you just need the basic idea I am pretty sure there is a Trial of the Champion script around there someplace which you can copy some basics from.

    Oh and Vanoon.. Lua is C++ in a shortened (and reduced) version.

  9. #9
    vanoon's Avatar Member
    Reputation
    3
    Join Date
    Feb 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you don't have really a clue check out this one: Lua: about

    If this won't help you good luck lol.

  10. #10
    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)
    Vanoon, one question... Do you know how the core functions? You should have a look at the ArcEmu and ArcScripts source code. You evidently don't have a clue what your talking about. You know about Lua regarding addon scripting and other various game usage, but as it is involved in emulation it is quite different.

    I am talking about checks Mildan, but you need to actually get the creatures to be able to control when they emote. Specific timed emotes and default emotes can be controlled via the database.

  11. #11
    Mildan's Avatar Member
    Reputation
    10
    Join Date
    Feb 2009
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im not sure if that website is any trustful at all, I mean just look at the design.. I know I can't judge a book by it's cover but that book is not completely right.

    If you don't believe us, try learning a little bit of C++ and you will notice like half of the commands are the same (less or more).

  12. #12
    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)
    Originally Posted by Mildan View Post
    Im not sure if that website is any trustful at all, I mean just look at the design.. I know I can't judge a book by it's cover but that book is not completely right.
    It's the official Lua website.

  13. #13
    Mildan's Avatar Member
    Reputation
    10
    Join Date
    Feb 2009
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh my bad then.. >.<

  14. #14
    vanoon's Avatar Member
    Reputation
    3
    Join Date
    Feb 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry I thought he want to start an event like PDC-NPC-Crowd(Background). Got a wrong idea about it (lol) sry.

  15. #15
    Dynashock's Avatar Contributor

    Reputation
    176
    Join Date
    Nov 2007
    Posts
    203
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hook a function to the boss' death to get all of the NPC units in x yards, iterate through the table and make 'em cheer/despawn.

    Another possibility is to create a table - add a NPC to it (tostring(pUnit)) whenever it loads/spawns and iterate through it on the death hook of the boss.

    Warning for the second solution: if a NPC mightn't exist anymore, but still is in the table and you make that unit call a function you could be potentially crashing your server.
    Ignorance is bliss.

Page 1 of 2 12 LastLast

Similar Threads

  1. How to get the arena-chest easy
    By User in forum World of Warcraft Exploits
    Replies: 18
    Last Post: 10-18-2006, 11:24 PM
  2. Nifty little Arena Trick for lowbies.
    By TehMuchos in forum World of Warcraft Guides
    Replies: 5
    Last Post: 10-17-2006, 07:19 PM
  3. STV Arena things to do
    By nozzie in forum World of Warcraft General
    Replies: 1
    Last Post: 10-04-2006, 03:49 PM
  4. Get Arena Chests Fast
    By Matt in forum World of Warcraft Exploits
    Replies: 3
    Last Post: 04-17-2006, 05:14 AM
All times are GMT -5. The time now is 06:41 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