PDA

View Full Version : Druid Wiki page


dnatabar
06-21-2015, 01:04 PM
Greetings.

I recently noticed that the Bard wiki page have got a facelift in regards to its song list.

I did some blatant ripping off, and changed a few wording to fit more into the line of spells rather than songs.

If it looks like an upgrade, i will work further on it.

Feedback appreciated =)

http://wiki.project1999.com/User:Dnatabar

Sincerely,
Dnatabar
(Dryse @ Blue)

kledar
06-21-2015, 01:23 PM
nice,

chaser95
06-21-2015, 01:35 PM
looks good do enjoy your time and thank you

Sorn
06-21-2015, 02:42 PM
Looks good. I like the list of vendor locations in particular although right now all it does is link to the zone. It would be nice if it could somehow point to the list of vendors for each spell.

Will we be able to jump to different level sets of spells from the table of contents the way we can currently?

dnatabar
06-21-2015, 03:15 PM
Looks good. I like the list of vendor locations in particular although right now all it does is link to the zone. It would be nice if it could somehow point to the list of vendors for each spell.

Will we be able to jump to different level sets of spells from the table of contents the way we can currently?

I'm not a shark at this wiki stuff, i mostly just stole the templates from the bards songs =p, but i'l look into it =)

dnatabar
06-21-2015, 03:58 PM
Looks good. I like the list of vendor locations in particular although right now all it does is link to the zone. It would be nice if it could somehow point to the list of vendors for each spell.

Will we be able to jump to different level sets of spells from the table of contents the way we can currently?

Fixed the location links =)

loramin
06-21-2015, 04:00 PM
I'm not a shark at this wiki stuff, i mostly just stole the templates from the bards songs =p, but i'l look into it =)

It would be nice if it could somehow point to the list of vendors for each spell.

This is totally possible, but it would require some very dedicated person to go through every spell and change all of the links from zone links to vendor links. Since dnatabar has already put in a lot of effort perhaps someone else will take up that challenge?

Will we be able to jump to different level sets of spells from the table of contents the way we can currently?
As long as there are headings for each level of spells (ie. the "Levels 1" text) the table of contents at the top of the page will link to that level of spells.

Cecily
06-21-2015, 06:08 PM
It's gonna be very large. It works for bards because they only have about 60 songs. Druids have 60 spells by the time they hit lv 19.
As long as it keeps the skip to level links, sure w/e.

dnatabar
06-22-2015, 03:15 AM
It's gonna be very large. It works for bards because they only have about 60 songs. Druids have 60 spells by the time they hit lv 19.
As long as it keeps the skip to level links, sure w/e.

Yea, I know it will take up a lot more space than the bard songs, but personally, i have missed a better overview of the druid spells.
And when i saw how the bard songs were made, i thought, it would be great for all spells as well ;)

dnatabar
06-22-2015, 03:49 AM
I just thought about using RegEx to do a lot of the initial work, and i have worked out a pattern.

Pattern(.NET):
(<tr.*><td.*?>\[\[(.*)\]\]</td><td.*?>(.*)</td><td.*?>(.*)?</td><td.*?>([a-zA-Z\.]*)</td><td.*?>([a-zA-Z\.\s]*)</td><td.*?>(\d*)</td></tr>)

Target:
<tr><td width='22%'>[[Burst of Flame]]</td><td width='52%'>Fire based Direct Damage</td><td width='5%'>&nbsp;</td><td width='5%'>Evo.</td><td width='8%'>Vendor.</td><td width='5%'>7</td></tr>
<tr bgcolor="#efefef"><td width='22%'>[[Dance of the Fireflies]]</td><td width='52%'>Summons a globe of light</td><td width='5%'>&nbsp;</td><td width='5%'>Con.</td><td width='8%'>Vendor.</td><td width='5%'>10</td></tr>
<tr><td width='22%'>[[Endure Fire]]</td><td width='52%'>Increase resistance to Fire</td><td width='5%'>&nbsp;</td><td width='5%'>Abj.</td><td width='8%'>Vendor.</td><td width='5%'>20</td></tr>
<tr bgcolor="#efefef"><td width='22%'>[[Flame Lick]]</td><td width='52%'>Damage over Time with Armor Class Debuff</td><td width='5%'>&nbsp;</td><td width='5%'>Evo.</td><td width='8%'>Vendor.</td><td width='5%'>10</td></tr>
<tr><td width='22%'>[[Lull Animal]]</td><td width='52%'>Decreases an animal's aggro range</td><td width='5%'>&nbsp;</td><td width='5%'>Alt.</td><td width='8%'>Vendor.</td><td width='5%'>10</td></tr>
<tr bgcolor="#efefef"><td width='22%'>[[Minor Healing]]</td><td width='52%'>Heals damage done to the target</td><td width='5%'>&nbsp;</td><td width='5%'>Alt.</td><td width='8%'>Vendor.</td><td width='5%'>10</td></tr>
<tr><td width='22%'>[[Panic Animal]]</td><td width='52%'>Forces an animal to run away in terror</td><td width='5%'>&nbsp;</td><td width='5%'>Alt.</td><td width='8%'>Vendor.</td><td width='5%'>10</td></tr>
<tr bgcolor="#efefef"><td width='22%'>[[Sense Animals]]</td><td width='52%'>Makes the caster face the closest Animal</td><td width='5%'>&nbsp;</td><td width='5%'>Div.</td><td width='8%'>Vendor.</td><td width='5%'>5</td></tr>
<tr><td width='22%'>[[Skin Like Wood]]</td><td width='52%'>Increase targets hitpoints and AC</td><td width='5%'>&nbsp;</td><td width='5%'>Abj.</td><td width='8%'>Vendor.</td><td width='5%'>10</td></tr>
<tr bgcolor="#efefef"><td width='22%'>[[Snare]]</td><td width='52%'>Slows the movement rate of target</td><td width='5%'>&nbsp;</td><td width='5%'>Alt.</td><td width='8%'>Vendor.</td><td width='5%'>15</td></tr>

