Page 1 of 1

Masterlevel NPC -again-

PostPosted: Mon Aug 13, 2012 8:38 pm
by rej
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.

Re: Masterlevel NPC -again-

PostPosted: Mon Aug 13, 2012 11:02 pm
by Tolakram
Thanks rej!

Re: Masterlevel NPC -again-

PostPosted: Tue Aug 14, 2012 7:20 am
by Graveen
Thank you for your contribution ! :)

Re: Masterlevel NPC -again-

PostPosted: Tue Aug 14, 2012 8:29 am
by Shadexx
Danke rej.

Re: Masterlevel NPC -again-

PostPosted: Tue Aug 14, 2012 7:01 pm
by HunabKu
Thanks a lot. Good job.

Re: Masterlevel NPC -again-

PostPosted: Wed Aug 15, 2012 9:52 am
by rej
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.

Re: Masterlevel NPC -again-

PostPosted: Wed Aug 15, 2012 10:50 am
by HunabKu
Thanks Rej.
That's the modified file :
linexspell-spellline.7z
(2.1 KiB) Downloaded 106 times

Re: Masterlevel NPC -again-

PostPosted: Thu Aug 16, 2012 6:47 am
by Horizon
Thanks :)
On dol base , ML lines are again on the same line ?

Re: Masterlevel NPC -again-

PostPosted: Thu Aug 16, 2012 12:19 pm
by rej
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.

Re: Masterlevel NPC -again-

PostPosted: Mon Aug 27, 2012 2:31 am
by Betawolf13
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?

Re: Masterlevel NPC -again-

PostPosted: Mon Aug 27, 2012 4:16 am
by HunabKu
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

Re: Masterlevel NPC -again-

PostPosted: Sat Nov 02, 2013 8:12 pm
by Tralon
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 ?

Re: Masterlevel NPC -again-

PostPosted: Tue Nov 05, 2013 5:10 am
by HunabKu
I've re downloaded and re imported my file with phpmyadmin and i've no problem.