Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 11:29

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

Advertisement



Wrong sequence when sending packets to world server

Discussion on Wrong sequence when sending packets to world server within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2014
Posts: 3
Received Thanks: 0
Wrong sequence when sending packets to world server

Hello, I am writing this topic today to ask you for help in understanding how sending packets on the world server works.

In my research to find out what was the procedure for sending packets to the world server, I understood that it was necessary to generate a number and to increment it with each new packet to send.
cf:

To verify this functional, I created a man in the middle between the client and the server to intercept the packets sent

But, as you can see from the code below, the number sequences don't follow each other for the first 3 packets.

Code:
session 38511
[WORLD CLIENT] b'54039 38511'
[WORLD CLIENT] b'54040 FR_ACCOUNTNAME GF 2'
[WORLD CLIENT] b'54042 c_close 0'
[WORLD CLIENT] b'54045 0'
[WORLD CLIENT] b'54046 0'
[WORLD CLIENT] b'54047 0'
We jump from 54040 to 54042 to continue with 54045, so there is a problem.

My question is therefore, why this behavior of skipping a sequence and what is the reason for this

Another question, what is this packet 0 which is sent every 10 seconds?

Thank you for your answers
Skyyrize is offline  
Old 10/08/2022, 14:30   #2
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
Quote:
Originally Posted by Skyyrize View Post
Hello, I am writing this topic today to ask you for help in understanding how sending packets on the world server works.

In my research to find out what was the procedure for sending packets to the world server, I understood that it was necessary to generate a number and to increment it with each new packet to send.
cf:

To verify this functional, I created a man in the middle between the client and the server to intercept the packets sent

But, as you can see from the code below, the number sequences don't follow each other for the first 3 packets.

Code:
session 38511
[WORLD CLIENT] b'54039 38511'
[WORLD CLIENT] b'54040 FR_ACCOUNTNAME GF 2'
[WORLD CLIENT] b'54042 c_close 0'
[WORLD CLIENT] b'54045 0'
[WORLD CLIENT] b'54046 0'
[WORLD CLIENT] b'54047 0'
We jump from 54040 to 54042 to continue with 54045, so there is a problem.

My question is therefore, why this behavior of skipping a sequence and what is the reason for this

Another question, what is this packet 0 which is sent every 10 seconds?

Thank you for your answers
When you receive data from the socket you can get multiple packets in the same call so you must handle that and split them, that's why you see the numbers are not incrementing as you expected. The 0 packet is probably there to make sure the connection is alive.
Hatz~ is offline  
Thanks
1 User
Old 10/09/2022, 15:28   #3
 
ZroIsHere's Avatar
 
elite*gold: 0
Join Date: Jun 2021
Posts: 36
Received Thanks: 9
Quote:
Originally Posted by Skyyrize View Post
Hello, I am writing this topic today to ask you for help in understanding how sending packets on the world server works.

In my research to find out what was the procedure for sending packets to the world server, I understood that it was necessary to generate a number and to increment it with each new packet to send.
cf:

To verify this functional, I created a man in the middle between the client and the server to intercept the packets sent

But, as you can see from the code below, the number sequences don't follow each other for the first 3 packets.

Code:
session 38511
[WORLD CLIENT] b'54039 38511'
[WORLD CLIENT] b'54040 FR_ACCOUNTNAME GF 2'
[WORLD CLIENT] b'54042 c_close 0'
[WORLD CLIENT] b'54045 0'
[WORLD CLIENT] b'54046 0'
[WORLD CLIENT] b'54047 0'
We jump from 54040 to 54042 to continue with 54045, so there is a problem.

My question is therefore, why this behavior of skipping a sequence and what is the reason for this

Another question, what is this packet 0 which is sent every 10 seconds?

Thank you for your answers
U received 2 or more packets in the same call, need do a split after all the unencrypt system with (char)0xFF that return an string array and handler the array

Probably the code take error and for this dont display it
ZroIsHere is offline  
Thanks
1 User
Old 10/09/2022, 19:27   #4
 
elite*gold: 0
Join Date: Oct 2014
Posts: 3
Received Thanks: 0
Thank you for your answers, I would never have guessed that.
Skyyrize is offline  
Reply


Similar Threads Similar Threads
Sending packets to main server.
11/17/2023 - Kal Online - 7 Replies
Hello everyone , i am 3th year programming student , playing kal since 8 years ago . Whole my game play i was interensting about hacks , 2 day i am good in reverse engineer,c,c++,java ... all what i got until today is making macro bots using windows API user32.dll && gdi32.dll by sending commands to kalonline window . before about year...i was first time trying to send packets to server, the reason i stop is that i found that HackShield driver eagle64 is detecting that i am using ...
Packets packets packets...
10/06/2012 - CO2 Private Server - 13 Replies
I have been struggling to understand what is a Packet how could i create one with the data i want then send it to my server So please any one tell if as example i want to send some info from my client to my server, then handle them from the server how could i do that : i have my socket server, also i don't wanna copy and paste codes i want to UNDERSTAND. My PacketReader.cs
AgBot sending wrong packets?
10/19/2008 - Silkroad Online - 5 Replies
I have silk and premium on my chara and after i levelled up some skills i think AgBot may have been sending wrong packets, im safe sicne i have silk right?
Scamming by sending packets???
04/15/2006 - Conquer Online 2 - 1 Replies
Well my friend and i came up with the idea to send packets to the server to show a certain item in the trade window. We want to use this as a type of scam. I didnt see this in any other threads and was wondering if anyone knew if this is possible and if they could point use in the right direction. My friend was pretty good with packets in CO 1.0 but we arent really sure to go about doing it. If anyone one could please lend a helping hand? P.S.- Before I get flamed for this because i know i...
Sending packets
10/12/2005 - Conquer Online 2 - 10 Replies
I've a question. Is it possible to send 1 packet multiple times at the exact same time?



All times are GMT +1. The time now is 11:30.


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.