GithubHelp home page GithubHelp logo

formsui's Introduction

Github stats

KressentHosting

I now run a Vareity Game Hosting Service called KressentHosting! All low pricing, affordable, stable and swifty servers with efficient servers. Feel free to visit the KressentHosting website https://kressenthosting.com and here is the KressentHosting Discord Server https://discord.gg/9YxethuYUA

formsui's People

Contributors

endermanbugzjfc avatar itstoxicgg avatar laith98dev avatar mcbeany avatar nhanaz avatar poggit-bot avatar sof3 avatar vecnavium avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

formsui's Issues

FormValidation error "Expected an array response with the size 0, got 2"

Describe the bug
A clear and concise description of what the bug is.

When you use CustomForm to create a UI and submit any data in a UI the FormValidation error would occur and send the output in console (it's down below) but would NOT crash the client.

To Reproduce
Steps to reproduce the behavior:

  1. You may use StatsX or any plugin that uses CustomForm in PocketMine API 4.0.0.
  2. Join the server and open the UI, and submit the data in the UI then the output will be sent in console but would not crash the client.

Expected behavior
A clear and concise description of what you expected to happen.
FormsUI Library information
FormsUI v1.1.0

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

This issue has been reported before there is no need to create another issue, we will find a solution to this problem.

Crashdump or other files related to the problem

2021-12-06 [07:38:41.678] [Server thread/CRITICAL]: pocketmine\form\FormValidationException: "Expected an array response with the size 0, got 2" (EXCEPTION) in "plugins/StatsX (1).phar/src/Vecnavium/StatsX/Forms/CustomForm" at line 30
--- Stack trace ---
  #0 plugins/StatsX (1).phar/src/Vecnavium/StatsX/Forms/Form(43): Vecnavium\StatsX\Forms\CustomForm->processData(array[2])
  #1 pmsrc/src/player/Player(1908): Vecnavium\StatsX\Forms\Form->handleResponse(object pocketmine\player\Player#25071, array[2])
  #2 pmsrc/src/network/mcpe/handler/InGamePacketHandler(774): pocketmine\player\Player->onFormSubmit(integer 0, array[2])
  #3 pmsrc/vendor/pocketmine/bedrock-protocol/src/ModalFormResponsePacket(55): pocketmine\network\mcpe\handler\InGamePacketHandler->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#88830)
  #4 pmsrc/src/network/mcpe/NetworkSession(395): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#93410)
  #5 pmsrc/src/network/mcpe/NetworkSession(358): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#88830, string[22] e..[null,"Vecnavium"].)
  #6 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[25] .Ke...+...Q.KM.K,.,.U....)
  #7 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 0, string[34] .G..........= ,%&..Oj...f'.....}+m)
  #8 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#23437)
  #9 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
  #10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
  #11 pmsrc/src/Server(1645): pocketmine\snooze\SleeperHandler->sleepUntil(double 1638808721.6146)
  #12 pmsrc/src/Server(1034): pocketmine\Server->tickProcessor()
  #13 pmsrc/src/PocketMine(301): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[46] A:\PocketMine-MP\PM4 (Testing plugins server)\, string[54] A:\PocketMine-MP\PM4 (Testing plugins server)\plugins\)
  #14 pmsrc/src/PocketMine(324): pocketmine\server()
  #15 pmsrc(11): require(string[90] phar://A:/PocketMine-MP/PM4 (Testing plugins server)/PocketMine-MP.phar/src/Pock)
--- End of exception information --- ```

Remove deprecated methods

Methods such as Form->sendToPlayer() and FormsUI->createSimpleForm() has been deprecated for a while in favor of Player->sendForm() and new SimpleForm() respectively. They ideally should be removed in a major version update.

*Sorry for bad grammar!

dyfsfsfaseree

Describe the bug
A clear and concise description of what the bug is.
rgwegrgergrwe
To Reproduce
Steps to reproduce the behavior:
rgreeeegaefqref

Expected behavior
A clear and concise description of what you expected to happen.
FormsUI Library information
r4gesgrregsrdg

Screenshots
If applicable, add screenshots to help explain your problem.
errrrgsdsrtfgbsfb

Crashdump or other files related to the problem
gsregsdgsdfgs
Additional context
Add any other context about the problem here.
regsdgrfsdfrg

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.