Register for your free account! | Forgot your password?

You last visited: Today at 21:35

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Packet 2031 Unknowns

Discussion on Packet 2031 Unknowns within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 20
Join Date: Oct 2010
Posts: 451
Received Thanks: 259
Packet 2031 Unknowns

Hey everyone,

I'm a fan of multiple projects and servers. I want to make an NPC server so that my game servers can all access one NPC server. After some thinking, I concluded that just like the 1051 packet, there must be another packet that connects to the NPC server. Would that packet be (possibly) 2031?

So far, we know that the structure is like this:
Code:
[B]Offset          Type               Value[/B]
0                 ushort             16
2                 ushort             2031
4                 uint                 NPC ID
8                 uint                 Unknown
12               ushort             NPC Mode
14               ushort             NPC Type & Direction
Is it possible that the structure might be something like this?
Code:
[B]Offset          Type               Value[/B]
0                 ushort             16 + String Length
2                 ushort             2031
4                 uint                 NPC ID
8                 ushort             Port
10               byte                String Length
11               string              IP Address             
12               ushort             NPC Mode
14               ushort             NPC Type & Direction
Sincerely,
Fang
FuriousFang is offline  
Old 01/17/2011, 05:24   #2
 
elite*gold: 0
Join Date: Apr 2007
Posts: 208
Received Thanks: 43
DePredaTe is offline  
Old 01/17/2011, 05:33   #3
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Well if it's within your own servers there's no reason you must structure packets the same way...

Personally I like the idea of a central server to manage where data is going. From there you can just forward the packet to whatever project you like or use a different form of IPC. (Named pipes are awesome and something korv was using in one of his projects)

Why would you need a port/ip type information in the packet? It's a complete waste of packet size as you DON'T need it in every packet.
pro4never is offline  
Old 01/17/2011, 05:44   #4
 
elite*gold: 20
Join Date: Oct 2010
Posts: 451
Received Thanks: 259
Quote:
Originally Posted by pro4never View Post
Well if it's within your own servers there's no reason you must structure packets the same way...

Personally I like the idea of a central server to manage where data is going. From there you can just forward the packet to whatever project you like or use a different form of IPC. (Named pipes are awesome and something korv was using in one of his projects)

Why would you need a port/ip type information in the packet? It's a complete waste of packet size as you DON'T need it in every packet.
You're right.
Hm...
#request close
FuriousFang is offline  
Old 01/17/2011, 05:59   #5
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
e*pvp added a nifty little table bbcode a while ago, just so you know.

OffsetTypeValue
0ushort16
2ushort2031
4uintNPC ID
8uintUnknown
12ushortNPC Mode
14ushortNPC Type & Direction
nTL3fTy is offline  
Thanks
2 Users
Old 01/17/2011, 06:18   #6
 
elite*gold: 20
Join Date: Oct 2010
Posts: 451
Received Thanks: 259
Quote:
Originally Posted by nTL3fTy View Post
e*pvp added a nifty little table bbcode a while ago, just so you know.

OffsetTypeValue
0ushort16
2ushort2031
4uintNPC ID
8uintUnknown
12ushortNPC Mode
14ushortNPC Type & Direction
Oh that's nice. How is it used? Just...
Test Test 2
hi haha
?

EDIT: =p oh that's awesome
Thanks ^^,
FuriousFang is offline  
Old 01/19/2011, 01:58   #7
 
BioHazarxPaul's Avatar
 
elite*gold: 0
Join Date: Nov 2005
Posts: 548
Received Thanks: 93
Quote:
Originally Posted by nTL3fTy View Post
e*pvp added a nifty little table bbcode a while ago, just so you know.

OffsetTypeValue
0ushort16
2ushort2031
4uintNPC ID
8uintUnknown
12ushortNPC Mode
14ushortNPC Type & Direction
awww i wish i would of knew about this earlier..
BioHazarxPaul is offline  
Reply




All times are GMT +1. The time now is 21:37.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.