Some petridish.pw modes in Ogar


Welcome to AgarServ.com Forums Agar.io generic topics Some petridish.pw modes in Ogar

This topic contains 52 replies, has 3 voices, and was last updated by Profile photo of G G 2 years, 10 months ago.

  • Author
    Posts
  • #6257
    Profile photo of G
    G
    Participant

    I decided to make some modes in Ogar. If you go to http://petridish.pw/ you will notice there are some modes that are not in agar.io. I decided to make some of them, although not all of them are done. Arena modes, Zombie and Deathmatch are not done yet. I’m not going to do CrazySplit because it uses buttons that agar.io doesn’t have. I also won’t post modes that can be done with a config setting.
    Mega Split:

    Hard Core:

    Virus Wars:

    Crazy:

    Snaker Dish:

    • This topic was modified 3 years, 3 months ago by Profile photo of G G.
    • This topic was modified 3 years, 3 months ago by Profile photo of G G.
  • #6264
    Profile photo of G
    G
    Participant

    Black Hole gamemode being worked on.

  • #6265
    Profile photo of G
    G
    Participant

    Black Hole mode (Only Still blackhole)

  • #6268
    Profile photo of G
    G
    Participant

    Space Invaders: Not fully done yet.(Speed and game over doesn’t work yet)

  • #6270
    Profile photo of G
    G
    Participant

    Space Invaders

  • #6274
    Profile photo of G
    G
    Participant

    Eat For Speed gamemode being worked on!

    • This reply was modified 3 years, 3 months ago by Profile photo of G G.
  • #6283
    Profile photo of G
    G
    Participant

    Eat For Speed

    By the way, the bots don’t know what to do :)

    • This reply was modified 3 years, 3 months ago by Profile photo of G G.
  • #6285
    Profile photo of G
    G
    Participant

    Download Link for all server modes:
    http://www16.zippyshare.com/v/mwIjMLQB/file.html

  • #6287
    Profile photo of Vingtano
    Vingtano
    Participant

    Amazing!

    • #6290
      Profile photo of G
      G
      Participant

      Good! Did you manage to run it?

      • This reply was modified 3 years, 3 months ago by Profile photo of G G.
  • #6293
    Profile photo of G
    G
    Participant

    Deathmatch mode added.

  • #6304
    Profile photo of G
    G
    Participant

    Updated download with deathmatch mode:
    http://www68.zippyshare.com/v/NKAN7AXe/file.html

  • #6316
    Profile photo of G
    G
    Participant

    Arena mode being worked on.

  • #6317
    Profile photo of G
    G
    Participant

    Arena – now, few things work as you can see in the image.

  • #6318
    Profile photo of G
    G
    Participant

    Arena: More pointless fooling around. Well, at least the player counter works now.

  • #6319
    Profile photo of G
    G
    Participant

    In Space Invaders mode, invaders now can take cells of any size, not just below 390.

  • #6320
    Profile photo of G
    G
    Participant

    Merging https://github.com/OgarProject/Ogar/pull/548 a massive performance fix.

  • #6321
    Profile photo of G
    G
    Participant

    Change Log:
    In Space Invaders mode, invaders eat cells of all sizes.
    Added collision of the W back in Snaker Dish mode.
    Added a performance fix.
    http://www8.zippyshare.com/v/PV2tMd06/file.html

  • #6322
    Profile photo of G
    G
    Participant

    Black Hole: Improved collision when bigger than it. If you want to get a lot of black mass, type mass (id) 1000000 into console.

    P.S. I’m NOT Kadir G, it’s just a coincidence.

  • #6531
    Profile photo of G
    G
    Participant

    Preview of a new update. I have 512 cells and don’t lag at all(I showed a screenshot of Task Manager too, but blurred out useless info) Unfortunately there are bugs here and there, so expect it to be done in 2-3 days.

  • #6561
    Profile photo of G
    G
    Participant

    Has been released. There may still be bugs, so post them here if you find any.
    This server runs for me without a lot of lag with 300 bots.
    Current Petridish.PW modes supported are:
    MegaSPLIT
    VirusWARS
    CrazyFFA
    HardCORE
    http://www22.zippyshare.com/v/h6LPTFN0/file.html

    • This reply was modified 3 years, 2 months ago by Profile photo of G G.
    • This reply was modified 3 years, 2 months ago by Profile photo of G G.
  • #6589
    Profile photo of G
    G
    Participant

    Today I spent time optimising the server. Now, when in 512 cells, average cpu usage is 2% instead of 3.2%. (0.2% with JXcore!) 300 bot performance is about the same though. No new modes yet, but they are coming soon.
    http://www4.zippyshare.com/v/9G1ulSZI/file.html

    • This reply was modified 3 years, 2 months ago by Profile photo of G G.
  • #6592
    Profile photo of G
    G
    Participant

    It’s hard to believe, but this server with 500 bots is actually running close to full speed. Most of performance boost comes from JXcore, and most lag comes from food. My optimisations also add a bit of performance.

    • This reply was modified 3 years, 2 months ago by Profile photo of G G.
    • This reply was modified 3 years, 2 months ago by Profile photo of G G.
    • This reply was modified 3 years, 2 months ago by Profile photo of G G. Reason: it runs near fullspeed, not fullspeed!
    • This reply was modified 3 years, 2 months ago by Profile photo of G G.
    • This reply was modified 3 years, 2 months ago by Profile photo of G G.
  • #6665
    Profile photo of G
    G
    Participant

    Finally, a new mode is out. It’s Snaker Dish! It only works on the old agario before the 5 may update. Otherwise, you wouldn’t be able to stop accelerating. When all modes before the overhaul are ported to the new version, I’m going to make a custom client and add CrazySplit mode.
    http://www22.zippyshare.com/v/4vLCjMB5/file.html

  • #6666
    Profile photo of G
    G
    Participant

    Fixed a big bug that made players able to have premium skins even if custom clients are disabled and added DeathMatch mode.
    http://www106.zippyshare.com/v/c5eiLEbK/file.html

  • #6675
    Profile photo of G
    G
    Participant

    What? Petridish server illuminati confirmed?

    No, I was just testing how the more accurate, but slower physics engine behaves when you’re bigger than the map. The cells don’t switch order when there are 256 cells of 9 mass. It’s a bit slower, but if you want accurate physics, this is for you. I will release 2 versions. The first one will be named Performance and it’s like before the update(old physics) Accuracy(new physics) will be about 20% slower(assuming you don’t split into more than 256 cells) but cells won’t switch order in most cases.

  • #6759
    Profile photo of G
    G
    Participant

    In this update, all modes were merged into one(deathmatch and snakerdish). Coming soon: Black Hole mode and accuracy physics! http://www49.zippyshare.com/v/kLPj3aeH/file.html

  • #6781
    Profile photo of G
    G
    Participant

    Finally Black Hole mode with moving holes! Also included an important update from MultiOgar 1.2.49. Now I thought: Will accuracy mode be useful?(If you didn’t read previous posts, it’s a mode with high collision quality. That means the cells won’t start going crazy when there are 256 cells of 9 mass). Reply to this post and tell me to add it or not.
    Download link: http://www29.zippyshare.com/v/fquML60W/file.html

  • #6783
    Profile photo of G
    G
    Participant

    Now in black hole mode, you get score for feeding holes with W.
    Download: http://www92.zippyshare.com/v/AZUbwAyp/file.html

  • #6785
    Profile photo of G
    G
    Participant

    Testing new server physics. (May have problems with ejected mass collision)
    Download: http://www86.zippyshare.com/v/FXx0bgaD/file.html

    • This reply was modified 3 years, 2 months ago by Profile photo of G G.
  • #6826
    Profile photo of G
    G
    Participant

    Teams mode colors are broken right now, will be fixed in next version.

  • #6834
    Profile photo of G
    G
    Participant

    There are no updates right now, so I will talk about multi-ogar’s owner instead, and why I don’t merge most new commits with it. First, anti minion commit:
    Barbosik:
    ———————————————–
    white cell (with a slightly blue tint) means that this is minion. You cannot gain mass by eating minions.
    If your cell is white, it means that server detects you as minion, because server is under DDoS attack from minion botters. In such case you need to disconnect wait some time and try to connect again.

    Minions cannot see other players. It’s server protection from DDoS attack from minion botters.
    ———————————————–
    What the hell? If it’s a strong DDoS attack, it won’t help much because the server’s bandwidth is already maxed out! And if it’s a small DDoS/DoS attack, then you aren’t supposed to accept minion’s connection at all! Sending cell,leaderboard etc updates will just make the DoS worse, so just drop the connection!

    Second patch is the server running “too fast”.

    ——————————————————
    fix high speed after high lag issue
    ——————————————————

    Again, what’s wrong with Barbosik? If it had lag, it’s SUPPOSED to run faster to keep up for the lag that happened before! With this patch, it will not keep up, which will annoy such players, that for example want tok get 10k score in 10 minutes. So if during that 10 minutes the server lags, it won’t keep up and as a result, it might be as well impossible to get 10 K in that time frame!

    For now, that’s all! Check this regularly for new updates!

  • #6840
    Profile photo of G
    G
    Participant

    Updated! I was in a hurry and didn’t test this a lot, so report bugs by replying to this post.
    Changelog:
    Added Space Invaders gamemode.
    Fixed spectate mode name dissapearing bug.
    Added minions (no split or eject)
    Bots can now be affected by anti-teaming like players.
    Small optimizations(?) I don’t know if this sped up the server because even if they did the performance gain wouldn’t be so noticeable.
    Download: http://www43.zippyshare.com/v/2bi1JRhS/file.html

  • #6850
    Profile photo of G
    G
    Participant

    Updated again!
    Changelog:
    Fixed virus mass display.
    Boost distance now uses velocity vectors instead of changing position directly.
    Added extended split support(like in Pеtridish.PW CrazySplitMegaSplit mode)
    Download: http://www100.zippyshare.com/v/SUsPBNHn/file.html

  • #6852
    Profile photo of G
    G
    Participant

    Updated!
    Changelog:
    Protocol optimizations.
    Download: http://www29.zippyshare.com/v/X8najLlP/file.html

  • #6886
    Profile photo of G
    G
    Participant

    Let’s talk about MultiOgar again. This time about optimizations of getRandomColor() function.
    Original code:

    var h = 360 * Math.random();
    var s = 248 / 255;
    var v = 1;

    // hsv to rgb
    var rgb = { r: v, g: v, b: v }; // achromatic (grey)
    if (s > 0) {
    h /= 60; // sector 0 to 5
    var i = Math.floor(h) >> 0;
    var f = h – i; // factorial part of h
    var p = v * (1 – s);
    var q = v * (1 – s * f);
    var t = v * (1 – s * (1 – f));
    switch (i) {
    case 0: rgb = { r: v, g: t, b: p }; break
    case 1: rgb = { r: q, g: v, b: p }; break
    case 2: rgb = { r: p, g: v, b: t }; break
    case 3: rgb = { r: p, g: q, b: v }; break
    case 4: rgb = { r: t, g: p, b: v }; break
    default: rgb = { r: v, g: p, b: q }; break
    }
    }
    // check color range
    rgb.r = Math.max(rgb.r, 0);
    rgb.g = Math.max(rgb.g, 0);
    rgb.b = Math.max(rgb.b, 0);
    rgb.r = Math.min(rgb.r, 1);
    rgb.g = Math.min(rgb.g, 1);
    rgb.b = Math.min(rgb.b, 1);
    return {
    r: (rgb.r * 255) >>> 0,
    g: (rgb.g * 255) >>> 0,
    b: (rgb.b * 255) >>> 0
    };

    My optimized code(Currently it’s missing some optimizations, this code will be included in next version)

    var h = 6 * Math.random();
    // hsv to rgb
    var i = h >> 0;
    var f = h – i; // factorial part of h
    var q = 1 – 0.9725490196078431373 * f;
    var t = 1 – 0.9725490196078431373 * (1 – f);
    switch (i) {
    case 0: var rgb = { r: 1, g: t, b: 0.02745098039215686274 }; break
    case 1: var rgb = { r: q, g: 1, b: 0.02745098039215686274 }; break
    case 2: var rgb = { r: 0.02745098039215686274, g: 1, b: t }; break
    case 3: var rgb = { r: 0.02745098039215686274, g: q, b: 1 }; break
    case 4: var rgb = { r: t, g: 0.02745098039215686274, b: 1 }; break
    default: var rgb = { r: 1, g: 0.02745098039215686274, b: q }; break
    }
    // check color range
    rgb.r = Math.max(rgb.r, 0);
    rgb.g = Math.max(rgb.g, 0);
    rgb.b = Math.max(rgb.b, 0);
    rgb.r = Math.min(rgb.r, 1);
    rgb.g = Math.min(rgb.g, 1);
    rgb.b = Math.min(rgb.b, 1);
    return {
    r: (rgb.r * 255),
    g: (rgb.g * 255),
    b: (rgb.b * 255)
    };

    Barbosik said that my code runs slower because of worse case for JIT optimizations. However I have proven him wrong, and my code is 19% faster! Download link for benchmarks:http://www80.zippyshare.com/v/pzFXm4Pd/file.html It will have 2 versions: Optimized and Unoptimized. Less number is better(it shows amount of milliseconds required for 1 million function calls) In my case it’s 199 unoptimized and a mix of 166 and 167 for optimized.

  • #6892
    Profile photo of G
    G
    Participant

    Diep.io private server! First release! Shapes are square only for now, press space to shoot at them and they will destroy. In the middle of the map there is a pentagon field. http://www12.zippyshare.com/v/1HUnrH3N/file.html Run start_gameserver.bat and then go to 127.0.0.1:88

    • This reply was modified 3 years, 1 month ago by Profile photo of G G.
    • #6942

      Yo Polar
      Participant

      Hey g, i have had a problem, and i dont understand where it is coming from. when my users try to use my bots, agar.pro just keeps them connecting, and it never actually responds with the server. so it just mass connect spam in console… is there something that happened, like did they change their protocol or something along those lines… i do not know alot about the java end of my extension.. that is one thing i’d like to learn! thanks, and hope this can be resolved!

      also, poelple want to play for the gold edition, so one we can sort this out, i’d like to include you in that, because you were a big part in the whole process… so if you are interested on getting around 10 percent of the purchases or something around there in the future let me know! because you have helped me MASSIVELY in the past, and i want to return the favor…

      we can discuss that later on, i just wanted to let you know that was something i was interested in doing.

      Thanks man, and i hope this isn’t a hard fix, again i am willing to do it myself, i just need some pointers!

      Thanks again G.

      • #6943
        Profile photo of G
        G
        Participant

        Looks like the agar “pros” tried to fix it, of course they aren’t pros and I bypassed it. How did I do it? They dissalowed connections from sites other than agar.pro. So I just changed where the extension works to agar.pro! About giving 10% money from selling gold edition, no, I don’t want ANY money, please keep all of it with you!
        Instructions: 1. Go to agar.pro without extension and get IP.
        2. Go to agar.pro again, this time with extension enabled. In the IP field(left to “Connect” button) paste the ip (with the “ws://” part)
        3. Press Connect. Now everything’s done and you can run bots again!
        Polars and G Minions Release v1.0.6 -> http://www49.zippyshare.com/v/pEtlNsio/file.html

        15k score in about 30 seconds.

        • This reply was modified 3 years, 1 month ago by Profile photo of G G.
        • This reply was modified 3 years, 1 month ago by Profile photo of G G.
        • This reply was modified 3 years, 1 month ago by Profile photo of G G.
        • This reply was modified 3 years, 1 month ago by Profile photo of G G.
      • #6952
        Profile photo of G
        G
        Participant

        Also, I think polarsbots.tk website was down (404 Not Found) a few minutes ago (It works now)

        • This reply was modified 3 years, 1 month ago by Profile photo of G G.
  • #6990
    Profile photo of G
    G
    Participant

    After developing some bots for some agar.io servers, something has arrived. It’s…
    It’s an

    UPDOOT!

    For Petridish Ogar!
    Jokes aside, here’s the changelog:
    Improved performance of handling players with large amount of cells.(I didn’t test it, but it should be about 2x faster now)
    Added Petridish.pw Leap and EatForSpeed modes.
    Fixed BlackHole mode (it broke with boost code refactoring)
    Solid borders instead of bouncy borders.
    http://www100.zippyshare.com/v/1js41QYn/file.html

    • This reply was modified 3 years, 1 month ago by Profile photo of G G.
  • #6996
    Profile photo of G
    G
    Participant

    Update:
    Fixed player spawning in EatForSpeed mode.
    http://www76.zippyshare.com/v/CqUDiZgS/file.html

    • This reply was modified 3 years, 1 month ago by Profile photo of G G.
  • #7008
    Profile photo of G
    G
    Participant

    Update:
    Fixed boost movement border physics.
    Experimental mode fixes and optimizations(When you change to another mode, there are no errors and spawners keep ejecting food)
    New food growing algorithm (works faster, and for any food mass)
    http://www105.zippyshare.com/v/Szch4lgn/file.html

  • #7018
    Profile photo of G
    G
    Participant

    Now Petridish Ogar works with custom modified client! (From petriclone). Well, mostly works. The leaderboard is bugged.

    • This reply was modified 3 years, 1 month ago by Profile photo of G G.
  • #7023
    Profile photo of G
    G
    Participant

    I didn’t show you the new minion feature yet, but here it is:

    There’s no lag at all here(2% CPU usage of JXcore)
    This is nearly the same amount of bots as in I LOVE AGARIO’s clickbait “5000 BOTS video”, but his server was like 10 times slower than normal 🙂

    • This reply was modified 3 years ago by Profile photo of G G.
  • #7028
    Profile photo of G
    G
    Participant

    Petridish Ogar with Petriclone client has been released! Thanks to:
    Jaguar
    for providing with petridish.pw client.
    Here’s the changelog:
    Updated vanilla config values(Splitting and ejecting mass, spawner and virus colors)
    Added virusGrowMass (growing factor for viruses, use 0 for Teams and Virus Wars modes)
    Added custom client
    Efficient protocol(minimum 11 bytes per cell update)
    Supporting splitting and ejecting mass for minions.
    Agario.core.js’s mods(thick outlines,no score decrease after pressing “Play”)
    Being hard to stop the cell in one place was also ported into custom client during testing, but was proven useless after testing
    Linesplit fixed.

    To run client, go to start.bat(Make sure to edit it so that it matches your node path). Then, for server, go to “Ogar”,(don’t go to servers, it’s not used)

    http://www99.zippyshare.com/v/detEzcBE/file.html

    HINT: Update to latest Node version, and this server will run 2 times faster than Moneyclip’s servers!

    • This reply was modified 3 years ago by Profile photo of G G.
  • #7033
    Profile photo of G
    G
    Participant

    New update! Changelog:

    Fixed autosplit
    Faster W collision.

    Unfortunately,that’s all! Download it here: http://www2.zippyshare.com/v/AWhvTumn/file.html

  • #7059
    Profile photo of G
    G
    Participant
  • #7108
    Profile photo of G
    G
    Participant

    This server is still being updated. But finding new possible optimisations are becoming harder and harder. Now I’m focusing on protocol optimisation and stuck on a problem where the client will miss the first packet or two and this results in corrupted borders (and probably more minor glitches). This seems to be not just my problem (a node.js problem) from what I’ve googled, so I won’t bother fixing it and release it in a few days.

  • #7115
    Profile photo of G
    G
    Participant

    New update!
    Changelog:
    New optimised protocol (for example, one of the optimisations is sending a “owned” flag in updates instead of sending a 61 byte large packet to add a cell to owned cell list)
    And more things (can’t remember them all, but the big change is the protocol)
    http://www43.zippyshare.com/v/x2aGtwzd/file.html

  • #7122
    Profile photo of G
    G
    Participant

    A bug in previous update causing ghost cells has been found. This patch fixes it (or at least greatly reduces the amount of ghost cells): http://www2.zippyshare.com/v/G5OtGSWj/file.html

  • #7124
    Profile photo of G
    G
    Participant

    Fix yet another bug with a new protocol, this time it’s much more serious. Anyone knowing the exploit could crash the server! This patch IS compatible with previous version. http://www104.zippyshare.com/v/IxwxiGgq/file.html

  • #7125
    Profile photo of G
    G
    Participant

    New update:
    New way of handling rigid collision – MASSIVELY improves collision quality while barely reducing performance (2.8x collision quality at only 1.2x more cpu usage) – http://www89.zippyshare.com/v/o4CHf6vH/file.html

You must be logged in to reply to this topic.