Can we please all work together and FIX the source code instead of turning this into another ego fest topic like IA Julia's one? these files could be a HUGE ground base for custom development and stable servers.
I get that everyone wants some sort of credit for the problems they solved but a comment on source with that is going to be much more useful than a thousand different compiled binaries. It makes more sense than everyone doing the same work over and over again.
I'll try to keep an updated list of problems and solutions
SEALS NOT WORKING FIX:
Open WZ_PeriodItemInsert and Delete
Code:
SELECT @periodItemIndex = PeriodIndex FROM T_PeriodItem_Info WHERE UserGuid = @userGuid AND CharacterName = @CharacterName AND OptionType = @OptiOnType AND UsedInfo = 1
IF ( @periodItemIndex != 0 )
BEGIN
UPDATE T_PeriodItem_Info SET UsedInfo = 0 WHERE UserGuid = @userGuid AND CharacterName = @CharacterName AND OptionType = @OptiOnType AND UsedInfo = 1
END
//Credits to BladeKnight109
UNICORN PET FIX (dissapears after move)
go to user.cpp and add:
Code:
case ITEMGET(13,106): // Unicorn Pet
lpObj->CharSet[16] |= 0xA0;
break;
below of:
Code:
case ITEMGET(13,80): // Panda Pet
lpObj->CharSet[16] |= 224;
break;
// Credits to MemBrick
DL RAVEN NOT LEVELING UP
To fix this Edit GameServerInfo Table, fill the rows to 0
//Credits to Josesp
DOUBLE GOER EVENT CRASH ( I think I'm missing another error on enter, but I couldn't find info on it)
Code:
QuestExpProgMng.cpp file, find these lines:
:
void QuestExpProgMng::ChkUserQuestTypeMonsterKill(OBJECTSTRUCT *lpObj,
OBJECTSTRUCT *lpMonsterObj)
{
if ( lpObj->PartyNumber == -1 )
{
ChkUserQuestType(1, lpObj, lpMonsterObj, 0);
return;
}
int party_number = lpObj->PartyNumber;
int killer_obj_index = lpObj->m_Index;
for(int party_user_count = 0; party_user_count < 5; ++party_user_count )
{
int party_user_index = gParty.m_PartyS[party_number].Number[party_user_count];
if( party_user_index >= 0 )
{
OBJECTSTRUCT* lpPartyObj = &gObj[party_user_index];
if( gObj[party_user_index].Connected >= PLAYER_PLAYING || !lpPartyObj->Live )
{
if( lpObj->MapNumber == lpPartyObj->MapNumber )
{
if( gObjCalDistance(lpObj, lpPartyObj) <= 9 )
ChkUserQuestType(1, lpPartyObj, lpMonsterObj, killer_obj_index);
}
}
}
}
}
this check for party members, and got error, coz doppel is party event, and if u go alone, dowwn...
Code:
if ( lpObj->PartyNumber == -1 )
{
ChkUserQuestType(1, lpObj, lpMonsterObj, 0);
return;
}
just comment these lines, and bazinga =D
// Credits to Brunoia
List of things not working:
* Quest system: Missing config files in data\customs
* Gifts from Shop
* Denied mentioned something about a Jewel of Harmony bug?
BladeKnight109 was nice enough to upload fixed DB here
SQL2008
SQL2000
please PM with any mistakes or more errors so I can at least try to keep an updated source.
Thanks!