Git Product home page Git Product logo

tradeapi's Introduction

TradeAPI

Implement Trade V2 UI in PMMP

How to use

Youtube

Registrant virion

if (!TradeHandler::isRegistrant()) {
    TradeHandler::register($this);
}

LICENSE

  • 이 플러그인 또는 플러그인 코드를 사용하는 경우 AGPL 라이선스에 동의하는 것으로 간주합니다.
  • By using this plugin or plugin code, you agree to the AGPL license.
TradeAPI, simple to provide Trade UI V2.
Copyright (C) 2020  Organic (nnnlog)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

TODO

  • 올바른 교환인지 검증
  • FakeInventory 검증
  • API Docs

tradeapi's People

Contributors

poggit-bot avatar skh6075 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tradeapi's Issues

Bug ?

[Server thread/CRITICAL]: Error: "Undefined property: pocketmine\network\mcpe\protocol\InventoryTransactionPacket::$actions" (EXCEPTION) in "pmsrc/src/pocketmine/network/mcpe/protocol/DataPacket" at line 195
[09:58:46] [Server thread/CRITICAL]: #0 C:/Users/ASUS/Desktop/-/virions/TradeAPI-main/src/nlog/trade/listener/TransactionInjector(23): pocketmine\network\mcpe\protocol\DataPacket->__get(string[7] actions)
[09:58:46] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): nlog\trade\listener\TransactionInjector->onDataPacketRecive(object pocketmine\event\server\DataPacketReceiveEvent)
[09:58:46] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object nlog\trade\listener\TransactionInjector, object pocketmine\event\server\DataPacketReceiveEvent)
[09:58:46] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\server\DataPacketReceiveEvent)
[09:58:46] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(108): pocketmine\event\Event->call()
[09:58:46] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[09:58:46] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[09:58:46] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/Player(3311): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[09:58:46] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[09:58:46] [Server thread/CRITICAL]: #9 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[15] 127.0.0.1 59948, object raklib\protocol\EncapsulatedPacket, integer 0)
[09:58:46] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[09:58:46] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[09:58:46] [Server thread/CRITICAL]: #12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[09:58:46] [Server thread/CRITICAL]: #13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
[09:58:46] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1618109926.4385)
[09:58:46] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
[09:58:46] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
[09:58:46] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[30] C:\Users\ASUS\Desktop-, string[38] C:\Users\ASUS\Desktop-\plugins)
[09:58:46] [Server thread/CRITICAL]: #18 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.