my server is via hamachi on i have a hosting server but the clan dont exist hangar & shop + EMulator
Now this form is correct?Quote:
You really don't understand these lines of code :
For all people complaining about spaceball not "working", trust me it does. The spaceball was programmed for a lot of players playing it and not one or two users. How does it works ? It check how many damage players did to the ball every 5secs. If the ball speed is 0, the ball dont move, 3 is the fastest ball speed. Now you know that, you should edit your if statement because as it stand, more damage you do, more slow the ball will be...Code:if (mMostDamage <= 10000) { mBallSpeed = 0; } if (mMostDamage > 8000) { mBallSpeed = 1; } if (mMostDamage > 4000) { mBallSpeed = 2; } if (mMostDamage > 1500) { mBallSpeed = 3; }
I'm ok with giving a pack of my source but at least provide improvement in it, and a correct one. Not this "false" fix of spaceball.
You didn't misunderstand the thread, these source I published to the community are here for helping others programmers and not for making a copy of "Orbit Reborn." So yes, post in this thread should be related to coding and not "how to install the server".
if (mMostDamage <= 100000)
{
mBallSpeed = 0;
}
if (mMostDamage > 100000)
{
mBallSpeed = 1;
}
if (mMostDamage > 200000)
{
mBallSpeed = 2;
}
if (mMostDamage > 300000)
{
mBallSpeed = 3;
}
if (mMostDamage <= 5000)
{
mBallSpeed = 0;
}
if (mMostDamage > 5000 && mMostDamage <= 30000)
{
mBallSpeed = 1;
}
if (mMostDamage > 30000 && mMostDamage <= 80000)
{
mBallSpeed = 2;
}
if (mMostDamage >= 80001)
{
mBallSpeed = 3;
}
For your information, the && is not neccessary in theory, because you are not using "else if" so it will still check all if clauses.Quote:
:)Code:if (mMostDamage <= 5000) { mBallSpeed = 0; } if (mMostDamage > 5000 && mMostDamage <= 30000) { mBallSpeed = 1; } if (mMostDamage > 30000 && mMostDamage <= 80000) { mBallSpeed = 2; } if (mMostDamage >= 80001) { mBallSpeed = 3; }
you are totally right. :)Quote:
For your information, the && is not neccessary in theory, because you are not using "else if" so it will still check all if clauses.
if (mMostDamage <= 5000)
{
mBallSpeed = 0;
}
else if (mMostDamage > 5000 && mMostDamage <= 30000)
{
mBallSpeed = 1;
}
else if (mMostDamage > 30000 && mMostDamage <= 80000)
{
mBallSpeed = 2;
}
else if (mMostDamage >= 80001)
{
mBallSpeed = 3;
}
Start learning to code, and then the magic will open it !Quote:
How open All list "hall of fame"?!
[Only registered and activated users can see links. Click Here To Register...]
It's really great to say "welcome on Blur Orbit made by Crune", you could at least give some credits.Quote:
How i can add new button ... ( ui.swf ?? )
[Only registered and activated users can see links. Click Here To Register...]
I have fix this :) also the section donate :)Quote:
Start learning to code, and then the magic will open it !
It's only PRE-ALPHA 8)Quote:
It's really great to say "welcome on Blur Orbit made by Crune", you could at least give some credits.