Private Server Info and Support Thread

10/14/2013 22:03 Requi#91
Send("0|A|TX|ELA|" + this.userId);
10/14/2013 22:05 nckrnckr#92
good thanks requi :)

EDİT: rocket packet ? :)
10/14/2013 22:12 Requi#93
never did it, so I can't help you now.
10/16/2013 15:10 killer boss#94
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
10/16/2013 15:54 Requi#95
At the Send("A|ITM|Packets") you can activate CPU's.

But that they do something, you need to code packets.
10/16/2013 16:08 killer boss#96
have you got packet ?
10/16/2013 17:44 nckrnckr#97
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
10/16/2013 18:11 cryz35#98
Quote:
Originally Posted by nckrnckr View Post
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:
10/16/2013 18:13 nckrnckr#99
Quote:
Originally Posted by cryz35 View Post
Armut piş ağzıma düş oh ne güzel. :facepalm:
kod belli zaten tek gereken çevrilmesi
10/16/2013 18:45 Requi#100
Quote:
Originally Posted by nckrnckr View Post
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.
10/16/2013 19:20 nckrnckr#101
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 :(
10/16/2013 19:39 TehRoca#102
Quote:
Originally Posted by nckrnckr View Post
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?
10/16/2013 21:14 nckrnckr#103
Quote:
Originally Posted by TehRoca View Post
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 :)
10/16/2013 21:28 TehRoca#104
Quote:
Originally Posted by nckrnckr View Post
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 ;)
10/16/2013 22:28 cryz35#105
Quote:
Originally Posted by TehRoca View Post
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