- Joined
- Jun 23, 2014
- Messages
- 1,853
- Reaction score
- 423
its an easy fix, you can get it with ida and using either the gs .93 with its pdb or the ex702 one http://forum.ragezone.com/f508/ex702-webzen-1040779/What you mean? I think the lizard golden monster freeze your server. Remove it, or add the fix from another section.
this should fix it, just replace the funtion in eledoradoevent.cpp
Code:
void CEledoradoEvent::RegenDevilLizardKing()
{
char msg[255]; // [sp+4Ch] [bp-110h]@6
int MapNumber; // [sp+14Ch] [bp-10h]@4
int n; // [sp+150h] [bp-Ch]@1
for (n = 0; n < OBJ_MAXMONSTER; ++n)
{
if (gObj[n].Class == 80) //-> Golden Vepar
{
gObj[n].Live = 1;
MapNumber = 7;
gObj[n].MapNumber = 7;
while (gMSetBase.GetBoxPosition( MapNumber, 50, 50, 200, 200, gObj[n].X, gObj[n].Y))
;
this->m_BossDevilLizardKingMapNumber = gObj[n].MapNumber;
this->m_BossDevilLizardKingMapX = gObj[n].X;
this->m_BossDevilLizardKingMapY = gObj[n].Y;
gObj[n].Life = gObj[n].MaxLife;
gObj[n].TX = gObj[n].X;
gObj[n].TY = gObj[n].Y;
gObj[n].MTX = gObj[n].X;
gObj[n].MTY = gObj[n].Y;
gObj[n].StartX = gObj[n].X;
gObj[n].StartY = gObj[n].Y;
gObj[n].m_State = 1;
gObj[n].PathCount = 0;
LogAddTD("Make GoldLizarKing : %d, %d,%d", MapNumber, gObj[n].X, gObj[n].Y);
wsprintfA(msg, "GoldLizarKing invasion started : %d, %d,%d", MapNumber, gObj[n].X, gObj[n].Y);
AllSendServerMsg(msg);
}
else if (gObj[n].Class == 81) //-> Golden Devil Lizard King
{
gObj[n].Live = 1;
MapNumber = this->m_BossDevilLizardKingMapNumber;
gObj[n].MapNumber = MapNumber;
gMSetBase.GetBoxPosition(MapNumber,this->m_BossDevilLizardKingMapX - 4,this->m_BossDevilLizardKingMapY - 4,
this->m_BossDevilLizardKingMapX + 4,this->m_BossDevilLizardKingMapY + 4,gObj[n].X,gObj[n].Y);
gObj[n].Life = gObj[n].MaxLife;
gObj[n].TX = gObj[n].X;
gObj[n].TY = gObj[n].Y;
gObj[n].MTX = gObj[n].X;
gObj[n].MTY = gObj[n].Y;
gObj[n].StartX = gObj[n].X;
gObj[n].StartY = gObj[n].Y;
gObj[n].m_State = 1;
gObj[n].PathCount = 0;
}
}
}
Last edited: