-
Notifications
You must be signed in to change notification settings - Fork 1
Home
For logging market prices from Freewar, setup cronjobs that call mploggerCron1.php (for login and logging) and mploggerCron2.php (for logout).
For processing the database and creating the corresponding articles in FreewarWiki, launch MpFetcher.java. For solving issues with non existent MP-Site articles, use CreateMpSitesTool.java alongside a file noMpSiteItems.csv containing all problematic item names.
The MPFetcher requires the library Java Wiki Bot Framework (https://github.com/eldur/jwbf) in the build path.
Account data needs to be set in connectdb.php. The structure of the database is described in the following picture.
For the FreewarWiki - Part edit MpFetcher.java#FETCH_DB_URL to point on your location for exportContent.php.
For fetching market prices from Freewar an account in every world is needed. Set the corresponding data in login.php. Also a database is needed, set the corresponding data in connectdb.php. If the Freewar bot has a problem it sends a mail, set the mail adress in sendMessage.php.
For connecting to FreewarWiki an account is needed. Set the corresponding data in WikiHub.java#USER and WikiHub.java#PASSWD.