spell icons in maintained window
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
spell icons in maintained window
Spell icons in maintained window no longer display, you just get a colored background.
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Re: spell icons in maintained window
Yah I noticed that. I'll look into it.
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
Re: spell icons in maintained window
I coded it how it was before and it worked. Was there a reason behind why you created new functions?
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Re: spell icons in maintained window
Huh? Did I change something? I was going to work on getting buffs working but then got sidetracked, but I don't think I changed anything.
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
Re: spell icons in maintained window
Maybe those functions were already there, but here is what I am talking about...
commented out lines are what looked like were changed.
Code: Select all
//info->GetInfo()->maintained_effects[free_spell_maintained_slot].icon = (spell->GetSpellIcon()*-1)-1;
info->GetInfo()->maintained_effects[free_spell_maintained_slot].icon = spell->GetSpellData()->icon;
//info->GetInfo()->maintained_effects[free_spell_maintained_slot].icon_type = spell->GetSpellIconType();
info->GetInfo()->maintained_effects[free_spell_maintained_slot].icon_type = spell->GetSpellData()->icontype;-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Re: spell icons in maintained window
Feel free to grab an earlier version of the repository and test to see if it works, but I'm fairly certain it was broken before I made any changes.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: spell icons in maintained window
I remember debating the icons that showed up in Maintained before. If I cast a DoT on a mob, I would get a Maintained icon for that spell in my window - indefinitely. Zcoretri showed me that if my duration expired AFTER the mob died, the icon remained. But if before, the maintained icon would fade as expected.
Not sure if this helps any in remembering how it used to be.
Not sure if this helps any in remembering how it used to be.
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
Re: spell icons in maintained window
Excuse my ignorance here, but how do you grab an earlier version?LethalEncounter wrote:Feel free to grab an earlier version of the repository and test to see if it works, but I'm fairly certain it was broken before I made any changes.
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Re: spell icons in maintained window
I haven't done so it quite some time, but I think the process (if you are using tortoisesvn) is update to revision and then give the revision number. I think it will also show a log of the dates for each revision as well.
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
Re: spell icons in maintained window
AH, that's what that command does
Thank LE
Thank LE
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: spell icons in maintained window
Also using TortoiseSVN, you can highlight the exact file you wish to compare, and do a Show Log, and it will only show you that files changes. You can then highlight 2 versions and right-click Compare and see a nice diff of the two files complete with highlighted differences.
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
Re: spell icons in maintained window
Yes I'm using TortoiseSVN...this sub version thing is pretty slick 
OK, updated to rev 633 because 634 is where it was changed. Compiled and ran server, maintained window DOES show the icon correctly.
OK, updated to rev 633 because 634 is where it was changed. Compiled and ran server, maintained window DOES show the icon correctly.
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Re: spell icons in maintained window
OK, just do a diff and change it back then. It isn't a big deal though, because even if the icon does show correctly buffs need a ton of work and I'm going to be working on them soon.
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
Re: spell icons in maintained window
Not soon enough...been wanting to do buffs for awhile nowOK, just do a diff and change it back then. It isn't a big deal though, because even if the icon does show correctly buffs need a ton of work and I'm going to be working on them soon.
OK will do a diff change
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: spell icons in maintained window
Ahh, finally others are stepping up to my level of dev abuse!Zcoretri wrote:Not soon enough...been wanting to do buffs for awhile now![]()
My work here is done.
Who is online
Users browsing this forum: No registered users and 0 guests