Spell effect icon fix

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

Spell effect icon fix

Postby Dinberg » Sat Jul 12, 2014 2:41 pm

Hi, this is a long standing bug:

In GameSpellEffect
Code: Select all
public ushort Icon { get { if (m_handler != null && m_handler.Spell != null) return m_handler.Spell.ClientEffect; else return 0; } }
should return m_handler.Spell.Icon, not Spell.ClientEffect.
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Re: Spell effect icon fix

Postby Dinberg » Sat Jul 12, 2014 2:42 pm

(Or, if you don't like this fix, can we at least have it a virtual ushort so I can override as I please?)
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Re: Spell effect icon fix

Postby Graveen » Sat Jul 12, 2014 3:57 pm

YW, fixed in ahem, soon, still committing (i realise i had 6 months + commit pending on my computer working copy :p)
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Spell effect icon fix

Postby Dinberg » Sat Jul 12, 2014 4:32 pm

Did you make it virtual aswell? :D
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Re: Spell effect icon fix

Postby Dinberg » Sat Jul 12, 2014 5:07 pm

Could we also have DelveInfo as virtual for GameSpellEffect please? Thanks!
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Re: Spell effect icon fix

Postby Graveen » Sat Jul 12, 2014 5:34 pm

As you want, but i think you still have commit rights, if you feel easier. :)
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Spell effect icon fix

Postby Dinberg » Sat Jul 12, 2014 5:44 pm

I dont think I do! (Didn't last time I checked)
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Re: Spell effect icon fix

Postby Graveen » Sat Jul 12, 2014 7:13 pm

i would merit to be whipped with fresh stinging neetles if i dared to remove you. I mean, you gained lifetime commit rights !
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Spell effect icon fix

Postby Dinberg » Sat Jul 12, 2014 8:08 pm

:) Graveen come on irc, lets chat! I'm in dolserver
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Re: Spell effect icon fix

Postby Dinberg » Sat Jul 12, 2014 11:38 pm

Also, the void Overwrite in GameSpellEffect could be virtual
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Re: Spell effect icon fix

Postby stephenxpimentel » Thu Jul 24, 2014 1:02 pm

hmm that explains why I was always annoyed that I couldn't change the icon... explains a lot, just assumed the client wouldn't read it as 2 different #s, glad I was wrong

:)
Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1300
Joined: Wed Sep 19, 2007 5:09 pm

Re: Spell effect icon fix

Postby doluser » Wed Apr 20, 2016 7:29 am

a stupid question from a noob: where should i place this text? :(
doluser
DOL Apprentice
 
Posts: 45
Joined: Wed Sep 02, 2015 1:49 pm

Re: Spell effect icon fix

Postby Dinberg » Tue Apr 26, 2016 7:58 pm

Did this not get added to core? I guess I could raise a pull request
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest