[Lua] Revive Stone menu

User Tag List

Results 1 to 11 of 11
  1. #1
    Cison's Avatar Corporal
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Lua] Revive Stone

    Ok i found this code ont he forums but when i implant it on the item it dont work the item number is 70000 can anyone explain to me y the stone wont work?

    function Revive( item, event, player)
    if player:IsDead() then player:ResurrectPlayer();
    else player:SendBroadcastMessage("You must be dead to use this."); end
    end

    RegisterItemGossipEvent(70000,1,"Revive")


    Thats the code i just have no clue y its not working... i am a noob at this lua scripting

    [Lua] Revive Stone
  2. #2
    [Sadistic]'s Avatar Member
    Reputation
    42
    Join Date
    Sep 2009
    Posts
    247
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    cal revive = "#revive"
    
    function revive_self(event, player, message, type, language)
    if (message == revive) then
    if (player:IsDead() == true) then
    player:SendBroadcastMessage("You will be revived!")
    player:FullCastSpell(32343)
    player:ResurrectPlayer(player)
    
    else
    player:SendBroadcastMessage("You are not dead!")
    end
    
    
    RegisterServerHook(16, "revive_self")
    btw you need LuaHypArc, the cmd is #revive

  3. #3
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tag your threads! Next time you will recieve a infraction.

  4. #4
    Cison's Avatar Corporal
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry GZ for that.

    [Sadistic] - That code dosent seem to work? i put it into the revival stone lua file but your code dosent have any item number to link it to the stone how exactly would it tell what item to connect to? I have never seen a code like that.

    Could someone maybe explain his code to me or give me the code to a revive stone that DOSE work?

  5. #5
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thats becasue he isn't linking it to a item, he is simply registering a chat command, in game die, then do /g #revive and it SHOULD revive you.




  6. #6
    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)
    The script won't even load, he's left many errors in them, however considering the basics are there one should be able to easily fix it up.

    The errors from a quick glance are:
    - missing certain ends (if-statement and function wise)
    - cal needs to be changed to local
    Ignorance is bliss.

  7. #7
    Cison's Avatar Corporal
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What if i DONT have LuaHypArc is there a code i could use to make a revive stone? Because i dont beleave i have it enless its just the regular Lua thing that makes Lua run.... ugg im such a noob at this scripting stuff i feel like a moron lol

  8. #8
    Smartyhead's Avatar Private
    Reputation
    2
    Join Date
    Feb 2010
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well Ill make you a ressurection script k Cison since i have alot of time on my hands

    Spring Break

  9. #9
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LuaHypArc comes by default now with ArcEmu so that shouldn't be a worry.




  10. #10
    davidknag's Avatar Active Member
    Reputation
    49
    Join Date
    Nov 2009
    Posts
    201
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just make an item that casts the spell "use soulstone"

  11. #11
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This isn't usable when your dead though, using Lua allows you to do it while dead.




Similar Threads

  1. [Lua] Revive script.
    By Daimyo2704 in forum WoW EMU General Releases
    Replies: 1
    Last Post: 02-12-2010, 04:58 PM
  2. [Release-Lua] Revive Tool
    By Trle94 in forum WoW EMU General Releases
    Replies: 7
    Last Post: 11-18-2009, 05:52 PM
  3. LUA Wishing Stone?
    By EmuX in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 11-08-2009, 10:59 PM
  4. [LUA] Revive Stone
    By marco1234 in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 04-05-2009, 12:41 PM
  5. [LUA] Teleport Stone Issue
    By marco1234 in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 03-29-2009, 07:05 AM
All times are GMT -5. The time now is 05:54 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