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 ?
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.
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
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()
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.
[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: