[Solved] Create spells and line

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

Moderator: Support Team

[Solved] Create spells and line

Postby HunabKu » Wed Mar 14, 2012 4:40 pm

Hi all.

I'm creating a custom character class.

All works except the magic line appear with a "?" before his name.
After searches, i understand it's a DB problem. I've created this in :

In language
Code: Select all
INSERT INTO `language` (`Language_ID`, `TranslationID`, `EN`, `DE`, `FR`, `IT`, `ES`, `CZ`, `PackageID`, `CU`) VALUES
('MySpellLine', 'SkillBase.RegisterPropertyNames.MySpellLine', 'My Spell Line', 'My Spell Line', 'My Spell Line', '', NULL, NULL, '', NULL);
In spell
Code: Select all
INSERT IGNORE INTO `spell` (`Spell_ID`, `SpellID`, `ClientEffect`, `Icon`, `Name`, `Description`, `Target`, `Range`, `Power`, `CastTime`, `Damage`, `DamageType`, `Type`, `Duration`, `Frequency`, `Pulse`, `PulsePower`, `Radius`, `RecastDelay`, `ResurrectHealth`, `ResurrectMana`, `Value`, `Concentration`, `LifeDrainReturn`, `AmnesiaChance`, `Message1`, `Message2`, `Message3`, `Message4`, `InstrumentRequirement`, `SpellGroup`, `EffectGroup`, `SubSpellID`, `MoveCast`, `Uninterruptible`, `IsPrimary`, `IsSecondary`, `AllowBolt`, `SharedTimerGroup`, `PackageID`, `IsFocus`) VALUES
('MySpell_7', 29003, 29003, 29003, 'My Spell 7', 'Description of my Spell level 7', 'Self', NULL, 5, 3, NULL, NULL, 'Type_Of_My_Spell_7', 1200, 0, 0, 0, 0, 0, 0, 0, 36, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 2010, 2, NULL, 1, 1, NULL, NULL, NULL, NULL, 'MyPackageID', NULL);
In spellline
Code: Select all
INSERT INTO `spellline` (`SpellLine_ID`, `KeyName`, `Name`, `Spec`, `IsBaseLine`, `PackageID`) VALUES
('MySpellLine', 'My Spell Line', My Spell Line', 'My Spell Line', 0, 'MyPackageID');
In specialization
Code: Select all
INSERT INTO `specialization` (`Specialization_ID`, `KeyName`, `Name`, `Icon`, `Description`) VALUES
('MySpellLine', 'My Spell Line', 'My Spell Line', 0, 'no');
In linexspell
Code: Select all
INSERT INTO `linexspell` (`LineXSpell_ID`, `LineName`, `SpellID`, `Level`, `PackageID`) VALUES
(''MySpell_7', 'My Spell Line', 29003, 7, 'MyPackageID'),
I don't understand where is the problem.

Thanks by advance.

Hunab Ku.
Last edited by HunabKu on Sun Mar 18, 2012 5:23 am, edited 1 time in total.
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: Create spells and line

Postby deathwish » Wed Mar 14, 2012 5:19 pm

have you setup the trainer to give out that spell line?
- Terry - terryammon
User avatar
deathwish
Database Team
 
Posts: 483
Joined: Sun Jul 05, 2009 10:15 pm
Location: England / Essex

Re: Create spells and line

Postby Belthax » Wed Mar 14, 2012 11:11 pm

I would look in Linexspell or Specialization for a typo in the line name.

Open the custom class file and make sure its completly the same as it is in the file.

Code: Select all
INSERT INTO `spellline` (`SpellLine_ID`, `KeyName`, `Name`, `Spec`, `IsBaseLine`, `PackageID`) VALUES
('MySpellLine', 'My Spell Line', My Spell Line', 'My Spell Line', 0, 'MyPackageID');

Missing a ' infront of the third My Spell Line
Belthax
Server Representative
 
Posts: 119
Joined: Sat Nov 07, 2009 8:04 pm

Re: Create spells and line

Postby HunabKu » Thu Mar 15, 2012 5:34 am

Primary, thanks a lot to you.

- To deathwish: Yes i've created a trainer and works.

- To Balthax: The missing ' is a mistake not real error. I will make all occurrences without space or _ and will see if work more.
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: Create spells and line

Postby HunabKu » Thu Mar 15, 2012 6:42 pm

Okai the spellline now appear in specialization tab in game, style line not appear in combat tab in game and spell line not appear in magic tab in game.

Do you have an idea please ?

Thanks by advance.

Hunab Ku
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: Create spells and line

Postby Belthax » Fri Mar 16, 2012 8:13 am

Dunno if you have added spells/styles to them yet but they need to have spells and styles to appear. And you need to have trained enough untill you trained a spell/style.
Belthax
Server Representative
 
Posts: 119
Joined: Sat Nov 07, 2009 8:04 pm

Re: Create spells and line

Postby HunabKu » Fri Mar 16, 2012 6:03 pm

Okai very thanks Belthax the spel line and spells works.
But style line and styles don't appear either.

I've created styles in styles table and correspondant spells in sylexspell.
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: Create spells and line

Postby Tolakram » Fri Mar 16, 2012 6:10 pm

Did you make sure the class for your styles matches? Classid I think.
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: Create spells and line

Postby HunabKu » Fri Mar 16, 2012 6:41 pm

Waow i'm too tired lol. Thanks Tolakram !

PS: I respond to your PM but as i can't i send respond at Baradien.
PS 2: I can't respond by PM again
Code: Select all
Some users couldn’t be added as they have disabled private message receipt.
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 1 guest