webMonitor: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
No edit summary
m (Conversion script moved page WebMonitor to webMonitor: Converting page titles to lowercase)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:WebMonitor.png|700px|thumb|rigth|[[WebMonitor]] index]]
[[File:WebMonitor.png|700px|thumb|rigth|[[WebMonitor]] index]]
==Short story the plugin==
==Short story the plugin==
<i>Text written by KeplerBR</i>
The plugin webMonitor was originally made by Kaliwanagan for a contest of plugins (that few people attended). It was practically abandoned in 2006.<br>
 
After 6 years, llbranco suggested to KeplerBR improve the plugin, which then
The plugin was originally made by webMonitor Kaliwanagan at a good time for a contest plugins (that few people attended). It was practically abandoned in 2006. <br>
made several new pages that previously only was the idea, and system exhibiting more of OpenKore, but keeping the architecture and operation of the plugin. Improvements were sent in SVN in August 2012.<br>
After 6 years, he llbranco saw this plugin and decided suggest me improve it, and then made ​​several new pages and systems for the plugin, which previously consisted only with the index. So, due to the changes I made, I got access to the official SVN and sent what I did in SVN in August 2012, although that was over a few weeks before. The EternalHarvest does not seem like it so much, [http://forums.openkore.com/viewtopic.php?f=34&t=17632 because made ​​a big list of problems that the plugin had] some that I created, that others had already . <br>
EternalHarvest pointed out several serious shortcomings in the state's plugin [http://forums.openkore.com/viewtopic.php?f=34&t=17632 and cited some issues to be worked out in future].<br>
Well, actually he was right, but even so, after a few months, BonScott <i> (very old community member OpenKore and returned thanks to iMikeLance/Revok)</i> saw the plugin and liked the proposal, and [http://forums.openkore.com/viewtopic.php?f=34&t=18264 virtually remade the entire interface and brought several improvements]. <br>
Even with so many problems cited, BonScott <i>(very old community member OpenKore and returned thanks to iMikeLance/Revok)</i> redid the entire interface and a few more features.<br>
After that, it seems the Eternal perked up to see all these improvements and made many, many improvements and bug fixes in the plugin's, including the implementation of JSON, which allows synchronization of data in real time.
This new visual animated the EternalHarvest working on plugin, which made ​​major implementations and fixes for him previously mentioned, making the plugin more secure, and dynamic, with the implementation of JSON, which allows synchronization of data in real time.


==Features==
==Features==
Line 14: Line 14:


==How to use==
==How to use==
'''1 -''' Create a new folder within the ''[[:Category:Plugins|plugins]]'' your OpenKore. In it, link to the plugin folder in SVN, the address is: https://openkore.svn.sourceforge.net/svnroot/openkore/plugins/webMonitor/trunk/
'''1 -''' Create a new folder within the ''[[:Category:Plugins|plugins]]'' your OpenKore. In it, link to the plugin folder in SVN, the address is: svn://svn.code.sf.net/p/openkore/code/plugins/webMonitor/trunk/
[[File:Tutor.png|thumb|left]]
[[File:Tutor.png|thumb|left]]
'''2 -''' The plugin requires some modules to function.
'''2 -''' The plugin requires some modules to function. [[Installing Modules|Install the following modules]]:
Open the Perl Package Manager ''(start -> Run -> 'ppm')'' and install the following modules:
* '''[http://search.cpan.org/~vti/protocol-websocket-0.15/lib/Protocol/WebSocket.pm Protocol-WebSocket]''' - Used for frames and sending messages between client and server
* '''Protocol-WebSocket''' - Used for frames and sending messages between client and server
* '''[http://search.cpan.org/~makamaka/JSON-2.90/lib/JSON.pm JSON]''' - Used to update the data in real time
* '''JSON''' - Used to update the data in real time
* '''[http://search.cpan.org/~uri/File-ReadBackwards-1.05/ReadBackwards.pm File-ReadBackwards]''' - Not mandatory, but some features of the plugin need this module for text files of the OpenKore be displayed on page
* '''File-ReadBackwards''' - Not mandatory, but some features of the plugin need this module for text files of the OpenKore be displayed on page
'''3 -''' Open OpenKore and usually go by the address http://127.0.0.1:1025/
'''3 -''' Open OpenKore and usually go by the address http://127.0.0.1:1025/
You can change the port setting the ''WebPort'' in your ''config.txt''
You can change the port setting the ''WebPort'' in your [[:Category:config.txt|config.txt]]<br>
'''4 -''' There is also the possibility to visualize using other devices such as mobile phones.
'''4 -''' There is also the possibility to visualize using other devices such as mobile phones.


===Additional settings===
The plugin has additional settings to be defined in [[:Category:config.txt|config.txt]].<br>
It already have default values​​, it is not necessary to configure it for the basic functioning of the plugin.
{|class="TablePager"
|+ The settings are as follows:
!Configuration
!Default
!Description
|-
!webBind
|localhost
|Server to the DNS protocol, [http://en.wikipedia.org/wiki/BIND see more on Wikipedia]
|-
!webPort
|1025
|Port to use
|-
!webMapURL
|/map/%s
|Address that will catch the image of the map that currently this BOT
|-
!webDBLink_monster
|<nowiki>http://ratemyserver.net/index.php?page=mob_db&mob_id=%s</nowiki>
|Database that will redirect you when click on the name of the monster, used in the Report-Monster tab
|-
!webDBLink_item
|<nowiki>http://ratemyserver.net/index.php?page=item_db&item_id=%s</nowiki>
|Database that will redirect you when click on the name of the item, used in the Inventory tab
|}
===Accessing over the private network===
There is the possibility to access the interface by an [https://en.wikipedia.org/wiki/Intranet intranet]. Thus, you may access through all computers using the same network as the computer that is running the webMonitor.
Instructions:
# Go to Start Menu -> Run -> cmd
# In the window that appears, enter the command "ipconfig"
# In texts that appears, look for "IPv4 Address" (probably one of the first lines)
# Open the [[:Category:config.txt|config.txt]] and place the following command: webBind "entered IPv4 address"


Now you can access the interface webMonitor through the private network.
[[Category:Interfaces]]
[[Category:Interfaces]]
[[Category:Plugins]]
[[Category:Plugins]]

Latest revision as of 22:35, 26 April 2021

Short story the plugin

The plugin webMonitor was originally made by Kaliwanagan for a contest of plugins (that few people attended). It was practically abandoned in 2006.
After 6 years, llbranco suggested to KeplerBR improve the plugin, which then made several new pages that previously only was the idea, and system exhibiting more of OpenKore, but keeping the architecture and operation of the plugin. Improvements were sent in SVN in August 2012.
EternalHarvest pointed out several serious shortcomings in the state's plugin and cited some issues to be worked out in future.
Even with so many problems cited, BonScott (very old community member OpenKore and returned thanks to iMikeLance/Revok) redid the entire interface and a few more features.
This new visual animated the EternalHarvest working on plugin, which made ​​major implementations and fixes for him previously mentioned, making the plugin more secure, and dynamic, with the implementation of JSON, which allows synchronization of data in real time.

Features

  • Ability to control the BOT through any device with internet;
  • nice interface and easy to handle;
  • updating of data in real time.

How to use

1 - Create a new folder within the plugins your OpenKore. In it, link to the plugin folder in SVN, the address is: svn://svn.code.sf.net/p/openkore/code/plugins/webMonitor/trunk/

Tutor.png

2 - The plugin requires some modules to function. Install the following modules:

  • Protocol-WebSocket - Used for frames and sending messages between client and server
  • JSON - Used to update the data in real time
  • File-ReadBackwards - Not mandatory, but some features of the plugin need this module for text files of the OpenKore be displayed on page

3 - Open OpenKore and usually go by the address http://127.0.0.1:1025/ You can change the port setting the WebPort in your config.txt
4 - There is also the possibility to visualize using other devices such as mobile phones.

Additional settings

The plugin has additional settings to be defined in config.txt.
It already have default values​​, it is not necessary to configure it for the basic functioning of the plugin.

The settings are as follows:
Configuration Default Description
webBind localhost Server to the DNS protocol, see more on Wikipedia
webPort 1025 Port to use
webMapURL /map/%s Address that will catch the image of the map that currently this BOT
webDBLink_monster http://ratemyserver.net/index.php?page=mob_db&mob_id=%s Database that will redirect you when click on the name of the monster, used in the Report-Monster tab
webDBLink_item http://ratemyserver.net/index.php?page=item_db&item_id=%s Database that will redirect you when click on the name of the item, used in the Inventory tab

Accessing over the private network

There is the possibility to access the interface by an intranet. Thus, you may access through all computers using the same network as the computer that is running the webMonitor. Instructions:

  1. Go to Start Menu -> Run -> cmd
  2. In the window that appears, enter the command "ipconfig"
  3. In texts that appears, look for "IPv4 Address" (probably one of the first lines)
  4. Open the config.txt and place the following command: webBind "entered IPv4 address"

Now you can access the interface webMonitor through the private network.