Register for your free account! | Forgot your password?

You last visited: Today at 07:45

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

Advertisement



[HELP] Party master disconnect

Discussion on [HELP] Party master disconnect within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
vietnguyen09's Avatar
 
elite*gold: 290
Join Date: Oct 2013
Posts: 266
Received Thanks: 191
[HELP] Party master disconnect

Hi Guys,

I'm getting an error that really weird that, if I create a party and register it on the matching list, invite 1 other player and leave it AFK for extract 1 hour, the PT master will disconnect.

When the PT master disconnect, SR_GameServer show the error like this:

PHP Code:
Unhandled Game SR_MSG0x386f [data size0]
unknown packet sender detected!!! will be disconnected (char_nameX3
I search all the forums and found only , but due to @ comment, it's not good for server and I know why.

I've captured the packet when player disconnect and get these packets:

PHP Code:
[8/14/2020 6:36:49 PM][AGENT][LOCAL][C=>P][2002][0 bytes]
//PT Master disconnect
[8/14/2020 6:36:50 PM][AGENT][REMOTE][S=>P][3016][4 bytes]
0000000000   F8 8D 00 00                                       ø...............
   
[
8/14/2020 6:36:50 PM][AGENT][REMOTE][S=>P][3016][4 bytes]
0000000000   F8 8D 00 00                                       ø...............

AGENT_PARTY_UPDATE
[8/14/2020 6:36:50 PM][AGENT][REMOTE][S=>P][3864][3 bytes]
0000000000   01 0B 00                                          ................

AGENT_GUILD_UPDATE
[8/14/2020 6:36:50 PM][AGENT][REMOTE][S=>P][38F5][7 bytes]
0000000000   06 3F 2D 00 00 02 01                              .?-.............

UNKNOW
[8/14/2020 6:36:50 PM][AGENT][REMOTE][S=>P][3B07][6 bytes]
0000000000   04 3F 2D 00 00 01                                 .?-.............
   
[
8/14/2020 6:36:55 PM][AGENT][LOCAL][C=>P][2002][0 bytes
In this list, you can see server update party list by opcode 0x3864 because the PT master is disconnected, and therefore the disconnect might cause by 0x3016?? I totally can't understand why is that happen.

UPDATE

0x3016 is the despawn opcode, which mean before that something happens in shard manager or GS already and we can't capture it.

Any idea to fix this issue?
vietnguyen09 is offline  
Old 08/14/2020, 17:55   #2
 
elite*gold: 0
Join Date: Apr 2016
Posts: 201
Received Thanks: 47
Hmm... If 0x386f is the opcode which is automatically deletes our pt from the active list(E button IG), you may simply skip it via filter IF this packet not the same whrn a player deletes the pt. Or, and it requires more perfomance but you may try connect a timer to each active pt and send the delete-pt-by-player packet within 60mins and store them ofc in a list or in something else. Idk this packet, so thats all from me atm...Hope I could help you somehow
Piskota is offline  
Thanks
1 User
Old 08/14/2020, 18:02   #3
 
vietnguyen09's Avatar
 
elite*gold: 290
Join Date: Oct 2013
Posts: 266
Received Thanks: 191
Quote:
Originally Posted by Piskota View Post
Hmm... If 0x386f is the opcode which is automatically deletes our pt from the active list(E button IG), you may simply skip it via filter IF this packet not the same whrn a player deletes the pt. Or, and it requires more perfomance but you may try connect a timer to each active pt and send the delete-pt-by-player packet within 60mins and store them ofc in a list or in something else. Idk this packet, so thats all from me atm...Hope I could help you somehow
The problem is filter not capture any 0x386f packet in both S->C and C->S
vietnguyen09 is offline  
Old 08/14/2020, 19:37   #4
 
zeteris's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 575
Received Thanks: 752
I'm not saying it's the best option but additional filter in front of GS should workk
zeteris is offline  
Old 08/14/2020, 20:30   #5
 
elite*gold: 0
Join Date: Apr 2016
Posts: 201
Received Thanks: 47
Oh, just realized MeGa said this is a packet between shard & gameserver omg. maybe a little bit of reverse engineering could help to find which part handles this function, and after that the fix is given. Try to run both modules from ollydbg and wait until this issue happens & trace the path in olly. It definitely made me curious so I also tryna find a fix!
-P.
Piskota is offline  
Old 08/14/2020, 21:53   #6
 
JellyBitz's Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 419
Received Thanks: 939
SERVER_COMMUNITY_FRIEND_UPDATE = 0x3B07

All these are status about the player going offline, nothing usefull actually.
JellyBitz is offline  
Thanks
1 User
Old 08/15/2020, 05:37   #7
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,108
Received Thanks: 903
That's actually a missing handler in the game server, parties should be removed from matching automatically if they were registered for +an hour.

Shard manager sends the packet to the game server, but for some reason the handler of it is missing and the opcode is unrecognizable by the game server. Which leads us to another question, is the game server really the same version as the shard manager?

Here's the timeout address in shard manager:
Code:
0045055C | 83F8 3C                   | cmp eax,3C                                       | Party Matching Timeout
I've attached x64dbg patch to skip this part, so parties will last in matching forever. I've thought of disabling the timer itself, but I was scared if it would f*** something up, so I just skipped the timeout interval.

Patch details:
Code:
0045055F | 7E 2D                       | jle sr_shardmanager.45058E

>

0045055F | EB 2D                       | jmp sr_shardmanager.45058E
Attached Files
File Type: rar matching_timeout_disable.rar (175 Bytes, 110 views)
#HB is offline  
Thanks
12 Users
Old 08/15/2020, 11:05   #8
 
elite*gold: 0
Join Date: Apr 2016
Posts: 201
Received Thanks: 47
Quote:
Originally Posted by #HB View Post
That's actually a missing handler in the game server, parties should be removed from matching automatically if they were registered for +an hour.

Shard manager sends the packet to the game server, but for some reason the handler of it is missing and the opcode is unrecognizable by the game server. Which leads us to another question, is the game server really the same version as the shard manager?

Here's the timeout address in shard manager:
Code:
0045055C | 83F8 3C                   | cmp eax,3C                                       | Party Matching Timeout
I've attached x64dbg patch to skip this part, so parties will last in matching forever. I've thought of disabling the timer itself, but I was scared if it would f*** something up, so I just skipped the timeout interval.
You are faster than the speed of light ^^. Your efforts appreciated.again.
Piskota is offline  
Old 08/15/2020, 11:38   #9
 
vietnguyen09's Avatar
 
elite*gold: 290
Join Date: Oct 2013
Posts: 266
Received Thanks: 191
Quote:
Originally Posted by #HB View Post
That's actually a missing handler in the game server, parties should be removed from matching automatically if they were registered for +an hour.

Shard manager sends the packet to the game server, but for some reason the handler of it is missing and the opcode is unrecognizable by the game server. Which leads us to another question, is the game server really the same version as the shard manager?

Here's the timeout address in shard manager:
Code:
0045055C | 83F8 3C                   | cmp eax,3C                                       | Party Matching Timeout
I've attached x64dbg patch to skip this part, so parties will last in matching forever. I've thought of disabling the timer itself, but I was scared if it would f*** something up, so I just skipped the timeout interval.
Thanks for your help mate, I really appreciate it.
vietnguyen09 is offline  
Thanks
1 User
Old 08/16/2020, 01:00   #10
 
elite*gold: 0
Join Date: Mar 2010
Posts: 568
Received Thanks: 228
Quote:
Originally Posted by vietnguyen09 View Post
Hi Guys,

I'm getting an error that really weird that, if I create a party and register it on the matching list, invite 1 other player and leave it AFK for extract 1 hour, the PT master will disconnect.

When the PT master disconnect, SR_GameServer show the error like this:

PHP Code:
Unhandled Game SR_MSG0x386f [data size0]
unknown packet sender detected!!! will be disconnected (char_nameX3
I search all the forums and found only , but due to @ comment, it's not good for server and I know why.

I've captured the packet when player disconnect and get these packets:

PHP Code:
[8/14/2020 6:36:49 PM][AGENT][LOCAL][C=>P][2002][0 bytes]
//PT Master disconnect
[8/14/2020 6:36:50 PM][AGENT][REMOTE][S=>P][3016][4 bytes]
0000000000   F8 8D 00 00                                       ø...............
   
[
8/14/2020 6:36:50 PM][AGENT][REMOTE][S=>P][3016][4 bytes]
0000000000   F8 8D 00 00                                       ø...............

AGENT_PARTY_UPDATE
[8/14/2020 6:36:50 PM][AGENT][REMOTE][S=>P][3864][3 bytes]
0000000000   01 0B 00                                          ................

AGENT_GUILD_UPDATE
[8/14/2020 6:36:50 PM][AGENT][REMOTE][S=>P][38F5][7 bytes]
0000000000   06 3F 2D 00 00 02 01                              .?-.............

UNKNOW
[8/14/2020 6:36:50 PM][AGENT][REMOTE][S=>P][3B07][6 bytes]
0000000000   04 3F 2D 00 00 01                                 .?-.............
   
[
8/14/2020 6:36:55 PM][AGENT][LOCAL][C=>P][2002][0 bytes
In this list, you can see server update party list by opcode 0x3864 because the PT master is disconnected, and therefore the disconnect might cause by 0x3016?? I totally can't understand why is that happen.

UPDATE

0x3016 is the despawn opcode, which mean before that something happens in shard manager or GS already and we can't capture it.

Any idea to fix this issue?
Hello,

An important topic

Quote:
Originally Posted by #HB View Post
That's actually a missing handler in the game server, parties should be removed from matching automatically if they were registered for +an hour.

Shard manager sends the packet to the game server, but for some reason the handler of it is missing and the opcode is unrecognizable by the game server. Which leads us to another question, is the game server really the same version as the shard manager?

Here's the timeout address in shard manager:
Code:
0045055C | 83F8 3C                   | cmp eax,3C                                       | Party Matching Timeout
I've attached x64dbg patch to skip this part, so parties will last in matching forever. I've thought of disabling the timer itself, but I was scared if it would f*** something up, so I just skipped the timeout interval.
Fix good thanks
Laag#82 is offline  
Old 08/16/2020, 01:09   #11
 
elite*gold: 0
Join Date: Nov 2008
Posts: 38
Received Thanks: 6


maybe this can solve.
Masala is offline  
Old 08/16/2020, 01:53   #12
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,108
Received Thanks: 903
Quote:
Originally Posted by Masala View Post


maybe this can solve.
It would, but that is more like a hotfix than an acual fix, that would also end up getting error lines in game server.
#HB is offline  
Old 08/31/2020, 21:51   #13
 
hexcode's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 1,169
Received Thanks: 346
We make changes on WWO server a couple years ago.You can read PROS and CONS there.BTW there is no memory leaks or random server crashes after this change.The only issue that we noticed is if the player is party leader stay afk in town for a couple hours,the party cannot be reformed until he teleport or relogin.

Regards
hexcode is offline  
Thanks
1 User
Old 08/31/2020, 23:07   #14
 
srothanglong's Avatar
 
elite*gold: 0
Join Date: Apr 2019
Posts: 298
Received Thanks: 80
The error came from Shard and I fixed it to work perfectly .
srothanglong is offline  
Old 06/29/2021, 08:00   #15
 
elite*gold: 0
Join Date: Mar 2020
Posts: 303
Received Thanks: 20
Quote:
Originally Posted by srothanglong View Post
The error came from Shard and I fixed it to work perfectly .
Can someone tell if this shard is trusted?
Beba Army is offline  
Reply


Similar Threads Similar Threads
Europe Party Bot / Chinese Party Bot
08/20/2013 - Silkroad Online - 38 Replies
To do a 8 men party bot (auto share) Should I use Europe or Chinese characters? and which ones?
Activate Party skills without a party
10/01/2010 - Cabal Guides & Templates - 54 Replies
Well, first pardon for my english, i hope that you can understand something....:) Apply Cheat engine and Search 0 in mode 4bytes. Now find 1 friend and make a party. The next search now in CE must be 2. Try deactivate(0) and activate the party(2) with only one friend. When you have found the correct value, left in 2 and try activate your party skill....and...:). Note: if your party has got 3 members, then find 3 in CE. This has been tested in EliteCabal
Suche / Searching Silkroad Party Reformer / Auto Party script / tool
11/18/2009 - Silkroad Online - 4 Replies
Schönen Guten Tag :) Kennt Jemand von euch ein Party Reform script für silkroad online? am besten wäre eine funktion wie beim Agbot (Revbot), die auch weiter läuft, wenn silkroad minimiert ist. freue mich auf eure Antworten :rolleyes:
(Kingmt2 Party) Eine Party zum gunsten von dme ersten deutschen lvl 90! ;)
05/17/2009 - Metin2 Private Server - 1 Replies
Ist egal wurde abgesagt wegen Kb xD
how to edit the starting party name at party match?
04/26/2009 - Silkroad Online - 2 Replies
First, what file I need? data.pk2? media.pk2? and how i change it so whos open party it will be the name i chose. plz help.



All times are GMT +1. The time now is 07:46.


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.