xzfc / agar-expose Goto Github PK
View Code? Open in Web Editor NEWYet another ogar client
Yet another ogar client
@xzfc can you please back it up or give me the out.html?
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.
The coordinates are relative to the player's position
How i can enable skins in this client?
As in the title
Sorry for posting so many issues. IM working on an extension. ANyways, i m getting this error once in a while. It causes a white screen
Hey xzfc,
agar-expose is fixed please update, agar-expose is too need a extension.
Good Work!.
Hi,
With the newer version of agario it does not get the raw viewport anymore
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!!!
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!
I am wondering how to draw text in the top left hand corner (ex, 12/20 Bots)
This can be seen in Agario Powerups.
server-booted-up
{ name: 'connect_server' }
cant connect to sever
I need to automatically split my cells when I have >36 mass.
How would I Convert Real World Coords (agar coords) to the pixel coords (the coords you use with core.setTarget)?
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 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
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
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?
Title
Throughout the entire script, there are no semicolons. There is supposed to be.
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
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
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=/";
}
Agar.io has updated now, some things in agar-expose are broken now.
Plz another please explain me how to run my server in old versions
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
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
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.
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
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.
Founded:
var mass= Math.floor(cell.size*cellsize/100); if(mass >score){var score=mass;}
If "top" would have the letters "Hello" within their name they would have a red name, how could i do that? (I know it says read only but is there a way or how could i do so in any way possible)
It seam agar use a new decryption methode !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.