antiblock
https://i.imgur.com/aJ17bf7.gif
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
Postite

[Pedido] Anúncios De Gm Com Nome

11 posts in this topic

Boas,

Fiz umas pesquisas na net e aqui no forum e não encontrei nada sobre o script que adiciona os nomes nos anúncios de GM (/n), será que alguém me poderia disponibilizar isso ? 

 

Atenciosamente,

Postite
 

Share this post


Link to post
Share on other sites
antiblock
diamwall

Tipo

/n my name is jeff
[GM]Postite: my name is jeff
é isso?

Share this post


Link to post
Share on other sites

tambem estou a procura disto se alguem souber agradeceria muito se compartilhasse

Share this post


Link to post
Share on other sites

Tipo

/n my name is jeff
[GM]Postite: my name is jeff
é isso?

 

Sim é isso , támbem tenho essa dúvida :S

Share this post


Link to post
Share on other sites

Se eu não me engano isto é no questlua_global.cpp

	int _notice(lua_State* L)
	{
		ostringstream s;
		combine_lua_string(L, s);
		CQuestManager::Instance().GetCurrentCharacterPtr()->ChatPacket(CHAT_TYPE_NOTICE, "%s", s.str().c_str()); // Aqui
		return 0;
	}
	
	// Muda para:
	int _notice(lua_State* L)
	{
		ostringstream s;
		combine_lua_string(L, s);
		CQuestManager::Instance().GetCurrentCharacterPtr()->ChatPacket(CHAT_TYPE_NOTICE, "%s", "%s", ch->GetName(), s.str().c_str()); // Aqui
		return 0;
	}

Eu sinceramente não testei pois não sei se funciona mas acho que seja assim.

Share this post


Link to post
Share on other sites

Se eu não me engano isto é no questlua_global.cpp

	int _notice(lua_State* L)
	{
		ostringstream s;
		combine_lua_string(L, s);
		CQuestManager::Instance().GetCurrentCharacterPtr()->ChatPacket(CHAT_TYPE_NOTICE, "%s", s.str().c_str()); // Aqui
		return 0;
	}
	
	// Muda para:
	int _notice(lua_State* L)
	{
		ostringstream s;
		combine_lua_string(L, s);
		CQuestManager::Instance().GetCurrentCharacterPtr()->ChatPacket(CHAT_TYPE_NOTICE, "%s", "%s", ch->GetName(), s.str().c_str()); // Aqui
		return 0;
	}

Eu sinceramente não testei pois não sei se funciona mas acho que seja assim.

E quem não usa source?

Share this post


Link to post
Share on other sites

E quem não usa source?

 

Usa diff..

Share this post


Link to post
Share on other sites

Poderás me mandar a diff então?

Share this post


Link to post
Share on other sites

Poderás me mandar a diff então?

Não sei fazer isso, sorry.

Share this post


Link to post
Share on other sites

Tipo

/n my name is jeff
[GM]Postite: my name is jeff
é isso?

 

O segundo! :)

Share this post


Link to post
Share on other sites
Sign in to follow this