mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
[PR #208] [MERGED] Add player owned shop bots #10300
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:bot📝 Commits (10+)
447fc73initial bots6e3f763force logout on timeout07472a9more stuffa91dc59update bots handling, spawn bot on player0543919empty bots inventory7627ed8Give bot same stats as playerb6a590dUpdate PlayerAssistant.javae282778Update BotHandler.java8b4969aUpdate bot properName23081c0Update ShopHandler.java📊 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:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.