Kroket
Members-
Posts
52 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Kroket's Achievements
Advanced Member (3/3)
0
Reputation
-
Looks very nice, i have a site just like this but ofcourse mine is no framework but it also got a Template Engine. Does yours also have a Database & Site Engine?
-
noshit, but how with scriptdev2?
-
Im creating a donator shop via Gossip and would like to display text such as item information, price etc as normal text and not a menu item. How would i do that?
-
Are you sure? few years ago when i had an arcemu server i managed to add it infront of the player name. There also was this server that added people's country code infront of their name (if im not mistaken).
-
AH ok, i thought i would attempt to make a global world channel.
-
if(ChannelMgr* cMgr = channelMgr(GetTeam())) { if(Channel *chn = cMgr->GetJoinChannel("GLOBAL", 0)) { chn->Join(GetGUID(), NULL); chn->SetAnnounce(true); chn->Announce(GetGUID()); chn->Say(GetGUID(), "Hi everyone!", 0); } } The player joins the channel but: #1 it doesnt get announced. #2 cannot send any messages in that channel.
-
if(type == CHAT_MSG_SAY) { if(GetPlayer()->isDonator()) msg.insert(0, "[Donator] "); GetPlayer()->Say(msg, lang); } But now it appears INFRONT of the message and not infront of the player name.
-
void Player::Say(const std::string& text, const uint32 language) { WorldPacket data(SMSG_MESSAGECHAT, 100); if(isDonator()) text.insert(0, "[Donator] "); BuildPlayerChat(&data, CHAT_MSG_SAY, text, language); SendMessageToSetInRange(&data,sWorld.getConfig(CONFIG_FLOAT_LISTEN_RANGE_SAY),true); }
-
Sure, you can close this btw
-
..\\..\\src\\game\\Player.cpp(15796) : error C2663: 'std::basic_string<_Elem,_Traits,_Ax>::insert' : 10 overloads have no legal conversion for 'this' pointer 2> with 2> [ 2> _Elem=char, 2> _Traits=std::char_traits<char>, 2> _Ax=std::allocator<char> 2> ]
-
I tried: void Player::Say(const std::string& text, const uint32 language) { WorldPacket data(SMSG_MESSAGECHAT, 100); if(isDonator()) { std::string prefix = "[Donator] "; data << prefix.length()+1; data << prefix; } BuildPlayerChat(&data, CHAT_MSG_SAY, text, language); SendMessageToSetInRange(&data,sWorld.getConfig(CONFIG_FLOAT_LISTEN_RANGE_SAY),true); } But that wont work.
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®