Most visitors online was 8830 , on 6 Feb 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!-=DarkSim=- sorry ! I will not C++ programming , so you need the file , you can upload main and DLL do ? Thank youkksky
- What files? I post source of "decompilition", what need more?
@-=DarkSim=- sorry ! I will not C++ programming , so you need the file , you can upload main and DLL do ? Thank you
Oh ~ ! I understand , I really like this HP bar style, I hope you next version update this HP bar-=DarkSim=- will not share the source of your custom bar code life monsters (ex700 style), he only shared decompiled src of the original life bar of the characters in Party (into the game), It makes no sense that you hook one. DLL with this function as this, because it would make any changes. can you understand me?
PS: Sorry for my very bad English.
SetOp((LPVOID)0x005B96E8, (LPVOID)DrawPartyHP, 0xE8/*ASM::CALL*/);
void hpdrawbar()
{
SetOp((LPVOID)0x005B96E8, (LPVOID)DrawPartyHP, 0xE8/*ASM::CALL*/);
}
void __usercall sub_602B50(int a1@<ebp>, float a2@<edi>, signed int a3@<esi>)
{
int v3; // ecx@1
void (__stdcall *v4)(_DWORD, _DWORD, _DWORD); // ebx@2
_UNKNOWN *v5; // ebp@3
signed int v6; // eax@4
int v7; // eax@5
bool v8; // sf@5
unsigned __int8 v9; // of@5
int v10; // eax@12
LONG v11; // eax@12
LONG v12; // eax@12
float v13; // ST28_4@13
float v14; // ST24_4@13
float v15; // ST34_4@13
float v16; // ST30_4@13
float v17; // ST34_4@13
float v18; // ST30_4@13
signed int v19; // edi@14
signed int i; // esi@16
float v21; // ST28_4@17
float v22; // ST24_4@17
float v23; // [sp+34h] [bp-90h]@3
signed int v24; // [sp+38h] [bp-8Ch]@3
int v25; // [sp+3Ch] [bp-88h]@3
int v26; // [sp+44h] [bp-80h]@5
int v27; // [sp+48h] [bp-7Ch]@5
int v28; // [sp+4Ch] [bp-78h]@2
int v29; // [sp+50h] [bp-74h]@13
int v30; // [sp+54h] [bp-70h]@5
int v31; // [sp+58h] [bp-6Ch]@5
int v32; // [sp+5Ch] [bp-68h]@5
CHAR String; // [sp+60h] [bp-64h]@9
v3 = dword_7A27B10;
if ( dword_7A27B10 > 0 )
{
v4 = *(void (__stdcall **)(_DWORD, _DWORD, _DWORD))glColor3f;
v28 = 0;
if ( dword_7A27B10 > 0 )
{
v25 = a1;
v24 = a3;
v23 = a2;
v5 = &unk_7960D40;
do
{
v6 = *((_DWORD *)v5 + 1);
if ( v6 > -1 )
{
v7 = dword_754F4BC + 1156 * v6;
v30 = *(_DWORD *)(v7 + 16);
v31 = *(_DWORD *)(v7 + 20);
*(float *)&v32 = *(float *)(v7 + 364) + *(float *)(v7 + 24) + flt_7B3704;
sub_6B7DE4((int)&v30, (int)&v26, (int)&v27);
v9 = __OFSUB__(dword_7EB37E4, v26 - 19);
v8 = dword_7EB37E4 - (v26 - 19) < 0;
v26 -= 19;
if ( !(v8 ^ v9)
&& (double)v26 + flt_7B5548 > (double)dword_7EB37E4
&& dword_7EB37E0 >= v27 - 2
&& dword_7EB37E0 < v27 + 6 )
{
sub_791B10((int)&String, (unsigned __int8 *)"HP : %d0%%", *(_BYTE *)v5);
dword_7D4C88 = -2955521;
if ( &String && strlen(&String) != 0 )
sub_4866FB(v26, v27 - 6, &String, 0, 0, 1, 0, 640);
v10 = lstrlenA(&String);
GetTextExtentPointA(hdc, &String, v10, &sz);
sub_79191C((double)*(signed int *)&sz / flt_587786C);
sz.cx = v11;
sub_79191C((double)(signed int)sz.cy / flt_5877870);
sz.cy = v12;
}
sub_6B8239(1);
glColor4f(0.0, 0.0, 0.0, 0.5);
v13 = (double)(v27 + 1);
v29 = v26 + 1;
v14 = (double)(v26 + 1);
sub_6B96C4(v14, v13, 42.0, 5.0);
sub_6B82D4();
((void (__stdcall *)(signed int, _DWORD, _DWORD, _DWORD, signed int, int))v4)(
1045220557,
0,
0,
LODWORD(v23),
v24,
v25);
v15 = (double)v30;
v16 = (double)v29;
sub_6B96C4(v16, v15, 42.0, 5.0);
v4(1044957385, 1025548449, 0);
v32 = v29 + 2;
v17 = (double)(v30 + 2);
v18 = (double)(v29 + 2);
sub_6B96C4(v18, v17, 38.0, 1.0);
if ( *(_BYTE *)v5 <= 0xAu )
v19 = *(_BYTE *)v5;
else
v19 = 10;
v25 = 0;
v24 = 1025548449;
v23 = 0.98039216;
((void (*)(void))v4)();
for ( i = 0; i < v19; ++i )
{
v29 = v26 + 4 * i + 2;
v21 = (double)(v27 + 2);
v22 = (double)v29;
sub_6B96C4(v22, v21, 3.0, 2.0);
}
sub_6B81BA();
v3 = dword_7A27B10;
}
v5 = (char *)v5 + 36;
++v28;
}
while ( v28 < v3 );
}
sub_6B81BA();
v4(1065353216, 1065353216, 1065353216);
}
}