-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gallery #1
Comments
CURRENT EFFICIENCY AS OF NOV 5 I made it much more efficient again. Note that 1000 bots are running. I am comparing with OgarUL OpenAgar: OgarUL: MultiOgar: ConclusionOpen agar has surpassed both multiogar and ogarUL now in preformance. OgarUl just froze when 1000 bots were added, MultiOgar slowed down and became choppy when 1000 bots were added, and OpenAgar, had no lag whatsoever which is very very surprising. |
@Andrews54757 That's interesting. What features does the server have right now? |
Almost all the basics, except viruses. Yet the infrastructure is complete. Every feature that I add has virtually no performance drawbacks as they are made with extreme caution. More is being added. So these stats are probably off by a bit. But then, as I add more features, I also make it more efficient. So it balances out. I keep my CPU profiler at hand all the time to monitor the server |
There are also cool features as well. Such as the revenge icon. Most features however, are devoted to efficiency. There are soo many features for efficiency, It is hard to list them all. Oh well, Il try
Anyway, I envision that future OpenAgar servers could hold 1000 players and 500 bots with zero lag |
Interesting 👍 |
I find it depressing that Ogar is dead. No ogar server was ever updated in the last 2 months. Agar.io is apparently dead. |
@Andrews54757 That's why we need to bring it back to life, not only as it being similar to Agar.io, but as to what you created Unlimited. Private servers still exist, but new updates to the game? nah. That's hardly never heard from miniclip, except them patching and making everything look better than before. |
@Andrews54757 I don't think it's dead yet, Personally I'm looking for hosting hundreds of mini Ogar servers. |
@LegitSoulja The whole game concept is dead now. The game used to be fun, but games are only fun for a bit. Unless if there would be a gamemode that would completely blow out all other .io games than it would work. But the issue is now there are hundreds of .io games that just have a MUCH better concept than Agar.io, after all, Agar.io was the first .io hit. |
Yes, but I am thinking of adding special things such as mini games |
@Andrews54757 Thats amazing, my multiogar server lags a ton in the bots gamemode when i give people more than 9 bots each, |
Damn @Andrews54757 that's impressive, I'm so hype for this project! |
New performance charts: This compares the performance before and after this BEFORE:AFTER |
I tried 2000 bots, and there was NO LAG!! |
Well, next up: 3000 bots. And smart bots too. |
@LegitSoulja OpenAgar is basically finished. There are only two things I have to do
|
@Andrews54757 I'll check out making new gamemodes when I get home. I don't know when exactly. I might not go back home till this weekend :/. |
@Andrews54757 Check gitter |
This looks very nice! great work! |
@Andrews54757 I have a question, what was the starting size of the bots when you ran them? I'd like to compare the performance to my MultiOgar, but I need to know the correct settings first. |
Default |
It takes a lot for OpenAgar to lag. Note that bots run on a different process, the same process in which collisions, leaderboard, and mass checking runs in. So they might be slowed down when bots are flooded. But the main physics wont. This only occurs for bots (not minions or players) because the bots run on the same process, and they are not optimised at all. Still though, you can run 2000 bots with no lag (for me), without the effect I mentioned. But I bet if the bot code was optimised (it is the same AI as OgarUL), it will be able to run 2500 bots without the effect. But still, lag is not visible even if you add more bots than expected (for me). The server is made to detect lag and mitigate it, you can see some lag status by going into the debug console (Type |
@Andrews54757 Does running a child process happen on the same core, or all? In that case I got a 8 core, gtx x4 64 gb mem, OS running on an SSD with 2 more internal, and processing speed is 5.7 (Overclocked). I flashed my motherboard :) in case you're wondering. That's how custom built my computer is. |
So, after studying nodejs processes, I learned a v8 engine is very expensive. And using .fork spawns a new instance. So I have it set up dynamically to get the most bang out of my buck.
And yes, a new child will operate in another core |
@Andrews54757 Good note. |
I am kindof dissapointed though, that people are trying to steal my work, I just realised, the entire advancedness (a word?) of the program and how much work it took me to make |
I just posted an update a while ago that changes the UID system so the keygen is different now. The client and everything will have to be updated. |
Now I realise that I should have kept this project completely private |
Oh well, this will be good on my resume anyway. Not anybody can do what I did with this in just 2-3 months |
@LegitSoulja Please go to gitter |
@LegitSoulja I am creating a more detailed documentation here: https://ajs-development.github.io/OpenAgar/ |
@Andrews54757 If it turns out with better performance then sure |
I kindof want to make my own socket in which with non nodejs, but with browser, in which can communicate with socket.io, and websockets using protocols. Or even my own sys, in which sends vice versa data. |
@LegitSoulja Wow, there are 39 members already! And a bunch of errors were also logged so I fixed them. |
@LegitSoulja There is a problem with the OAStats server section of the website, please go on gitter |
There's 43 now lol |
Hey @Andrews54757 and @LegitSoulja I am registered to http://login.opnagar.us/ but I dont know "How Can I Generate Key And How Can I Create Server?" Plz |
I have told people of the community not to make videos about setting up OpenAgar. OpenAgar is only for those people who has a basic use of understandings with nodejs, and have knowledge or capable of running a server. I decided that there should be no visual tutorials because this is a closed project. People will want it, abused once taught, and even more questions behind it afterwards. If you can't read, and can't properly make a server then you shouldnt even bother. IF you have used multiogar, Ogar, or any other related Agar.io private servers it's all the same. |
However, no more further answers, or questions should be asked. Read the readme. Case closed. |
@LegitSoulja |
No, I can start this on windows too. Start.bat was a script for noobs. Here, we dont accept them |
Better learn how to use cmd @FlamePlayerTR |
@Andrews54757 and a video plz ? |
@FlamePlayerTR It's not gonna happen, also this isn't a place to chat for decades about something that's not important. Only question is:
|
lmao what was that |
@Megabyte918 I am making sending nodes use buffers. See #50. I tested 9000 minions. The server lasted for 30 sec with no lag with that amount |
@Megabyte918 As you can see, the bottleneck is the updatehash function. It is probably due to a error I made in hashbounds. In the future, when I solve this, I would probably be able to run 13000 minions |
@Megabyte918 I reduced the total time UpdateHash takes by 300 ms. I am going to find more optimisations as I go |
@Andrews54757 Hmm,..very interesting, maybe I should implement hashing too |
after the long fight about the video tutorial i see it happened |
@charliebrown164 I decided why not. Besides, Andrew wants people to run OpenAgar. I seen that nobody bothered in trying, so I gave a simple tutorial just to get you started with the setup.. Mainly the key installation, and making your server public. There's more things you'll have to figure out on your own. |
blackholes make no sense |
@charliebrown164 and it's annoying enough, that's there's an option to reduce You can change this in physicsConfig |
cool |
Configurations are not updated |
one more thing please |
is it here ? OpenAgar-master/ source/ entities/ template.js (line 186)
I also want to modify it for mothercells, it's so weired to get absorbed as soon as you touch an opponent or a mothercell |
Gallery
Revenge system: Icon grows bigger when you are closer to the player, and the icon is put on the cell when in the screen
Skins: (the skin is a custom skin)
Multi-Processes
Website (opnagar.us)
Plugin system:
Onan config editor (plugin)
The text was updated successfully, but these errors were encountered: