Private Server Info and Support Thread

10/16/2013 23:33 nckrnckr#106
The last question
where I will add the code RSB cooldown
which??
StartsWith(?))
10/16/2013 23:36 Requi#107
at the attack void.
check if laserid is the one from rsb.
if it's from it:
Send("0|A|CLD|RSB|4");
10/17/2013 00:35 TehRoca#108
Quote:
Originally Posted by cryz35 View Post
I explained him :p
Would be cool if you put any solutions in the forum to help people progress with their knowledge of darkorbit private servers. It helps people as a community, the more people working on these, the better the results.
10/17/2013 00:46 nckrnckr#109
I can not run in full :(
EMP, ISH, SMB cooldown working
but not working RSB cooldown

edit :
if you my server RSB added
I will not ask the question ever again :)
10/17/2013 00:48 Requi#110
Quote:
Originally Posted by nckrnckr View Post
I can not run in full :(
EMP, ISH, SMB cooldown working
but not working RSB cooldown
How did you add it?
10/17/2013 00:52 nckrnckr#111
Quote:
Originally Posted by Requi View Post
How did you add it?
yes,
The only thing missing from my server = RSB cooldown

everything else is working
10/17/2013 00:53 Requi#112
I thought you already tried it and its not working.

I posted the solution above.
Please try a bit on yourself.
10/17/2013 01:45 nckrnckr#113
the whole "attack" added the writings of RSB cooldown packets
but it still does not work properly :(
10/17/2013 20:51 domfol91#114
Hey requi i really aprechiate all the work you do just to help us :)
Biggest fan!
10/17/2013 21:59 nckrnckr#115
I found where to put code in RSB cooldown
added, but does not work properly :(
10/18/2013 19:35 killer boss#116
i have paste this on emulator

PHP Code:
                            else if(packetHeader == "S|ROB")
                            {
                                if (
this.Ship.HP == this.Ship.maxHP)
                                {
                                    
Send("0|A|RS|0");
                                    
Send("0|A|HPT|" this.Ship.HP "|" this.Ship.maxHP);
                                    {
                                        if (
this.Ship.HP this.Ship.maxHP)
                                        
Send("0|A|RS|1");
                                        
long hp this.Ship.HP 10000;
                                        
Send("0|A|HPT|" hp "|" this.Ship.maxHP);

                                        if (
this.Ship.HP >= this.Ship.maxHP)
                                            
this.Ship.HP this.Ship.maxHP;
                                        
Send("0|A|RS|0");
                                    }
                                }
                            } 
and this d'ont work O_o ? where is my error pliz :)
10/18/2013 20:27 sami37#117
Quote:
Originally Posted by killer boss View Post
i have paste this on emulator

PHP Code:
                            else if(packetHeader == "S|ROB")
                            {
                                if (
this.Ship.HP == this.Ship.maxHP)
                                {
                                    
Send("0|A|RS|0");
                                    
Send("0|A|HPT|" this.Ship.HP "|" this.Ship.maxHP);
                                    {
                                        if (
this.Ship.HP this.Ship.maxHP)
                                        
Send("0|A|RS|1");
                                        
long hp this.Ship.HP 10000;
                                        
Send("0|A|HPT|" hp "|" this.Ship.maxHP);

                                        if (
this.Ship.HP >= this.Ship.maxHP)
                                            
this.Ship.HP this.Ship.maxHP;
                                        
Send("0|A|RS|0");
                                    }
                                }
                            } 
and this d'ont work O_o ? where is my error pliz :)
Your error is this " if (this.Ship.HP == this.Ship.maxHP)"
You told to your server to verify if the current ship hp = the current max hp
if both are equals them you desactivate the robot but if current hp is less or more than max hp, nothing is doing

i did it like this for my part
PHP Code:
                            else if (packetHeader.StartsWith("S"))
                            {
                                
string packetSubHeader packetParser.getString();
                                if (
packetSubHeader.StartsWith("ROB"))
                                {
                                    
this.Ship.repair true;
                                    if (
this.Ship.HP == this.Ship.maxHP)
                                    {
                                        
this.Send("0|A|RS|0");
                                        
this.Send("0|A|HPT|" this.Ship.HP "|" this.Ship.maxHP);
                                        
this.Ship.repair false;
                                        return;
                                    }
                                    else if (
this.Ship.HP this.Ship.maxHP)
                                    {
                                        
this.Send("0|A|RS|1");
                                        
uint newhp this.Ship.HP 500;
                                        
this.Ship.HP += 500;
                                        
this.Send("0|A|HPT|" newhp "|" this.Ship.maxHP);

                                    }
                                    else if (
this.Ship.HP this.Ship.maxHP)
                                    {
                                        
this.Ship.HP this.Ship.maxHP;
                                        
this.Send("0|A|HPT|" this.Ship.HP "|" this.Ship.maxHP);
                                        
this.Send("0|A|RS|0");
                                        
this.Ship.repair false;
                                    }
                                    
this.Send("0|A|RS|0");
                                }

10/18/2013 21:08 killer boss#118
yes work full !! i see my error thx for your helping ;)

Good game all :)
10/19/2013 18:07 Niki98@#119
hey Requi
whats about your server?
when will your server online?
10/19/2013 18:23 Requi#120
When I announce it here on epvp.