Hi all.
who can share fix 3rd class zen drop ?
Printable View
Hi all.
who can share fix 3rd class zen drop ?
How to get source?
Who can share GMO Login Protocol. We've just finished connect. But have some troubles with login. 1.03B client Season 5.4
Here you go. =)Quote:
struct PMSG_IDPASS
{
PBMSG_HEAD h;
BYTE subcode; // 3
char Id[10]; // 4
char Pass[20]; // E // 20 for GMO
DWORD TickCount; // 18
BYTE CliVersion[5]; // 1C
BYTE CliSerial[16]; // 21
};
useless
someone who has disassembled the gameserver .90 could release CBuffManager :: InsertEffect (First function. cpp)
Here you go, I hope it will help.Quote:
BOOL CBuffManager::InsertEffect(LPOBJ lpObj, int iEffectIndex, BYTE btEffectType1, BYTE btEffectType2, int iValue1, int iValue2, int iDuration) //0063ECE0
{
LPBUFF_EFFECT_DATA pEffectIndex = 0; //loc2
LPBUFF_EFFECT_DATA pEffectIndex2 = 0; //loc3
int loc4 = 0;
int loc5 = 0;
int loc6 = 0;
if(lpObj == NULL)
{
return -1;
}
if(lpObj->Connected < PLAYER_PLAYING)
{
return -1;
}
if(g_BuffEffect.IsValidIndex(iEffectIndex) == FALSE)
{
return -1;
}
pEffectIndex = g_BuffEffect.GetBuffData(iEffectIndex);
if(pEffectIndex == NULL)
{
return -1;
}
for(int i = 0; i < MAX_STATE_COUNT; i++)
{
if( lpObj->m_BuffEffectState[i].btBuffIndex != NULL )
{
pEffectIndex2 = g_BuffEffect.GetBuffData(lpObj->m_BuffEffectState[i].btBuffIndex);
if(pEffectIndex2 == NULL) //season4 add-on (wz fix)
{
continue;
}
if(pEffectIndex2->btViewPortIndex == pEffectIndex->btViewPortIndex )
{
this->ClearEffect(lpObj,lpObj->m_BuffEffectState[i].btBuffIndex);
loc6 = pEffectIndex2->btIndex;
}
if(pEffectIndex2->btType == 0)
{
loc4 +=1;
}
else if(pEffectIndex2->btType == 1)
{
loc5 += 1;
}
if(i > lpObj->m_btViewStateCount)
{
break;
}
}
}
for( i = 0; i < MAX_STATE_COUNT; i++)
{
if(lpObj->m_BuffEffectState[i].btBuffIndex == NULL)
{
lpObj->m_BuffEffectState[i].btBuffIndex = iEffectIndex;
lpObj->m_BuffEffectState[i].btVpIndex = pEffectIndex->btViewPortIndex;
lpObj->m_BuffEffectState[i].btEffectType1 = btEffectType1;
lpObj->m_BuffEffectState[i].btEffectType2 = btEffectType2;
lpObj->m_BuffEffectState[i].iValue1 = iValue1;
lpObj->m_BuffEffectState[i].iValue2 = iValue2;
lpObj->m_BuffEffectState[i].iDuration = iDuration;
lpObj->m_BuffEffectState[i].dwBuffTickCount = GetTickCount();
g_ViewportSkillState.AddBuffEffect(lpObj,btEffectType1,iValue1); //first
g_ViewportSkillState.AddBuffEffect(lpObj,btEffectType2,iValue2); //second
break;
}
}
return loc6;
}
someone still has DataServer 0.70.04?
thx small and flitzin, function void DbItemSetInByte (...), there is a new socket system call, which is just below it:
if(ItemDbByte >= 16)
{
item.m_ItemOptionEx = DBI_GET_380OPTION(lpMsg->dbInventory[n*ItemDbByte+DBI_OPTION380_DATA]);
if(item.m_ItemOptionEx)
{
item.m_Type = itype;
if(g_kItemSystemFor380.Is380Item(&item)==false)
{
item.m_ItemOptionEx = 0;
LogAddTD("[380Item][%s][%s] Invalid 380 Item Option in Inventory pos[%d]",
lpObj->AccountID,lpObj->Name,n);
}
}
}
could someone post this source?
Maybe you want us to post all GS and DS port? =)
if you will not help, neither will interfere, since everyone wants to only make money at the expense of WebZen, and never want to share things, of course, unless some people.
so i fix it now item is used can someone help with this ...Quote:
hi gyiz anyone can help with use Items
char ExpandedInventory;
char ExpandedWarehouse;
if (lpObj->pInventory[source].m_Type == ITEMGET(14,163)) // Warehouse expansion
{
lpObj->ExpandedWarehouse = 1;
return true;
}
if (lpObj->pInventory[source].m_Type == ITEMGET(14,166) ) // Inventory Expanion
lpObj->ExpandedInventory = 1;
return true;
}
So here they are used ingame can anyone help to make them open the inventory and warehouse extensions..... or just make a sample...Quote:
else if ( citem->m_Type == ITEMGET(14,163) ) // Warehouse Extension
{
gObjInventoryItemSet(aIndex, pos, -1);
gObj[aIndex].pInventory[pos].Clear();
GCInventoryItemOneSend(aIndex, lpMsg->invenrotyTarget);
GCInventoryItemDeleteSend(aIndex, pos, 1);
SendMsg.MessageOut(aIndex, 0x01, "Warehouse Extension Item Used!");
}
lse if ( citem->m_Type == ITEMGET(14,166) ) // Inventory Extension
{
gObjInventoryItemSet(aIndex, pos, -1);
gObj[aIndex].pInventory[pos].Clear();
GCInventoryItemOneSend(aIndex, lpMsg->invenrotyTarget);
GCInventoryItemDeleteSend(aIndex, pos, 1);
SendMsg.MessageOut(aIndex, 0x01, "Inventory Extension Item Used!");
}
Anyone have the packets for Both :(
When i trying send wcoins and goblin points to client ver. 1.07.48 kor:
there always shows 0. Wrong packet or bugged main?Code:PMSG_ANS_INGAMESHOP_POINT pMsg;
PHeadSubSetB((LPBYTE)&pMsg, 0xD2, 0x01, sizeof(PMSG_ANS_INGAMESHOP_POINT));
pMsg.Goblin = 5.0;
pMsg.WCoinC[0] = 100.0;
pMsg.WCoinC[1] = 100.0;
pMsg.WCoinP[0] = 100.0;
pMsg.WCoinP[1] = 100.0;
DataSend(aIndex, (LPBYTE)&pMsg, pMsg.h.size);