Skip to content

improve: house system - #140

Merged
jprzimba merged 14 commits into
mainfrom
fix-house-auction
Sep 8, 2025
Merged

jprzimba merged 14 commits into
mainfrom
fix-house-auction

Conversation

@jprzimba

@jprzimba jprzimba commented May 3, 2025 •

Copy link
Copy Markdown
Collaborator
  • Added new config maxHousesLimit to limite player hosues like RL (3 houses by acocunt)
  • Added new lua funcitons: player:getAllHouses and player:sendHouseAuctionMessage, Game:getHouseCountByAccount(accountId)
  • !buyhouse now uses Game:getHouseCountByAccount(accountId) instead of player:getHouse()
  • Now players can bid on one house at a time, like in Tibia RL.
  • Added new config: Only Guild leaders can buy a Guildhall via !buyhouse command
  • Check houses limit in house transfer via cyclopedia and !sellhouse command
  • New checks in !sellhouse command: check if new owner have premium time, check if new owner is a guild leader to receive a GH

- Added new config `maxHousesLimit ` to limite player hosues like TibiaRL  (3 houses via !buyhouse)
- Added new lua funcitons player:getAllHouses and player:sendHouseAuctionMessage
- !buyhouse now uses player:getAllHouses() instead of player:getHouse()
- Now players can bid on one house at a time, like in Tibia RL.
@jprzimba jprzimba added the enhancement New feature or request label May 3, 2025
@jprzimba jprzimba changed the title fix: house auction system improve: house auction system May 3, 2025
@github-actions

github-actions Bot commented Jun 3, 2025

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions Bot added the Stale label Jun 3, 2025
@jprzimba jprzimba changed the title improve: house auction system improve: house system Jul 12, 2025
@github-actions github-actions Bot removed the Stale label Jul 13, 2025
Sh3Ns

This comment was marked as outdated.

jprzimba added 7 commits July 31, 2025 11:32
- Check houses limit in house transfer via cyclopedia and !sellhouse command
- New checks in !sellhouse command: check if new owner have premium time, check if new owner is a guild leader to receive a GH, check max houses limit
@jprzimba
jprzimba merged commit 1a0e5fb into main Sep 8, 2025
29 checks passed
@jprzimba
jprzimba deleted the fix-house-auction branch September 8, 2025 02:11
FelipeArruda pushed a commit to FelipeArruda/crystalserver that referenced this pull request Mar 8, 2026
* fix: house auction system

- Added new config `maxHousesLimit ` to limite player hosues like TibiaRL  (3 houses via !buyhouse)
- Added new lua funcitons player:getAllHouses and player:sendHouseAuctionMessage
- !buyhouse now uses player:getAllHouses() instead of player:getHouse()
- Now players can bid on one house at a time, like in Tibia RL.

* Code format - (Clang-format)

* Lua code format - (Stylua)

* fix: only guild leaders can buy a guildhall

Also fixed door description for Guildhall

* feat: make guildhall configurable

* fix: ensure to reset house state when player lose a house

* fix: limit houses by account in !buyhouse command

* fix: limit houses by acocunt in house auction

* fix house transfer

- Check houses limit in house transfer via cyclopedia and !sellhouse command
- New checks in !sellhouse command: check if new owner have premium time, check if new owner is a guild leader to receive a GH, check max houses limit

* fix: set toggle guilhall as variable

---------

Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants