[Classic] 1.13.6.37497 SendChatMessage CGPlayer_C::GetDefaultLanguage menu

User Tag List

Results 1 to 4 of 4
  1. #1
    scimmy's Avatar Active Member
    Reputation
    52
    Join Date
    Jul 2020
    Posts
    54
    Thanks G/R
    1/33
    Trade Feedback
    0 (0%)
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    [Classic] 1.13.6.37497 SendChatMessage CGPlayer_C::GetDefaultLanguage

    Code:
    0xF27EB0
    bool SendChatMessage(int chat_type, int language_type, uint64_t channel_id, void* unk1, const char* message);
    
    chat_type values:
    1 = say
    2 or 51 = party
    3 or 39 = raid
    4 = guild
    5 = officer
    6 = yell
    7 = whisper
    10 = emote
    17 = channel
    23 = afk
    24 = dnd
    40 = raid warning
    44 or 45 = battleground
    
    language_type values:
    i don't fucking know i use this other function for my default language:
    
    0xB26630
    uint64_t CGPlayer_C::GetDefaultLanguage(wowobject* activeplayer)
    Pass your local player pointer into it and it returns the correct language_type
    
    channel_id is obvious. its for which channel you want your shit in. 0 is default, so just pass 0.
    
    unk1 is always nullptr.
    
    message is your string. max 255 chars.
    
    function returns true or false if message was successfully sent. it can fail if you reach the rate limit
    enjoy
    Last edited by scimmy; 03-23-2021 at 05:44 AM.

    [Classic] 1.13.6.37497 SendChatMessage CGPlayer_C::GetDefaultLanguage
  2. Thanks oiramario (1 members gave Thanks to scimmy for this useful post)
  3. #2
    oiramario's Avatar Established Member
    Reputation
    85
    Join Date
    Mar 2021
    Posts
    133
    Thanks G/R
    36/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for your sharing!!!

  4. #3
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1511
    Join Date
    May 2008
    Posts
    2,432
    Thanks G/R
    81/333
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    When in doubt, use TC: TrinityCore/SharedDefines.h at master . TrinityCore/TrinityCore . GitHub

    (ChatMsg enum, Language enum)

  5. Thanks oiramario (1 members gave Thanks to Jadd for this useful post)
  6. #4
    oiramario's Avatar Established Member
    Reputation
    85
    Join Date
    Mar 2021
    Posts
    133
    Thanks G/R
    36/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    typedef char (__fastcall* FuncSendChatMessage)(uint32_t, uint32_t, uint8_t*, uint8_t*, uint8_t*);

    channel
    String - The channel or player receiving the message for "CHANNEL"/"WHISPER" communication. If sending to a channel you must use the number (eg. "1"); obtain it using GetChannelName("channelName"). This field is required for the "CHANNEL"/"WHISPER" chat types and ignored for any other chat type.
    Last edited by oiramario; 08-19-2021 at 09:08 AM.

Similar Threads

  1. [Classic] [1.13.6.37497] OnSpriteLeftClick - Targeting Units
    By _chase in forum WoW Memory Editing
    Replies: 18
    Last Post: 04-21-2021, 05:47 AM
  2. [Classic] 1.13.6.37497
    By charles420 in forum WoW Memory Editing
    Replies: 10
    Last Post: 04-18-2021, 09:57 AM
  3. [Classic 1.13.6.37497] SendMovementUpdate request
    By oiramario in forum WoW Memory Editing
    Replies: 0
    Last Post: 03-22-2021, 01:20 PM
  4. WoW Classic 1.13 Sandbox
    By raido in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 10-24-2018, 06:23 PM
  5. [Selling] Level 60 Hunter. Classic Rank 13 Warlord
    By Tschaenter in forum WoW-EU Account Buy Sell Trade
    Replies: 1
    Last Post: 11-04-2013, 03:21 PM
All times are GMT -5. The time now is 10:20 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search