Muqsit
Joined:
Nov 12, 2016
Messages:
1,507
Likes Received:
1,947
Trophy Points:
245
Gender:
Male
Birthday:
Jan 24, 2001 (Age: 18)
Location:
troposphere
Occupation:
memester

Share This Page

Muqsit

Chicken, Male, 18, from troposphere

Verified

i just wrote a /wilderness plugin on my github which teleports the player to the highest y block.. if anyone is interested. Mar 31, 2019

    1. Muqsit
      Muqsit
      i just wrote a /wilderness plugin on my github which teleports the player to the highest y block.. if anyone is interested.
      1. JackMD likes this.
      2. View previous comments...
      3. JackMD
        JackMD
        NIce works great!
        Apr 1, 2019
        Muqsit likes this.
      4. HimbeersaftLP
        HimbeersaftLP
        How much is it on Poggit? :P
        Apr 1, 2019
        Muqsit likes this.
      5. Muqsit
        Muqsit
        Poggit isn't letting me sell the plugin :(
        Apr 1, 2019
    2. Muqsit
      Muqsit
      public $var; ✓ public $var = null; ×
      1. JackMD likes this.
      2. dktapps
        dktapps
        well, null initializer is good when the type is actually nullable. When we get typed properties, an uninitialized typed property will raise errors instead of yielding null. So better use your null initializers where appropriate.
        Mar 14, 2019
        Muqsit likes this.
    3. Muqsit
      Muqsit
      I believe hosting $ servers are a trap. If you ever don't want to host the server anymore, you can't just do that.
      1. jasonwynn10 likes this.
      2. Muqsit
        Muqsit
        You'll be met with a ton of purely valid chargebacks. The only escape is to pass it on to someone but either way the payments you've received in the last 180 days are still at risk.
        Mar 10, 2019
      3. Muqsit
        Muqsit
        180 days is PayPal's policy on chargebacks. You can't chargeback payments older than that. The duration may vary for other payment gateways.
        Mar 10, 2019
      4. Muqsit
        Muqsit
        Possible solution: shut down your server store for 180 days. But still, it is a bad move to just shut the server down.
        Mar 10, 2019
        jasonwynn10 likes this.
    4. ModelClover72
      ModelClover72
      You gonna ever update WorldGuard again?
    5. PixelzChris
      PixelzChris
      Hey im using your invmenu api... I have created my GUI and now I want to add this code
      ```foreach($this->getServer()->getOnlinePlayers() as $player){
      $name = $player->getName();
      $head = Item::get(397, 3, 1);
      $head->setCustomName($name . " Advertising");
      $inventory->addItem($head);```
      But where should I add it to work...?
    6. Muqsit
      Muqsit
      Plural form of status is stati.
      1. XenialDan likes this.
      2. Muqsit
        Muqsit
        heh, it actually is a plural form but of the word "state"... wowwy.
        Jan 2, 2019
        jasonwynn10 likes this.
      3. Sandertv
        Sandertv
        Welcome to the world where the plural of bus is bi
        Jan 2, 2019
        HimbeersaftLP and Muqsit like this.
    7. Muqsit
      Muqsit
      MySQL's ORDER BY RAND() LIMIT 1 takes an obnoxiously long time. Slows down the whole query. Possibly depends on number of entries in the db.
      1. View previous comments...
      2. dktapps
        dktapps
        perhaps it has something to do with your indexes. if you're using a random column that is not indexed, then the search time is going to grow linearly.
        Dec 30, 2018
        Muqsit likes this.
      3. Muqsit
        Muqsit
        oof okay, so like fetching an index vs fetching a non indexed value makes a huge difference
        Dec 30, 2018
      4. Muqsit
        Muqsit
        the table im using here is skins(uuid BINARY(16) PRIMARY KEY, skin MEDIUMBLOB NOT NULL)
        uuid = player's raw uuid
        skin = skindata

        If I SELECT skin ORDER BY RAND() LIMIT 1, it takes roughly 0.15-0.20s (7002 entries in table).

        Now if I SELECT uuid ORDER BY RAND() LIMIT 1, it takes 0.00-0.01s.

        If I
        SELECT s.skin FROM skins s, (SELECT uuid FROM skins ORDER BY RAND() LIMIT 1) t WHERE s.uuid=t.uuid
        It takes 0.00-0.01s
        Dec 30, 2018
        dktapps likes this.
    8. Muqsit
      Muqsit
      Merry Christmas, am I too early or too late?
      1. DaPigGuy
        DaPigGuy
        It's January 05 2025, you're a little late, or very early, depending on how you look at it...
        Dec 27, 2018
    9. Muqsit
      Muqsit
      What's the first catastrophic event of 2019 going to be?
      1. MalakasPlayzMCPE likes this.
      2. Sandertv
        Sandertv
        Me not dying




        Just kidding, lol
        Dec 26, 2018
        jasonwynn10 and Muqsit like this.
      3. Muqsit
        Muqsit
        damn, sander isn't joking about him dying.
        Dec 27, 2018
      4. HimbeersaftLP
        HimbeersaftLP
        Donald Trump is still president.
        Dec 30, 2018
        Muqsit and Sandertv like this.
    10. Muqsit
      Muqsit
      boy does mysql make some great queues!
      1. Sandertv
        Sandertv
        *Dislike*
        Dec 24, 2018
      2. Muqsit
        Muqsit
        use the like button since there isn't a dislike button right now
        Dec 25, 2018
        Sandertv and HimbeersaftLP like this.
      3. HimbeersaftLP
        HimbeersaftLP
        Yeah, "like this" and "dislike" sound similar enough.
        Dec 25, 2018
        Muqsit and Sandertv like this.
    11. Muqsit
      Muqsit
      Has anyone else experienced the freeze bug on chrome for Android while scrolling down large pages (f.e: a large github diff page)?
      1. jasonwynn10 likes this.
      2. View previous comments...
      3. Muqsit
        Muqsit
        The scrolling is smooth af on the default Android browser, so it's definitely chrome.
        Dec 19, 2018
      4. dktapps
        dktapps
        sofe had the same problem, as far as i recall he said it had something to do with long lines.
        Dec 19, 2018
        jasonwynn10 and Muqsit like this.
      5. HimbeersaftLP
        HimbeersaftLP
        I always thought this is just my outdated tablet's fault...
        Dec 19, 2018
    12. Muqsit
      Muqsit
      human: can I pls have brain? god: so u can make wise decisions? human: yesss human: *reports "Internal server error" to pmmp like a boss*
      1. A354-PH, jasonwynn10 and Sandertv like this.
      2. MalakasPlayzMCPE
        MalakasPlayzMCPE
        try{
        //code
        }catch(\Error $error){
        \pocketmine\Server::getInstance()->getLogger()->error($error);
        }
        Dec 16, 2018
      3. dktapps
        dktapps
        well it's not the "internal server error" that's the problem, it's when idiots report errors that are very clearly caused by plugins
        Dec 16, 2018
    13. Muqsit
      Muqsit
      how to count how many "how to get player count in world/level" threads have been made this year.
      1. Sandertv
        Sandertv
        foreach($howToGetPlayerCountInWorldOrLevelThreads as $name => $thread) {
        $count++;
        }
        Dec 15, 2018
      2. Sandertv
        Sandertv
        count() is for plebs
        Dec 15, 2018
    14. Muqsit
      Muqsit
      MCPE seems more alive now... maybe it's just me?
      1. View previous comments...
      2. dktapps
        dktapps
        by what metrics are you judging?
        Dec 3, 2018
        jasonwynn10 likes this.
      3. Muqsit
        Muqsit
        This doesn't make much sense... the player count of the top 7 servers on minecraftpocket-servers was above 100 last night and that was a rare sight.

        Haven't noticed that happen since last December-January.

        I believe Christmas plays a role here?
        Dec 3, 2018
        jasonwynn10 likes this.
      4. dktapps
        dktapps
        yep, christmas is usually a peak time
        Dec 3, 2018
        InspectorGadget and Muqsit like this.
    15. Muqsit
      Muqsit
      it's hard to find a PHP project that gets creative with optimization
      1. jasonwynn10 likes this.
      2. Muqsit
        Muqsit
        ...of any kind, not limiting to CPU optimization only.
        Nov 18, 2018
        jasonwynn10 likes this.
      3. BruhLol
        BruhLol
        Have u seen InvMenu?
        Nov 18, 2018
        Muqsit likes this.
      4. Muqsit
        Muqsit
        Yes, it's among the coolest PHP projects of 2018 :]
        Nov 18, 2018
        BruhLol and jasonwynn10 like this.
    16. Muqsit
      Muqsit
      I'm soo proud of InvMenu, I may star it myself.
      1. XenialDan
        XenialDan
        Readme: "GUI out of any king of inventory". Creating an issue for the typo would be spam
        Nov 17, 2018
        jasonwynn10 and Muqsit like this.
    17. Muqsit
      Muqsit
      im 144 years old, need tips to slow down ageing
      1. HimbeersaftLP and dktapps like this.
      2. DaPigGuy
        DaPigGuy
        Huh. We joined the forums the same day and got the the achievement too
        Nov 13, 2018
        xXNiceAssassinlo YT and Muqsit like this.
      3. XdmingXD
        XdmingXD
        Play fortnite and you will find that not only your age is downed, but also your IQ is downed too
        Nov 13, 2018
        Muqsit likes this.
    18. Muqsit
      Muqsit
      want to backup your server? simple! just json encode (JSON_PRETTY_PRINT) server instance and save it into a file.
      1. Muqsit
        Muqsit
        but sadly pocketmine devs want to make everything hard so if you try doing tjat you get many errors like out of memory :(
        Nov 9, 2018
      2. Sandertv
        Sandertv
        Just set the memory limit to -1 and it works fine
        Nov 9, 2018
    19. Muqsit
      Muqsit
      Working on InvMenu v2.0. It adds a second parameter to InvMenu->send() that let's you specify a custom name for a specific player.
      1. RyanShaw and HimbeersaftLP like this.
      2. Muqsit
        Muqsit
        If you have any suggestions, feel free to open an issue on GitHub.
        Nov 2, 2018
        xXNiceAssassinlo YT likes this.
      3. Muqsit
        Muqsit
        I'm getting rid of InvMenu::TYPE_CUSTOM. Instead, you can just use InvMenu::create(CustomFakeInventory::class);
        Nov 2, 2018
        jasonwynn10 likes this.
      4. Muqsit
        Muqsit
        I may also add a Y coordinate check. If the player is too low or too high, the server won't attempt to send the inventory and InvMenu->send() will return false.

        Oh and that means InvMenu->send() won't be returning the windowId anymore. You can still fetch it using $player->getWindowId($inventory) if InvMenu->send() returns true.
        Nov 2, 2018
    20. Muqsit
      Muqsit
      i play pokemon go everyday!!!!1
      1. Sandertv
        Sandertv
        when I wake up, I'm grabbing my phone
        Oct 6, 2018
        Muqsit likes this.
      2. HimbeersaftLP
        HimbeersaftLP
        to turn off the alarm. Shit I messed it all up.
        Oct 6, 2018
  • Loading...
  • Loading...
  • About

    Gender:
    Male
    Birthday:
    Jan 24, 2001 (Age: 18)
    Location:
    troposphere
    Occupation:
    memester
    GitHub:
    muqsit
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.