Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 22:01

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Orbit Reborn - Source

Discussion on [Release] Orbit Reborn - Source within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old 11/02/2014, 15:27   #286
 
elite*gold: 0
Join Date: Jun 2011
Posts: 297
Received Thanks: 14
my server is via hamachi on i have a hosting server but the clan dont exist hangar & shop + EMulator
Puma<3 is offline  
Old 11/02/2014, 15:51   #287
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by linkpad View Post
You really don't understand these lines of code :

Code:
            if (mMostDamage <= 10000)
            {
                mBallSpeed = 0;
            }

            if (mMostDamage > 8000)
            {
                mBallSpeed = 1;
            }
            if (mMostDamage > 4000)
            {
                mBallSpeed = 2;
            }
            if (mMostDamage > 1500)
            {
                mBallSpeed = 3;
            }
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...



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".
Now this form is correct?

Code:
if (mMostDamage <= 100000)
            {
                mBallSpeed = 0;
            }

            if (mMostDamage > 100000)
            {
                mBallSpeed = 1;
            }
            if (mMostDamage > 200000)
            {
                mBallSpeed = 2;
            }
            if (mMostDamage > 300000)
            {
                mBallSpeed = 3;
            }
steppdroid is offline  
Old 11/02/2014, 16:30   #288
 
UND3RW0RLD's Avatar
 
elite*gold: 1
Join Date: Jun 2011
Posts: 1,464
Received Thanks: 1,065
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;
            }
UND3RW0RLD is offline  
Thanks
1 User
Old 11/02/2014, 23:54   #289
 
elite*gold: 0
Join Date: Oct 2014
Posts: 42
Received Thanks: 0
u mean when u log in as vru no connection if so u need to change spacemap/xml/maps change 127.0.0.1 to ur ip that worked for me and do u know where to put rank script
supraturbo92 is offline  
Old 11/03/2014, 02:12   #290
 
elite*gold: 0
Join Date: Sep 2010
Posts: 11
Received Thanks: 1
I wanted to know if you could attach the complete server , of course I have it there for those who may have had difficulties .
Waiting for your reply,I cordially greet.
leone1008 is offline  
Old 11/03/2014, 13:36   #291
 
elite*gold: 0
Join Date: Sep 2010
Posts: 11
Received Thanks: 1
Wink i don't have fix the hangar!


this is a full pack of Orbit Reborn... web+emu+more fix !!!NOT HANGAR!!!




The Inventory.swf work but i dont see image
leone1008 is offline  
Thanks
1 User
Old 11/03/2014, 16:19   #292
 
cryz35's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,718
Received Thanks: 2,382
Quote:
Originally Posted by ǝnd1ǝss-ɯonǝʎ View Post
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;
            }
For your information, the && is not neccessary in theory, because you are not using "else if" so it will still check all if clauses.
I would do using ternary operator:

mBallSpeed = mMostDamage < 5000 ? 0 : (mMostDamage < 30000 ? 1 : 2);
cryz35 is offline  
Thanks
3 Users
Old 11/03/2014, 16:38   #293
 
UND3RW0RLD's Avatar
 
elite*gold: 1
Join Date: Jun 2011
Posts: 1,464
Received Thanks: 1,065
Quote:
Originally Posted by cryz35 View Post
For your information, the && is not neccessary in theory, because you are not using "else if" so it will still check all if clauses.
you are totally right.

Code:
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;
}
UND3RW0RLD is offline  
Thanks
1 User
Old 11/03/2014, 19:37   #294
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
How open All list "hall of fame"?!
steppdroid is offline  
Old 11/03/2014, 19:38   #295
 
linkpad's Avatar
 
elite*gold: 260
Join Date: Jul 2012
Posts: 299
Received Thanks: 812
Quote:
Originally Posted by steppdroid View Post
How open All list "hall of fame"?!
Start learning to code, and then the magic will open it !
linkpad is offline  
Thanks
4 Users
Old 11/03/2014, 19:58   #296
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by linkpad View Post
Start learning to code, and then the magic will open it !
thanks
steppdroid is offline  
Old 11/03/2014, 20:55   #297
 
elite*gold: 0
Join Date: May 2013
Posts: 54
Received Thanks: 5
How i can add new button ... ( ui.swf ?? )
BotorCrime is offline  
Old 11/03/2014, 21:05   #298
 
linkpad's Avatar
 
elite*gold: 260
Join Date: Jul 2012
Posts: 299
Received Thanks: 812
Quote:
Originally Posted by BotorCrime View Post
How i can add new button ... ( ui.swf ?? )
It's really great to say "welcome on Blur Orbit made by Crune", you could at least give some credits.
linkpad is offline  
Old 11/03/2014, 21:12   #299
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by linkpad View Post
Start learning to code, and then the magic will open it !
I have fix this also the section donate

steppdroid is offline  
Old 11/03/2014, 21:26   #300
 
elite*gold: 0
Join Date: May 2013
Posts: 54
Received Thanks: 5
Quote:
Originally Posted by linkpad View Post
It's really great to say "welcome on Blur Orbit made by Crune", you could at least give some credits.
It's only PRE-ALPHA 8)
At the end I will add that you are the main author. )

---->

Anyway. How i can add new button ;3 ?
BotorCrime is offline  
Reply


Similar Threads Similar Threads
[Open Beta] Orbit Reborn - Private Server
10/28/2014 - DarkOrbit - 105 Replies
http://i.epvpimg.com/YgS1f.png Presentation Orbit Reborn is a DarkOrbit private server. This server try to bring back the old gameplay from 2008, that means there's no : PET, RSB, Hellstorm, ... Features - maps 1-1 / 2-1 / 3-1 / 4-1 / 4-2 / 4-3 / 4-4 - rockets : R-310, PLT-2026, PLT-2021
[Selling] Orbit Reborn Acc.
09/20/2014 - Browsergames Trading - 0 Replies
Sellin "a" Orbit Reborn Acc with 275 Kills and Blue Design.^^ 10 e*gold fast deal no probs.^^
[DarkOrbit] Orbit Reborn Private Server
02/28/2014 - DarkOrbit - 4 Replies
Project presentation Orbit Reborn is a private server of the game Dark Orbit. This server is developed only by me and is in Beta test. How to join the server ? You can join Orbit Reborn with this url = orbit-reborn Orbit Reborn have also a TS3=orbit-reborn.com
orbit-reborn.com
01/20/2014 - Browsergames Trading - 1 Replies
Orbit Reborn is the link its a darkorit remake but the old servers meaning just plain ships no pilot points pets rsb just x1,x2,x3,x4,sab its pvp battles private server you just sign up on the link its free to it keeps improving its awesome come join!!!!:rtfm::rtfm::rtfm::rtfm::rtfm:
Orbit Reborn
12/16/2013 - DarkOrbit - 2 Replies
>>Orbit Reborn<< Statut: ONLINE DarkOrbit - Orbit Reborn - YouTube



All times are GMT +1. The time now is 22:03.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.