1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Want to add a release? Use the Resource Manager!
  3. MapleStory Europe has migrated to MapleStory Global! This section is readonly now.
    Dismiss Notice

Release Fun Script : Chat log adder 98.2

Chat log add

  1. Conquest

    Conquest Legendary Casanova Coder Donor

    Conquest submitted a new resource:

    Fun Script : Chat log adder - Chat log add

    Read more about this resource...
     
    • Like Like x 2
    • Great work Great work x 1
    • Nice find! Nice find! x 1
  2. Taku

    Taku Ph.D in Internet Retardation Dedicated Donor

    Thanks for release, is it possible to freeze Chat Types ? Thanks.
     
    • Nice find! Nice find! x 1
  3. Conquest

    Conquest Legendary Casanova Coder Donor

    Chat Logger:
    Code (Text):
    1. [ENABLE]
    2. //Conq ccplz v98.2
    3. alloc(newmem,128)
    4. label(returnhere)
    5. label(originalcode)
    6. label(exit)
    7. label(copystring)
    8. alloc(string,255)
    9. label(end)
    10. label(startcopy)
    11. registersymbol(string)
    12.  
    13. newmem:
    14. copystring:
    15. cmp [esp+1c],0
    16. je originalcode
    17. test    eax, eax
    18. je originalcode
    19.  
    20. pushad
    21. mov eax,[esp+1c]
    22. mov ebx,string
    23. startcopy:
    24. cmp [eax],0
    25. je end
    26. mov edx,[eax]
    27. mov [ebx],edx
    28. add ebx,4
    29. add eax,4
    30. jmp startcopy
    31. end:
    32. popad
    33. test    eax, eax
    34. originalcode:
    35. je 005EFF1F
    36. exit:
    37. jmp returnhere
    38.  
    39. 005EFE1C:
    40. nop
    41. jmp newmem
    42. returnhere:
    43.  
    44.  
    45. [DISABLE]
    46. //Conq ccplz v98.2
    47. dealloc(newmem)
    48. "MapleStory.exe"+1963EC:
    49. db 0F 84 FD 00 00 00
    --- Double Post Merged, Jan 4, 2014 ---
    Here is how you use it.
    1. click on hi5. you dont need to disable it again
    2. setting 'callnow' to 1 will make u display whatever u have written in 'text' box(where hello there is written by default)
    3. chattype will decide the color.
    0 is default chat color and 0~12 is valid . 10 is gm chat, 2 was probably whisper etc
     
    • Like Like x 1
  4. Fat

    Fat Well-Known Member

    [​IMG]
    Code (C):
    1.  
    2. enum msgtype
    3. {
    4.     white = 0,
    5.     green = 1,
    6.     pink = 2,
    7.     orange = 3,
    8.     purple = 4,
    9.     lightgreen = 5,
    10.     lightgrey = 6,
    11.     yellow = 7,
    12.     lightyellow = 8,
    13.     blue = 9,
    14.     blackwhite = 10,
    15.     lightred = 11,
    16.     specialblue = 12
    17. };
    18.  
     
  5. JiR

    JiR Well-Known Member

    Is it cs or ss?
     
  6. Conquest

    Conquest Legendary Casanova Coder Donor

    cs . no point making ss since people will abuse for spamming
     
    • Made me laugh! Made me laugh! x 1
  7. JiR

    JiR Well-Known Member

    That'd be pretty nice if it was ss to spam indeed or to fake yourself as a GM
     
  8. David

    David ᕙ༼ຈل͜ຈ༽ Banned Donor

    yeah, this is how i did it like 17 patches ago.
    Code (C):
    1.  
    2. //; void __thiscall CUIStatusBar__ChatLogAdd(CUIStatusBar *this, const char *sChat, int lType, int nChannelID, int bWhisperIcon, ZRef<GW_ItemSlotBase> pItem)
    3.  
    4. typedef void (__fastcall* lpfnCUIStatusBar__ChatLogAdd)(PVOID pvThis, DWORD dwEDX, const char *sChat, DWORD dwType, int nChannelID, int bWhisperIcon, PVOID *pItem, int nLineCnt);
    5. lpfnCUIStatusBar__ChatLogAdd CUIStatusBar__ChatLogAdd = (lpfnCUIStatusBar__ChatLogAdd)0xDEADBEEF;
    6.  
    7. void __fastcall CUIStatusBar__ChatLogAdd_detour(PVOID pvThis, DWORD dwEDX, const char *sChat, DWORD dwType, int nChannelID, int bWhisperIcon, PVOID *pItem, int nLineCnt)
    8. {
    9.    DebugPrintW(L"CUIStatusBar__ChatLogAdd(\"%S\", %i, %i, %i, %i);", sChat, dwType, nChannelID, bWhisperIcon, nLineCnt);
    10.  
    11.    if(dwType == 7) //[MapleTip], [Notice], [??]
    12.      return;
    13.  
    14.    //if(strstr(sChat, "Eridium") != 0)
    15.    //   CUIStatusBar__ChatLogAdd(pvThis, dwEDX, "Eridium : i'm gay, please lick out my anus, davheed is my god", dwType, nChannelID, bWhisperIcon, pItem, nLineCnt);
    16.  
    17.    if(strstr(sChat, "KeYwOrD") != 0)
    18.    {
    19.      //RAPE
    20.      return;
    21.    }
    22.  
    23.    //TODO: test adding to chatlog with pItem = NULL
    24.  
    25.    CUIStatusBar__ChatLogAdd(pvThis, dwEDX, sChat, dwType, nChannelID, bWhisperIcon, pItem, nLineCnt);
    26. }
    27.  
    ignore the malicious code.

    edit nvm i thought you meant ignoring certain chat types t.t

    i achieved the same thing a while ago by hooking @ IWzFont::Create called in CUIStatusBar::OnCreate
    you could change the actual color codes used (like #FF99CC, which would be party chat), size, everything. it was pretty neat back when they mad the chat extremely small and it was horrible to read.
     
    Last edited: Jan 4, 2014
  9. Conquest

    Conquest Legendary Casanova Coder Donor

    yes . ems v85 . i still have that dll somewhere in my hdd .
     
    • Like Like x 1

Share This Page