Bot: Difference between revisions

From Melvor Idle
(Manual Review: No Changes. Updating Version.)
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>This template was autogenerated by MelvorWikiBot.
{{V}}
[[Category:Bot Templates]]
__NOINDEX__
[[Category:Tables]]
 
[[Category:v0.16.3]]</noinclude>
'''Note:''' As of [[V0.17.0]], the bot has been discontinued in favour of automating page updates using Lua modules.
{| class="wikitable sortable stickyHeader"
----
|- class="headerRow-0"
Coolrox95 created a bot for the wiki. The main purpose of the bot is to upload all the item and monster pages to the wiki, and maintain them as needed. The source code for the bot can be found [https://github.com/MelvorIdle/Melvor-Wiki-Bot here] (Forked from the original bot);
!Item
 
!Name
== GOAL ==
!Ingredients
The goal of the wiki bot is to:
!Upgraded Item
* Automatically fill out the wiki using the game's code and objects.
!Name
* Automatically update changed images.
!Stat Change
* Make sure proper templates, categories and menus are added to each page.
|-
 
| style ="text-align: left;" |[[File:Bronze Boots (item).svg|50px|middle|link=Bronze Boots]]
== V0.16.1 Changes Required ==
| style ="text-align: left;" |[[Bronze Boots]]
* <del>Import new global game data variables from page scope into content script scope</del>
| style ="text-align: right;" |[[File:Bronze Boots (item).svg|25px|middle|link=Bronze Boots]] 1<br>[[File:Silver Bar (item).svg|25px|middle|link=Silver Bar]] 10<br>{{GP|5000}}
* <del>Add item uses for things used in new magic</del>
| style ="text-align: left;" |[[File:(S) Bronze Boots (item).svg|50px|middle|link=(S) Bronze Boots]]
* <del>Add alt magic as an item source</del>
| style ="text-align: left;" |[[(S) Bronze Boots]]
* <del>Add item sources for crown components</del>
| style ="text-align: left;" |+1 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus
* <del>Create pages for new spell types and rework [[Template:Spell]] to include combo runes</del>
|-
* <del>Create maintenance functions for new spell type pages</del>
| style ="text-align: left;" |[[File:Iron Boots (item).svg|50px|middle|link=Iron Boots]]
* <del>Upload art for new spell types</del>
| style ="text-align: left;" |[[Iron Boots]]
* <del>Create tables for new spell types (Auroras, Curses, Ancient Magicks, Alt-magic)</del>
| style ="text-align: right;" |[[File:Iron Boots (item).svg|25px|middle|link=Iron Boots]] 1<br>[[File:Silver Bar (item).svg|25px|middle|link=Silver Bar]] 20<br>{{GP|8000}}
* <del>Create tables for new runecrafting sections (Combo runes, stave+wands, air,water,earth and fire gear)</del>
| style ="text-align: left;" |[[File:(S) Iron Boots (item).svg|50px|middle|link=(S) Iron Boots]]
* <del>Create pages for pets</del>
| style ="text-align: left;" |[[(S) Iron Boots]]
* <del>Create maintenance functions for pet pages</del>
| style ="text-align: left;" |+1 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />+1 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus
* <del>Upload art for pets</del>
|-
* <del>Add pets and new spell types to page disambiguation code to prevent edit conflicts</del>
| style ="text-align: left;" |[[File:(S) Bronze Boots (item).svg|50px|middle|link=(S) Bronze Boots]]
* <del> Add feathers and party hat to shop materials </del>
| style ="text-align: left;" |[[(S) Bronze Boots]]
* Add prerequisite dungeons to dungeon pages. <code>requiresCompletion: DungeonID</code> in DUNGEONS array.
| style ="text-align: right;" |[[File:(S) Bronze Boots (item).svg|25px|middle|link=(S) Bronze Boots]] 1<br>[[File:Gold Bar (item).svg|25px|middle|link=Gold Bar]] 20<br>{{GP|10000}}
 
| style ="text-align: left;" |[[File:(G) Bronze Boots (item).svg|50px|middle|link=(G) Bronze Boots]]
== TODO ==
| style ="text-align: left;" |[[(G) Bronze Boots]]
* Add bones as a loot source to item source templates
| style ="text-align: left;" |+1 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />-1 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus
* Add Mastery token sources to item source templates
|-
* Fetch and parse each page to detect if proper categories, templates and menus are used.
| style ="text-align: left;" |[[File:(S) Iron Boots (item).svg|50px|middle|link=(S) Iron Boots]]
* Automatically create disambiguation pages for bot generated pages with name conflicts
| style ="text-align: left;" |[[(S) Iron Boots]]
 
| style ="text-align: right;" |[[File:(S) Iron Boots (item).svg|25px|middle|link=(S) Iron Boots]] 1<br>[[File:Gold Bar (item).svg|25px|middle|link=Gold Bar]] 40<br>{{GP|16000}}
== Current Features ==
| style ="text-align: left;" |[[File:(G) Iron Boots (item).svg|50px|middle|link=(G) Iron Boots]]
* Create pages and maintain their templates
| style ="text-align: left;" |[[(G) Iron Boots]]
** Fill out the [[Template:Item|Main Item Template]]
| style ="text-align: left;" |+1 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />-1 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus
** Add the [[Template:ArmourStats|Armour Stats Template]] and [[Template:WeaponStats|Weapon Stats Template]] to item pages when necessary
|-
** Add the [[Chest Drop Tables|Chest Drop Table]] for items that can be opened
| style ="text-align: left;" |[[File:Steel Boots (item).svg|50px|middle|link=Steel Boots]]
** Add the healing amount for items that can be consumed
| style ="text-align: left;" |[[Steel Boots]]
** Adds the Item Source Template for that specific item
| style ="text-align: right;" |[[File:Steel Boots (item).svg|25px|middle|link=Steel Boots]] 1<br>[[File:Silver Bar (item).svg|25px|middle|link=Silver Bar]] 50<br>{{GP|12000}}
* Creates Item source templates for each item, and maintains them.
| style ="text-align: left;" |[[File:(S) Steel Boots (item).svg|50px|middle|link=(S) Steel Boots]]
** See [[:Category:Item Sources]] for a full list
| style ="text-align: left;" |[[(S) Steel Boots]]
* Create pages for each Monster and maintain their templates
| style ="text-align: left;" |+2 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />+1 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus
** Fills in the [[Template:Monster|Monster Template]]
|-
** Currently some monsters are named the same while having a different ID. This has been resolved by adding combat level to the page names for monsters with duplicate names
| style ="text-align: left;" |[[File:(S) Steel Boots (item).svg|50px|middle|link=(S) Steel Boots]]
* Create pages for each Combat Area, Slayer Area and Dungeon and maintain their templates
| style ="text-align: left;" |[[(S) Steel Boots]]
** Templates used are: [[Template:Dungeon|Dungeon template]], [[Template:SlayerArea|Slayer Area Template]] and [[Template:CombatArea|Combat Area Template]]
| style ="text-align: right;" |[[File:(S) Steel Boots (item).svg|25px|middle|link=(S) Steel Boots]] 1<br>[[File:Gold Bar (item).svg|25px|middle|link=Gold Bar]] 75<br>{{GP|24000}}
* Create pages for each Prayer and maintain their templates
| style ="text-align: left;" |[[File:(G) Steel Boots (item).svg|50px|middle|link=(G) Steel Boots]]
** Fills in the [[Template:Prayer|Prayer template]]
| style ="text-align: left;" |[[(G) Steel Boots]]
* Create pages for each Standard Spell, Aurora, Curse, Alt. Magic and Ancient Magick, and maintains their templates
| style ="text-align: left;" |+1 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />-1 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus<br />+1 [[File:Defence (skill).svg|25px|middle|link=Defence]] Damage Reduction
** Fills in the following templates: [[Template:Spell]], [[Template:Aurora]], [[Template:Curse]], [[Template:AltMagic]], [[Template:AncientMagick]]
|-
* Creates pages for each Pet and maintains their templates
| style ="text-align: left;" |[[File:Black Boots (item).svg|50px|middle|link=Black Boots]]
** Fills in [[Template:Pet]]
| style ="text-align: left;" |[[Black Boots]]
* Create pages for some Shop Upgrades and maintains their templates
| style ="text-align: right;" |[[File:Black Boots (item).svg|25px|middle|link=Black Boots]] 1<br>[[File:Silver Bar (item).svg|25px|middle|link=Silver Bar]] 100<br>{{GP|20000}}
** Fills in [[Template:Upgrade]]
| style ="text-align: left;" |[[File:(S) Black Boots (item).svg|50px|middle|link=(S) Black Boots]]
* Create template pages for auto-generated tables.
| style ="text-align: left;" |[[(S) Black Boots]]
** See [[:Category:Tables]] for a full list
| style ="text-align: left;" |+3 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />+1 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus
* Uploads/Updates images for Dungeons, Combat Areas, Slayer Areas, Items, Monsters, Spells, Upgrades, Prayers and Pets.
|-
*  Updates bot generated pages without interfering with user added descriptions, and detects if the underlying data has changed.  
| style ="text-align: left;" |[[File:(S) Black Boots (item).svg|50px|middle|link=(S) Black Boots]]
** If the data has not changed or if the page does not contain any user made content, the game version of the page is automatically updated.
| style ="text-align: left;" |[[(S) Black Boots]]
 
| style ="text-align: right;" |[[File:(S) Black Boots (item).svg|25px|middle|link=(S) Black Boots]] 1<br>[[File:Gold Bar (item).svg|25px|middle|link=Gold Bar]] 150<br>{{GP|40000}}
Feel free to add tasks or remarks to this page.
| style ="text-align: left;" |[[File:(G) Black Boots (item).svg|50px|middle|link=(G) Black Boots]]
| style ="text-align: left;" |[[(G) Black Boots]]
| style ="text-align: left;" |+1 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />-1 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus<br />+2 [[File:Defence (skill).svg|25px|middle|link=Defence]] Damage Reduction
|-
| style ="text-align: left;" |[[File:Mithril Boots (item).svg|50px|middle|link=Mithril Boots]]
| style ="text-align: left;" |[[Mithril Boots]]
| style ="text-align: right;" |[[File:Mithril Boots (item).svg|25px|middle|link=Mithril Boots]] 1<br>[[File:Silver Bar (item).svg|25px|middle|link=Silver Bar]] 175<br>{{GP|30000}}
| style ="text-align: left;" |[[File:(S) Mithril Boots (item).svg|50px|middle|link=(S) Mithril Boots]]
| style ="text-align: left;" |[[(S) Mithril Boots]]
| style ="text-align: left;" |+4 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />+1 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus
|-
| style ="text-align: left;" |[[File:(S) Mithril Boots (item).svg|50px|middle|link=(S) Mithril Boots]]
| style ="text-align: left;" |[[(S) Mithril Boots]]
| style ="text-align: right;" |[[File:(S) Mithril Boots (item).svg|25px|middle|link=(S) Mithril Boots]] 1<br>[[File:Gold Bar (item).svg|25px|middle|link=Gold Bar]] 250<br>{{GP|60000}}
| style ="text-align: left;" |[[File:(G) Mithril Boots (item).svg|50px|middle|link=(G) Mithril Boots]]
| style ="text-align: left;" |[[(G) Mithril Boots]]
| style ="text-align: left;" |+1 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />+1 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus<br />+3 [[File:Defence (skill).svg|25px|middle|link=Defence]] Damage Reduction
|-
| style ="text-align: left;" |[[File:Adamant Boots (item).svg|50px|middle|link=Adamant Boots]]
| style ="text-align: left;" |[[Adamant Boots]]
| style ="text-align: right;" |[[File:Adamant Boots (item).svg|25px|middle|link=Adamant Boots]] 1<br>[[File:Silver Bar (item).svg|25px|middle|link=Silver Bar]] 250<br>{{GP|50000}}
| style ="text-align: left;" |[[File:(S) Adamant Boots (item).svg|50px|middle|link=(S) Adamant Boots]]
| style ="text-align: left;" |[[(S) Adamant Boots]]
| style ="text-align: left;" |+5 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />+1 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus
|-
| style ="text-align: left;" |[[File:(S) Adamant Boots (item).svg|50px|middle|link=(S) Adamant Boots]]
| style ="text-align: left;" |[[(S) Adamant Boots]]
| style ="text-align: right;" |[[File:(S) Adamant Boots (item).svg|25px|middle|link=(S) Adamant Boots]] 1<br>[[File:Gold Bar (item).svg|25px|middle|link=Gold Bar]] 500<br>{{GP|100000}}
| style ="text-align: left;" |[[File:(G) Adamant Boots (item).svg|50px|middle|link=(G) Adamant Boots]]
| style ="text-align: left;" |[[(G) Adamant Boots]]
| style ="text-align: left;" |+1 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />+2 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus<br />+4 [[File:Defence (skill).svg|25px|middle|link=Defence]] Damage Reduction
|-
| style ="text-align: left;" |[[File:Rune Boots (item).svg|50px|middle|link=Rune Boots]]
| style ="text-align: left;" |[[Rune Boots]]
| style ="text-align: right;" |[[File:Rune Boots (item).svg|25px|middle|link=Rune Boots]] 1<br>[[File:Silver Bar (item).svg|25px|middle|link=Silver Bar]] 400<br>{{GP|100000}}
| style ="text-align: left;" |[[File:(S) Rune Boots (item).svg|50px|middle|link=(S) Rune Boots]]
| style ="text-align: left;" |[[(S) Rune Boots]]
| style ="text-align: left;" |+6 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />+2 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus
|-
| style ="text-align: left;" |[[File:(S) Rune Boots (item).svg|50px|middle|link=(S) Rune Boots]]
| style ="text-align: left;" |[[(S) Rune Boots]]
| style ="text-align: right;" |[[File:(S) Rune Boots (item).svg|25px|middle|link=(S) Rune Boots]] 1<br>[[File:Gold Bar (item).svg|25px|middle|link=Gold Bar]] 750<br>{{GP|200000}}
| style ="text-align: left;" |[[File:(G) Rune Boots (item).svg|50px|middle|link=(G) Rune Boots]]
| style ="text-align: left;" |[[(G) Rune Boots]]
| style ="text-align: left;" |+1 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />+3 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus<br />+5 [[File:Defence (skill).svg|25px|middle|link=Defence]] Damage Reduction
|-
| style ="text-align: left;" |[[File:Dragon Boots (item).svg|50px|middle|link=Dragon Boots]]
| style ="text-align: left;" |[[Dragon Boots]]
| style ="text-align: right;" |[[File:Dragon Boots (item).svg|25px|middle|link=Dragon Boots]] 1<br>[[File:Silver Bar (item).svg|25px|middle|link=Silver Bar]] 800<br>{{GP|250000}}
| style ="text-align: left;" |[[File:(S) Dragon Boots (item).svg|50px|middle|link=(S) Dragon Boots]]
| style ="text-align: left;" |[[(S) Dragon Boots]]
| style ="text-align: left;" |+7 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />+2 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus
|-
| style ="text-align: left;" |[[File:(S) Dragon Boots (item).svg|50px|middle|link=(S) Dragon Boots]]
| style ="text-align: left;" |[[(S) Dragon Boots]]
| style ="text-align: right;" |[[File:(S) Dragon Boots (item).svg|25px|middle|link=(S) Dragon Boots]] 1<br>[[File:Gold Bar (item).svg|25px|middle|link=Gold Bar]] 1500<br>{{GP|500000}}
| style ="text-align: left;" |[[File:(G) Dragon Boots (item).svg|50px|middle|link=(G) Dragon Boots]]
| style ="text-align: left;" |[[(G) Dragon Boots]]
| style ="text-align: left;" |+1 [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus<br />+2 [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus<br />+6 [[File:Defence (skill).svg|25px|middle|link=Defence]] Damage Reduction
|}

Latest revision as of 09:41, 31 December 2021

This page is up to date (v1.2.2).


Note: As of V0.17.0, the bot has been discontinued in favour of automating page updates using Lua modules.


Coolrox95 created a bot for the wiki. The main purpose of the bot is to upload all the item and monster pages to the wiki, and maintain them as needed. The source code for the bot can be found here (Forked from the original bot);

GOAL

The goal of the wiki bot is to:

  • Automatically fill out the wiki using the game's code and objects.
  • Automatically update changed images.
  • Make sure proper templates, categories and menus are added to each page.

V0.16.1 Changes Required

  • Import new global game data variables from page scope into content script scope
  • Add item uses for things used in new magic
  • Add alt magic as an item source
  • Add item sources for crown components
  • Create pages for new spell types and rework Template:Spell to include combo runes
  • Create maintenance functions for new spell type pages
  • Upload art for new spell types
  • Create tables for new spell types (Auroras, Curses, Ancient Magicks, Alt-magic)
  • Create tables for new runecrafting sections (Combo runes, stave+wands, air,water,earth and fire gear)
  • Create pages for pets
  • Create maintenance functions for pet pages
  • Upload art for pets
  • Add pets and new spell types to page disambiguation code to prevent edit conflicts
  • Add feathers and party hat to shop materials
  • Add prerequisite dungeons to dungeon pages. requiresCompletion: DungeonID in DUNGEONS array.

TODO

  • Add bones as a loot source to item source templates
  • Add Mastery token sources to item source templates
  • Fetch and parse each page to detect if proper categories, templates and menus are used.
  • Automatically create disambiguation pages for bot generated pages with name conflicts

Current Features

  • Create pages and maintain their templates
  • Creates Item source templates for each item, and maintains them.
  • Create pages for each Monster and maintain their templates
    • Fills in the Monster Template
    • Currently some monsters are named the same while having a different ID. This has been resolved by adding combat level to the page names for monsters with duplicate names
  • Create pages for each Combat Area, Slayer Area and Dungeon and maintain their templates
  • Create pages for each Prayer and maintain their templates
  • Create pages for each Standard Spell, Aurora, Curse, Alt. Magic and Ancient Magick, and maintains their templates
  • Creates pages for each Pet and maintains their templates
  • Create pages for some Shop Upgrades and maintains their templates
  • Create template pages for auto-generated tables.
  • Uploads/Updates images for Dungeons, Combat Areas, Slayer Areas, Items, Monsters, Spells, Upgrades, Prayers and Pets.
  • Updates bot generated pages without interfering with user added descriptions, and detects if the underlying data has changed.
    • If the data has not changed or if the page does not contain any user made content, the game version of the page is automatically updated.

Feel free to add tasks or remarks to this page.