Searching for someone that is a bit skilled and wants to code the web part of NettyBase.
It's currently pretty stable emulator but lacking CMS. If someone wants to help out add me on skype.
I have a Problem with packets :/
I send the Packet 6015 to the Client -> from Client comes Request for packet 21000,
If I send the packet with ID 21000 than comes again the Packet with ID 6015 ?!
(Sorry for my Bad English)
Client Packet 6015:
Code:
package net.bigpoint.darkorbit.net.netty.commands
{
import §_-d1U§.ICommand;
import flash.utils.IDataOutput;
import flash.utils.IDataInput;
public class §_-U3f§ implements ICommand
{
public static const ID:int = 6015;
public function §_-U3f§()
{
super();
}
public function §_-51I§() : int
{
return ID;
}
public function §_-H2x§() : int
{
return 0;
}
public function read(param1:IDataInput) : void
{
}
public function write(param1:IDataOutput) : void
{
param1.writeShort(ID);
this.§_-s39§(param1);
}
protected function §_-s39§(param1:IDataOutput) : void
{
}
}
}
Client Packet 21000:
Code:
package net.bigpoint.darkorbit.net.netty.commands
{
import §_-d1U§.ICommand;
import flash.utils.IDataOutput;
import flash.utils.IDataInput;
import §_-Cq§.PointLight;
import com.greensock.TweenMax;
public class §_-AX§ implements ICommand
{
public static const ID:int = 21000;
public var version:String = "";
public var factionID:int = 0;
public var instanceId:int = 0;
public var userID:int = 0;
public var sessionID:String = "";
public function §_-AX§(param1:int = 0, param2:int = 0, param3:String = "", param4:String = "", param5:int = 0)
{
super();
this.userID = param1;
this.factionID = param2;
this.sessionID = param3;
this.version = param4;
this.instanceId = param5;
}
public function §_-51I§() : int
{
return ID;
}
public function §_-H2x§() : int
{
return 14;
}
public function read(param1:IDataInput) : void
{
this.version = param1.readUTF();
this.factionID = param1.readShort();
this.instanceId = param1.readInt();
this.instanceId = this.instanceId >>> 9 | this.instanceId << 23;
this.userID = param1.readInt();
this.userID = this.userID << 4 | this.userID >>> 28;
this.sessionID = param1.readUTF();
}
public function write(param1:IDataOutput) : void
{
param1.writeShort(ID);
this.§_-s39§(param1);
}
protected function §_-s39§(param1:IDataOutput) : void
{
param1.writeUTF(this.version);
param1.writeShort(this.factionID);
param1.writeInt(this.instanceId << 9 | this.instanceId >>> 23);
param1.writeInt(this.userID >>> 4 | this.userID << 28);
param1.writeUTF(this.sessionID);
}
}
}
---------------------------------------------------------------------------------------
Server Packet 6015:
Code:
public void SendResponse_6015(Socket clientSocket) throws IOException {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
DataOutputStream os = new DataOutputStream(baos);
os.writeShort(4);
os.writeShort(6015);
byte[] data = (baos.toByteArray());
clientSocket.getOutputStream().write(data,0, data.length);
clientSocket.getOutputStream().flush();
System.out.println("Packet 6015 ["+data.length+"]: " +Arrays.toString(data));
}
Server Packet 21000:
Code:
public void SendResponse_21000 (Socket clientSocket) throws IOException {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
DataOutputStream os = new DataOutputStream(baos);
os.writeShort(55);
os.writeShort(21000); // packed ID
os.writeUTF("8.3.2"); // version
os.writeShort(2); // factionID
os.writeInt(1); // instanceId
os.writeInt(90000801); // userID
os.writeUTF("2177833cdaf9cd2c5a9025c0c7479321"); // sessionID
byte[] data = (baos.toByteArray());
clientSocket.getOutputStream().write(data,0, data.length);
clientSocket.getOutputStream().flush();
System.out.println("Packet 21000 ["+data.length+"]: " + Arrays.toString(data));
}
I have a Problem with packets :/
I send the Packet 6015 to the Client -> from Client comes Request for packet 21000,
If I send the packet with ID 21000 than comes again the Packet with ID 6015 ?!
(Sorry for my Bad English)
Client Packet 6015:
Code:
package net.bigpoint.darkorbit.net.netty.commands
{
import §_-d1U§.ICommand;
import flash.utils.IDataOutput;
import flash.utils.IDataInput;
public class §_-U3f§ implements ICommand
{
public static const ID:int = 6015;
public function §_-U3f§()
{
super();
}
public function §_-51I§() : int
{
return ID;
}
public function §_-H2x§() : int
{
return 0;
}
public function read(param1:IDataInput) : void
{
}
public function write(param1:IDataOutput) : void
{
param1.writeShort(ID);
this.§_-s39§(param1);
}
protected function §_-s39§(param1:IDataOutput) : void
{
}
}
}
Client Packet 21000:
Code:
package net.bigpoint.darkorbit.net.netty.commands
{
import §_-d1U§.ICommand;
import flash.utils.IDataOutput;
import flash.utils.IDataInput;
import §_-Cq§.PointLight;
import com.greensock.TweenMax;
public class §_-AX§ implements ICommand
{
public static const ID:int = 21000;
public var version:String = "";
public var factionID:int = 0;
public var instanceId:int = 0;
public var userID:int = 0;
public var sessionID:String = "";
public function §_-AX§(param1:int = 0, param2:int = 0, param3:String = "", param4:String = "", param5:int = 0)
{
super();
this.userID = param1;
this.factionID = param2;
this.sessionID = param3;
this.version = param4;
this.instanceId = param5;
}
public function §_-51I§() : int
{
return ID;
}
public function §_-H2x§() : int
{
return 14;
}
public function read(param1:IDataInput) : void
{
this.version = param1.readUTF();
this.factionID = param1.readShort();
this.instanceId = param1.readInt();
this.instanceId = this.instanceId >>> 9 | this.instanceId << 23;
this.userID = param1.readInt();
this.userID = this.userID << 4 | this.userID >>> 28;
this.sessionID = param1.readUTF();
}
public function write(param1:IDataOutput) : void
{
param1.writeShort(ID);
this.§_-s39§(param1);
}
protected function §_-s39§(param1:IDataOutput) : void
{
param1.writeUTF(this.version);
param1.writeShort(this.factionID);
param1.writeInt(this.instanceId << 9 | this.instanceId >>> 23);
param1.writeInt(this.userID >>> 4 | this.userID << 28);
param1.writeUTF(this.sessionID);
}
}
}
---------------------------------------------------------------------------------------
Server Packet 6015:
Code:
public void SendResponse_6015(Socket clientSocket) throws IOException {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
DataOutputStream os = new DataOutputStream(baos);
os.writeShort(4);
os.writeShort(6015);
byte[] data = (baos.toByteArray());
clientSocket.getOutputStream().write(data,0, data.length);
clientSocket.getOutputStream().flush();
System.out.println("Packet 6015 ["+data.length+"]: " +Arrays.toString(data));
}
Server Packet 21000:
Code:
public void SendResponse_21000 (Socket clientSocket) throws IOException {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
DataOutputStream os = new DataOutputStream(baos);
os.writeShort(55);
os.writeShort(21000); // packed ID
os.writeUTF("8.3.2"); // version
os.writeShort(2); // factionID
os.writeInt(1); // instanceId
os.writeInt(90000801); // userID
os.writeUTF("2177833cdaf9cd2c5a9025c0c7479321"); // sessionID
byte[] data = (baos.toByteArray());
clientSocket.getOutputStream().write(data,0, data.length);
clientSocket.getOutputStream().flush();
System.out.println("Packet 21000 ["+data.length+"]: " + Arrays.toString(data));
}
I Have no Idea what the problem is
PLS Help me
Looks like keepalive command to me but I might be wrong. Send ship init command after you get LoginRequest command
I have a Problem with packets :/
I send the Packet 6015 to the Client -> from Client comes Request for packet 21000,
If I send the packet with ID 21000 than comes again the Packet with ID 6015 ?!
(Sorry for my Bad English)
Client Packet 6015:
Code:
Rip
Client Packet 21000:
Code:
in
---------------------------------------------------------------------------------------
Server Packet 6015:
Code:
Pepperoni
I Have no Idea what the problem is
PLS Help me
21000 is the login request and 6015 should be obfuscation request or ping or something else
You shouldn't send those to client, those are the packets client send you.
Someone help me with a new problem ?
The problem :
Play SFX sound ON -- >When i attack the ship not turns to face the npc/player ,
Play SFX sound OFF -- >When i attack the ship turns to face the npc/player ,
I'm working on ingame settings and I'm having problems setting windows settings. All packets are properly configured and sent, however the windows just don't appear. If I send the packets I had from an old emulator it works as desired althougt they're the same packets.
Private private server :P READ FOR MORE INFO 12/01/2010 - SRO Private Server - 12 Replies hey guys im wondering if there is anyway to make a real private server like ZSZC or SWSRO or MYSRO but to where i can only play and level a character and as if it was a real private server. but just for me, not like an emulator where im already lvl 90 or 120 or whatever. i mean one where i set the rates and i level. if not then ok u can close this. but i was just wondering.