Skip to content

Meridian59.Bot.Shop

Clint Banzhaf edited this page Jun 8, 2017 · 10 revisions

Description

ShopBot is a stand-alone miniclient which acts as a trading bot. It will connect to a M59 server and automatically do trades and advertise offers. You do NOT need any other client to use this.

Screenshot

Downloads

MeridianNext (105/112/200)
Version Published
2.1.0.9 2017/06/08
Meridian59 (101/102/115)
Version Published
2.1.0.7 2015/06/23

All downloads

Configuration

Adjust the file "configuration.xml" to your needs. There is a detailed explanation of all the values in it. Make sure to replace my default admin-entry "Sha'Krune".

Commands

If you whisper the bot something he doesn't understand, he'll answer you with a list of available commands.

Access Command Description
customer showoffers The bot will whisper you the same that it is broadcasting in intervals
customer buy amount name The bot offers the items you request (e.g. "buy 1 mushroom"). You can request any subamount the bot is selling, he will calculate the sum for you and whisper you how much he's expecting for that.
admin givecash amount Gives you the requested amount of shillings (or all if has less).

Things to know

  • The bot will not check items which can get broken for their current state. I recommend to not automatically buy items that can get broken, someone might sell you broken ones!
  • Make sure to put 100% correct item names in your configuration.xml. If in doubt inspect the item in the client. For example you must not add plural 's' endings to names if they are not shown to you ingame in the item description - no matter if you want to buy/sell multiple of them.

Adjusting for server-updates

The bot requires an update-to-date 'rsc0000.rsb' string-dictionary file for the server it is connecting to. Therefore it is recommended to manually update the according '.rsb' file in bot folder 'resource/strings/' with each server-update. Replace the bot's 'rsc0000-XYZ.rsb' file with the one you can get from your gameclient's 'resource' folder.

Changelog

2.1.0.7

  • Compatible with Update23 on 103 and german servers 112 (OpenMeridian) and 115 (Meridian 59)
  • Server-Connections are defined slightly different now (can store multiple connections and use specific one)
  • Supports ignoring players

2.1.0.6

  • Compatible with Update 18 on 103.
  • Different versions for 101/102 (VANILLA) and 103

2.1.0.5

  • Fixed a bug in 2.0.1.4 which made the bot not trade at all
  • Fixed special case bug if bot got 0 shillings and buys stuff for 0 shillings

2.1.0.4

  • Bot can be run as a windows-service now (see WINSERVICE.TXT)
  • Updated core-library (Merdian59.dll)
  • Updated .RSB files for latest 103 updates
  • Available in 64-Bit
  • Configuration is compatible with 2.1.0.3!

2.1.0.3

  • No changes. Just updated values in configuration.xml and new rsc0000-103.rsb for Update5 on 103. You can skip this version if you use 2.1.0.2 and just followed the notes above for "Adjusting for server updates".

2.1.0.2

  • Fixed a small bug that crashed the bot on wrong buy command.

2.1.0.1

  • Fixed a bug when someone offered "nothing" to the bot.

2.1.0.0

  • New console UI with more info (shared between bot variants)
  • Logs to console AND bot.log
  • Allow reload of configuration.xml (buylist/offerlist) by keypress

2.0.0.0

  • Allows defining "botadmins" in configuration. Bot will accept any offered items from botadmins (good for filling up your bot) and will not require any counteroffers in "buy" command. Also admins can execute an additional "getcash" to get shillings from the bot.
  • Tells to the bot are now logged
  • Logs to "bot.log" file by default (editable in configuration.xml)
  • Change interval values in config from millisecond to seconds
  • Do not broadcast/say on login, first after one interval.
  • Do not whisper all players in room on bot login/serversave. Whisper only those who are entering.
  • Whisper amount of shillings in inventory to botadmins entering room.
  • Set default intervals for broadcast/say to 60min/30min.

1.2.0.0

  • Also advertises by "say" now (both intervals are in config, renamed, broadcast also resets the say timer).
  • New config setting "tellonenter". Setting this to true will whisper the advertisement to players entering the bot's current room. It will also whisper to all players when bot enters room (e.g. login).

1.1.0.3

  • Fix a bug that prevented the bot from advertising some offers correctly.

1.1.0.2

  • Remove count xml attribute from buylist and offerlist tags
  • Don't do case-sensitive string comparison

1.1.0.1

  • Updated configuration.xml values and rsc0000-103.rsb file for update 3 on server 103

1.1.0.0

  • Fixes 100% CPU load on one core