Jump to content

[Pm] In Chat C++ Função


boloca
 Share

Recommended Posts

Abrir Input_main.cpp

 

Procurar por:

Hidden Content

    Give reaction to this post to see the hidden content.

E substituir por :

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

interfacemodule.py fica dentro do root

 

Procurar por :

 

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

e adicionar abaixo:

Hidden Content

    Give reaction to this post to see the hidden content.

 

Fim!!! Bom uso a todos.

  • Like 2
Link to comment
Share on other sites

  • 5 weeks later...

 

1014 12:24:50555 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 20412

1014 12:24:50556 :: CPythonCharacterManager::CreateInstance VID[9114] Race[20412]

1014 12:24:50954 :: Unknown Server Command super_quest 5 | super_quest

1014 12:24:50998 :: Unknown Server Command FuriaQuestIndex 88 | FuriaQuestIndex

1014 12:24:50998 :: Unknown Server Command PontosFuria 100 | PontosFuria

1014 12:24:50999 :: Unknown Server Command sistem_negot_map 89 | sistem_negot_map

1014 12:24:50999 :: Unknown Server Command SetQuestIndex 90 | SetQuestIndex

1014 12:24:50999 :: Unknown Server Command BORRAR QID|91 | BORRAR

1014 12:24:59925 :: Unknown Server Command drs 658 | drs

1014 12:24:09394 :: Unknown Server Command drs 658 | drs

 

Link to comment
Share on other sites

 

 

1014 12:24:50555 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 20412

1014 12:24:50556 :: CPythonCharacterManager::CreateInstance VID[9114] Race[20412]

1014 12:24:50954 :: Unknown Server Command super_quest 5 | super_quest

1014 12:24:50998 :: Unknown Server Command FuriaQuestIndex 88 | FuriaQuestIndex

1014 12:24:50998 :: Unknown Server Command PontosFuria 100 | PontosFuria

1014 12:24:50999 :: Unknown Server Command sistem_negot_map 89 | sistem_negot_map

1014 12:24:50999 :: Unknown Server Command SetQuestIndex 90 | SetQuestIndex

1014 12:24:50999 :: Unknown Server Command BORRAR QID|91 | BORRAR

1014 12:24:59925 :: Unknown Server Command drs 658 | drs

1014 12:24:09394 :: Unknown Server Command drs 658 | drs

 

 

 

Não venho nada relacionado com o tutorial.

Por favor coloca print dos teus ficheiros com o tutorial colocado.

Link to comment
Share on other sites

  • 4 weeks later...

O meu está assim ...

 

 

 

if (pinfo->type == CHAT_TYPE_SHOUT)

{

const int SHOUT_LIMIT_LEVEL = g_iUseLocale ? 15 : 3;

 

if (ch->GetLevel() < SHOUT_LIMIT_LEVEL)

{

ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("외치기는 레벨 %d 이상만 사용 가능 합니다."), SHOUT_LIMIT_LEVEL);

return (iExtraLen);

}

 

if (thecore_heart->pulse - (int) ch->GetLastShoutPulse() < passes_per_sec * 15)

return (iExtraLen);

 

ch->SetLastShoutPulse(thecore_heart->pulse);

 

const char* kingdoms[3] = {"|cFFff0000|H|h[shinsoo]|cFFA7FFD4|H|h","|cFFFFFF00|H|h[Chunjo]|cFFA7FFD4|H|h","|cFF0080FF|H|h[Jinno]|cFFA7FFD4|H|h"};

char chatbuf_global[CHAT_MAX_LEN + 1];

int len_global_ = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s",kingdoms[ch->GetEmpire()-1], chatbuf);

 

TPacketGGShout p;

 

p.bHeader = HEADER_GG_SHOUT;

p.bEmpire = ch->GetEmpire();

strlcpy(p.szText, chatbuf_global, sizeof(p.szText));

 

P2P_MANAGER::instance().Send(&p, sizeof(TPacketGGShout));

 

SendShout(chatbuf_global, ch->GetEmpire());

 

return (iExtraLen);

}

 

Link to comment
Share on other sites

  • 1 month later...
  • 5 months later...
  • 4 weeks later...
  • 5 months later...
  • 2 months later...
  • 4 months later...
Em 14/09/2016 em 18:44, boloca disse:

Abrir Input_main.cpp

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.
 

 

E substituir por :

 

 

Hidden Content

    Give reaction to this post to see the hidden content.
 

 

 

 

interfacemodule.py fica dentro do root

 

Procurar por :

 

 

 

Hidden Content

    Give reaction to this post to see the hidden content.
 

 

 

 

e adicionar abaixo:

 

Hidden Content

    Give reaction to this post to see the hidden content.
 

 

 

Fim!!! Bom uso a todos.

não entendo já tentei encontrar isso em varias sources e nada.

Link to comment
Share on other sites

  • 9 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...