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!

Web [Tut] How to get in v57 server w/o unspecified error (Vana Source)

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jul 6, 2008
Messages
87
Reaction score
0
Someone has already patched error away but is not releasing it (yet?) so there are 2 choises left.
One is to use tespia client (this option let's you use other ppls servers too) or using loopback adapter to bounce packets to nexons ip back to your comp (this option allows only localhost testing).


Tespia Client

1. Download tespia client and install it as you would install regular maplestory client.
2. Open up your SendHeader.h and modify your #define MAPLE_VERSION 57 to whatever version your tespia is. (I am not sure about current version but mine is 4 anyways.)
3. Open your Decoder.cpp and find:

Code:
unsigned char * Decoder::getConnectPacket() {
	(*(short*)ivRecv) = Randomizer::Instance()->randInt();
	(*(short*)ivSend) = Randomizer::Instance()->randInt();
	(*(short*)(ivRecv+2)) = Randomizer::Instance()->randInt();
	(*(short*)(ivSend+2)) = Randomizer::Instance()->randInt();
	(*(short*)connectBuffer) = SEND_IV;
	(*(int*)(connectBuffer+sizeof(short))) = MAPLE_VERSION;
	memcpy_s(connectBuffer+6, 4, ivRecv, 4);
	memcpy_s(connectBuffer+10, 4, ivSend, 4);
	connectBuffer[14] = 0x08;
	return connectBuffer;
}

Modify connectBuffer[14] = 0x08; to connectBuffer[14] = 0x05; and the result will look like this:

Code:
unsigned char * Decoder::getConnectPacket() {
	(*(short*)ivRecv) = Randomizer::Instance()->randInt();
	(*(short*)ivSend) = Randomizer::Instance()->randInt();
	(*(short*)(ivRecv+2)) = Randomizer::Instance()->randInt();
	(*(short*)(ivSend+2)) = Randomizer::Instance()->randInt();
	(*(short*)connectBuffer) = SEND_IV;
	(*(int*)(connectBuffer+sizeof(short))) = MAPLE_VERSION;
	memcpy_s(connectBuffer+6, 4, ivRecv, 4);
	memcpy_s(connectBuffer+10, 4, ivSend, 4);
	connectBuffer[14] = 0x05;
	return connectBuffer;
}

After that compile your server and start tespia client using .bat file or shortcut or whatever you like.

Loopback adapter

This will be a little more complicated to install and better for developer but does no make other players able to get in your server.
1. Install microsoft loopback adapter using
2. Goto your network connections and right click on network that is your loopback adapter and select properties.
3. Look at the box labelled: "This connection uses following" or something (my xp is in finnish so I dunno all correct words ^.^ )
4. Double click on item "Internet Protocol (TCP/IP)" and new box should pop up
5. Tick "Use following ip address"
6. For ip address type: 63.251.217.2 (one of nexons login server ip:s)
7. For subnet mask type 255.255.0.0 and last option you can leave empty.
8. Open up your channelserver.lua and modify external ip to 63.251.217.2
9. Run your server and make sure your loopback adapter is connected.
10. Open up your regular gms client (no localhost or anything) and because of loopback adapter it should connect to your localhost server.
11. Make sure you get into channel and stay there for more than 15 secs, if you stay and are not getting unspecified error, Have Fun.
Remember that you can't connect to real gms when you have loopback adapter on
 
Master Summoner
Loyal Member
Joined
Apr 27, 2008
Messages
596
Reaction score
0
Re: [Guids] How to get in v57 server w/o unspecified error (Vana Source)

WOw. I'm going to test it out. Make one for Odin Snow~ =P
 
Newbie Spellweaver
Joined
Jul 6, 2008
Messages
87
Reaction score
0
Re: [Guids] How to get in v57 server w/o unspecified error (Vana Source)

Hmm...... Odin Snow Have Their Own Dev... They Will Do its soon ^^
 
Newbie Spellweaver
Joined
Oct 19, 2006
Messages
43
Reaction score
0
Re: [Guids] How to get in v57 server w/o unspecified error (Vana Source)

I get a C++ error when I do this. Any idea why? I get the error when I select my character.

EDIT: It's a login server error. If you'd like a screenshot, I can take one.
 
Experienced Elementalist
Joined
Jun 23, 2008
Messages
206
Reaction score
0
Re: [Guids] How to get in v57 server w/o unspecified error (Vana Source)

People cannot publicly connect to our server though correct?
 
Junior Spellweaver
Joined
Apr 13, 2008
Messages
123
Reaction score
0
Re: [Guids] How to get in v57 server w/o unspecified error (Vana Source)

Sorry for the flames, but Vana is now v58 and I suggest you change guids to guide?
 
Mythic Archon
Loyal Member
Joined
Apr 10, 2008
Messages
758
Reaction score
0
Re: [Guids] How to get in v57 server w/o unspecified error (Vana Source)

Give credits.
 
Status
Not open for further replies.
Back
Top