elitepvpers

elitepvpers (https://www.elitepvpers.com/forum/)
-   DarkOrbit (https://www.elitepvpers.com/forum/darkorbit/)
-   -   [Collection Thread] Private Server Info and Support Thread (https://www.elitepvpers.com/forum/darkorbit/2830133-private-server-info-support-thread.html)

Requi 10/13/2013 20:49

Quote:

Originally Posted by killer boss (Post 25405374)
i need title packet
( on the game under name )

Goliath Hunter or other title i need packet example for drone this.Send("0|n|d|" + this.userId + "|3/3-25-25-25,3/4-25-25-25-25,3/3-25-25-25");

I'm looking for the code for title ! ^^

thx

I am looking for it.
I think it's like this:

Send("0|n|t|" & this.userId & "|title")

But it's not working. But it needs to be like that.

GOT IT (Thanks cryz):
You need to use as title the title name from translationSpacemap.php

sami37 10/13/2013 21:18

Quote:

Originally Posted by killer boss (Post 25404391)
you can help me ?

Quote:

Originally Posted by sword_gold (Post 25405613)
I have problems with the Requiem-Server and I looking in my file Users.cs and can not find the code you said, maybe you have another server.

Spoiler:
[Only registered and activated users can see links. Click Here To Register...]

For sure i have other server, the part you had search can't exist i create it myself xD

killer boss 10/13/2013 21:18

d'ont work for me =(

Thx for your response .

Requi 10/13/2013 21:20

Quote:

Originally Posted by killer boss (Post 25406395)
d'ont work for me =(

Thx for your response .

this.Send("0|n|t|" + this.userId + "title_2");

killer boss 10/13/2013 22:34

oh ok excuse me I did not understand

I wrote her : this.Send("0|n|t|" + this.userId + "Battlemaster");


thx work :)

sword_gold 10/14/2013 00:17

Requi, if I make a video showing my problem?

I'm desperate

Requi 10/14/2013 00:25

You can't attack, I know.
You need to download a older azure version.

Sήĝwy 10/14/2013 00:29

Quote:

0|n|t|id|title_number
- Normal title
Quote:

0|n|p|id|title_number
- Permanent title

cryz35 10/14/2013 04:18

Quote:

Originally Posted by asd26 (Post 25409087)
- Normal title
- Permanent title

pt* :p
Quote:

0|n|pt|id|title_number

nckrnckr 10/14/2013 21:35

How is ELA package?

0|?|ELA ????

Requi 10/14/2013 22:03

Send("0|A|TX|ELA|" + this.userId);

nckrnckr 10/14/2013 22:05

good thanks requi :)

EDİT: rocket packet ? :)

Requi 10/14/2013 22:12

never did it, so I can't help you now.

killer boss 10/16/2013 15:10

Excuse me : i have problem .. i have edited emulator for add ish but ish is lock on game how to unlock cpu because is not on game.xml ..

Thx

Requi 10/16/2013 15:54

At the Send("A|ITM|Packets") you can activate CPU's.

But that they do something, you need to code packets.

killer boss 10/16/2013 16:08

have you got packet ?

nckrnckr 10/16/2013 17:44

requi
I did not translate this code to C # or

if(packet.substring(0, 5).equals("S|ROB"))
{
if(_user.getHp() == _user.getHpMax())
{
SocketManager.send(_user, "0|A|RS|0");
SocketManager.send(_user, "0|A|HPT|"+_user.getHp()+"|"+_user.getHpMax()) ;
return;
}
SocketManager.send(_user, "0|A|RS|1");
long hp = _user.getHp()+500;
_user.setHp(hp);
SocketManager.send(_user, "0|A|HPT|"+hp+"|"+_user.getHpMax());
if(_user.getHp() >= _user.getHpMax())
{
_user.setHp(_user.getHpMax());
SocketManager.send(_user, "0|A|RS|0");
}

Please write me a C # version of this code? :D

cryz35 10/16/2013 18:11

Quote:

Originally Posted by nckrnckr (Post 25448733)
requi
I did not translate this code to C # or

if(packet.substring(0, 5).equals("S|ROB"))
{
if(_user.getHp() == _user.getHpMax())
{
SocketManager.send(_user, "0|A|RS|0");
SocketManager.send(_user, "0|A|HPT|"+_user.getHp()+"|"+_user.getHpMax()) ;
return;
}
SocketManager.send(_user, "0|A|RS|1");
long hp = _user.getHp()+500;
_user.setHp(hp);
SocketManager.send(_user, "0|A|HPT|"+hp+"|"+_user.getHpMax());
if(_user.getHp() >= _user.getHpMax())
{
_user.setHp(_user.getHpMax());
SocketManager.send(_user, "0|A|RS|0");
}

Please write me a C # version of this code? :D

Armut piş ağzıma düş oh ne güzel. :facepalm:

nckrnckr 10/16/2013 18:13

Quote:

Originally Posted by cryz35 (Post 25449238)
Armut piş ağzıma düş oh ne güzel. :facepalm:

kod belli zaten tek gereken çevrilmesi

Requi 10/16/2013 18:45

Quote:

Originally Posted by nckrnckr (Post 25448733)
requi
I did not translate this code to C # or

if(packet.substring(0, 5).equals("S|ROB"))
{
if(_user.getHp() == _user.getHpMax())
{
SocketManager.send(_user, "0|A|RS|0");
SocketManager.send(_user, "0|A|HPT|"+_user.getHp()+"|"+_user.getHpMax()) ;
return;
}
SocketManager.send(_user, "0|A|RS|1");
long hp = _user.getHp()+500;
_user.setHp(hp);
SocketManager.send(_user, "0|A|HPT|"+hp+"|"+_user.getHpMax());
if(_user.getHp() >= _user.getHpMax())
{
_user.setHp(_user.getHpMax());
SocketManager.send(_user, "0|A|RS|0");
}

Please write me a C # version of this code? :D

Code:

elseif(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);
}
Send("0|A|RS|1");
long hp = this.ship.hp + 500;
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");
}
}

