Page 1 of 1

SVN Bugged ValeWalkers base and spec lines

PostPosted: Fri Apr 16, 2010 8:57 pm
by deathwish
I have fixed the VW Class script, after VW having the wrong spec lines and running about with inst heal lol.
I have fixed the baseline and added the right Spec line for VW
The script will need to be added to the SVN as thats where the script come from :P

Not sure if the database part bugged to, but i added it, was i was playing around with database too, trying to fix it.

DB
Code: Select all
REPLACE INTO `spellline` (`SpellLine_ID`, `KeyName`, `Name`, `Spec`, `IsBaseLine`, `PackageID`) VALUES ('10e4d163-ba77-4676-918e-a20625b100e0', 'Arboreal Path', 'Arboreal Path', 'Arboreal Path', 1, 'Public_DB');
REPLACE INTO `spellline` (`SpellLine_ID`, `KeyName`, `Name`, `Spec`, `IsBaseLine`, `PackageID`) VALUES ('valewalkerarborialpathbase', 'Valewalker Arboreal Path Base', 'Arboreal Path', 'Arboreal Path', 0, 'Public_DB');
And The fix for SVN:
Code: Select all
/*
* DAWN OF LIGHT - The first free open source DAoC server emulator
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA.
*
*/
using System;
using DOL.GS;
using DOL.Language;

namespace DOL.GS.PlayerClass
{
/// <summary>
///
/// </summary>
[PlayerClassAttribute((int)eCharacterClass.Valewalker, "Valewalker", "Forester")]
public class ClassValewalker : ClassForester
{
public ClassValewalker() : base()
{
m_profession = LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "PlayerClass.Profession.PathofAffinity");
m_specializationMultiplier = 15;
m_primaryStat = eStat.STR;
m_secondaryStat = eStat.INT;
m_tertiaryStat = eStat.CON;
m_manaStat = eStat.INT;
m_wsbase = 400;
m_baseHP = 720;
}

public override string GetTitle(int level)
{
if (level >= 50) return LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "PlayerClass.Valewalker.GetTitle.50");
if (level >= 45) return LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "PlayerClass.Valewalker.GetTitle.45");
if (level >= 40) return LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "PlayerClass.Valewalker.GetTitle.40");
if (level >= 35) return LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "PlayerClass.Valewalker.GetTitle.35");
if (level >= 30) return LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "PlayerClass.Valewalker.GetTitle.30");
if (level >= 25) return LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "PlayerClass.Valewalker.GetTitle.25");
if (level >= 20) return LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "PlayerClass.Valewalker.GetTitle.20");
if (level >= 15) return LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "PlayerClass.Valewalker.GetTitle.15");
if (level >= 10) return LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "PlayerClass.Valewalker.GetTitle.10");
if (level >= 5) return LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "PlayerClass.Valewalker.GetTitle.5");
return LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "PlayerClass.GetTitle.none");
}

/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player)
{
base.OnLevelUp(player);

// Specializations
player.AddAbility(SkillBase.GetAbility(Abilities.Weapon_Scythe));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Scythe));

player.AddSpecialization(SkillBase.GetSpecialization(Specs.Parry));

// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Valewalker Arb Path Spec"));




if (player.Level >= 5)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 1));
}
if (player.Level >= 10)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 2));
}
if (player.Level >= 15)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Tireless));
player.AddAbility(SkillBase.GetAbility(Abilities.Protect, 1));
}
if(player.Level >= 19)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Intercept));
}
if (player.Level >= 20)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 3));
}
if(player.Level >= 23)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Protect, 2));
}
if (player.Level >= 30)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 4));
}
if(player.Level >= 32)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Protect, 3));
}
}

public override bool HasAdvancedFromBaseClass()
{
return true;
}
}
}

Re: SVN Bugged ValeWalkers base and spec lines

PostPosted: Fri Apr 16, 2010 9:15 pm
by Graveen
Thank you but i need a diff patch :)

Re: SVN Bugged ValeWalkers base and spec lines

PostPosted: Fri Apr 16, 2010 9:48 pm
by deathwish
Hehe, Graveen i dont no if you might know, but im trying to use lions den as my BG zone, but when people port there it kicks them out right away, i tryed turning bg on and off and still dont work :(

Re: SVN Bugged ValeWalkers base and spec lines

PostPosted: Fri Apr 16, 2010 9:50 pm
by Graveen
can you make the diff patch ? :)

Re: SVN Bugged ValeWalkers base and spec lines

PostPosted: Fri Apr 16, 2010 9:56 pm
by stephenxpimentel
Hehe, Graveen i dont no if you might know, but im trying to use lions den as my BG zone, but when people port there it kicks them out right away, i tryed turning bg on and off and still dont work :(
Their level is too high deathwish - set the CK (center keep)'s baselevel to level 50 in the Keep DB, and it should fix it. =]

Re: SVN Bugged ValeWalkers base and spec lines

PostPosted: Fri Apr 16, 2010 10:32 pm
by Tolakram
Deathwish,

SVN is correct, you need to change your DB. Valewalkers get unique spells in their baseline and need their own baseline arboreal path.

Re: SVN Bugged ValeWalkers base and spec lines

PostPosted: Sat Apr 17, 2010 1:29 am
by deathwish
SVN is correct, you need to change your DB. Valewalkers get unique spells in their baseline and need their own baseline arboreal path
im using Database DoL 1.9.3 r2018.7z atm where can i get the correct database from?

Re: SVN Bugged ValeWalkers base and spec lines

PostPosted: Sat Apr 17, 2010 9:43 am
by Graveen
Don't know, DoL is no longer releasing anything database related, first because, at least, noone will cry again and again on the release policy, second because we need to focusing on the code.