text stringlengths 1 654k |
|---|
for(i = 0; i < 5; ++i) |
*data << uint32(0); |
for(i = 0; i < 5; ++i) |
@@ -569,6 +569,7 @@ |
data << uint32(GenerateRewardMoney(plr, qst)); |
data << uint32(qst->bonushonor * 10); |
data << uint32(rewardtalents); |
+ data << uint32(qst->rewardarenapoints); |
data << uint32(qst->count_reward_item); //Reward item count |
for(uint32 i = 0; i < 4; ++i) |
@@ -1348,6 +1349,9 @@ |
//Add to finished quests |
plr->AddToFinishedQuests(qst->id); |
+ if(qst->rewardarenapoints != 0) |
+ plr->AddArenaPoints(qst->rewardarenapoints); |
+ |
#ifdef ENABLE_ACHIEVEMENTS |
plr->GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST_COUNT, 1, 0, 0); |
if(qst->reward_money) |
DB SQL code |
Quote |
ALTER TABLE `quests` ADD COLUMN `rewardarenapoints` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `RewXPId`; |
UPDATE `arcemu_db_version` SET `LastUpdate` = '4621'; |
Posted Image |
Attached File(s) |
Posted Image |
0 |
#2 User is offline jackpoz |
• ArcEmu Lemon Priest |
• PipPipPipPipPipPipPipPip |
• Group: Developers |
• Posts: 2,153 |
• Joined: 19-June 08 |
• Gender:Male |
• Location:Italy |
• Server OS:Windows |
Posted 05 October 2011 - 04:39 AM |
http://arcemu.org/fo...showtopic=21051 has the same feature: |
- *data << qst->rewardtitleid; // 2.4.0 unk |
- *data << uint32(0); // playerkillcount |
- *data << qst->rewardtalents; |
- *data << uint32(0); // 3.3.0 Unknown |
- *data << uint32(0); // 3.3.0 Unknown |
+ *data << uint32(qst->rewardtitleid); // 2.4.0 rewarded title |
+ *data << uint32(qst->requiredplayerkillcount); // playerkillcount - 6 quests only in 3.3.2 |
+ *data << uint32(qst->rewardtalents); |
+ *data << uint32(qst->bonusarenapoints); // 3.3.0 Bonus arena points |
+ *data << uint32(qst->unk1); // 3.3.0 rew rep show mask? |
Thank you anyway for your patch. |
Edit: although now that I check their patch, they just show it in the client but never add the arena points. |
btw you added |
UPDATE `arcemu_db_version` SET `LastUpdate` = '4621'; |
but didn't edit it in the sources. |
Posted Image We develop dreams. Your dreams ;) |
Posted ImagePosted Image |
0 |
#3 User is offline eatos92 |
• Enthusiast |
• PipPipPip |
• Group: Members |
• Posts: 193 |
• Joined: 06-May 09 |
• Gender:Male |
• Location:Serbia, Devil WoW |
Posted 05 October 2011 - 02:29 PM |
Sorry about that one...Like i said i have been away from arcemu since patch 3.2.2 |
Posted Image |
0 |
#4 User is offline jackpoz |
• ArcEmu Lemon Priest |
• PipPipPipPipPipPipPipPip |
• Group: Developers |
• Posts: 2,153 |
• Joined: 19-June 08 |
• Gender:Male |
• Location:Italy |
• Server OS:Windows |
Posted 08 October 2011 - 11:50 AM |
Changed the name of the field/column to bonusarenapoints and added it after bonushonor, as it was in Mesox patch (trying to make both happy). |
Posted Image We develop dreams. Your dreams ;) |
Posted ImagePosted Image |
0 |
#5 User is offline jackpoz |
• ArcEmu Lemon Priest |
• PipPipPipPipPipPipPipPip |
• Group: Developers |
• Posts: 2,153 |
• Joined: 19-June 08 |
• Gender:Male |
• Location:Italy |
• Server OS:Windows |
Posted 08 October 2011 - 11:50 AM |
- Applied. |
- Moved to applied patches. |
Posted Image We develop dreams. Your dreams ;) |
Posted ImagePosted Image |
0 |
Share this topic: |
Page 1 of 1 |
• You cannot start a new topic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.