Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: CustomFont interface  (Visto 6556 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline bimaloha Posteado: May 30, 2020, 10:56:40 PM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 117
  • Gracias recibida: 3846
  • vn
CustomFont.h


CustomFont.cpp



Demo code:
Code: [Select]
CustomFont.Draw(CustomFont.FontBold,   250, 200, 0xFF00FFFF, 0x0, 0, 0, 0, "ElfCheat");
CustomFont.Draw(CustomFont.FontNormal, 250, 220, 0xFF00FFFF, 0x0, 0, 0, 0, "ElfCheat");
CustomFont.Draw(CustomFont.FontSize15, 250, 240, 0xFF00FFFF, 0xFF000033, 0, 0, 0, "ElfCheat");
CustomFont.Draw(CustomFont.FontSize18, 250, 260, 0xFF00FFFF, 0x0, 0, 0, 0, "ElfCheat");

CustomFont.DrawMultipleColor(CustomFont.FontBold, 50, 50, 0x0, 0, 0, 0, "ElfCheat demo multiple color TSM");

You can create another type of color. In demo source, color and background color have type format 0xRRGGBBTT, RR = RED, GG = GREEN, BB = BLUE, TT = TRANSPARENT. Value range 0x0 - 0xFF each one, equal 0 to 255.

In fact, I'm drawing multiple lines the same position to have multiple colors like this:

Gracias:

Xysad, hald22, psalazar, ItSoEasy, dikron1990, jeferson11, Ryzenn, dkservermus6, Analista, elcrom, pedrob, Smudevelop, zerg24, orl4nd1, matichile, wellwisher22, jserrao80, Viper, e911217, tutu100, djkaku, nescafe, llZeuzll, chuky2003, RaduOnica, DEATH, dakosmu, SetecSoft, Juninsj22, usersa, thangnvv92, sachaf, AishaCT, hanzel, myway, DarkNite, duglas_nike9, Facundo Jara, TioMostaza, jonathadll, vlgtre, RifleMaN_, azard, walkeny, amitnet1, loky16, thieugiapc, GabrielDev, superfeed, gameconcac, tyqhaha, Dear, GoldSun, victorrz17, solar, Arazox, PhantomKr, zpzwb113, PS Sistemas, footballmuonline, Flash, kimrubi, max1musn1, mantios, cantante007, Ogoc, ziza, zhujianhui, djnansr, tunhi3000, coolgepds, elcris99, wahaha, nockasdd, mugloves99, wildriff66, stopk, ohmagic, Betell Host, malke, korron, Robins, vipgale01, NghienMU, jonhz, deathsquad, Erick05, python, ezesosa, dorbenabu, Carrasco, Carrasco, dieguitox, binhchivn, trjnhanh012, anh1pk, hfhmu, afiqui, joey, backerchen, heroviet2301, habacedu24, tammadall, omgsf, 153426, kurtbangu, broly, zhangjianle865, FOX, erickmalfoy, wendyll, Angel18, Tomsky75, tcbaoanh, Zeus, MsotoC, frenzo2009, JavixFer, OneMU, zodiacddos, Shellshock, datkool, xtestx, xxcondexx, superrin, HOLA_JORGE, byweltin@gmail.com, judakiss21, nilomaster, datccqc, lstuan, bkbodoke, ImportedPotato, qixar, emerson2004, TryMenow, nujd00, xuanyuan, Iямαηɗαɗ ☠, Ifreat, drakulla, vantuan02hn, ledemkhoc, LuisGaming, phantrungloi, generationmu, thunwa1, lunaticodeveloper, hinam.97, davidrcj, binho, Thor Host, Crowley, baojianyang, Cartman, takumi12, Ponteleymon, mavine, s2sinh94, zacki0801, TzCr4ck, mubongma, draco425, lechianh88, muphantom, Dizzy, angel3858, elalfred49, NguyenAnh, northon, juniorcgr, Razul, stark98, Ravoc, wanwaycom, emersonx13, KhongGianOL, T-LEGENDARY, showmax, Nemesis, Wendigo, nnDoug, idpnguyeni, clairtoncb, GameNet, hiep, tdthanh95, pimkungclub, ailsoncost, neeck1234, tiendoanit, dark, PachoRasta, nguqua, admkolla, phuongduc91, Dieguinho, TheKing027, cobyzero, FePRO, calabocajea, DangeR, ์Nightz, GLpendeex, Sign1t0s, GabrielDevel, nonnan005, notengo, Kosh, Plate98, ConejoMalo, ldads, Shrimp, Ivanovic, jorge2016, lramon, duodie, jeronemo, ismael99, alexfy, Daniel@, herjuni, mustx1, shizen, dhaomao, gacon201294, Alixon, longcon, ajccc, realman, xz18786628, EaglE, Alexunder, 6atters, luciferlg, z348870672, 423646802, GATITO, wnz5678, Smith200, guigonvg, manfromvn, fer1992, spartacus, andreyzz, dyZONE, iggfree, AZURE, muzic25, runaway, esteban, louis, smallz170, Odisk, kayito, Orion88, gamesperu, LeeHenry, dizzys, kaisudo, Shaman, cri0, LTP Team, Heitaok77, Aguila, higlans, SaintZeus, onlinezajzaj, chuckhai, trkgncmg, juan1997, Higgs, pquintal, Karuritoku, npt.formu, beecubin, djagripnos, Opresor, kaiocnx, ZabiinoOo, knight.php, comelon666, yhoon, 183358, Pyke, c4nhsatcodong, dahouzi, Peluuca, Hoangsy99, Kapocha33, Genilson23, laulinh2, dark32, RafhaelSouza, axeman192

Offline laulinh2 #1 Posteado: May 30, 2020, 11:18:05 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 65
  • Gracias recibida: 12
  • vn
pSetBackgroundTextColor offset please

Gracias:


Offline bimaloha #2 Posteado: May 30, 2020, 11:33:29 PM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 117
  • Gracias recibida: 3846
  • vn
pSetBackgroundTextColor offset please

Code: [Select]
#define pTextThis				((LPVOID(*)()) 0x0041FE10)
#define pTextFormat ((int(__cdecl*)(char * Buffer, int Arg2, int LineSize, LPCTSTR Text, int LineWidth, bool Arg6, BYTE Arg7)) 0x540880)
#define pDrawColorText ((int(__cdecl*)(LPCTSTR Text, int PosX, int PosY, int Width, int Arg5, int Color, int Arg7, int Align)) 0x7D0380)
#define pGetTextLine ((LPCSTR(__thiscall*)(LPVOID This, int LineNumber)) 0x00402320)
#define pMakeColor ((DWORD(__cdecl*)(BYTE, BYTE, BYTE, BYTE)) 0x00412D20)
#define pSetTextColor ((void(__thiscall*)(LPVOID This, int r, int g, int b, int h)) 0x00420040)
#define pSetBackgroundTextColor ((void(__thiscall*)(LPVOID This, int r, int g, int b, int h)) 0x004200B0)
#define pSetTextSize ((int(__thiscall*)(LPVOID This, HFONT a2)) 0x00420120)
#define pSetTextFont ((int(__thiscall*)(LPVOID This, HFONT a2)) 0x00420120)
#define pDrawText ((int(__thiscall*)(LPVOID This, int PosX, int PosY, LPCTSTR Text, int Width, int Height, LPINT Align, int unknow)) 0x00420150)
#define pUnknow00420080 ((DWORD(__cdecl*)(LPVOID This, char Arg1)) 0x00420080)
#define pUnknow004200F0 ((DWORD(__cdecl*)(LPVOID This, char Arg1)) 0x004200F0)
#define pSetBlend ((void(__cdecl*)(BYTE Mode)) 0x635FD0)
#define pGetTextNumber ((int(__cdecl*)(int a1))0x009CFF45)

Gracias:


Offline Genilson23 #3 Posteado: May 30, 2020, 11:55:38 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 4
  • Gracias recibida: 6
  • br
Podemos reemplazar el chat, /post, etc.. ?



Gracias:


Offline axeman192 #4 Posteado: May 30, 2020, 11:57:22 PM

  • 3D Maker
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 287
  • Gracias recibida: 11886
  • vn
Thanks @bimaloha (Elfcheat)  cool2

Gracias:


Offline ConejoMalo #5 Posteado: May 31, 2020, 03:17:59 AM

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 781
  • Gracias recibida: 7675
  • ar
@axeman192  give me you sources and mu plis...

Servicios de  Reparacion de bug Files Muemu, desde source y agregados Custom, soporte de configuracion.

Offline onlinezajzaj #6 Posteado: May 31, 2020, 06:14:33 AM

  • MAESTRO

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 700
  • Gracias recibida: 18231
  • vn
very good, thank top #1

 aplausos aplausos aplausos aplausos aplausos aplausos aplausos aplausos aplausos


Chuyên cung cấp Server MU -  Dạy dev MU online - Giá rẻ.
TEACHER MU ONLINE VIỆT NAM / TRAO ĐỔI KINH NGHIỆM MU ONLINE TOP 1 tại VIỆT NAM
WhatApps/Zalo : +886983042918 - ONLINEZAJZAJ : https://zalo.me/caongochavt
https://www.paypal.me/teacherzajzaj

Gracias:


Offline trkgncmg #7 Posteado: May 31, 2020, 04:43:57 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 44
  • Gracias recibida: 688
ngon, mà giờ chán nên hết cần cmnr , còn đâu đêm nào 2 thằng over nai ngồi search offset thí mẹ luôn=))

Gracias:


Offline manfromvn #8 Posteado: June 01, 2020, 11:04:26 PM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 83
  • Gracias recibida: 29
  • vn
thanks so much


Offline luciferlg #9 Posteado: June 12, 2020, 06:14:16 AM | Modificado: April 09, 2021, 11:40:12 PM by luciferlg

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 18
  • Gracias recibida: 4
  • bh

Offline Higgs #10 Posteado: June 13, 2020, 04:42:16 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 50
  • Gracias recibida: 9
  • us
How to make the text bigger?


Offline bimaloha #11 Posteado: June 13, 2020, 07:18:39 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 117
  • Gracias recibida: 3846
  • vn
How to make the text bigger?

Read demo code and use your brain :)


Offline Higgs #12 Posteado: June 13, 2020, 10:20:48 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 50
  • Gracias recibida: 9
  • us
Code: [Select]
CustomFont.DrawMultipleColor(CustomFont.FontBold, 50, 50, 0x0, 110, 0, 0, "ElfCheat demo multiple color TSM");

Help! Not work.


Offline dhaomao #13 Posteado: June 15, 2020, 10:13:25 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 44
  • Gracias recibida: 11
  • dz
What part can i put this ?
        CustomFont.Draw(CustomFont.FontBold,   250, 200, 0xFF00FFFF, 0x0, 0, 0, 0, "ElfCheat");
   CustomFont.Draw(CustomFont.FontNormal, 250, 220, 0xFF00FFFF, 0x0, 0, 0, 0, "ElfCheat");
   CustomFont.Draw(CustomFont.FontSize15, 250, 240, 0xFF00FFFF, 0xFF000033, 0, 0, 0, "ElfCheat");
   CustomFont.Draw(CustomFont.FontSize18, 250, 260, 0xFF00FFFF, 0x0, 0, 0, 0, "ElfCheat");
   CustomFont.DrawMultipleColor(CustomFont.FontBold, 50, 50, 0x0, 0, 0, 0, "ElfCheat demo multiple color TSM");


Offline bimaloha #14 Posteado: June 15, 2020, 11:25:20 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 117
  • Gracias recibida: 3846
  • vn
Code: [Select]
CustomFont.DrawMultipleColor(CustomFont.FontBold, 50, 50, 0x0, 110, 0, 0, "ElfCheat demo multiple color TSM");

Help! Not work.

Did you run the Load() function? Check CustomFont.FontBold.

What part can i put this ?
        CustomFont.Draw(CustomFont.FontBold,   250, 200, 0xFF00FFFF, 0x0, 0, 0, 0, "ElfCheat");
   CustomFont.Draw(CustomFont.FontNormal, 250, 220, 0xFF00FFFF, 0x0, 0, 0, 0, "ElfCheat");
   CustomFont.Draw(CustomFont.FontSize15, 250, 240, 0xFF00FFFF, 0xFF000033, 0, 0, 0, "ElfCheat");
   CustomFont.Draw(CustomFont.FontSize18, 250, 260, 0xFF00FFFF, 0x0, 0, 0, 0, "ElfCheat");
   CustomFont.DrawMultipleColor(CustomFont.FontBold, 50, 50, 0x0, 0, 0, 0, "ElfCheat demo multiple color TSM");

gInterface.work() or something else like that, where the function running in loop.

Gracias:


Offline Daniel@ #15 Posteado: June 18, 2020, 01:24:08 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 354
  • Gracias recibida: 2786
  • ve
Align It does not work well or requires a special condition. for example Alignment 4 does not work for me


Offline Hoangsy99 #16 Posteado: June 18, 2020, 02:41:57 PM

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • 3D Maker
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 643
  • Gracias recibida: 55238
  • vn

Gracias:


Offline Daniel@ #17 Posteado: June 18, 2020, 10:05:18 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 354
  • Gracias recibida: 2786
  • ve
Align It does not work well or requires a special condition. for example Alignment 4 does not work for me
alguien


Offline Daniel@ #18 Posteado: June 21, 2020, 09:11:22 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 354
  • Gracias recibida: 2786
  • ve
Align It does not work well or requires a special condition. for example Alignment 4 does not work for me

up


Offline laulinh2 #19 Posteado: October 12, 2020, 09:14:12 AM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 65
  • Gracias recibida: 12
  • vn
Unicode (Vietnamese) errorr, how to fix?


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
4 Replies
2345 Views
Last post April 17, 2018, 11:19:12 AM
by caron22
2 Replies
870 Views
Last post May 18, 2018, 09:35:26 PM
by Arsus123
1 Replies
1834 Views
Last post June 28, 2020, 03:27:28 PM
by LiioCoria
3 Replies
1088 Views
Last post February 24, 2020, 07:46:29 PM
by Lil Kid
8 Replies
1726 Views
Last post March 03, 2020, 06:58:55 AM
by Wendigo