[PR #208] [MERGED] Add player owned shop bots #7324

Closed
opened 2026-05-30 12:21:31 +00:00 by Dark98 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/2006-Scape/2006Scape/pull/208
Author: @RedSparr0w
Created: 11/23/2019
Status: Merged
Merged: 11/24/2019
Merged by: @dginovker

Base: masterHead: bot


📝 Commits (10+)

📊 Changes

69 files changed (+1249 additions, -1083 deletions)

View changed files

📝 2006Redone Server/data/cfg/shops.cfg (+1 -2)
📝 2006Redone Server/src/redone/Constants.java (+1 -1)
2006Redone Server/src/redone/game/bots/Bot.java (+95 -0)
2006Redone Server/src/redone/game/bots/BotConstants.java (+5 -0)
2006Redone Server/src/redone/game/bots/BotHandler.java (+194 -0)
📝 2006Redone Server/src/redone/game/content/combat/range/DwarfCannon.java (+13 -21)
📝 2006Redone Server/src/redone/game/content/quests/impl/ImpCatcher.java (+10 -28)
📝 2006Redone Server/src/redone/game/items/ItemAssistant.java (+97 -53)
📝 2006Redone Server/src/redone/game/npcs/Npc.java (+16 -13)
📝 2006Redone Server/src/redone/game/npcs/NpcHandler.java (+2 -1)
📝 2006Redone Server/src/redone/game/players/Client.java (+41 -37)
📝 2006Redone Server/src/redone/game/players/HighscoresHandler.java (+7 -2)
📝 2006Redone Server/src/redone/game/players/Player.java (+121 -63)
📝 2006Redone Server/src/redone/game/players/PlayerAssistant.java (+27 -23)
📝 2006Redone Server/src/redone/game/players/PlayerHandler.java (+55 -37)
📝 2006Redone Server/src/redone/game/players/PlayerSave.java (+134 -378)
📝 2006Redone Server/src/redone/game/players/Trading.java (+13 -4)
📝 2006Redone Server/src/redone/game/shops/ShopAssistant.java (+240 -358)
📝 2006Redone Server/src/redone/game/shops/ShopHandler.java (+68 -4)
📝 2006Redone Server/src/redone/net/ActionSender.java (+52 -27)

...and 49 more files

📄 Description

Bot will spawn looking like the player
The first of an item you trade them sets the price.
The second lot of items will add to the stock.
They can only be spawned in specific areas (banks, towns)

Commands:
::shop - create a shop, teleport your shop to your new location
::closeshop - log the shop out
::withdrawshop - collect your earnings (shop player needs to be spawned)

to test it on your own branch:

git remote add redsparr0w https://github.com/RedSparr0w/2006rebotted.git
git fetch --all
git checkout -b shopbot redsparr0w/bot

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/2006-Scape/2006Scape/pull/208 **Author:** [@RedSparr0w](https://github.com/RedSparr0w) **Created:** 11/23/2019 **Status:** ✅ Merged **Merged:** 11/24/2019 **Merged by:** [@dginovker](https://github.com/dginovker) **Base:** `master` ← **Head:** `bot` --- ### 📝 Commits (10+) - [`447fc73`](https://github.com/2006-Scape/2006Scape/commit/447fc738d9f7035650057ce4211d160de8d004ee) initial bots - [`6e3f763`](https://github.com/2006-Scape/2006Scape/commit/6e3f76329a1ab769d0dbd9a50e1afe1a05198aac) force logout on timeout - [`07472a9`](https://github.com/2006-Scape/2006Scape/commit/07472a9a90edf9a73c7031bca2efa8a23d72ef3d) more stuff - [`a91dc59`](https://github.com/2006-Scape/2006Scape/commit/a91dc597e9bf73838939ef5b84b20fd47bafa8b6) update bots handling, spawn bot on player - [`0543919`](https://github.com/2006-Scape/2006Scape/commit/0543919ed16be9978e0609411fdc4960539cc1f4) empty bots inventory - [`7627ed8`](https://github.com/2006-Scape/2006Scape/commit/7627ed80eb37ad17efff9450f63689f4f0c655c6) Give bot same stats as player - [`b6a590d`](https://github.com/2006-Scape/2006Scape/commit/b6a590d44fe9c06a212daf3c9d7b0dd212cbb9e6) Update PlayerAssistant.java - [`e282778`](https://github.com/2006-Scape/2006Scape/commit/e282778f226ac0278c1539982c5adc4a3324297d) Update BotHandler.java - [`8b4969a`](https://github.com/2006-Scape/2006Scape/commit/8b4969a882c2a7e249dbbe459da07dfaa0e79144) Update bot properName - [`23081c0`](https://github.com/2006-Scape/2006Scape/commit/23081c0eacd9515a906aa50ebc359b7bd77962af) Update ShopHandler.java ### 📊 Changes **69 files changed** (+1249 additions, -1083 deletions) <details> <summary>View changed files</summary> 📝 `2006Redone Server/data/cfg/shops.cfg` (+1 -2) 📝 `2006Redone Server/src/redone/Constants.java` (+1 -1) ➕ `2006Redone Server/src/redone/game/bots/Bot.java` (+95 -0) ➕ `2006Redone Server/src/redone/game/bots/BotConstants.java` (+5 -0) ➕ `2006Redone Server/src/redone/game/bots/BotHandler.java` (+194 -0) 📝 `2006Redone Server/src/redone/game/content/combat/range/DwarfCannon.java` (+13 -21) 📝 `2006Redone Server/src/redone/game/content/quests/impl/ImpCatcher.java` (+10 -28) 📝 `2006Redone Server/src/redone/game/items/ItemAssistant.java` (+97 -53) 📝 `2006Redone Server/src/redone/game/npcs/Npc.java` (+16 -13) 📝 `2006Redone Server/src/redone/game/npcs/NpcHandler.java` (+2 -1) 📝 `2006Redone Server/src/redone/game/players/Client.java` (+41 -37) 📝 `2006Redone Server/src/redone/game/players/HighscoresHandler.java` (+7 -2) 📝 `2006Redone Server/src/redone/game/players/Player.java` (+121 -63) 📝 `2006Redone Server/src/redone/game/players/PlayerAssistant.java` (+27 -23) 📝 `2006Redone Server/src/redone/game/players/PlayerHandler.java` (+55 -37) 📝 `2006Redone Server/src/redone/game/players/PlayerSave.java` (+134 -378) 📝 `2006Redone Server/src/redone/game/players/Trading.java` (+13 -4) 📝 `2006Redone Server/src/redone/game/shops/ShopAssistant.java` (+240 -358) 📝 `2006Redone Server/src/redone/game/shops/ShopHandler.java` (+68 -4) 📝 `2006Redone Server/src/redone/net/ActionSender.java` (+52 -27) _...and 49 more files_ </details> ### 📄 Description Bot will spawn looking like the player The first of an item you trade them sets the price. The second lot of items will add to the stock. They can only be spawned in specific areas (banks, towns) Commands: `::shop` - create a shop, teleport your shop to your new location `::closeshop` - log the shop out `::withdrawshop` - collect your earnings (shop player needs to be spawned) to test it on your own branch: ```git git remote add redsparr0w https://github.com/RedSparr0w/2006rebotted.git git fetch --all git checkout -b shopbot redsparr0w/bot ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Dark98 added the pull-request label 2026-05-30 12:21:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2006-Scape/2006Scape#7324