PDA

View Full Version : |Source| Interface Ex700 para Season6 - Kapocha



megaman
21/05/2019, 12:07 AM
Essa source foi feita pelo Kapocha mas pelo que pude ver não está totalmete 100% pois As barras SD e AG estão se movendo de baixo para cima, não como o original, que fica na direção dos lados , então caso alguem saiba como ajustar isso, ajuda aí a galera :D

[Only registered and activated users can see links]

Interface


.h
//Ex700
eMainEx700,
eShop1,
eShop2,
eCharacter1,
eCharacter2,
eInventory1,
eInventory2,
eQuest1,
eQuest2,
eCommunity1,
eCommunity2,
eSystem1,
eSystem2,


//Interface Ex700
void DrawMenuButton();
void EventMenuButton(DWORD Event);
void DrawInterfaceCustom();

.cpp
[hide]//Ex700
this->BindObject(eMainEx700, 31293, 960, 160, 50, 388);
this->BindObject(eShop1, 0x901, 17, 17, 76.5, 452);
this->BindObject(eShop2, 0x902, 17, 17, 76.5, 452);
this->BindObject(eCharacter1, 0x903, 17, 17, 98.5, 452);
this->BindObject(eCharacter2, 0x904, 17, 17, 98.5, 452);
this->BindObject(eInventory1, 0x905, 17, 17, 120.5, 452);
this->BindObject(eInventory2, 0x906, 17, 17, 120.5, 452);
this->BindObject(eQuest1, 0x907, 17, 17, 503.5, 452);
this->BindObject(eQuest2, 0x908, 17, 17, 503.5, 452);
this->BindObject(eCommunity1, 0x909, 17, 17, 525.5, 452);
this->BindObject(eCommunity2, 0x910, 17, 17, 525.5, 452);
this->BindObject(eSystem1, 0x911, 17, 17, 547.5, 452);
this->BindObject(eSystem2, 0x912, 17, 17, 547.5, 452);

//Interface Ex700
pLoadImage("Interface\\GFx\\none.tga", 31292, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\none.tga", 0x7A48, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Main_IE.tga", 31293, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\none.tga", 31294, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\none.tga", 31295, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\none.tga", 31313, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\newui_skillbox.tga", 31312, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Main_I3.tga", 31298, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Main_I2.tga", 31297, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Main_I1.tga", 31296, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Main_I5.jpg", 31299, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Main_I4.jpg", 31300, GL_LINEAR, GL_CLAMP, 1, 0);
//Interface Skill Ex700
pLoadImage("Interface\\GFx\\newui_skill.tga", 31308, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\newui_skill2.tga", 31309, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\newui_skill3.tga", 31311, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\newui_command.tga", 31310, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\newui_non_skill.tga", 31314, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\newui_non_skill2.tga", 31315, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\newui_non_skill3.tga", 31317, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\newui_non_command.tga", 31316, GL_LINEAR, GL_CLAMP, 1, 0);
//Interface Botones Ex700
pLoadImage("Interface\\GFx\\Botones\\Shop1.tga", 0x901, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Botones\\Shop2.tga", 0x902, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Botones\\Character1.tga", 0x903, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Botones\\Character2.tga", 0x904, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Botones\\Inventory1.tga", 0x905, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Botones\\Inventory2.tga", 0x906, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Botones\\Quest1.tga", 0x907, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Botones\\Quest2.tga", 0x908, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Botones\\Community1.tga", 0x909, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Botones\\Community2.tga", 0x910, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Botones\\System1.tga", 0x911, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\GFx\\Botones\\System2.tga", 0x912, GL_LINEAR, GL_CLAMP, 1, 0);


///////////////////Interface Ex700///////////////////

void Interface::DrawInterfaceCustom()
{
gInterface.DrawIMG(eMainEx700, 36, 413, 1.5, 2.0);
gInterface.DrawGUI(eShop1, 76.5, 452);
gInterface.DrawGUI(eCharacter1, 98.5, 452);
gInterface.DrawGUI(eInventory1, 120.5, 452);
gInterface.DrawGUI(eQuest1, 503.5, 452);
gInterface.DrawGUI(eCommunity1, 525.5, 452);
gInterface.DrawGUI(eSystem1, 547.5, 452);
}

void Interface::DrawMenuButton()
{
if (IsWorkZone(eShop2))
{
this->DrawToolTip(74, 441, "In-Game Shop");
}
if (this->CheckWindow(CashShop))
{
gInterface.DrawButton(eShop2, 76.5, 452, 0.0, 0.0);
}
if (IsWorkZone(eCharacter2))
{
this->DrawToolTip(96.5, 441, "Character");
}
if (this->CheckWindow(Character))
{
gInterface.DrawButton(eCharacter2, 98.5, 452, 0.0, 0.0);
}
if (IsWorkZone(eInventory2))
{
this->DrawToolTip(103, 441, "Inventory");
}
if (this->CheckWindow(Inventory))
{
gInterface.DrawButton(eInventory2, 120.5, 452, 0.0, 0.0);
}
if (IsWorkZone(eQuest2))
{
this->DrawToolTip(501, 441, "Quest");
}
if (this->CheckWindow(Quest))
{
gInterface.DrawButton(eQuest2, 503.5, 452, 0.0, 0.0);
}
if (IsWorkZone(eCommunity2))
{
this->DrawToolTip(523, 441, "Community");
}
if (this->CheckWindow(FriendList))
{
gInterface.DrawButton(eCommunity2, 525.5, 452, 0.0, 0.0);
}
if (IsWorkZone(eSystem2))
{
this->DrawToolTip(545, 441, "System");
}
if (this->CheckWindow(FastMenu))
{
gInterface.DrawButton(eSystem2, 547.5, 452, 0.0, 0.0);
}

}

void Interface::EventMenuButton(DWORD Event)
{
DWORD CurrentTick = GetTickCount();
if (this->CheckWindow(ChaosBox))
{
return;
}

if (IsWorkZone(eShop1))
{
DWORD Delay = (CurrentTick - this->Data[eShop1].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eShop1].OnClick = true;
return;
}
this->Data[eShop1].OnClick = false;
if (Delay < 1000) {
return;
}
this->Data[eShop1].EventTick = GetTickCount();
if (this->CheckWindow(CashShop)) {
this->CloseWindow(CashShop);
}
else {
this->OpenWindow(CashShop);
}
}
else if (IsWorkZone(eCharacter1))
if (IsWorkZone(eCharacter1))
{
DWORD Delay = (CurrentTick - this->Data[eCharacter1].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eCharacter1].OnClick = true;
return;
}
this->Data[eCharacter1].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eCharacter1].EventTick = GetTickCount();
if (this->CheckWindow(Character)) {
this->CloseWindow(Character);
}
else {
this->OpenWindow(Character);
}
}

else if (IsWorkZone(eInventory1))
{
DWORD Delay = (CurrentTick - this->Data[eInventory1].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eInventory1].OnClick = true;
return;
}
this->Data[eInventory1].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eInventory1].EventTick = GetTickCount();
if (this->CheckWindow(Inventory)) {
this->CloseWindow(Inventory);
}
else {
this->OpenWindow(Inventory);
}
}

else if (IsWorkZone(eQuest1))
{
DWORD Delay = (CurrentTick - this->Data[eQuest1].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eQuest1].OnClick = true;
return;
}
this->Data[eQuest1].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eQuest2].EventTick = GetTickCount();
if (this->CheckWindow(Quest)) {
this->CloseWindow(Quest);
}
else {
this->OpenWindow(Quest);
}
}

else if (IsWorkZone(eCommunity1))
{
DWORD Delay = (CurrentTick - this->Data[eCommunity1].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eCommunity1].OnClick = true;
return;
}
this->Data[eCommunity1].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eCommunity1].EventTick = GetTickCount();
if (this->CheckWindow(FriendList)) {
this->CloseWindow(FriendList);
}
else {
this->OpenWindow(FriendList);
}
}

else if (IsWorkZone(eSystem1))
{
DWORD Delay = (CurrentTick - this->Data[eSystem1].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eSystem1].OnClick = true;
return;
}
this->Data[eSystem1].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eSystem1].EventTick = GetTickCount();
if (this->CheckWindow(FastMenu)) {
this->CloseWindow(FastMenu);
}
else {
this->OpenWindow(FastMenu);
}
}
}

InterEx.cpp


#include "stdafx.h"
#include "InterEx.h"
#include "Defines.h"
#include "TMemory.h"
#include "import.h"

