davidmann4 / ogar-feeder-bot

feeder bot for ogar servers
MIT License
91 stars 49 forks source link

This is usable for MultiOgar? #593

Open Shair17 opened 7 years ago

Shair17 commented 7 years ago

This is usable for MultiOgar?

Shair17 commented 7 years ago

HOW? :)

ZfsrGhS953 commented 7 years ago

Not at the moment. Normal mode is out of question, because multi-ogar scrambles coordinates and borders. Blind mode doesn't work either, because multi-ogar scrambles IDs, so it won't work. However, you can replace checking for the same ID to checking color and name. To avoid impersonation of the bots in case color somehow matches, bots can generate random name each time they spawn. Also, it would be good to move detection of bot <-> botowner visibility to bot owner, because most of the time the bot owner has a bigger field of view most of the time, so more bots will come and feed him.

fayizan commented 7 years ago

@ZfsrGhS953 thats how the chither bots work right..?

fayizan commented 7 years ago

@ZfsrGhS953 agario-client2 seems to be finished and working,please check it

ZfsrGhS953 commented 7 years ago

That's not how chither bots work. It's impossible to make bots in multi-ogar follow mouse at all the times (unless you can predict the outcome of Math.random() on the server). That's why I made scrambling work differently in my multi-ogar fork: instead of Math.random() it makes the spawn point always (0, 0) relative to the client. And agario-client2 is outdated and doesn't work.

m-byte918 commented 7 years ago

@ZfsrGhS953 Can you tell me where the code is located for the scrambling of ID's and mouse coordinates using Math.random() is located? I'm trying to test some bots, I just need to know where this code is located so I can edit/remove it. EDIT: have my own repo now lol

davidmann4 commented 7 years ago

pull request?

idkRage commented 7 years ago

i moded it so it works on multiogar and added collec pellets xd

davidmann4 commented 7 years ago

pull request!