OgarProject / Ogar

An open source Agar.io server implementation, written with Node.js.
Other
718 stars 825 forks source link

Stop grow at 625 mass. #422

Closed Lukkez closed 8 years ago

Lukkez commented 8 years ago

How to put premium skins like Parisgamma? i know Parisgamma don't use normal ogar but i want to know how to put this on normal ogar, i making a server for my friends (Parisgamma it's: THIS SERVER)

SEE LATEST COMMENT

Luka967 commented 8 years ago

It's client things. Ogar servers have nothing to do with this.

Lukkez commented 8 years ago

Nope, parisgamma use normal client, if use name will give the skin with nick

BaumanDev commented 8 years ago

@Luka967 @Lukkez It could true, to connect to ParisGamma you go to

http://agar.io/?ip=parisgamma.iomods.com:1501

ghost commented 8 years ago

would be nice if anyone can tell

Lukkez commented 8 years ago

I never played with kraken skin, i want so much

retslac commented 8 years ago

This is interesting. Didn't think that was possible. Would love to know how this was done too.

ghost commented 8 years ago

parisgamma is not client sided

Lukkez commented 8 years ago

@retslac This is possible, but you need a huge code(i think), @Agarian Yea, not client sided

retslac commented 8 years ago

@Lukkez what do you mean? how do you need a huge code?

BaumanDev commented 8 years ago

@retslac He means that getting the skins to work will require a lot of code. What I had in mind is getting the main_out.js of agar.io, editing some things, and making it work with ogar. I have no idea how to actually make it work with ogar.

BaumanDev commented 8 years ago

@ItzLevvie Can you please share it with me?

ghost commented 8 years ago

do tell pls

BaumanDev commented 8 years ago

@ItzLevvie Can you give us the link to you server?

ghost commented 8 years ago

email it or something or maybe even make a new respiratory for it

BaumanDev commented 8 years ago

@ItzLevvie Can you give us the link to your server? So we can check it out and play on it, Please?

ghost commented 8 years ago

i just want the skins code

Lukkez commented 8 years ago

@Agarian Me too, i'm making a server, @ItzLevvie try to put the code on you version of ogar and release

retslac commented 8 years ago

Guys, i also had a look at the main_out and found the way to do it. I tested some premium skins with my ogar server and it works perfectly. It's a bit difficult to explain, so i'm first gonna put it into code and post here later.

ghost commented 8 years ago

all of the skins?

ghost commented 8 years ago

patience, man

ghost commented 8 years ago

i saw. also i fount a minor issue ill make a pr on it

BaumanDev commented 8 years ago

@retslac You're awesome man!! Simply amazing!! I can't wait to get the code.

ghost commented 8 years ago

were you were able to get it in this format?: < SKIN NAME > after that the skin stays no matter what until you reconnect this just may be the best thing since your smooth split! :smiley:

skyleter commented 8 years ago

Hi natsu


@retslac oh man thats nice :D

skyleter commented 8 years ago

thx <2+1

ghost commented 8 years ago

i am exited

skyleter commented 8 years ago

pull request :lenny:

ghost commented 8 years ago

:DDD

retslac commented 8 years ago

were you were able to get it in this format?: < SKIN NAME > after that the skin stays no matter what until you reconnect

Yep, i was planning on implementing it just the same as on the parisgamma server, meaning using the < skinname > tags before your nickname and saving last used skin.

It's even possible to make all food and viruses look like kraken or raptors which off course I couldn't resist to try. Damn funny game to eat all those little krakens!

BaumanDev commented 8 years ago

@retslac I have never been more excited in my life. Please share it man!!!

Andrews54757 commented 8 years ago

Im waiting, i even put down pull requests (sorry natsu) just to make it my 1000 commit

BaumanDev commented 8 years ago

It's okay, all you needed to is keep it open and just leave it ^-^

retslac commented 8 years ago

I'll try to code it tomorrow and share it afterwards.

skyleter commented 8 years ago

@retslac Yes! i tried with ogarserv test [for premium skins] and it just set to food skins or something... [in this case that set an ASCII letter].

skyleter commented 8 years ago

Please share it now at least skins :-(

skyleter commented 8 years ago

and tmorrow the food skin :3

skyleter commented 8 years ago

This is so exciting.

BaumanDev commented 8 years ago

@retslac Well you say it works right? Can't you share it man? Please my heart can't stop pumping, it's too exciting.

@mogokcp IKR!!

Andrews54757 commented 8 years ago

Just as long i know how skins work

skyleter commented 8 years ago

Premium skins, whats next, would be nice to bypass XP next =P

mass 1 40000 kill 1 < agario add 40k exp just like vanilla servers lol

retslac commented 8 years ago

You have to set an extra flag in UpdateNodes.js

view.setUint8(offset + 17, (node.spiked | 4), true); // Flags

and right after that you need to insert % + premium skinname in the packet

BaumanDev commented 8 years ago

Is that all we need to do?

skyleter commented 8 years ago

I dont think so.. @NatsuTheGreat

skyleter commented 8 years ago

same

BaumanDev commented 8 years ago

What packet though? Can someone explain it a little more clearly?

skyleter commented 8 years ago

Im sure that will dont make it work. due to "< > " in gameserver.js and that things... Thats just the first part.

skyleter commented 8 years ago

Read my comment above.

retslac commented 8 years ago

It does work, but unlike nickname you need to use 1 byte characters for skinname. I think it's best if i post some working code tomorrow.

BaumanDev commented 8 years ago

Can you please do it now? Please man? I am going to blow up of excitement.

skyleter commented 8 years ago

LOL yu are so excited, more than watching [thing i should not say] ?