__declspec(naked) void AGPosition()
{
static float AGPositionW = 61.0f;
static float AGPositionH = 8.0f;
static float AGPositionX = 383.0f;
static float AGPositionY = 431.0f;
static DWORD AGPosition_buff = 0x008102AD;
_asm
{
FLD DWORD PTR DS:[AGPositionW]
FSTP DWORD PTR SS:[EBP-0x18]
FLD DWORD PTR DS:[AGPositionH]
FSTP DWORD PTR SS:[EBP-0x14]
FLD DWORD PTR DS:[AGPositionX]
FSTP DWORD PTR SS:[EBP-0x10]
FLD DWORD PTR DS:[AGPositionY]
FSTP DWORD PTR SS:[EBP-0x0C]
jmp [AGPosition_buff]
}
}
__declspec(naked) void SDPosition()
{
static float SDPositionW = 61.0f;
static float SDPositionH = 8.0f;
static float SDPositionX = 196.0f;
static float SDPositionY = 431.0f;
static DWORD SDPosition_buff = 0x0081057D;
_asm
{
FLD DWORD PTR DS:[SDPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[SDPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
FLD DWORD PTR DS:[SDPositionX]
FSTP DWORD PTR SS:[EBP-0x10]
FLD DWORD PTR DS:[SDPositionY]
FSTP DWORD PTR SS:[EBP-0x0C]
jmp [SDPosition_buff]
}
}
__declspec(naked) void MANAPosition()
{
static float MANAPositionW = 52.0f;
static float MANAPositionX = 448.0f;
static float MANAPositionH = 54.0f;
static float MANAPositionY = 415.0f;
static DWORD MANAPosition_buff = 0x0080FFD0;
_asm
{
FLD DWORD PTR DS:[MANAPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[MANAPositionX]
FSTP DWORD PTR SS:[EBP-0x0C]
FLD DWORD PTR DS:[MANAPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
FLD DWORD PTR DS:[MANAPositionY]
FSTP DWORD PTR SS:[EBP-0x8]
jmp [MANAPosition_buff]
}
}

__declspec(naked) void HPPosition()
{
static float HPPositionW = 51.0f;
static float HPPositionX = 135.0f;
static float HPPositionH = 52.0f;
static float HPPositionY = 414.0f;
static DWORD HPPosition_buff = 0x0080FD7C;
_asm
{
FLD DWORD PTR DS:[HPPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[HPPositionX]
FSTP DWORD PTR SS:[EBP-0x0C]
FLD DWORD PTR DS:[HPPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
FLD DWORD PTR DS:[HPPositionY]
FSTP DWORD PTR SS:[EBP-0x8]
jmp [HPPosition_buff]
}
}

__declspec(naked) void UsingSkillPosition()
{
static float UsingSkillPositionX = 309.8f;
static float UsingSkillPositionY = 442.5f;
static float UsingSkillPositionW = 20.0f;
static float UsingSkillPositionH = 28.0f;
static DWORD UsingSkillPosition_buff = 0x00813900;
_asm
{
FLD DWORD PTR DS:[UsingSkillPositionX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[UsingSkillPositionY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[UsingSkillPositionW]
FSTP DWORD PTR SS:[EBP-0x18]
FLD DWORD PTR DS:[UsingSkillPositionH]
FSTP DWORD PTR SS:[EBP-0x14]
jmp [UsingSkillPosition_buff]
}
}
__declspec(naked) void SkillClickPosition()
{
static float SkillClickPositionX = 310.0f;
static float SkillClickPositionY = 443.0f;
static float SkillClickPositionW = 20.0f;
static float SkillClickPositionH = 27.0f;
static DWORD SkillClickPosition_buff = 0x00812734;
_asm
{
FLD DWORD PTR DS:[SkillClickPositionX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillClickPositionY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillClickPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[SkillClickPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
jmp [SkillClickPosition_buff]
}
}
__declspec(naked) void SkillBarDrawPosition()
{
static float SkillBarDrawPositionX = 222.0f;
static float SkillBarDrawPositionY = 480.0f;
static float SkillBarDrawPositionW = 160.0f;
static float SkillBarDrawPositionH = 38.0f;
static DWORD SkillBarDrawPosition_buff = 0x00812968;
_asm
{
FLD DWORD PTR DS:[SkillBarDrawPositionX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillBarDrawPositionY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillBarDrawPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[SkillBarDrawPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
jmp [SkillBarDrawPosition_buff]
}
}
__declspec(naked) void SkillSwitchDraw()
{
static float SkillSwitchDrawX = 385.0f;
static float SkillSwitchDrawY = 380.0f;
static float SkillSwitchDrawW = 32.0f;
static float SkillSwitchDrawH = 38.0f;
static float SkillSwitchDrawMW = 385.0f;
static DWORD SkillSwitchDraw_buff = 0x008139CA;
_asm
{
FLD DWORD PTR DS:[SkillSwitchDrawX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillSwitchDrawY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillSwitchDrawW]
FSTP DWORD PTR SS:[EBP-0x18]
FLD DWORD PTR DS:[SkillSwitchDrawH]
FSTP DWORD PTR SS:[EBP-0x14]
FLD DWORD PTR DS:[SkillSwitchDrawMW]
FSTP DWORD PTR SS:[EBP-0x24]
jmp [SkillSwitchDraw_buff]
}
}
__declspec(naked) void SkillSwitchClick()
{
static float SkillSwitchDrawX = 385.0f;
static float SkillSwitchDrawY = 380.0f;
static float SkillSwitchDrawW = 32.0f;
static float SkillSwitchDrawH = 38.0f;
static float SkillSwitchDrawMW = 385.0f;
static DWORD SkillSwitchClick_buff = 0x00812D69;
_asm
{
FLD DWORD PTR DS:[SkillSwitchDrawX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillSwitchDrawY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillSwitchDrawW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[SkillSwitchDrawH]
FSTP DWORD PTR SS:[EBP-0x1C]
FLD DWORD PTR DS:[SkillSwitchDrawMW]
FSTP DWORD PTR SS:[EBP-0x14]
jmp [SkillSwitchClick_buff]
}
}
__declspec(naked) void SkillBarra()
{
static float SkillBarraX = 307.0f;
static float SkillBarraY = 436.5f;
static float SkillBarraW = 20.0f;
static float SkillBarraH = 32.0f;
static DWORD SkillBarra_buff = 0x0081379A;
_asm
{
FLD DWORD PTR DS:[SkillBarraX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillBarraY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillBarraW]
FSTP DWORD PTR SS:[EBP-0x18]
FLD DWORD PTR DS:[SkillBarraH]
FSTP DWORD PTR SS:[EBP-0x14]
jmp [SkillBarra_buff]
}
}
__declspec(naked) void QPosition1()
{
static float BarNumberY = 455.0f;
static DWORD QPosition1_buff = 0x00895A4F;
_asm
{
FLD DWORD PTR DS:[BarNumberY]
FSTP DWORD PTR SS:[ESP]
jmp [QPosition1_buff]
}
}
__declspec(naked) void QPosition2()
{
static float QPosition2X = 222.0f;
static DWORD QPosition2_buff = 0x00895A59;
_asm
{
FLD DWORD PTR DS:[QPosition2X]
FSTP DWORD PTR SS:[ESP]
jmp [QPosition2_buff]
}
}
__declspec(naked) void QPosition3()
{
static float BarPotionY = 446.0f;
static DWORD QPosition3_buff = 0x00895A63;
_asm
{
FLD DWORD PTR DS:[BarPotionY]
FSTP DWORD PTR SS:[ESP]
jmp [QPosition3_buff]
}
}
__declspec(naked) void QPosition4()
{
static float QPosition4X = 204.0f;
static DWORD QPosition4_buff = 0x00895A6D;
_asm
{
FLD DWORD PTR DS:[QPosition4X]
FSTP DWORD PTR SS:[ESP]
jmp [QPosition4_buff]
}
}
__declspec(naked) void WPosition1()
{
static float BarNumberY = 455.0f;
static DWORD WPosition1_buff = 0x00895AC4;
_asm
{
FLD DWORD PTR DS:[BarNumberY]
FSTP DWORD PTR SS:[ESP]
jmp [WPosition1_buff]
}
}
__declspec(naked) void WPosition2()
{
static float WPosition2X = 249.0f;
static DWORD WPosition2_buff = 0x00895ACE;
_asm
{
FLD DWORD PTR DS:[WPosition2X]
FSTP DWORD PTR SS:[ESP]
jmp [WPosition2_buff]
}
}
__declspec(naked) void WPosition3()
{
static float BarPotionY = 446.0f;
static DWORD WPosition3_buff = 0x00895AD8;
_asm
{
FLD DWORD PTR DS:[BarPotionY]
FSTP DWORD PTR SS:[ESP]
jmp [WPosition3_buff]
}
}
__declspec(naked) void WPosition4()
{
static float WPosition4X = 231.0f;
static DWORD WPosition4_buff = 0x00895AE2;
_asm
{
FLD DWORD PTR DS:[WPosition4X]
FSTP DWORD PTR SS:[ESP]
jmp [WPosition4_buff]
}
}
__declspec(naked) void EPosition1()
{
static float BarNumberY = 455.0f;
static DWORD EPosition1_buff = 0x00895B39;
_asm
{
FLD DWORD PTR DS:[BarNumberY]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition1_buff]
}
}
__declspec(naked) void EPosition2()
{
static float EPosition2X = 275.0f;
static DWORD EPosition2_buff = 0x00895B43;
_asm
{
FLD DWORD PTR DS:[EPosition2X]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition2_buff]
}
}
__declspec(naked) void EPosition3()
{
static float BarPotionY = 446.0f;
static DWORD EPosition3_buff = 0x00895B4D;
_asm
{
FLD DWORD PTR DS:[BarPotionY]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition3_buff]
}
}
__declspec(naked) void EPosition4()
{
static float EPosition4X = 257.0f;
static DWORD EPosition4_buff = 0x00895B57;
_asm
{
FLD DWORD PTR DS:[EPosition4X]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition4_buff]
}
}
_declspec(naked) void RPosition1()
{
static float BarNumberY = 455.0f;
static DWORD EPosition1_buff = 0x00895BAE;
_asm
{
FLD DWORD PTR DS:[BarNumberY]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition1_buff]
}
}
__declspec(naked) void RPosition2()
{
static float RPosition2X = 301.0f;
static DWORD RPosition2_buff = 0x00895BB8;
_asm
{
FLD DWORD PTR DS:[RPosition2X]
FSTP DWORD PTR SS:[ESP]
jmp [RPosition2_buff]
}
}
__declspec(naked) void RPosition3()
{
static float BarPotionY = 446.0f;
static DWORD RPosition3_buff = 0x00895BC2;
_asm
{
FLD DWORD PTR DS:[BarPotionY]
FSTP DWORD PTR SS:[ESP]
jmp [RPosition3_buff]
}
}
__declspec(naked) void RPosition4()
{
static float RPosition4X = 283.0f;
static DWORD RPosition4_buff = 0x00895BCC;
_asm
{
FLD DWORD PTR DS:[RPosition4X]
FSTP DWORD PTR SS:[ESP]
jmp [RPosition4_buff]
}
}

__declspec(naked) void AGNumberPosition()
{
static float AGNumberPositionX = 35.0f;
static DWORD AGNumberPosition_buff = 0x0081037F;
_asm
{
FADD DWORD PTR DS:[AGNumberPositionX]
FSTP DWORD PTR SS:[EBP-0x154]
FLD DWORD PTR SS:[EBP-0x154]
jmp [AGNumberPosition_buff]
}
}

__declspec(naked) void SDNumberPosition()
{
static float SDNumberPositionX = 35.0f;
static DWORD SDNumberPosition_buff = 0x0081064F;
_asm
{
FADD DWORD PTR DS:[SDNumberPositionX]
FSTP DWORD PTR SS:[EBP-0x154]
FLD DWORD PTR SS:[EBP-0x154]
jmp [SDNumberPosition_buff]
}
}

__declspec(naked) void HPNumberPosition()
{
static float HPNumberPositionX = 30.0f;
static DWORD HPNumberPosition_buff = 0x0080FF1E;
_asm
{
FADD DWORD PTR DS:[HPNumberPositionX]
FSTP DWORD PTR SS:[EBP-0x19C]
FLD DWORD PTR SS:[EBP-0x19C]
jmp [HPNumberPosition_buff]
}
}

__declspec(naked) void HPNumberPosition2()
{
static float HPNumberPositionY = 450.0f;
static DWORD HPNumberPosition2_buff = 0x0080FF0F;
_asm
{
FLD DWORD PTR DS:[HPNumberPositionY]
FSTP DWORD PTR SS:[ESP]
FLD DWORD PTR SS:[EBP-0xC]
jmp [HPNumberPosition2_buff]
}
}

__declspec(naked) void MANANumberPosition()
{
static float MANANumberPositionX = 25.0f;
static DWORD MANANumberPosition_buff = 0x008100B1;
_asm
{
FADD DWORD PTR DS:[MANANumberPositionX]
FSTP DWORD PTR SS:[EBP-0x1AC]
FLD DWORD PTR SS:[EBP-0x1AC]
jmp [MANANumberPosition_buff]
}
}
//EXP
__declspec(naked) void EXP1()
{
static float EXP1 = 92.0f;
static DWORD EXP1_buff = 0x008113E4;
_asm
{
FLD DWORD PTR DS:[EXP1]
FSTP QWORD PTR SS:[EBP-0x10]
jmp [EXP1_buff]
}
}

__declspec(naked) void EXP2()
{
static float EXP2 = 92.0f;
static DWORD EXP2_buff = 0x0081152E;
_asm
{
FLD DWORD PTR DS:[EXP2]
FSTP QWORD PTR SS:[EBP-0x10]
jmp [EXP2_buff]
}
}

__declspec(naked) void EXP3()
{
static float EXP3 = 92.0f;
static DWORD EXP3_buff = 0x008116F5;
_asm
{
FLD DWORD PTR DS:[EXP3]
FSTP QWORD PTR SS:[EBP-0x10]
jmp [EXP3_buff]
}
}

__declspec(naked) void EXP4()
{
static float EXP4 = 92.0f;
static DWORD EXP4_buff = 0x008117FE;
_asm
{
FLD DWORD PTR DS:[EXP4]
FSTP QWORD PTR SS:[EBP-0x10]
jmp [EXP4_buff]
}
}

//EXP MASTER
__declspec(naked) void EXPMASTER1()
{
static float EXPMASTER1 = 92.0f;
static DWORD EXPMASTER1_buff = 0x00810B4D;
_asm
{
FLD DWORD PTR DS:[EXPMASTER1]
FSTP QWORD PTR SS:[EBP-0x10]
jmp [EXPMASTER1_buff]
}
}

__declspec(naked) void EXPMASTER2()
{
static float EXPMASTER2 = 92.0f;
static DWORD EXPMASTER2_buff = 0x00810C91;
_asm
{
FLD DWORD PTR DS:[EXPMASTER2]
FSTP QWORD PTR SS:[EBP-0x10]
jmp [EXPMASTER2_buff]
}
}

__declspec(naked) void EXPMASTER3()
{
static float EXPMASTER3 = 92.0f;
static DWORD EXPMASTER3_buff = 0x00810E58;
_asm
{
FLD DWORD PTR DS:[EXPMASTER3]
FSTP QWORD PTR SS:[EBP-0x10]
jmp [EXPMASTER3_buff]
}
}

__declspec(naked) void EXPMASTER4()
{
static float EXPMASTER4 = 92.0f;
static DWORD EXPMASTER4_buff = 0x00810F55;
_asm
{
FLD DWORD PTR DS:[EXPMASTER4]
FSTP QWORD PTR SS:[EBP-0x10]
jmp [EXPMASTER4_buff]
}
}

__declspec(naked) void SDScale()
{
static DWORD SDScale_buff = 0x008105F9;
static double Alto = 16.0f;
static double Ancho = 64.0f;
_asm
{
FMUL DWORD PTR SS:[EBP-0x1C]
FDIV QWORD PTR DS:[Alto]
FSTP DWORD PTR SS:[EBP-0x148]
FLD DWORD PTR SS:[EBP-0x148]
PUSH ECX
FSTP DWORD PTR SS:[ESP]
FLD DWORD PTR SS:[EBP-0x20]
FDIV QWORD PTR DS:[Ancho]
FSTP DWORD PTR SS:[EBP-0x14C]
FLD DWORD PTR SS:[EBP-0x14C]
PUSH ECX
FSTP DWORD PTR SS:[ESP]
FLD DWORD PTR SS:[EBP-0x8]
FMUL DWORD PTR SS:[EBP-0x1C]
FDIV QWORD PTR DS:[Alto]
FSTP DWORD PTR SS:[EBP-0x150]
FLD DWORD PTR SS:[EBP-0x150]
jmp [SDScale_buff]
}
}

__declspec(naked) void AGScale()
{
static DWORD AGScale_buff = 0x00810329;
static double Alto = 16.0f;
static double Ancho = 64.0f;
_asm
{
FMUL DWORD PTR SS:[EBP-0x14]
FDIV QWORD PTR DS:[Alto]
FSTP DWORD PTR SS:[EBP-0x148]
FLD DWORD PTR SS:[EBP-0x148]
PUSH ECX
FSTP DWORD PTR SS:[ESP]
FLD DWORD PTR SS:[EBP-0x18]
FDIV QWORD PTR DS:[Ancho]
FSTP DWORD PTR SS:[EBP-0x14C]
FLD DWORD PTR SS:[EBP-0x14C]
PUSH ECX
FSTP DWORD PTR SS:[ESP]
FLD DWORD PTR SS:[EBP-0x8]
FMUL DWORD PTR SS:[EBP-0x14]
FDIV QWORD PTR DS:[Alto]
FSTP DWORD PTR SS:[EBP-0x150]
FLD DWORD PTR SS:[EBP-0x150]
jmp [AGScale_buff]
}
}

void InitInterEx()
{
SetRange((LPVOID)0x0080F270, 0x4D1, ASM::NOP);//-> Interface -> Draw Button
//-
SetRange((LPVOID)0x0081028C, 0x24, ASM::NOP);
SetOp((LPVOID)0x0081028C, (LPVOID)AGPosition, ASM::JMP);
//-
SetRange((LPVOID)0x0081055C, 0x24, ASM::NOP);
SetOp((LPVOID)0x0081055C, (LPVOID)SDPosition, ASM::JMP);
//-
SetRange((LPVOID)0x0080FFAF, 0x24, ASM::NOP);
SetOp((LPVOID)0x0080FFAF, (LPVOID)MANAPosition, ASM::JMP);
//-
SetRange((LPVOID)0x0080FD5B, 0x24, ASM::NOP);
SetOp((LPVOID)0x0080FD5B, (LPVOID)HPPosition, ASM::JMP);
//-
SetRange((LPVOID)0x008138DF, 0x24, ASM::NOP);
SetOp((LPVOID)0x008138DF, (LPVOID)UsingSkillPosition, ASM::JMP);
//-
SetRange((LPVOID)0x00812713, 0x24, ASM::NOP);
SetOp((LPVOID)0x00812713, (LPVOID)SkillClickPosition, ASM::JMP);
//-
SetRange((LPVOID)0x00812947, 0x24, ASM::NOP);
SetOp((LPVOID)0x00812947, (LPVOID)SkillBarDrawPosition, ASM::JMP);
//-
SetRange((LPVOID)0x008139A0, 0x2D, ASM::NOP);
SetOp((LPVOID)0x008139A0, (LPVOID)SkillSwitchDraw, ASM::JMP);
//-
SetRange((LPVOID)0x00812D3F, 0x2D, ASM::NOP);
SetOp((LPVOID)0x00812D3F, (LPVOID)SkillSwitchClick, ASM::JMP);
//-
SetRange((LPVOID)0x00813779, 0x24, ASM::NOP);
SetOp((LPVOID)0x00813779, (LPVOID)SkillBarra, ASM::JMP);
//-
SetRange((LPVOID)0x00810373, 0x12, ASM::NOP);
SetOp((LPVOID)0x00810373, (LPVOID)AGNumberPosition, ASM::JMP);
//-
SetRange((LPVOID)0x00810643, 0x12, ASM::NOP);
SetOp((LPVOID)0x00810643, (LPVOID)SDNumberPosition, ASM::JMP);
//-
SetRange((LPVOID)0x0080FF12, 0x12, ASM::NOP);
SetOp((LPVOID)0x0080FF12, (LPVOID)HPNumberPosition, ASM::JMP);
//-
SetRange((LPVOID)0x00810B50, 0x12, ASM::NOP);
SetOp((LPVOID)0x00810B50, (LPVOID)MANANumberPosition, ASM::JMP);
//->Q
SetRange((LPVOID)0x00895A49, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895A49, (LPVOID)QPosition1, ASM::JMP);
//-
SetRange((LPVOID)0x00895A53, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895A53, (LPVOID)QPosition2, ASM::JMP);
//-
SetRange((LPVOID)0x00895A5D, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895A5D, (LPVOID)QPosition3, ASM::JMP);
//-
SetRange((LPVOID)0x00895A67, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895A67, (LPVOID)QPosition4, ASM::JMP);
//->W
SetRange((LPVOID)0x00895ABE, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895ABE, (LPVOID)WPosition1, ASM::JMP);
//-
SetRange((LPVOID)0x00895AC8, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895AC8, (LPVOID)WPosition2, ASM::JMP);
//-
SetRange((LPVOID)0x00895AD2, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895AD2, (LPVOID)WPosition3, ASM::JMP);
//-
SetRange((LPVOID)0x00895ADC, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895ADC, (LPVOID)WPosition4, ASM::JMP);
//-
//->E
SetRange((LPVOID)0x00895B33, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895B33, (LPVOID)EPosition1, ASM::JMP);
//-
SetRange((LPVOID)0x00895B3D, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895B3D, (LPVOID)EPosition2, ASM::JMP);
//-
SetRange((LPVOID)0x00895B47, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895B47, (LPVOID)EPosition3, ASM::JMP);
//-
SetRange((LPVOID)0x00895B51, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895B51, (LPVOID)EPosition4, ASM::JMP);
//-R
SetRange((LPVOID)0x00895BA8, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895BA8, (LPVOID)RPosition1, ASM::JMP);
//-
SetRange((LPVOID)0x00895BB2, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895BB2, (LPVOID)RPosition2, ASM::JMP);
//-
SetRange((LPVOID)0x00895BBC, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895BBC, (LPVOID)RPosition3, ASM::JMP);
//-
SetRange((LPVOID)0x00895BC6, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895BC6, (LPVOID)RPosition4, ASM::JMP);
//EXP
SetRange((LPVOID)0x008113DE, 0x9, ASM::NOP);
SetOp((LPVOID)0x008113DE, (LPVOID)EXP1, ASM::JMP);
SetRange((LPVOID)0x00811528, 0x9, ASM::NOP);
SetOp((LPVOID)0x00811528, (LPVOID)EXP2, ASM::JMP);
SetRange((LPVOID)0x008116EF, 0x9, ASM::NOP);
SetOp((LPVOID)0x008116EF, (LPVOID)EXP3, ASM::JMP);
SetRange((LPVOID)0x008117F8, 0x9, ASM::NOP);
SetOp((LPVOID)0x008117F8, (LPVOID)EXP4, ASM::JMP);

//EXPMASTER
SetRange((LPVOID)0x00810B47, 0x9, ASM::NOP);
SetOp((LPVOID)0x00810B47, (LPVOID)EXPMASTER1, ASM::JMP);
SetRange((LPVOID)0x00810C8B, 0x9, ASM::NOP);
SetOp((LPVOID)0x00810C8B, (LPVOID)EXPMASTER2, ASM::JMP);
SetRange((LPVOID)0x00810E52, 0x9, ASM::NOP);
SetOp((LPVOID)0x00810E52, (LPVOID)EXPMASTER3, ASM::JMP);
SetRange((LPVOID)0x00810F4F, 0x9, ASM::NOP);
SetOp((LPVOID)0x00810F4F, (LPVOID)EXPMASTER4, ASM::JMP);

//Posicion Numero HPMANAetc
SetFloat((PVOID)(0x00D461A4), 430);
//Posicion Exp
SetDouble((PVOID)(0x00D461C8), 450);
//Posicion Numero Exp
SetDouble((PVOID)(0x00D461C0), 572);
//Tamaño numeros general (Prueba)
SetDouble((PVOID)(0x00D27AF8), 0.400000011920929);

SetRange((LPVOID)0x008105AF, 5, ASM::NOP);
SetJmp((LPVOID)0x008105AF, SDScale);
SetRange((LPVOID)0x008102DF, 5, ASM::NOP);
SetJmp((LPVOID)0x008102DF, AGScale);
}

SetDword(0x004D9746+3,480);
fix desabilita o black background compartilhado pela LTPTeam

Link da source:
[Only registered and activated users can see links]

Mentor
21/05/2019, 07:57 AM
Muito interessante! Irei tentar adicionar isso na minha fonte Season6 para ver se vai dar certo :D

jorge28
21/05/2019, 06:17 PM
Muito interessante! Irei tentar adicionar isso na minha fonte Season6 para ver se vai dar certo :D


funciona bien, yo se la agrege a un conocido xd

megaman
21/05/2019, 06:44 PM
que bueno jorge28 :ott, voy a intentar añadir esto también nos ayuda con las dudas que surjan thumbup

Mentor
21/05/2019, 11:34 PM
Fiz uma tentativa aqui, mais o negocio ficou embaçado kkkkkkkk

[Only registered and activated users can see links]

É ta melhorando, tinha esquecido de adicionar o InitInterEx(); no main cpp lol

[Only registered and activated users can see links]

Alguns botoes ainda está dando crash, e tentar arrumar esse bg ai que ta feiao caso eu consiga deixar 100% vou deixar aqui um tutorial para quem quiser adicionar na source de vocês, o Kapocha foi muito gente boa para liberar esses códigos :)

-------------
BG 90% fixado, exceto quando abre o inventario ainda fica mostrando uma parte escura.

[Only registered and activated users can see links]

[Only registered and activated users can see links]

Em algumas skill quando selecionadas também fica com essa borda branca

[Only registered and activated users can see links]

SCFMT
20/06/2019, 03:24 PM
some one have offsets for 1.04d ?

megaman
09/09/2019, 04:47 PM
[Only registered and activated users can see links]


[Only registered and activated users can see links]

em Interface.cpp exclua isso ..
[Only registered and activated users can see links]

e adicionamos tudo isso ..

Interface.cpp

pLoadImage("Interface\\GFx\\Main_Skillbox.tga", 51500, GL_LINEAR, GL_CLAMP, 1, 0);

InterEx.cpp

__declspec(naked) void BoxPoderes()
{
static DWORD BoxPoderes_buff = 0x00813885;
_asm
{
PUSH 0xc92c
jmp [BoxPoderes_buff]
}
}

__declspec(naked) void BoxPoderes2()
{
static float TexY = 32.000f;
static float TexX = 38.000f;
static DWORD BoxPoderes2_buff = 0x00813880;
_asm
{
PUSH ECX
FLD DWORD PTR SS:[TexX]
FSTP DWORD PTR SS:[ESP]
PUSH ECX
FLD DWORD PTR SS:[TexY]
FSTP DWORD PTR SS:[ESP]
PUSH ECX
FLD DWORD PTR SS:[EBP-0x4]
FSTP DWORD PTR SS:[ESP]
PUSH ECX
FLD DWORD PTR SS:[EBP-0x8]
FSTP DWORD PTR SS:[ESP]
jmp [BoxPoderes2_buff]
}
}

//
SetRange((LPVOID)0x00813880, 5, ASM::NOP);
SetOp((LPVOID)0x00813880, (LPVOID)BoxPoderes, ASM::JMP);
SetRange((LPVOID)0x00813864, 5, ASM::NOP);
SetOp((LPVOID)0x00813864, (LPVOID)BoxPoderes2, ASM::JMP);



Segue a correção para não mostrar o fundo preto ao abrir o inventário etc.


[Only registered and activated users can see links]

InterEx.cpp


SetDword((PVOID)(0x005C7281 + 3), 640); //<-Opcional
SetDword((PVOID)(0x005C72BD + 3), 640); //<-Opcional
SetDword((PVOID)(0x005C6F65 + 3), 640); //<-Opcional
SetDword((PVOID)(0x005C7304 + 3), 640); //<-Opcional
SetDword((PVOID)(0x005C72FB + 3), 640); //<-Opcional
SetDword((PVOID)(0x005C7322 + 3), 640); //<-Opcional
SetDword((PVOID)(0x005C6FB0 + 3), 640); //<-Opcional
SetDword((PVOID)(0x005C6FE6 + 3), 640); //<-Opcional

É opcional porque, ao aplicar o personagem, fica atrás do menu, porque o que faz é deslocar a câmera para o lado, de modo que uma barra preta seja formada exatamente como a parte inferior.
Se não fosse por esse detalhe seria perfeito.


Créditos:
kapocha3

Marceliin
09/09/2019, 06:10 PM
tem como postar essa source adaptada ao main do louis update 13?

Mentor
09/09/2019, 07:03 PM
Show de bola! Era desses fix que eu estava precisando :ott :pepsi

alefmello16
10/09/2019, 08:55 AM
Show de bola! Era desses fix que eu estava precisando :ott :pepsi


oi mentor voce poderia posta um video no seu canal de youtube ensinando básico de mexe em sounce de mu ???

Mentor
10/09/2019, 08:59 AM
Blz alefmello16 assim que eu tiver um tempo e um pc melhorzinho eu faço uns vídeo para explicar o básico mesmo pois não sou programador, mas pelo menos mostrar como utilizar algumas fontes postadas a adicionar nessa fonte da muemu.

tanhamon
14/09/2019, 11:25 PM
[Only registered and activated users can see links]

por favor cria para a gente esse tutorial :)