Newbie Spellweaver
- Joined
- Mar 21, 2016
- Messages
- 14
- Reaction score
- 53
you can implement the system Zteam cashop of these source ?
This is source... you can do everything you imagine!
But you want to try this!!!
just edit the zyth3 cash shop editor source to work with muemuI tested something but the edition of cashop not understand
s8 Illusion Temple required some function decomp for 0xBF headcode i think
int CIllusionTempleEvent::Enter(int aIndex,BYTE Temple,BYTE Pos){
if( g_bIllusionTemple == FALSE )
{
return FALSE;
}
if( IT_TEMPLE_RANGE(Temple) == FALSE )
{
return FALSE;
}
LPOBJ lpObj = &gObj[aIndex];
PMSG_ILLUSIONTEMPLE_ENTER_RESULT pMsg;
PHeadSubSetB((LPBYTE)&pMsg,[COLOR=#ff0000]0xBF[/COLOR],0,sizeof( pMsg ));
pMsg.result = 0;
if( lpObj->Type != OBJ_USER || lpObj->Connected <= PLAYER_LOGGED )
{
return FALSE;
}
if ( lpObj->m_IfState.use != 0 && lpObj->m_IfState.type != 12 )
{
return FALSE;
}
if ( lpObj->m_bPShopOpen == TRUE )
{
CGPShopReqClose(lpObj->m_Index);
}
int bFail = FALSE;
int iLevel;
int iSerial;
struct PSBMSG_HEAD
{
void set(BYTE head,BYTE subh,BYTE size) // OK
{
this->type = [COLOR=#ff0000]0xC1[/COLOR];
this->size = size;
this->head = head;
this->subh = subh;
}
this should be taken to look at the source code or emu, although the figure Zteam 0xBF in figure MuEmu other value ... would be a matter of looking at the code because technically the event works the failure of the code may not match SEND<->RECEIVED packages
ZTEAM
Code:int CIllusionTempleEvent::Enter(int aIndex,BYTE Temple,BYTE Pos){ if( g_bIllusionTemple == FALSE ) { return FALSE; } if( IT_TEMPLE_RANGE(Temple) == FALSE ) { return FALSE; } LPOBJ lpObj = &gObj[aIndex]; PMSG_ILLUSIONTEMPLE_ENTER_RESULT pMsg; PHeadSubSetB((LPBYTE)&pMsg,[COLOR=#ff0000]0xBF[/COLOR],0,sizeof( pMsg )); pMsg.result = 0; if( lpObj->Type != OBJ_USER || lpObj->Connected <= PLAYER_LOGGED ) { return FALSE; } if ( lpObj->m_IfState.use != 0 && lpObj->m_IfState.type != 12 ) { return FALSE; } if ( lpObj->m_bPShopOpen == TRUE ) { CGPShopReqClose(lpObj->m_Index); } int bFail = FALSE; int iLevel; int iSerial;
Original MuEmu
Code:struct PSBMSG_HEAD { void set(BYTE head,BYTE subh,BYTE size) // OK { this->type = [COLOR=#ff0000]0xC1[/COLOR]; this->size = size; this->head = head; this->subh = subh; }
and s9struct PMSG_ILLUSION_TEMPLE_ENTER_SEND
{
PSBMSG_HEAD header; // C1:BF:00
BYTE result;
};
also header change tostruct _ITR_AcceptEnter {
/*<thisrel this+0x0>*/ /*|0x4|*/ struct PBMSG_HEAD2 h;
/*<thisrel this+0x4>*/ /*|0x1|*/ unsigned char byError;
/*<thisrel this+0x5>*/ /*|0xb|*/ char Name[11];
}
0xBF,0x70 size 16
Where is unpacked eX803 main? As i remember, MueMU added it to project packege.
*Fix Full Server
*Fix License JS<->GS
*Fix ObjectManager DelAcc/AddAcc Main<->GS
*Optimized Code GameServer Low Consume Ram 34mb
*15K Monster
*Fix Join Local
How do you build the main.exe file? Or do we just use the original one from the release?
I only found main.dll