Skip to content

A C++ program to convert a Albion killboard link into a image summary using OpenCV. Plus a discord integration

Notifications You must be signed in to change notification settings

thorulf4/AlbionKillboardImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Albion Killboard Image

A C++ program to convert a Albion killboard link into a image summary using OpenCV. Plus a discord integration.

This repository has two components a Image generationg library and a discord integration.

Image generator

A image generation library that takes a killboard link like https://albiononline.com/killboard/kill/792676849 and turns it into an image summary.

Features:

  • Item image caching
  • Gear price evaluation

image_example

Discord integration

Adds a slash command that allows users to create image summaries.

Discord token can be provided in two ways either directly in the terminal or stored in a separate file.

./bot.sh --token my-secret
./bot.sh --token-file secret-file

image

Building

This was tested using

  • cmake 3.26.3
  • g++ 12.1.0

The library and discord integration can be built using cmake. The code can be statically linked with the cmake option -DBUILD_SHARED_LIBS=OFF

sudo apt install libssl-dev
cmake -B build -DBUILD_DISCORD_BOT=ON
cmake --build build --target bot

Optionally you can install it although the executable name bot

cmake --install build --prefix ~/path-to-bot

About

A C++ program to convert a Albion killboard link into a image summary using OpenCV. Plus a discord integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published