From b48a712887b71e26e61e970c0fe1fa7bfda1c28b Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Mon, 16 Feb 2015 15:40:44 -0500 Subject: [PATCH] Send bard effect stuff for RoF2 Server side we still use the old system Servers will need to update their items, PEQ's DB appears fine RoF2 wasn't show anything, so we have to send it for them --- changelog.txt | 1 + common/patches/rof2.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/changelog.txt b/changelog.txt index 6fcdf69a8..6d50f235e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ EQEMu Changelog (Started on Sept 24, 2003 15:50) ------------------------------------------------------- == 02/16/2015 == Trevius: (RoF2) Bazaar Trading (Buying/Selling) is now fully functional. Bazaar (/bazaar) search is not yet functional. +demonstar55: (RoF2) Send the bard focus effects, note custom servers will need to fix their items, server side we still use the old system, but RoF2 wasn't showing anything with not sending focus, so send them == 02/14/2015 == Trevius: (RoF2) Bazaar is now partially functional. RoF2 clients can start/end trader mode and other clients can purchase from them. No other functionality yet. diff --git a/common/patches/rof2.cpp b/common/patches/rof2.cpp index 28e845a0a..5cab22a60 100644 --- a/common/patches/rof2.cpp +++ b/common/patches/rof2.cpp @@ -5554,10 +5554,10 @@ namespace RoF2 RoF2::structs::WornEffectStruct ibes; memset(&ibes, 0, sizeof(RoF2::structs::WornEffectStruct)); - ibes.effect = 0xffffffff; - ibes.level2 = 0; - ibes.type = 0; - ibes.level = 0; + ibes.effect = item->Bard.Effect; + ibes.level2 = item->Bard.Level2; + ibes.type = item->Bard.Type; + ibes.level = item->Bard.Level; //ibes.unknown6 = 0xffffffff; ss.write((const char*)&ibes, sizeof(RoF2::structs::WornEffectStruct));