Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Source - NewUiInterface S2/S3  (Visto 4175 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline Juninsj22 Posteado: April 06, 2024, 04:24:43 PM | Modificado: April 10, 2024, 11:12:57 PM by Juninsj22

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 169
  • Gracias recibida: 1202
  • br
 cool2

HOLA PESSOAL BLZ  woot

VENHO TRAZER UMA NOVA INTERFACE TIRADA DA SOURCE @T-LEGENDARY

[SEGUE O TUTORIAL]

Code: [Select]
//==========================================
Select En Main.cpp

#include "NewUiInterface.h"

if (gProtect.m_MainInfo.CustomInterfaceType == 5)
{
NewInterface();
}


Code: [Select]
//==========================================
Select En Interface.cpp

#include "NewUiInterface.h"


if (gProtect.m_MainInfo.CustomInterfaceType == 5)
{
this->BindObject(eMain, 31293, 960, 160, 50, 388);
this->BindObject(eParty, iNewParty, 23, 30, 340, 449);
this->BindObject(eCharacter, iNewCharacter, 23, 30, 370, 449);
this->BindObject(eInventory, iNewInventory, 23, 30, 400, 449);
this->BindObject(eGuild, iNewGuild, 40, 18, 523, 461);
}


if (gProtect.m_MainInfo.CustomInterfaceType == 5)
{
gInterface.DrawInterfaceCustom1();
gInterface.DrawInterfaceMenu1();
}

void Interface::LoadImages()
{
if (gProtect.m_MainInfo.CustomInterfaceType == 5)
{
pLoadImage("Custom\\Interfaceold\\none.tga", 51522, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\none.tga", 31292, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\none.tga", 0x7A48, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\none.tga", 31294, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\none.tga", 31295, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\none.tga", 0x7A4A, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\Main_Menu_Master.tga", 31293, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\Menu_Red.tga", 0x7A42, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Custom\\Interfaceold\\Menu_Green.tga", 0x7A41, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Custom\\Interfaceold\\Menu_Blue.tga", 0x7A40, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Custom\\Interfaceold\\Main_I4.jpg", 31300, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\Main_I5.jpg", 31299, GL_LINEAR, GL_CLAMP, 1, 0);

pLoadImage("Custom\\Interfaceold\\Item_Back01.jpg", 51533, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\Menu\\Stats.jpg", 71352, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\Menu\\StatsDL.jpg", 71291, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\Menu\\Stats2.jpg", 71292, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\Menu\\Level_box.jpg", 35353, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\Menu\\Level_button.jpg", 51290, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\Menu\\ePointback.jpg", 0x700020, 0x2601, 0x2901, 1, 0);

pLoadImage("Custom\\Interfaceold\\Boton\\Menu_Inventory.tga", iNewInventory1, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\Boton\\Menu_Character.tga", iNewCharacter1, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Custom\\Interfaceold\\Boton\\Menu_Party.tga", iNewParty1, GL_LINEAR, GL_CLAMP, 1, 0);
                pLoadImage("Custom\\Interfaceold\\Boton\\Menu_guild.tga", iNewGuild1, GL_LINEAR, GL_CLAMP, 1, 0);
}


void Interface::DrawInterfaceCustom1()
{
gInterface.DrawIMG(eMain, 36, 415, 1.5, 2.0);
}

void Interface::DrawInterfaceMenu1()
{
if (IsWorkZone(eParty))
{
this->DrawToolTip(345, 420, "Party (P)");
}
if (this->CheckWindow(Party))
{
gInterface.DrawButton(eParty, 342, 448, 0.0, 0.0);
}
if (IsWorkZone(eCharacter))
{
this->DrawToolTip(375, 420, "Character (C)");
}
if (this->CheckWindow(Character))
{
gInterface.DrawButton(eCharacter, 371.5f, 448, 0.0, 0.0);
}
if (IsWorkZone(eInventory))
{
this->DrawToolTip(405, 420, "Inventory (I-V)");
}
if (this->CheckWindow(Inventory))
{
gInterface.DrawButton(eInventory, 399, 448, 0.0, 0.0);
}
if (IsWorkZone(eShop))
{
this->DrawToolTip(430, 420, "CashShop");
}
if (this->CheckWindow(CashShop))
{
gInterface.DrawButton(eShop, 442.5f, 450, 0.0, 0.0);
}
if (IsWorkZone(eFriend))
{
this->DrawToolTip(580, 420, "Friends");
}
if (this->CheckWindow(FriendList))
{
gInterface.DrawButton(eFriend, 581, 433, 0.0, 0.0);
}
if (IsWorkZone(eGuild))
{
this->DrawToolTip(580, 444, "Guild (G)");
}
if (this->CheckWindow(Guild))
{
gInterface.DrawButton(eGuild, 529, 460, 0.0, 0.0);
}
}

void Interface::DrawCoord1()
{
gObjUser.Refresh();

if (*(DWORD*)MAIN_SCREEN_STATE == 5)
{
glColor3f(1.0f, 1.0f, 1.0f);
pDrawInterfaceNumBer(86, 466, gObjUser.lpViewPlayer->MapPosX, 0.96);
pDrawInterfaceNumBer(102, 466, gObjUser.lpViewPlayer->MapPosY, 0.96);

}
}
Code: [Select]
//====================================
Select Add  En Interface.h

enum ObjectID
{
        eMain,

Class Interface
{

Public:
//NewUiInterface
void DrawInterfaceCustom1();
void DrawInterfaceMenu1();
void DrawCoord1();

Code: [Select]
//======================================
Select En Main.Info

CustomInterfaceType == 5  << (5 = NewUiInterface)
//======================================

//======================================
IMAGE DA NOVA INTERFACE.
//======================================


//======================================
SEGUE O DOWNLOAD DOS ARQUIVOS:
//======================================


magia2  JUNINSJ22  magia2

::[DEV-TEAM]::
::[Emulador]::

Gracias:

wener1992, ZTMarkz, Malyk, leanh, skyzone, xlenore, sayfmaster, zeusmudust, muax97d, Macario, iluaan, somlee, bravo99, AlejandrO777, Hoangtu34, hoangha001, neeck1234, Jefe Maestro, dahouzi, bigrealtk92, zeronycs, unico, beibei, LuciferXT, prohards26, lucasvieira, leidy002, tlsaavedra, nhantac, Lotto4K4k, zenkino1, resistant, Hiếu Đại Ca, tuyentc, srsti, Matt1995, finalfts24, Xingaw, Axelfvm, laulinh2, radrains010, Dizzy, away337159, Đồng Văn Hiếu, hoangtammedia, dedek1, iCoder, akumaxis, qixar, golias14, Smudevelop, KenZ, williandv, davi034, tutu100, matheusgomesb, datos32, muphantom, Eronrw, jaycenguyen001, KhongGianOL, sayf, ukvayha, distuber1, Phantasm, JhonaTanLR, ntcong295810, iworz, cybercomaqp, Watuyusei, TrystVenerious, hieuvt, ssmunet, lehuuducmjnh, yokkjll, tuanpm1, Referalusas, dark, gxemu, cri0, Hugo, ProjectX, jhonhy, k33n00, Creazsia, jukas, BaTmaaN, hide3by, elcrom, bigmed, InFamous, josehdrago, Zike, magos22, GATITO, CorsarioDgx, xz18786628, drakulla, powerpatic, fengyun52894, korron, boypost, Van_Bom, networks1, ellite3, goliloco, vitordodo157, chipcoidj, Exia00, SirDukan, rodrigoo22, binhchivn, tcbaoanh, OBBY, 4312204, VERNERON, MADRUGA, kellington, zhujianhui, subdark05, gleisson, nylanpro, 297457989, frenzo2009, Xenos, lstuan, anhdatz2023, hald22, mugloves99, dedicadobk, jonathadll, herjuni, amuleto2023, CAPITOL, anubismari, lucasaraujo2002, malokatm0, HayllanderBR, Null, Dragonvl15, projectmu, wallaceh, mantios, Ga4umy4u, showmax, waynemartins, lczro, neto66, lechianh88, NghienMU, SHILDKING, saske98, jk2013, spartacus, kaiocnx, victorbk2k, muccone, vaneavanea31, thziin, angel321, Vazamento, dakosmu, tammadall, Ryzenn

Offline jonathadll #1 Posteado: April 07, 2024, 04:05:05 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 9
  • Gracias recibida: 2
  • br
Esse tutorial está incompleto, porém vai me ajudar bastante á separar ás source's da interface dos meus projetos !



Offline Juninsj22 #2 Posteado: April 10, 2024, 11:17:11 PM

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 169
  • Gracias recibida: 1202
  • br
Esse tutorial está incompleto, porém vai me ajudar bastante á separar ás source's da interface dos meus projetos !

 nots

NEW UPDATE

en Main.cpp

Disable InterEx (InterfaceS6) Interferencia ao meio corrigido!

#include "InterEx.h" << ERROR

//#include "InterEx.h"  << FIX

gCRenderEx700.Init(); << ERROR

//gCRenderEx700.Init();  << FIX

 magia2

::[DEV-TEAM]::
::[Emulador]::

Offline ProTecno #3 Posteado: October 24, 2024, 04:17:32 PM

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 271
  • Gracias recibida: 7189
  • us
Esse tutorial está incompleto, porém vai me ajudar bastante á separar ás source's da interface dos meus projetos !
cheesyy2 cheesyy2 cheesyy2 cheesyy2


Offline Xingaw #4 Posteado: April 05, 2025, 02:58:09 AM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 71
  • Gracias recibida: 34
  • vn
please provide other missing code. Thanks


Offline LuciferXT #5 Posteado: May 06, 2025, 12:08:24 PM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 123
  • Gracias recibida: 1003
  • ar
Faltan :
NewUiInterface.cpp
NewUiInterface.h


Offline LuciferXT #6 Posteado: June 29, 2025, 08:58:05 PM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 123
  • Gracias recibida: 1003
  • ar
alguien q tenga esto completo?


Offline AlejandrO777 #7 Posteado: June 29, 2025, 09:07:13 PM | Modificado: June 29, 2025, 09:23:58 PM by AlejandrO777

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 105
  • Gracias recibida: 1603
  • ar
Faltan :
NewUiInterface.cpp
NewUiInterface.h

te dejo esos 2 archivos y NewUiInterface.obj  fijate si logras compilar


Gracias:


Offline AlejandrO777 #8 Posteado: July 02, 2025, 08:00:50 PM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 105
  • Gracias recibida: 1603
  • ar
Faltan :
NewUiInterface.cpp
NewUiInterface.h

pudiste hacer andar esa interface con los archivos q te mande?


Offline LuciferXT #9 Posteado: July 05, 2025, 12:19:45 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 123
  • Gracias recibida: 1003
  • ar
Faltan :
NewUiInterface.cpp
NewUiInterface.h

pudiste hacer andar esa interface con los archivos q te mande?
nop jaja nose si soy muy malo o que pero me crashea antes del selectserver


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
14 Replies
11679 Views
Last post August 23, 2024, 11:27:36 AM
by tuanpm1
1 Replies
634 Views
Last post April 24, 2022, 11:05:37 AM
by straiker23
4 Replies
4259 Views
Last post August 28, 2022, 02:20:41 PM
by RAGNAR111
1 Replies
1274 Views
Last post November 25, 2023, 11:01:50 AM
by OBBY
3 Replies
1845 Views
Last post December 07, 2024, 10:58:02 AM
by elcrom