Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the QueryRegenerateEvent !? #350

Closed
Pab450 opened this issue Feb 11, 2017 · 5 comments
Closed

Fix the QueryRegenerateEvent !? #350

Pab450 opened this issue Feb 11, 2017 · 5 comments
Labels
Category: API Related to the plugin API Resolution: Invalid

Comments

@Pab450
Copy link

Pab450 commented Feb 11, 2017

Issue description

The "QueryRegenerateEvent" in Pocketmine is now break ! setTimeout(), setMaxPlayerCount() and more is break.

Steps to reproduce the issue

    public function Query(QueryRegenerateEvent $event){
        $event->setTimeout(10);//No change, why ?
        $event->setMaxPlayerCount(30); //No change, why ?   
    }

OS and versions

  • PocketMine-MP: 1.6.2 dev api 3.0.0-ALPHA3
  • PHP: php7
  • Server OS: Mac OSX
  • Game version: Mcpe v1.0.3.0

Crashdump, backtrace or other files

  • ...
@dktapps dktapps closed this as completed Feb 12, 2017
@dktapps
Copy link
Member

dktapps commented Feb 12, 2017

Without knowing your PocketMine-MP version, OS, PHP, Client version, or plugins and how the issue occurred, the issue cannot begin to be solved.
A pre-formatted template is provided that shows the required information to begin to find, test and solve an issue.
Until the adequate template and information is provided, the issue will be closed; it may be reopened if you update the ticket with the correct template and required information.

Contribution guidelines

@Pab450
Copy link
Author

Pab450 commented Feb 12, 2017

Up

@dktapps dktapps reopened this Feb 12, 2017
@dktapps dktapps added Category: API Related to the plugin API Status: Unconfirmed Bug has not yet been reproduced by a maintainer and removed Resolution: Invalid labels Feb 12, 2017
@Pab450
Copy link
Author

Pab450 commented Feb 18, 2017

I think the "QueryRegenerateEvent" event can read the requested information, but can't change the informations..

@robske110
Copy link
Contributor

Invalid issue. This does work.
Query.php.zip I used that for testing. After the first call to the query event http://robskebueba.no-ip.biz/BannerForMCPE/MainCode(PHP)/banner1.php?host=robskebueba.no-ip.biz&port=6452 does show 0/2000 instead of 0/5. Did you register events in your plugin? Is your plugin loaded?

@dktapps
Copy link
Member

dktapps commented Feb 19, 2017

Closing due to not reproducible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: API Related to the plugin API Resolution: Invalid
Projects
None yet
Development

No branches or pull requests

3 participants