MultiOgarII: Error?!
Hello!
Why when you add code to the file PlayerCell.js
PlayerCell.prototype.onEat = function(prey) {
this.owner.exp += 1; //((Math.sqrt(prey._sizeSquared)) / 20)
};
when I start to play and eat cells, the supply is not increased. Even if I add myself 1000 weight and eat cells, the mass still does not increase. What to do? The error console does not give.
If you don’t know the solution to this problem, then please do not intervene because I need a solution which is checked. I’ll close the question once I get an answer on this issue. FOR ME CLOSE IS NOT NECESSARY!
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 4
- Comments: 15
@TopoR1 Regarding the question, you will never increase the mass with that small value, since you lose more mass than you gain
@FantasyIsBae Here custom only
and the rest is taken from the file
cell.jswhich is a server and related exactly to this problem.Paste the file into the
playerCell.jsa normal functionand you will see that it is not working properly and needs fixing.
and I’m sure you’re not in check, you only have to defend their point of views and not to help people.
Round
@FantasyIsBae The reason why you closed the question? You gave an answer?! This piece of code works Tyler3D, but not Megabyte918 and would like to see the code worked fine, since the project Tyler3D closed forever. And this project is very well optimized and I copied the project Tyler3D on Megabyte918, but ran into the problem described at the beginning of the question. @Megabyte918, help, please, except you, who do not help:(
@TopoR1 If you: Are blind: Visit a doctor. Want to get banned: Just imagine that you already are. Are trolling: Troll a chatbot instead.
@AlexHGaming He finally upgraded to a two-directional pager.
@TopoR1 Use tyler’s fork then.
@TopoR1 You do not even know what you do.
Custom code is not provided 🤔