Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 17:51

  • 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 10/28/2014, 16:59   #106
 
sveratus's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 270
Received Thanks: 21
Quote:
Originally Posted by sveratus View Post
I need fix for hangar and shop
I need fix )
sveratus is offline  
Old 10/28/2014, 17:50   #107
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
for fix user online in index (/views/index/index.php)
remplace line 31 with this:

PHP Code:
<div class="users_online" style='position: absolute;margin-top: 20px;color: white;font-family: "Myriad Pro";font-size: 12px;'> <?php echo Server_status::online_users(); ?> users online</div>
steppdroid is offline  
Old 10/28/2014, 18:09   #108
 
linkpad's Avatar
 
elite*gold: 260
Join Date: Jul 2012
Posts: 299
Received Thanks: 812
Quote:
Originally Posted by steppdroid View Post
for fix user online in index (/views/index/index.php)
remplace line 31 with this:

PHP Code:
<div class="users_online" style='position: absolute;margin-top: 20px;color: white;font-family: "Myriad Pro";font-size: 12px;'> <?php echo Server_status::online_users(); ?> users online</div>
online_users() need an edit, because counting users online is not the best way.

Go to "util/Server_status.php" line 16 and replace with this :

PHP Code:
$req $this->db->prepare('SELECT sval FROM server_statistics WHERE skey="active_connections"'); 
linkpad is offline  
Thanks
2 Users
Old 10/28/2014, 18:27   #109
 
elite*gold: 0
Join Date: May 2013
Posts: 54
Received Thanks: 5
Who have code of Group System and HellStorm ?
BotorCrime is offline  
Old 10/28/2014, 18:42   #110
 
hawk799's Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 743
Received Thanks: 358


Somehow I managed to make website work, But i cant login , what to do next?
hawk799 is offline  
Old 10/28/2014, 18:53   #111
 
cryz35's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,718
Received Thanks: 2,382
Quote:
Originally Posted by BotorCrime View Post
Who have code of Group System and HellStorm ?
Noone. You should understand how the emulator works and code it yourself.

And I just wonder, linkpad, you don't like creating instances?
I just checked some classes and all methods are static
cryz35 is offline  
Old 10/28/2014, 18:59   #112
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Linkpad you could make a list of the most important commands of the emulator?
steppdroid is offline  
Old 10/28/2014, 19:01   #113
 
linkpad's Avatar
 
elite*gold: 260
Join Date: Jul 2012
Posts: 299
Received Thanks: 812
Quote:
Originally Posted by cryz35 View Post
Noone. You should understand how the emulator works and code it yourself.

And I just wonder, linkpad, you don't like creating instances?
I just checked some classes and all methods are static
Just look at Npc, Maps, Sessions, Characters, Portals, then explain me why I should create instances for others things ? What should be the benefits in creating instance for packet handling ?
linkpad is offline  
Thanks
1 User
Old 10/28/2014, 19:48   #114
 
elite*gold: 0
Join Date: Jun 2011
Posts: 297
Received Thanks: 14
i need help





please help :$
Puma<3 is offline  
Old 10/28/2014, 21:56   #115
 
cryz35's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,718
Received Thanks: 2,382
Quote:
Originally Posted by linkpad View Post
Just look at Npc, Maps, Sessions, Characters, Portals, then explain me why I should create instances for others things ? What should be the benefits in creating instance for packet handling ?
I'm just trying to understand, it always sounds better to me to create an instance and set the Session once in the creation instead of passing it every handling. If you have tried both, which one is more efficient?

Dont get me wrong, I'm checking on a mobile text viewer so I haven't tried your code, neither saying anything bad about the code.
cryz35 is offline  
Old 10/28/2014, 22:08   #116
 
linkpad's Avatar
 
elite*gold: 260
Join Date: Jul 2012
Posts: 299
Received Thanks: 812
Quote:
Originally Posted by cryz35 View Post
I'm just trying to understand, it always sounds better to me to create an instance and set the Session once in the creation instead of passing it every handling. If you have tried both, which one is more efficient?

Dont get me wrong, I'm checking on a mobile text viewer so I haven't tried your code, neither saying anything bad about the code.
I'm a little bit confused, the Session is instanciated one time when the users connect, then I just parse the Session in packet handling I don't see any others methods I could do
linkpad is offline  
Old 10/28/2014, 22:18   #117
 
cryz35's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,718
Received Thanks: 2,382
Quote:
Originally Posted by linkpad View Post
I'm a little bit confused, the Session is instanciated one time when the users connect, then I just parse the Session in packet handling I don't see any others methods I could do
For example:
private static void RocketAttack(Session Session, ClientMessage Message)
DataRouter looks nice, just wonder why it's that way.

I just do the following in the Player class when a user logs in;
AttackManager = new AttackManager(this);
and handling would call like AttackManager.RocketAttack()

btw sorry for spamming the thread.
cryz35 is offline  
Old 10/28/2014, 23:18   #118
 
linkpad's Avatar
 
elite*gold: 260
Join Date: Jul 2012
Posts: 299
Received Thanks: 812
Quote:
Originally Posted by cryz35 View Post
For example:
private static void RocketAttack(Session Session, ClientMessage Message)
DataRouter looks nice, just wonder why it's that way.

I just do the following in the Player class when a user logs in;
AttackManager = new AttackManager(this);
and handling would call like AttackManager.RocketAttack()

btw sorry for spamming the thread.
It's that way because it use less ressource, here an example :

If you have 100 users online, that mean you will have 100 instance of AttackManager, with my method when the packet is handled and the function RocketAttack is called, the code is executed then it's garbage collected.
linkpad is offline  
Thanks
1 User
Old 10/29/2014, 07:30   #119
 
Chirdo's Avatar
 
elite*gold: 130
Join Date: Jun 2014
Posts: 497
Received Thanks: 86
thx

but when i connect to the server
the map screen is black? can you help my
Chirdo is offline  
Old 10/29/2014, 08:38   #120

 
Luffa's Avatar
 
elite*gold: 61
Join Date: Oct 2010
Posts: 1,188
Received Thanks: 2,403
Quote:
Originally Posted by Chirdo View Post
thx

but when i connect to the server
the map screen is black? can you help my
Uhm if you don't know the concept of troubleshooting the why even try?


Also linkpad at some point for the reason of stress, why did You make this thread? XD

Best regards Bau
Luffa 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 17:53.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.