Masterlevel NPC -again-

Share files with other Dawn of Light users

Moderator: Support Team

Masterlevel NPC -again-

Postby rej » Mon Aug 13, 2012 8:38 pm

Here you'll find the Masterlevel NPC i use on my new project.

Basicly, you'll need to update your database to get all Spelllines correctly.
Be warned though: With these changes it is possible that gaining Masterlevels through the normal way may not work anymore!

So here is what it does:
You turn in ML Tokens which are created by the script and have the choice which path you'll follow.
So you will need 10 ML Tokens to achieve Masterlevel 10.

/item create mltoken

With each token, your current Spellline gets removed and replaced with a more advanced one. That's why linexspell is so huge!
I know it is a dirty hack, but i didn't figure out how to get all abilities into one Line in another way; And i don't want to have casters have 16 Spelllines - 7 are enough, maybe 8 with ML!

A short sidenote:
When gaining a new rank in a Mastery, spells will be shown multiple times. This is due to the Spelllines don't update correctly when they are removed and replaced by a new one. After relogging, everything is as expected.


installation:
insert the SQL statements to your SQL Server.
For LineXSpell there should be 55 charsets per mastery, in spellline at least 10 (there is also the standard one which is already included in pubdoldb v.3


I didn't include the spells, since they have to be updated. Currently i am using v3 of pubdoldb but some of the timers aren't ok.

UPDATE Aug 18th
uploaded a patch for Stormlord and Sojourner.
Attachments
masterlevel-patch-aug18.zip
These are the spelllines and linexspell you'll need.
(3.11 KiB) Downloaded 344 times
MLNPC.cs
That's the actual NPC. You'll need the other file aswell for it to work.
(20.23 KiB) Downloaded 346 times
Last edited by rej on Thu Aug 16, 2012 12:16 pm, edited 1 time in total.
Instant PvP: RIP '2005
new project coming soon.
User avatar
rej
DOL Experienced
 
Posts: 188
Joined: Tue Jan 18, 2005 10:34 am
Website: http://www.netzdesigner.net

Re: Masterlevel NPC -again-

Postby Tolakram » Mon Aug 13, 2012 11:02 pm

Thanks rej!
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: Masterlevel NPC -again-

Postby Graveen » Tue Aug 14, 2012 7:20 am

Thank you for your contribution ! :)
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: Masterlevel NPC -again-

Postby Shadexx » Tue Aug 14, 2012 8:29 am

Danke rej.
User avatar
Shadexx
DOL Experienced
 
Posts: 156
Joined: Mon Nov 09, 2009 9:58 am
Location: Germany

Re: Masterlevel NPC -again-

Postby HunabKu » Tue Aug 14, 2012 7:01 pm

Thanks a lot. Good job.
"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: Masterlevel NPC -again-

Postby rej » Wed Aug 15, 2012 9:52 am

I just stumbled over an error in the linexspell, which makes ML10 Stormlord having only 9 spells, but ML9 has 10.

go into linexspell and go to the line
Check for the LineXSpell_ID named 'ML_xStormlord_01'.
Change LineName to 'ML10Stormlord'. Thats it.
Instant PvP: RIP '2005
new project coming soon.
User avatar
rej
DOL Experienced
 
Posts: 188
Joined: Tue Jan 18, 2005 10:34 am
Website: http://www.netzdesigner.net

Re: Masterlevel NPC -again-

Postby HunabKu » Wed Aug 15, 2012 10:50 am

Thanks Rej.
That's the modified file :
linexspell-spellline.7z
(2.1 KiB) Downloaded 102 times
"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: Masterlevel NPC -again-

Postby Horizon » Thu Aug 16, 2012 6:47 am

Thanks :)
On dol base , ML lines are again on the same line ?
Myrddin - Developper Staff 14/88
Horizon
Contributor
 
Posts: 235
Joined: Fri Mar 25, 2011 7:22 am
Location: Somewhere in DolCore

Re: Masterlevel NPC -again-

Postby rej » Thu Aug 16, 2012 12:19 pm

Thanks for your help HanabKu
I just reupped the patch you provided, also a fix for the Sojourner line.
Thanks :)
On dol base , ML lines are again on the same line ?
IMHO DOLBase uses other spell lines with different Levels. Can't tell you exactly since i didn't test them out after adding my changes.
Instant PvP: RIP '2005
new project coming soon.
User avatar
rej
DOL Experienced
 
Posts: 188
Joined: Tue Jan 18, 2005 10:34 am
Website: http://www.netzdesigner.net

Re: Masterlevel NPC -again-

Postby Betawolf13 » Mon Aug 27, 2012 2:31 am

quick question... when i try to use the MLNPC and give him the token it says that he does not want the token? Why do you think this is?
Betawolf13
DOL Novice
 
Posts: 82
Joined: Sat Aug 06, 2011 5:48 am

Re: Masterlevel NPC -again-

Postby HunabKu » Mon Aug 27, 2012 4:16 am

I will test it but normaly you have 2 NPCs :
DOL.GS.Scripts.MLNPC who give tokens for GM ans when you give to him a token, spec you.
DOL.GS.Scripts.MLRespecNPC who give you a MLRespec token and respec you when you give to him the token.

Sorry for bad english
"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: Masterlevel NPC -again-

Postby Tralon » Sat Nov 02, 2013 8:12 pm

hey guys i want to add the linexspells but then this comes http://www.imagetolink.com/i/74c6a8c131 ... d56f3cc78a
can u tell me how i add the linexspells ?
(x)====|X|xxxxxxxxxxxxxxxxxxxxxxx>
Tralon
DOL Experienced
 
Posts: 176
Joined: Tue Jan 29, 2013 2:52 pm

Re: Masterlevel NPC -again-

Postby HunabKu » Tue Nov 05, 2013 5:10 am

I've re downloaded and re imported my file with phpmyadmin and i've no problem.
"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” User Files

Who is online

Users browsing this forum: No registered users and 1 guest