• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Dowloads] KrayAcc PoolConnections

Zerox009

Member
Joined
Dec 20, 2007
Messages
20
Reaction score
17
Location
chile
Hi, I've been a longtime viewer and feel I owe a lot to this community. I've been playing this beautiful game for years, but I'm currently back in OpenTibia and publishing my projects that have helped me on my journey. I returned to TFS, and due to a number of bugs I needed to fix, I switched to Canary. That's why the main branch of the project runs on Canary. Although I love TFS and won't abandon it, I'm currently migrating that project to GO to see if it makes it. I'm starting a small business, and what better way to start than with OpenTibia.

To the point! XD

This is a website created to create a connection pool between the same API, maintaining one parent website and many child websites hosted wherever they want. It synchronizes the databases between them and registers users, etc., among themselves. The power of this small API allows connections through SSH Tunnel for those who cannot have their public IP released by CG-Nat. It also allows connections in a certain way, and it also has TSL support for certifications.

It also allows you to take control of the server and bring it up. You can perform server saves, take down the server, and the website will be brought back up. There is a way to literally see the console of what happens on the server, tying everything into a single API.

This website takes control of the Canary/TFS database according to branch, updating its dependencies in real time. This is also a danger given that it is based on the standard.

The website is simple HTML, where I left several examples in the www folder to see how the website works. Since it's GO, it's tied to coding, which isn't as complicated as the project I have, or so I think.


# KrayAccOpenTibia – Account Creator for OpenTibia Servers (Canary)

## Project Description

KrayAccOpenTibia is a web application written in Go that functions as an Account Creator for OpenTibia servers based on Canary Server. It offers a modern web interface for registering, logging in, and managing accounts and characters, and acts as a unified login server for multiple worlds.

## Key Features

  • Multi-world support (synchronization between multiple servers)
  • Account registration and login
  • Account and character management from the browser
  • Automatic session token generation (login for Tibia 12/13/14 client)
  • Timed Premium Account management
  • Character creation with configurable parameters
  • News and feed system for the Tibia client
  • High scores (rankings) by world and skill
  • Server status and online players
  • Login server (compatible with OTC/official Tibia)
  • REST API for synchronization between instances
  • Option to automatically launch and restart Canary

## Requirements

  • Go (1.20+)
  • MySQL/MariaDB
  • Canary database schema 1.6.x
  • Canary configuration (config.lua)
  • (Optional) TLS certificate
  • (Optional) KRAY_PASSWORD environment variable for multiworld

## Installation
Easy Run all OS:
Code:
git clone https://github.com/Mau005/KrayAccOpenTibia.git
cd KrayAccOpenTibia
go run .\cmd\server\main.go
Example Build All OS:
-Build
Code:
go build .\cmd\server\main.go


Compile Proyect:
On Windows:
Code:
.\build.ps1 -Target windows-amd64
On Linux/Mac:
Code:
chmod +x build.sh
./build.sh -t linux-amd64 -v 1.0.0

Edit the config.yml file to define:
  • Database connection
  • Local world (or no world if it's just an API)
  • List of remote worlds (in PoolServer)
  • Default parameters for new characters
  • IP Static tunnel active
  • TLS and other options


## Multiworld

To sync between multiple worlds:
1. Run one instance per world (one main instance with UI, the others as API)
2. Set KRAY_PASSWORD on all instances
3. On the main instance, populate PoolServer with IPs and tokens from the other worlds
4. When registering accounts or characters, these will be automatically replicated

## Usage

  • Registering accounts from the web
  • Logging in with name or email
  • Creating characters by choosing a world
  • Viewing the character list and VIP status
  • Compatible with Tibia 11/12 clients using the login server
  • Rankings, news, and online lists

## Credits

Developed by Mau005 / Krayno
Based on the Canary protocol.

---

Enjoy KrayAccOpenTibia!
Contributions and comments are welcome.





1755072495271.webp



1755072541085.webp

1755072602735.webp


1755072995969.webp


Attach server:
1755073056622.webp


Branch Main Canary: Canary
Branch Deprected TFS: TFS 1.6X

Example Active: https://ainho.ddns.net/


Releases: Releases Win/Lin/Mac

I hope you are all doing well. I'll be posting other projects I'll be releasing soon.
 
Last edited:
Back
Top