RealmSkillPoints bug o.O

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

RealmSkillPoints bug o.O

Postby Lyrn » Thu Aug 20, 2015 4:12 pm

Took me a while to find this on my server, upon training RA's... then logging out,and back in again. You keep your training and also gain back the realm skill points. For example a 3L6 NS can train MoS3 and Viper2, but logging out and back in allows him to keep the Realm Abilities and he regains the points back. Any ideas? Has to be some sort of player update but I wouldn't know where to start. :shock:
Lyrn
DOL Acolyte
 
Posts: 103
Joined: Thu Oct 27, 2011 3:15 pm

Re: RealmSkillPoints bug o.O

Postby Leodagan » Thu Aug 20, 2015 4:15 pm

This should be around GamePlayer Realm Spec Points Getters...

I'll take a look to it, but I'm on other topic actually :oops:
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: RealmSkillPoints bug o.O

Postby Lyrn » Thu Aug 20, 2015 4:42 pm

No problem leo, ty for reply :)
Lyrn
DOL Acolyte
 
Posts: 103
Joined: Thu Oct 27, 2011 3:15 pm

Re: RealmSkillPoints bug o.O

Postby Lyrn » Sat Aug 22, 2015 4:25 pm

Leo I set the RealmSpecialty (recieve?) to {1} instead of zero and this didn't work, so I set the value to the final {2} when this didn't work I tried ....
Code: Select all
public virtual int RealmSpecialtyPoints { get { return m_realmSpecialtyPoints = 0; } set { m_realmSpecialtyPoints = value; } }
That eliminates the entire idea of RealmSpecPoints
Not sure what else I can do
Lyrn
DOL Acolyte
 
Posts: 103
Joined: Thu Oct 27, 2011 3:15 pm

Re: RealmSkillPoints bug o.O

Postby Leodagan » Sun Aug 23, 2015 6:55 am

What revision are you using ?

In my current revision this Getter is :
Code: Select all
/// <summary> /// Gets/sets player realm specialty points /// </summary> public virtual int RealmSpecialtyPoints { get { return GameServer.ServerRules.GetPlayerRealmPointsTotal(this) - GetRealmAbilities().Where(ab => !(ab is RR5RealmAbility)) .Sum(ab => Enumerable.Range(0, ab.Level).Sum(i => ab.CostForUpgrade(i))); } }
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: RealmSkillPoints bug o.O

Postby Lyrn » Sun Aug 23, 2015 4:12 pm

using an older one atm Leo, using the Eden Release revision
Lyrn
DOL Acolyte
 
Posts: 103
Joined: Thu Oct 27, 2011 3:15 pm

Re: RealmSkillPoints bug o.O

Postby Lyrn » Tue Aug 25, 2015 3:37 pm

Should I use a new SVN and just ditch that one or is there a fix for this? I didn't like the new SVN bc I could not run any of my scripts on it and there were too many new tables that weren't in the current DOL-DB.
Lyrn
DOL Acolyte
 
Posts: 103
Joined: Thu Oct 27, 2011 3:15 pm

Re: RealmSkillPoints bug o.O

Postby Graveen » Thu Aug 27, 2015 9:27 am

You should stick to the new core for its own enhancements :)
The branch are too differents at this point, but i guess the nonworking scripts are all due to a similar problem you could fix easily.
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: RealmSkillPoints bug o.O

Postby Lyrn » Mon Aug 31, 2015 6:08 pm

Thank you for the reply Graveen, I'm not using the newest of the new SVN but it is newer than the one I had xD
Lyrn
DOL Acolyte
 
Posts: 103
Joined: Thu Oct 27, 2011 3:15 pm


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 1 guest