Should be right, except the variables.

nckrnckr 10/16/2013 19:20

I wrote code editing

Code:

else if (packetHeader.StartsWith("S|ROB"))
                            {
                              if(this.Ship.HP == this.Ship.maxHP)
                              {
                                  Send("0|A|RS|0");
                                  Send("0|A|HPT|" + this.Ship.HP + "|" + this.Ship.maxHP);
                                  {
                                  this.Send("0|A|RS|1");
                                  long hp = this.Ship.HP + 500;
                                  this.Send("0|A|HPT|" + hp + "|" + this.Ship.maxHP);
                                  if(this.Ship.HP >= this.Ship.maxHP)
                                  this.Ship.HP = this.Ship.maxHP;
                                    this.Send("0|A|RS|0");
                                  }

but it did not work :(

TehRoca 10/16/2013 19:39

Quote:

Originally Posted by nckrnckr (Post 25450567)
I wrote code editing

Code:

else if (packetHeader.StartsWith("S|ROB"))
                            {
                              if(this.Ship.HP == this.Ship.maxHP)
                              {
                                  Send("0|A|RS|0");
                                  Send("0|A|HPT|" + this.Ship.HP + "|" + this.Ship.maxHP);
                                  {
                                  this.Send("0|A|RS|1");
                                  long hp = this.Ship.HP + 500;
                                  this.Send("0|A|HPT|" + hp + "|" + this.Ship.maxHP);
                                  if(this.Ship.HP >= this.Ship.maxHP)
                                  this.Ship.HP = this.Ship.maxHP;
                                    this.Send("0|A|RS|0");
                                  }

but it did not work :(

Hey nckrnckr.

Should it be if it's NOT equal to max hp?

nckrnckr 10/16/2013 21:14

Quote:

Originally Posted by TehRoca (Post 25450900)
Hey nckrnckr.

Should it be if it's NOT equal to max hp?

problem fixed :)

------------------------------------------
I've added BRB
HP is adding 100,000
But,
100.000 but the screen does not appear when you add
What should I do to show how much been added to the screen?
sorry english poor :)

TehRoca 10/16/2013 21:28

Quote:

Originally Posted by nckrnckr (Post 25452549)
problem fixed :)

------------------------------------------
I've added BRB
HP is adding 100,000
But,
100.000 but the screen does not appear when you add
What should I do to show how much been added to the screen?
sorry english poor :)

Did what I say resolve that issue?

And I'm pretty sure that would be a packet, will speak to someone who knows about the packets more for you.

P.s the thanks feature goes a long way if somebody helps you ;)

cryz35 10/16/2013 22:28

Quote:

Originally Posted by TehRoca (Post 25452750)
Did what I say resolve that issue?

And I'm pretty sure that would be a packet, will speak to someone who knows about the packets more for you.

P.s the thanks feature goes a long way if somebody helps you ;)

I explained him :p

nckrnckr 10/16/2013 23:33

The last question
where I will add the code RSB cooldown
which??
StartsWith(?))

Requi 10/16/2013 23:36

at the attack void.
check if laserid is the one from rsb.
if it's from it:
Send("0|A|CLD|RSB|4");

TehRoca 10/17/2013 00:35

Quote:

Originally Posted by cryz35 (Post 25453714)
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.

nckrnckr 10/17/2013 00:46

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 :)

Requi 10/17/2013 00:48

Quote:

Originally Posted by nckrnckr (Post 25455357)
I can not run in full :(
EMP, ISH, SMB cooldown working
but not working RSB cooldown

How did you add it?

nckrnckr 10/17/2013 00:52

Quote:

Originally Posted by Requi (Post 25455369)
How did you add it?

yes,
The only thing missing from my server = RSB cooldown

everything else is working

Requi 10/17/2013 00:53

I thought you already tried it and its not working.

I posted the solution above.
Please try a bit on yourself.

nckrnckr 10/17/2013 01:45

the whole "attack" added the writings of RSB cooldown packets
but it still does not work properly :(

domfol91 10/17/2013 20:51

Hey requi i really aprechiate all the work you do just to help us :)
Biggest fan!

nckrnckr 10/17/2013 21:59

I found where to put code in RSB cooldown
added, but does not work properly :(

killer boss 10/18/2013 19:35

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 :)

sami37 10/18/2013 20:27

Quote:

Originally Posted by killer boss (Post 25480170)
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");
                                }



killer boss 10/18/2013 21:08

yes work full !! i see my error thx for your helping ;)

Good game all :)

Niki98@ 10/19/2013 18:07

hey Requi
whats about your server?
when will your server online?

Requi 10/19/2013 18:23

When I announce it here on epvp.


All times are GMT +2. The time now is 15:08.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.