|
You last visited: Today at 21:54
Advertisement
[Release] Orbit Reborn - Source
Discussion on [Release] Orbit Reborn - Source within the DarkOrbit forum part of the Browsergames category.
10/28/2014, 16:59
|
#106
|
elite*gold: 0
Join Date: Sep 2014
Posts: 270
Received Thanks: 21
|
Quote:
Originally Posted by sveratus
I need fix for hangar and shop
|
I need fix  )
|
|
|
10/28/2014, 17:50
|
#107
|
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>
|
|
|
10/28/2014, 18:09
|
#108
|
elite*gold: 260
Join Date: Jul 2012
Posts: 299
Received Thanks: 812
|
Quote:
Originally Posted by steppdroid
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"');
|
|
|
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 ?
|
|
|
10/28/2014, 18:42
|
#110
|
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?
|
|
|
10/28/2014, 18:53
|
#111
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,718
Received Thanks: 2,382
|
Quote:
Originally Posted by BotorCrime
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
|
|
|
10/28/2014, 18:59
|
#112
|
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?
|
|
|
10/28/2014, 19:01
|
#113
|
elite*gold: 260
Join Date: Jul 2012
Posts: 299
Received Thanks: 812
|
Quote:
Originally Posted by cryz35
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 ?
|
|
|
10/28/2014, 19:48
|
#114
|
elite*gold: 0
Join Date: Jun 2011
Posts: 297
Received Thanks: 14
|
i need help
please help :$
|
|
|
10/28/2014, 21:56
|
#115
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,718
Received Thanks: 2,382
|
Quote:
Originally Posted by linkpad
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.
|
|
|
10/28/2014, 22:08
|
#116
|
elite*gold: 260
Join Date: Jul 2012
Posts: 299
Received Thanks: 812
|
Quote:
Originally Posted by cryz35
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
|
|
|
10/28/2014, 22:18
|
#117
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,718
Received Thanks: 2,382
|
Quote:
Originally Posted by linkpad
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.
|
|
|
10/28/2014, 23:18
|
#118
|
elite*gold: 260
Join Date: Jul 2012
Posts: 299
Received Thanks: 812
|
Quote:
Originally Posted by cryz35
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.
|
|
|
10/29/2014, 07:30
|
#119
|
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
|
|
|
10/29/2014, 08:38
|
#120
|
elite*gold: 61
Join Date: Oct 2010
Posts: 1,188
Received Thanks: 2,403
|
Quote:
Originally Posted by Chirdo
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
|
|
|
 |
|
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 21:54.
|
|