Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

Msg to guild chat?

Ask for help
Post Reply
primeval1
Neophyte
Neophyte
Posts: 13
Joined: 05.04.2015 14:21

Msg to guild chat?

Post by primeval1 »

Are there way to message in guild/alliance chat? i didnt find anything, only PartySay('');
any help?
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: Msg to guild chat?

Post by Vizit0r »

same as in client - start with point and go on.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
primeval1
Neophyte
Neophyte
Posts: 13
Joined: 05.04.2015 14:21

Re: Msg to guild chat?

Post by primeval1 »

thanks for repply, yes point is works for guild chat, but i need say to alliance chat and cant find a way=\
client version 7.0.18
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: Msg to guild chat?

Post by Vizit0r »

if i remember correctly - start with "/", "," or something like that.
all like in client.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
primeval1
Neophyte
Neophyte
Posts: 13
Joined: 05.04.2015 14:21

Re: Msg to guild chat?

Post by primeval1 »

damn it, in client its a "|" symbol, i tyed, it didnt send a message in alliance chat:(
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: Msg to guild chat?

Post by Vizit0r »

added with "|"

Code: Select all

  case Char_in_begin of
    '!':
      Mode := Speech_Type_Yell;
    ';':
      Mode := Speech_Type_Whisper;
    ':':
      Mode := Speech_Type_Emote;
    '|':
      Mode := Speech_Type_Ally;
    '\':
      if fClientVersionInt < 5000000 then
        Mode := Speech_Type_Emote
      else
        Mode := Speech_Type_Guild; // =$0D

  else
    Mode := SpeechType;
  end;
wait for new version
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
primeval1
Neophyte
Neophyte
Posts: 13
Joined: 05.04.2015 14:21

Re: Msg to guild chat?

Post by primeval1 »

here, new version out, thx, ally chat works but as always not perfect:)
the message didnt cuted, and appears in chat with symbol "|" at the begining
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: Msg to guild chat?

Post by Vizit0r »

Code: Select all

the message didnt cuted, and appears in chat with symbol "|" at the begining
yes))
fixed.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
Post Reply