Seeing chat in different phases menu

User Tag List

Results 1 to 13 of 13
  1. #1
    Xmaily's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Seeing chat in different phases

    Hey Ownedcore!

    So I'm making a Battle for Orgrimmar quest on my server that takes place in PHASE 2 of the world. Now i have npc's say stuff like For The Warchief! ext. However for some reason people can see the text "For The Warchief" in the chat log in phase one. Is there anyway to fix this

    Seeing chat in different phases
  2. #2
    Terrorblade's Avatar Contributor I spent 5k CC and all I got was this user title
    CoreCoins Purchaser
    Reputation
    153
    Join Date
    Oct 2010
    Posts
    312
    Thanks G/R
    6/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah if you could say what emulator you are using, that would be great.
    Stuff & Things

  3. #3
    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 Terrorblade View Post
    Yeah if you could say what emulator you are using, that would be great.
    Indeed.

    This was an old ArcEmu bug. You shouldn't even be using ArcEmu, it has been rendered redundant.

    Make sure the creature sending the messages is not in phase 3 and is actually in phase 2.

  4. #4
    Xmaily's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Indeed.

    This was an old ArcEmu bug. You shouldn't even be using ArcEmu, it has been rendered redundant.

    Make sure the creature sending the messages is not in phase 3 and is actually in phase 2.
    I am using Arcemu, I have really wanted to switch to another core but i only know how to script in Lua. Is there a possible way to fix this?

  5. #5
    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 Xmaily View Post
    I am using Arcemu, I have really wanted to switch to another core but i only know how to script in Lua. Is there a possible way to fix this?
    Use TrinityCore with the Eluna Lua engine. http://www.ownedcore.com/forums/worl...initycore.html ([Lua Engine] Eluna Lua Engine for TrinityCore)

  6. #6
    Xmaily's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    ****...now i'm tempted!! This is so cool! However i have to pick between all my work on Arcemu or starting fresh. =/

  7. #7
    Xmaily's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well i feel like i have worked to hard on this server. Just to start over. That's why i made a post seeing if anyone knew how to make a instanced version of a area. For example i would love a instanced Orgrimmar. It would be so customizable and wouldn't effect anything in the world. If anyone knows how to make a inctanced area at all please let me know i have seen stuck on this project for about 2 week now.

  8. #8
    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 Xmaily View Post
    Well i feel like i have worked to hard on this server. Just to start over. That's why i made a post seeing if anyone knew how to make a instanced version of a area. For example i would love a instanced Orgrimmar. It would be so customizable and wouldn't effect anything in the world. If anyone knows how to make a inctanced area at all please let me know i have seen stuck on this project for about 2 week now.
    Phasing. On message function change to handle Phasing. Chat. Cpp

    You should still switch to trinity 2 weeks work is nothing in the long run.

  9. #9
    Xmaily's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Phasing. On message function change to handle Phasing. Chat. Cpp

    You should still switch to trinity 2 weeks work is nothing in the long run.
    You lost me. I assume message function is pUnit:SendChatMessage(12, 1, "For The Warchief!") but I don't know how to change it to handle phasing. I'm sorry to ask so many questions i'm really new to this world of Lua. However I really appreciate the help Stoneharry I remember that your server was Arcemu have you switched over into Trinity?

  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)
    Yes and I will help when I am back from holiday on Wednesday writing from phone is painful.

  11. #11
    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)
    An example:

    Code:
    void MapMgr::SendChatMessageToCellPlayers(Object* obj, WorldPacket* packet, uint32 cell_radius, uint32 langpos, int32 lang, WorldSession* originator)
    In: MapMgr.cpp

    We see the line:

    Code:
    if(TO< Player* >(*iter)->GetPhase() & obj->GetPhase())
    This checks whether the person receiving the message is in the same phase as the person sending it by doing a bitwise AND operation upon the two unsigned integers.

  12. #12
    Xmaily's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    An example:

    Code:
    void MapMgr::SendChatMessageToCellPlayers(Object* obj, WorldPacket* packet, uint32 cell_radius, uint32 langpos, int32 lang, WorldSession* originator)
    In: MapMgr.cpp

    We see the line:

    Code:
    if(TO< Player* >(*iter)->GetPhase() & obj->GetPhase())
    This checks whether the person receiving the message is in the same phase as the person sending it by doing a bitwise AND operation upon the two unsigned integers.
    So would how would this look like in a script once again I'm sorry for asking questions :P I just wanna make sure.

    Would it look something like this?

    void MapMgr::SendChatMessageToCellPlayers(Object* obj, WorldPacket* packet, uint32 cell_radius, uint32 langpos, int32 lang, WorldSession* originator)Unit:SendChatMessage(12, 1, "For The Warchief!")

    Even to me this looks wrong. I just don't understand where to put the line of code. I learn best when things are shown to be like in a script so i can actually see the code snip being used.


    Also: I spent the weekend compiling my own Trinity server with Eluna built in, I have it working and everything I just wanna know if there's a way to transfer over data from my Arcemu server onto trinity.

    Ty once again for all the help harry I know your way more advance then this stuff but it's nice to have something to turn to as a support.

  13. #13
    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)
    No you can't feasible transfer the data over.

    And apparently you can't program so I can't help you fixing the bug any more as you have no knowledge of anything I said. :/

    Just start again on trinity.

    As a mega, mega, mega hack fix which I recommend you don't use, you could do something like this:

    Code:
    local p = pUnit:GetPhase()
    for _,v in pairs(pUnit:GetInRangePlayers()) do
      if v:GetPhase() == p:GetPhase() then
         pUnit:SendChatMessageToPlayer(12,0,"Hello!",v)
      end
    end
    This will only work if they are in exactly the same phase. If you really wanted to use this and have it work the same way phasing does, then you would need to do a bitwise and operation.
    Last edited by stoneharry; 09-06-2013 at 03:27 PM.

Similar Threads

  1. Cannot see chat box.
    By greenhorn in forum Report Bugs
    Replies: 1
    Last Post: 11-23-2014, 05:14 AM
  2. [Exploit] Chat in different colours
    By Jadd in forum Tera Online
    Replies: 10
    Last Post: 02-02-2014, 07:36 PM
  3. Can't see chat...
    By XxCyanidexX in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 03-06-2009, 01:41 AM
  4. Epic GM Chat **Must See**
    By BrightChild in forum World of Warcraft General
    Replies: 11
    Last Post: 10-17-2007, 04:47 PM
All times are GMT -5. The time now is 10:07 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