Custom Spirit Healer Help! menu

Shout-Out

User Tag List

Results 1 to 6 of 6
  1. #1
    mantor4's Avatar Member
    Reputation
    2
    Join Date
    Aug 2006
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Custom Spirit Healer Help!

    I made my own pvp place, and i added the graveyards, one for horde and the other for alliance. But when you release the spirit, it makes you run back to your corpse. Is there a way to make it like a WSG spirit healer, so it countdown from 30 seconds, then revives you? Thanks alot
    Last edited by stoneharry; 07-18-2011 at 02:03 AM. Reason: Added prefix because apparently you can't read the stickied thread saying the rules.

    Custom Spirit Healer Help!
  2. #2
    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)
    Make a graveyard that the player goes to upon dying, but instead of spawning a spirit healer there you will need to spawn a creature with death flags (so it only shows while dead) and script it.

    You would want to script it so that every X seconds, it gets nearby players, if there dead then resurrect them.

    I'm not entirely sure how to make the popup box with the countdown, which is probably just a packet if you look at how it is handled in the core.

    I can't give any further help without any more information on the emulator you use. Hopefully this is enough to answer your question.

  3. #3
    mantor4's Avatar Member
    Reputation
    2
    Join Date
    Aug 2006
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    im using arcemu, and is there a certain spell id i need to use for the script?

  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)
    You don't use a spell to resurrect the player, you use the resurrect player function in Lua or call the appropriate functions in C++ (set health -> set flags alive), look at how the normal spirit healer is handled.

  5. #5
    newtech's Avatar Active Member
    Reputation
    57
    Join Date
    Aug 2008
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What StoneHarry said. He knows what he's talking about Of course you can always consider if you really bother scripting the popup of the countdown, but... ^_^

    Thanks
    Newtech
    LuaHypArc Lua scripter - 3.3.5a World Builder.

  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)
    Code:
    	uint32 restime = _player->m_bg->GetLastResurrect() + 30;
    	if((uint32)UNIXTIME > restime)
    		restime = 1000;
    	else
    		restime = (restime - (uint32)UNIXTIME) * 1000;
    
    	WorldPacket data(SMSG_AREA_SPIRIT_HEALER_TIME, 12);
    	data << guid << restime;
    	SendPacket(&data);
    I was just going through changing some stuff on my server when I saw the above code snippet and remembered you asking, you just need to modify the time and send the packet to display seconds till ressurection.

Similar Threads

  1. [Help] How to make a spirit healer? + The frozen Throne?
    By Neth'zul in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 05-27-2008, 10:06 PM
  2. [Help] Spirit Healer not active
    By M3212333 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-22-2008, 12:02 PM
  3. [HELP] Spirit healer
    By cyianos in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-10-2008, 02:30 PM
  4. I Need some help will spawning a NPC Spirit Healer...
    By PRIMO12 in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 12-06-2007, 07:33 PM
  5. I Need some help will spawning a NPC Spirit Healer...
    By PRIMO12 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 12-05-2007, 05:08 PM
All times are GMT -5. The time now is 09:55 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