[Release] Source New Wings 97d

djagripnos

Banned
Joined
Jun 10, 2012
Messages
566
Reaction score
132
main 0.97D

//=======================================
//-- New Wings Main
//=======================================
*(BYTE*)(0x00503A55+2) = 0x20;
*(BYTE*)(0X00503B16+2) = 0x20;.

Game Server

//=======================================
//-- New Wings Gameserver Visual Bug In Game
//=======================================

void ReadygObjMakePreviewCharSet()
{
_asm
{
pushad
mov eax,0x00402068+1
mov ecx,offset gObjMakePreviewCharSetEx
sub ecx,0x00402068+5
mov [eax],ecx
popad
}
}

void gObjMakePreviewCharSetEx(int aIndex)
{
gObjMakePreviewCharSet(aIndex);

OBJECTSTRUCT *lpObj = (OBJECTSTRUCT*)OBJECT_POINTER(aIndex);

switch(lpObj->pInventory[7].m_Type)
{
case 0x194: /* Wing of Illusion */
break;
case 0x195: /* Wing of Space-Time */
break;
case 0x196: /* Wing of Storm */
break;
case 0x197: /* Wings of Downcast */
break;
case 0x198: /* Wing of Life[Ex702] */
break;
case 0x199: /* Wing of Chaos[Ex702] */
break;
case 0x19A: /* Wing of Power[Ex702] */
break;
}
}
 

Scott_ADm

New Member
Joined
Sep 18, 2010
Messages
9
Reaction score
7
For 0.99.62T

//=======================================
//-- New Wings Main
//=======================================
*(BYTE*)(0x005E4827+2) = 0x20;
*(BYTE*)(0x005E48E8+2) = 0x20;


void ReadygObjMakePreviewCharSet()
{
_asm
{
pushad
mov eax,0x004036FC+1
mov ecx,offset gObjMakePreviewCharSetEx
sub ecx,0x004036FC+5
mov [eax],ecx
popad
}
}


void gObjMakePreviewCharSetEx(int aIndex)
{
gObjMakePreviewCharSet(aIndex);


OBJECTSTRUCT *lpObj = (OBJECTSTRUCT*)OBJECT_POINTER(aIndex);


switch(lpObj->pInventory[7].m_Type)
{
case 0x194: /* Wing of Illusion */
break;
case 0x195: /* Wing of Space-Time */
break;
case 0x196: /* Wing of Storm */
break;
case 0x197: /* Wings of Downcast */
break;
case 0x198: /* Wing of Life[Ex702] */
break;
case 0x199: /* Wing of Chaos[Ex702] */
break;
case 0x19A: /* Wing of Power[Ex702] */
break;
}
}​
 

mauri23

Member
Joined
Apr 25, 2012
Messages
36
Reaction score
27
I suppose this is a basic C++ code for compiling .dll and hooking in to gameserver, so it should read new wings successfully. But that code for main, isn't in C... People who don't have knowledge about this, won't find anything useful here :/