Result:
{{SpellRow | LEVEL | [[Burst of Flame]] | [[Evo.]] | TARGET | &nbsp; | Incomplete
| spellicon = O
| Description = {{BardsongMultiline | Fire based Direct Damage}}{{BardsongMultiline | Add more details, such as damage at level LEVEL and max level.}}
| Detrimental = 1
| Locations = {{BardsongMultiline | [[Burst of Flame#Where_to_Obtain|Ak'Anon]]}}{{BardsongMultiline | [[Burst of Flame#Where_to_Obtain|East Cabilis]]}}{{BardsongMultiline | [[Burst of Flame#Where_to_Obtain|Erudin Palace]]}}{{BardsongMultiline | [[Burst of Flame#Where_to_Obtain|More...]]}}
}}
{{SpellRow | LEVEL | [[Dance of the Fireflies]] | [[Con.]] | TARGET | &nbsp; | Incomplete
| spellicon = O
| Description = {{BardsongMultiline | Summons a globe of light}}{{BardsongMultiline | Add more details, such as damage at level LEVEL and max level.}}
| Detrimental = 1
| Locations = {{BardsongMultiline | [[Dance of the Fireflies#Where_to_Obtain|Ak'Anon]]}}{{BardsongMultiline | [[Dance of the Fireflies#Where_to_Obtain|East Cabilis]]}}{{BardsongMultiline | [[Dance of the Fireflies#Where_to_Obtain|Erudin Palace]]}}{{BardsongMultiline | [[Dance of the Fireflies#Where_to_Obtain|More...]]}}
}}
{{SpellRow | LEVEL | [[Endure Fire]] | [[Abj.]] | TARGET | &nbsp; | Incomplete
| spellicon = O
| Description = {{BardsongMultiline | Increase resistance to Fire}}{{BardsongMultiline | Add more details, such as damage at level LEVEL and max level.}}
| Detrimental = 1
| Locations = {{BardsongMultiline | [[Endure Fire#Where_to_Obtain|Ak'Anon]]}}{{BardsongMultiline | [[Endure Fire#Where_to_Obtain|East Cabilis]]}}{{BardsongMultiline | [[Endure Fire#Where_to_Obtain|Erudin Palace]]}}{{BardsongMultiline | [[Endure Fire#Where_to_Obtain|More...]]}}
}}
{{SpellRow | LEVEL | [[Flame Lick]] | [[Evo.]] | TARGET | &nbsp; | Incomplete
| spellicon = O
| Description = {{BardsongMultiline | Damage over Time with Armor Class Debuff}}{{BardsongMultiline | Add more details, such as damage at level LEVEL and max level.}}
| Detrimental = 1
| Locations = {{BardsongMultiline | [[Flame Lick#Where_to_Obtain|Ak'Anon]]}}{{BardsongMultiline | [[Flame Lick#Where_to_Obtain|East Cabilis]]}}{{BardsongMultiline | [[Flame Lick#Where_to_Obtain|Erudin Palace]]}}{{BardsongMultiline | [[Flame Lick#Where_to_Obtain|More...]]}}
}}
{{SpellRow | LEVEL | [[Lull Animal]] | [[Alt.]] | TARGET | &nbsp; | Incomplete
| spellicon = O
| Description = {{BardsongMultiline | Decreases an animal's aggro range}}{{BardsongMultiline | Add more details, such as damage at level LEVEL and max level.}}
| Detrimental = 1
| Locations = {{BardsongMultiline | [[Lull Animal#Where_to_Obtain|Ak'Anon]]}}{{BardsongMultiline | [[Lull Animal#Where_to_Obtain|East Cabilis]]}}{{BardsongMultiline | [[Lull Animal#Where_to_Obtain|Erudin Palace]]}}{{BardsongMultiline | [[Lull Animal#Where_to_Obtain|More...]]}}
}}
{{SpellRow | LEVEL | [[Minor Healing]] | [[Alt.]] | TARGET | &nbsp; | Incomplete
| spellicon = O
| Description = {{BardsongMultiline | Heals damage done to the target}}{{BardsongMultiline | Add more details, such as damage at level LEVEL and max level.}}
| Detrimental = 1
| Locations = {{BardsongMultiline | [[Minor Healing#Where_to_Obtain|Ak'Anon]]}}{{BardsongMultiline | [[Minor Healing#Where_to_Obtain|East Cabilis]]}}{{BardsongMultiline | [[Minor Healing#Where_to_Obtain|Erudin Palace]]}}{{BardsongMultiline | [[Minor Healing#Where_to_Obtain|More...]]}}
}}
{{SpellRow | LEVEL | [[Panic Animal]] | [[Alt.]] | TARGET | &nbsp; | Incomplete
| spellicon = O
| Description = {{BardsongMultiline | Forces an animal to run away in terror}}{{BardsongMultiline | Add more details, such as damage at level LEVEL and max level.}}
| Detrimental = 1
| Locations = {{BardsongMultiline | [[Panic Animal#Where_to_Obtain|Ak'Anon]]}}{{BardsongMultiline | [[Panic Animal#Where_to_Obtain|East Cabilis]]}}{{BardsongMultiline | [[Panic Animal#Where_to_Obtain|Erudin Palace]]}}{{BardsongMultiline | [[Panic Animal#Where_to_Obtain|More...]]}}
}}
{{SpellRow | LEVEL | [[Sense Animals]] | [[Div.]] | TARGET | &nbsp; | Incomplete
| spellicon = O
| Description = {{BardsongMultiline | Makes the caster face the closest Animal}}{{BardsongMultiline | Add more details, such as damage at level LEVEL and max level.}}
| Detrimental = 1
| Locations = {{BardsongMultiline | [[Sense Animals#Where_to_Obtain|Ak'Anon]]}}{{BardsongMultiline | [[Sense Animals#Where_to_Obtain|East Cabilis]]}}{{BardsongMultiline | [[Sense Animals#Where_to_Obtain|Erudin Palace]]}}{{BardsongMultiline | [[Sense Animals#Where_to_Obtain|More...]]}}
}}
{{SpellRow | LEVEL | [[Skin Like Wood]] | [[Abj.]] | TARGET | &nbsp; | Incomplete
| spellicon = O
| Description = {{BardsongMultiline | Increase targets hitpoints and AC}}{{BardsongMultiline | Add more details, such as damage at level LEVEL and max level.}}
| Detrimental = 1
| Locations = {{BardsongMultiline | [[Skin Like Wood#Where_to_Obtain|Ak'Anon]]}}{{BardsongMultiline | [[Skin Like Wood#Where_to_Obtain|East Cabilis]]}}{{BardsongMultiline | [[Skin Like Wood#Where_to_Obtain|Erudin Palace]]}}{{BardsongMultiline | [[Skin Like Wood#Where_to_Obtain|More...]]}}
}}
{{SpellRow | LEVEL | [[Snare]] | [[Alt.]] | TARGET | &nbsp; | Incomplete
| spellicon = O
| Description = {{BardsongMultiline | Slows the movement rate of target}}{{BardsongMultiline | Add more details, such as damage at level LEVEL and max level.}}
| Detrimental = 1
| Locations = {{BardsongMultiline | [[Snare#Where_to_Obtain|Ak'Anon]]}}{{BardsongMultiline | [[Snare#Where_to_Obtain|East Cabilis]]}}{{BardsongMultiline | [[Snare#Where_to_Obtain|Erudin Palace]]}}{{BardsongMultiline | [[Snare#Where_to_Obtain|More...]]}}
}}


As its easy enough to see, it can only get the information that is already on the druid page, so stuff like the right locations have to be manually changed, spellIcon, detrimental status, detailed description, target type and when all that is done, remove the | Incomplete.

The spell school that is shortened as well as the Era, i can easily fix with a search and replace.

Check it out at http://wiki.project1999.com/User:Dnatabar

Under the heading RegEx Made is the result of less than 5 minutes of copy pasting, while using the pattern i made above.
Sure there is still a lot of work to do on those, but a lot of it have already been done with the RegEx ;)

dnatabar
06-22-2015, 06:40 AM
Okay, i have an issue with saving the page when i have all the regex'ed spells added to it.

I saved the source in a document on my computer as well, so it isn't lost, but it won't submit it, just goes to a blank page after a while of trying to submit.

Tried to do it in smaller stages, but it still happens, any ideas?

rafaone
06-25-2015, 06:02 AM
Looks nice !!

Don't have any answer to your questions tho :(

Sorn
06-25-2015, 11:01 AM
Okay, i have an issue with saving the page when i have all the regex'ed spells added to it.

I saved the source in a document on my computer as well, so it isn't lost, but it won't submit it, just goes to a blank page after a while of trying to submit.

Tried to do it in smaller stages, but it still happens, any ideas?

I think this is usually a symptom of the upload ('saving the document') taking too long. Usually that's because the file is too large. It sounds like your final output may simply have too many characters in it for your personal page.

I'm afraid I'm not familiar with RegEx so I don't know what you can do to streamline the code.

Zalus
06-25-2015, 12:24 PM
It looks nice. Keep up the good work.

dnatabar
06-25-2015, 01:02 PM
Ah, I can try and add it to a non-personal page, just to see if that would help, or if it is for all types of pages. Thanks for the hint =)

[Edit]
Darn, does it as well with normal pages... maybe the Wiki is set up to limit page sizes? which is quite problematic, unless the spell list is split up into two or three pages, which kinda removes overview that would be the greatest advantage of this change :(

DeadlyReza
06-26-2015, 12:52 AM
I would double and quadruple check your code, might be a leak somewhere, if I get some time I have been wanting to do this for a long time heheh thanks so much for your contribution :D

dnatabar
06-26-2015, 09:52 AM
Its not related to my RegEx, its not able to leak as its basically just an advanced search and replace method.

But i'm quite certain that its because of the size of the page source, with all the templates being used.

I tried to send a PM to Rogean, not that i'm too positive i'l get an answer anytime soon

Beckoning
06-26-2015, 11:28 PM
It looks great! I think the change should be adopted!

Man0warr
06-27-2015, 10:49 AM
Rogean doesn't administer the wiki, I'm not sure who does though.

Sorn
06-27-2015, 11:10 AM
All the admins seem to be inactive.

dnatabar
07-06-2015, 08:05 AM
I think i found a sort of solution to the "cant submit because of size" problem...

I have made a SpellBox like the ItemBoxes that you can see sometimes when you hover over an item on the wiki.

Only done it with one spell yet, because it requires a lot of editing of the existing spell pages ( tho none of if is noticeable on the spell pages themselves ).

http://wiki.project1999.com/User:Dnatabar

Try hover over the first spell (Burst of Flame), it should show a Hover box very similar to the ones you get when hovering over many of the items on the wiki.

If it is liked, i'l start working on adding support for the hover boxes for all druid spells and perhaps other classes as well.