Chat Background (Style Masangasoft)

Results 1 to 12 of 12
  1. #1
    Infraction Banned jorklenis2 is offline
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    878Posts

    idea Chat Background (Style Masangasoft)

    Here I bring you the famous chat background which helps a lot not to strain your eyes on those maps that are whiter than an albino that avoids reading text since it is white like the background of the map, for example Stairways, Castle, others...

    Note: take care of your vizual health, no longer burn your eyes and less strain your eyes when reading texts.

    So that later they do not say that I am selfish and that I do not think about others, kisses for my haters.

    Code:
    search "int MDrawContext::TextMultiLine" add above of
    
    	int y = r.y;
    	char* szCurrent = (char*)szText;
    	MPOINT* pCurrentPos = pPositions;
    	do {
    
    remplace to
    
    	int y = r.y;
    	char* szCurrent = (char*)szText;
    	MPOINT* pCurrentPos = pPositions;
    	do {
    			MCOLOR prevColor = GetColor();
                            SetColor(0xFF000000); //Edit your color
    			char* szCurrentCpy = GetPureText(szCurrent);
    			FillRectangle(r.x, y, pFont->GetWidth(szCurrentCpy), pFont->GetHeight());
    			pFont->GetWidth(szCurrentCpy), 200.f * 1.1 / 800.f * (float)MGetWorkspaceWidth();
    			SetColor(prevColor);
    Screenshot



    Code:
    Credits: Jorklenis2, JP (FGunz)


  2. #2
    Novice angrykid2021 is offline
    MemberRank
    Mar 2021 Join Date
    4Posts

    Re: Chat Background (Style Masangasoft)

    cpp whic one?

  3. #3
    Valued Member Zer0nix is online now
    MemberRank
    Aug 2020 Join Date
    109Posts

    Re: Chat Background (Style Masangasoft)

    Do the search button -.-

  4. #4
    Novice angrykid2021 is offline
    MemberRank
    Mar 2021 Join Date
    4Posts

    Re: Chat Background (Style Masangasoft)

    tell the cpp thn only i can search in that

  5. #5

    Re: Chat Background (Style Masangasoft)

    Quote Originally Posted by angrykid2021 View Post
    tell the cpp thn only i can search in that

    Next time search with this: https://ibb.co/hVW3CLq (screenshot, picture frame does not work in ragezone)


    ZGameInterface.cpp.
    EDIT: Originally it's placed in MDrawContext.cpp but in my source it's placed in ZGameInterface.cpp





    - - - Updated - - -

    Nice, this will come in handy
    Last edited by TxDutch; 21-04-21 at 08:51 PM.

  6. #6
    Enthusiast sharpshot is offline
    MemberRank
    May 2014 Join Date
    36Posts

    Re: Chat Background (Style Masangasoft)

    nice release :)

  7. #7
    Infraction Banned jorklenis2 is offline
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    878Posts

    Re: Chat Background (Style Masangasoft)

    Quote Originally Posted by angrykid2021 View Post
    cpp whic one?
    Right there the module tells you, you don't pay attention.

    int MDrawContext::TextMultiLine - line
    MDrawContext:: - function
    MDrawContext.cpp - module

  8. #8
    Enthusiast Zentsuken is offline
    MemberRank
    Feb 2021 Join Date
    25Posts

    Re: Chat Background (Style Masangasoft)

    Very cool, thanks for sharing!

    Quote Originally Posted by angrykid2021 View Post
    tell the cpp thn only i can search in that
    Literally the first line of the code snippet tells you what to do. You simply use VS and search the whole solution for said function and go from there.

    Also, for starters you should learn how to at least ask for help.. A little please/thanks goes a long way.

  9. #9
    Member ilmar18 is offline
    MemberRank
    Mar 2014 Join Date
    BrazilLocation
    97Posts

    Re: Chat Background (Style Masangasoft)

    thanks for posting, mine was buggy now i'll fix it!

  10. #10
    Member Gunzlatinov3 is offline
    MemberRank
    Nov 2016 Join Date
    PeruLocation
    74Posts

    Re: Chat Background (Style Masangasoft)

    @jorklenis2, Hello friend, I would like to know if this works for visual studio 2003, I am very outdated xd, good contribution

  11. #11
    Infraction Banned jorklenis2 is offline
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    878Posts

    Re: Chat Background (Style Masangasoft)

    Quote Originally Posted by Gunzlatinov3 View Post
    @jorklenis2, Hello friend, I would like to know if this works for visual studio 2003, I am very outdated xd, good contribution
    I don't know, I should, lose anything by trying to add.

  12. #12
    Member Gunzlatinov3 is offline
    MemberRank
    Nov 2016 Join Date
    PeruLocation
    74Posts

    Re: Chat Background (Style Masangasoft)

    @jorklenis2 Friend, I do not have the part that you mention, in this function my font is empty without text xd, how would I add it if there is no where to put it// µÑ°ÁÙºÎÅÍ nIndentation¸¸Å­ µé¿©¾²±â¸¦ ÇÑ´Ù, skipline¸¸Å­ À­¶óÀÎÀ» »©°í Ãâ·ÂÇÑ´Ù.int MDrawContext::TextMultiLine(MRECT& r, const char* szText,int nLineGap,bool bAutoNextLine,int nIndentation,int nSkipLine, MPOINT* pPositions)



Advertisement