Cyclopedia House Auction System (Client + Server + Website) for TFS 1.x / Crystal Server & MyAAC
Hello everyone,
I am releasing a complete, production-ready system to integrate the client's Cyclopedia Houses tab with your server and website. This replaces legacy commands like !buyhouse or !sellhouse with a modern, visual, and highly configurable auction system.
Engine & Platform Bases:
Key Features & Capabilities:
---
Package Tree
The attached ZIP package contains:
---
Installation Instructions
The package unifies all step-by-step instructions. Please check the included README.md inside the ZIP for:
1. config.lua variables setup.
2. Server C++ Patches (for configuration loading, premium locks, inbox warning mails, and eviction logic).
3. Client C++ Patches (exposing static houses loading from
4. Client Lua Installation (replacing the Cyclopedia houses tab script).
5. Website Twig & PHP Patches (displaying house auction rules dynamically in MyAAC).
Testing Checklist
1. Log in with a free account and try to bid; the interface should block it immediately showing a premium requirements tooltip.
2. Place a bid with a premium account and check if the gold is reserved from the player's bank balance.
3. Test instant finalization: place a bid, shutdown the server, manually update the
Download the package from the attached ZIP and feel free to adapt it to your custom OTClient or TFS 1.x setup.
Hello everyone,
I am releasing a complete, production-ready system to integrate the client's Cyclopedia Houses tab with your server and website. This replaces legacy commands like !buyhouse or !sellhouse with a modern, visual, and highly configurable auction system.
Engine & Platform Bases:
- Server Engine: Crystal Server (based on The Forgotten Server 1.4+ / TFS 1.x)
- Client Engine: OTClient Redemption (by Mehah) (using standard Extended Opcodes)
- Website Engine: MyAAC (version 1.8.x) (with Twig template system)
Key Features & Capabilities:
- Visual Interface: Fully integrates with OTClient's Cyclopedia Houses tab, showing city lists, house details (beds, size, rent), and state.
- Proxy Bidding System: Implements eBay-style automatic bidding (proxy bids) where players can input their maximum limit and the system evaluates the winner.
- Server Save Finalization: Leases are finalized gracefully during the next daily Server Save (or reboots), preventing timing issues or game loops.
- Premium Locks: Easily configure premium-only bidding and transfers via simple config variables.
- Auto-Eviction of Free Accounts: Cleans up house ownership if premium time expires for longer than a configurable threshold of days.
- Mail Warnings: Sends automatedStamped Warning Letters to the owner's inbox prior to eviction.
- Website Server Info integration: Displays the current house configuration rules dynamically in MyAAC.
---
Package Tree
The attached ZIP package contains:
Code:
house_auction/
README.md
client/
modules/game_cyclopedia/tab/house/house.lua
server/
data/scripts/talkactions/player/buy_house.lua
---
Installation Instructions
The package unifies all step-by-step instructions. Please check the included README.md inside the ZIP for:
1. config.lua variables setup.
2. Server C++ Patches (for configuration loading, premium locks, inbox warning mails, and eviction logic).
3. Client C++ Patches (exposing static houses loading from
staticdata.dat and binding lua cast types/parsers).4. Client Lua Installation (replacing the Cyclopedia houses tab script).
5. Website Twig & PHP Patches (displaying house auction rules dynamically in MyAAC).
Testing Checklist
1. Log in with a free account and try to bid; the interface should block it immediately showing a premium requirements tooltip.
2. Place a bid with a premium account and check if the gold is reserved from the player's bank balance.
3. Test instant finalization: place a bid, shutdown the server, manually update the
bid_end_date in the DB houses table to a past timestamp, and start the engine again. The auction will finalize, assign the new owner, and issue the bank payout refund.Download the package from the attached ZIP and feel free to adapt it to your custom OTClient or TFS 1.x setup.