Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Blade and Soul: Troubleshooting Client Errors

Junior Spellweaver
Joined
Dec 29, 2016
Messages
180
Reaction score
101
XAHudiC - Blade and Soul: Troubleshooting Client Errors - RaGEZONE Forums


Occasionally, at some point in your development life for Blade and Soul, you'll come across an error like this.
Sadly it seems like the developers for this game decided to just put Error IDs and not give out the actual error of why this occurs.
So, how do we figure out what's causing the error? That's where reverse engineering comes into play.

Step 1

Open up your favorite debugger. For me personally I like using x64dbg with ScyallHide. I recommend getting it as well, it is pretty much the modern version ollydbg.
You'll want to attach the client, which can be found in the "File" menu.
OmPlpy2 - Blade and Soul: Troubleshooting Client Errors - RaGEZONE Forums


NOTE: [/COLOR] If you fail to attach, you can also Open Client.exe, But you'll want to Change Command Line to : /LaunchByLauncher /LoginMode 2

Also I'd want to point out that I recommend having GameGuard already bypassed in order to effectively troubleshoot the issue.

Step 2
Once you've successfully attached the BnS Client, press CTRL+G, an Address box will appear, You'll want to type in MessageBoxTimeOutW. Please do that and go in the function.
qJGndt1 - Blade and Soul: Troubleshooting Client Errors - RaGEZONE Forums


Step 3
You should be at the MessageBoxTimeOutW function now. There's a RETN operator below it. Add a breakpoint to that operator.
oDtG5Ii - Blade and Soul: Troubleshooting Client Errors - RaGEZONE Forums


Step 4
The Address should now be red, indicating that the debugger has successfully been attached. Go back to the MessageBox and click on OK.

M0YkIVe - Blade and Soul: Troubleshooting Client Errors - RaGEZONE Forums


Step 5
Look at the Thread Stack, you'll want to enter in the address that's below the SEH Handler that's shown here. Let's go to this address via CTRL+G

yrsk33M - Blade and Soul: Troubleshooting Client Errors - RaGEZONE Forums


Step 6

HPay59w - Blade and Soul: Troubleshooting Client Errors - RaGEZONE Forums


So far, the assembly instructions doesn't really say much. Let's scroll to the top of the function and add a breakpoint.

3g2fNR7 - Blade and Soul: Troubleshooting Client Errors - RaGEZONE Forums


You'll want to restart the client after doing this.
ZnzVncz - Blade and Soul: Troubleshooting Client Errors - RaGEZONE Forums


Step 7
Once you restarted, the breakpoint should instantly trigger. Press F8 and follow the On-Screen Assembly Instruction.

L7eLWLj - Blade and Soul: Troubleshooting Client Errors - RaGEZONE Forums


Tip: Try to remember the address from where you got here from Step 5 while debugging.


Qzvb62E - Blade and Soul: Troubleshooting Client Errors - RaGEZONE Forums


So eventually, I figure out that it's failing to load xml.dat, and now I'm starting to wonder why?
It turns out that I didn't even have xml.dat in the first place. Opps.
I guess I should go fix that now, and document the error code 1002 2 = No xml.dat

What error code have you tried to document? Make sure to share below to help others out.
 

Attachments

You must be registered for see attachments list
Banned
Banned
Joined
Aug 28, 2021
Messages
144
Reaction score
16
@Flipend0
When I try to open the client without an internet connection, it quits the game and gives the error 4047, is there any way to open the client without an internet connection?
 
Last edited by a moderator:
Initiate Mage
Joined
Feb 15, 2022
Messages
1
Reaction score
0
@Flipend0, Hi there. I faced with this problem at RU server, and cant handle this at all, ive try your method and stuck at step 5, cant find SEH in my logs, mb u can help me with it?
 
Back
Top