- 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:
Modify connectBuffer[14] = 0x08; to connectBuffer[14] = 0x05; and the result will look like this:
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
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
To view the content, you need to sign in or register
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