Giter VIP home page Giter VIP logo

agar-expose's People

Contributors

xzfc avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

agar-expose's Issues

Cell Control (Feature request)

Really like this project.

Would be even better if the API exposed cell controls, such as move/split/shoot mass.

I have no idea if this is viable (or already possible!) but if it could be included in a future release I would be extremely grateful.

Agar-Expose Fixed

Hey xzfc,
agar-expose is fixed please update, agar-expose is too need a extension.

Good Work!.

I need old main_out.js

Hey xzfc guy,

i need old main_out.js, give me please.

and give me all old agar.io source if have you all originals graphics for agar.io
Good Works!!!

Error Report

I've 2 errors when expose.js is loaded

Expose: `var:rawViewport:x,y var:disableRendering:1` replacement failed!replace @ (program):284
(program):284 
Expose: `hook:beforeTransform hook:beforeDraw var:drawScale` replacement failed!

Draw Text in Top Corner

I am wondering how to draw text in the top left hand corner (ex, 12/20 Bots)

This can be seen in Agario Powerups.

Needs update...

Check these screenshots... Is it just me? Yes, I'm playing on the real Agar.io


2016-04-09 20_49_22-agar io


2016-04-09 20_49_37-agar io

WorldToPixelCoords

How would I Convert Real World Coords (agar coords) to the pixel coords (the coords you use with core.setTarget)?

Move player?

How would I be able to move the player to a specific X and Y using canvas events?
example:
function moveTo(x,y){
document.getElementById('canvas').onmousemove({clientX:x, clientY:y});
}

Agario-client

Agario client is outdated so its shows Minions: 1 or 2 but no minions/bots swaps is it agario-client or other problem please help by the way server.js is fixed is it because of new protocol

Example, Add a kawaii face to viruses

I may be missing the obvious, but where do I run this code?

image.crossOrigin = 'anonymous';
image.src = 'http://i.imgur.com/V8EOXwT.png';
window.agar.hooks.cellSkin = function(cell, old_skin) {
if (old_skin) return old_skin;
if (cell.isVirus) return image;
return null;
}

I want to have it in a custom main_out.js file but I get

Cannot read property 'hooks' of undefined

It broke again!

Absolutely love this, my mini map runs with it but it seems to have broke again with one of the recent updates. Is there a fix coming out soon?

Not working with extensions

Ifk if it's me por This conde Can't work with extensions, because I tried and got no luck making this work IN A Google chrome extenaion

Correct X & Y coordinates ?

If I go to a corner in agar.io, and type window.agar.rawViewport.x and window.agar.rawViewport.y in the console, I get for example X: 5413 Y: 9975. If i respawn, and go to the same corner, I get a different value.

I think it's the effect of a recent agar.io bot-patch.

My question is: how do i get the same values every time i get in the corner?

It's not really a issue, but i really need help with this!
I saw your "mouse positioning script". I just wonder if it works in the same way with just the cell coordinates.

I'm happy for answers :D

Non-mangled code?

Is there any of the non-mangled code so I can understand some stuff? Just by looking at the inner core of qa I can see it sets cookies, but wc is fUcKeD uP.

// wc
  function wc() {
    if (.4 > r) {
      ia = null;
    } else {
      for (var a = Number.POSITIVE_INFINITY, b = Number.POSITIVE_INFINITY, d = Number.NEGATIVE_INFINITY, c = Number.NEGATIVE_INFINITY, g = 0;g < z.length;g++) {
        var e = z[g];
        !e.P() || e.V || 20 >= e.size * r || (a = Math.min(e.x - e.size, a), b = Math.min(e.y - e.size, b), d = Math.max(e.x + e.size, d), c = Math.max(e.y + e.size, c));
      }
      ia = xc.init({Ba:a - 10, Ca:b - 10, za:d + 10, Aa:c + 10, Ja:2, Ka:4});
      for (g = 0;g < z.length;g++) {
        if (e = z[g], e.P() && !(20 >= e.size * r)) {
          for (a = 0;a < e.a.length;++a) {
            b = e.a[a].x, d = e.a[a].y, b < A - q / 2 / r || d < B - u / 2 / r || b > A + q / 2 / r || d > B + u / 2 / r || ia.va(e.a[a]);
          }
        }
      }
    }
  }
// qa
  function qa(a, b) {
    if (b) {
      var d = new Date;
      d.setTime(d.getTime() + 864E5 * b);
      d = ";expires=" + d.toGMTString();
    } else {
      d = "";
    }
    document.cookie = "v72_redirect=" + a + d + ";path=/";
  }

How to use,

Plz another please explain me how to run my server in old versions

Agario-client

agario-cleint is outdated i fixed the server.js problem but the agario-client is outdated so bots dont spawn the number is between 1-2 bots but none spawns

A bunch of questions

Question 1: How would I add borders?

Question 2: How could I change the way pellets and viruses look(ex, making viruses not spikey, or change the size of the pellets)

Question 3: How could I change the picture of the background? SO it says A1 A2 A3 A4. I can either change the picture or draw it using canvas. I think I should just change the picture though. Much easier

dimensions hook

Would it be possible to make a hook for case 64 so I could get a callback that would be called every time opcode 64 gets sent.

Packet scrambling?

From my research, the packets appear to be scrambled, as in every different packet that i send is not the same. The init packets appear to be the same, the 2nd changing every hour. But the other packets, such as MoveTo and facebook login, appear to be different every time. explanation: one time the facebook login packet might be 34 and the next time you login the packet is 71. I do not think it is possible to guess which packet will be the next packet, but if you can see some packet similarities between connections you might be able to detect if at least 1 packet is always received that might contain some important info.
-Mr.Sonic Master

503 Service Unavailable Message When Script is Enabled

So, I just downloaded Tampermonkey and the agar-expose script. It worked for maybe 5 minutes or so and then all of a sudden it redirected me to tampermonkey and it was saying something like "agar-expose need permission to work" and there were different options like: Allow to work once, Allow to work every time, etc.. I picked allow every time, and now every time I go to Agar.io with the script enabled, it says "503 service unavailable".

Any help would be greatly appreciated, thank you.

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.